@gala-chain/launchpad-sdk 5.1.1 → 7.0.0-beta.1
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/EXAMPLES.md +159 -156
- package/LICENSE +21 -0
- package/README.md +56 -3338
- package/dist/LaunchpadSDK.d.ts +113 -1811
- package/dist/LaunchpadSDK.d.ts.map +1 -1
- package/dist/api/LaunchpadAPI.d.ts +21 -69
- package/dist/api/LaunchpadAPI.d.ts.map +1 -1
- package/dist/api/dto/BondingCurveDTOs.d.ts +8 -8
- package/dist/api/dto/BondingCurveDTOs.d.ts.map +1 -1
- package/dist/api/dto/BurnTokensDto.d.ts +2 -14
- package/dist/api/dto/BurnTokensDto.d.ts.map +1 -1
- package/dist/api/dto/LockTokenDto.d.ts +2 -14
- package/dist/api/dto/LockTokenDto.d.ts.map +1 -1
- package/dist/api/dto/TransferTokenDto.d.ts +2 -14
- package/dist/api/dto/TransferTokenDto.d.ts.map +1 -1
- package/dist/api/dto/UnlockTokenDto.d.ts +2 -14
- package/dist/api/dto/UnlockTokenDto.d.ts.map +1 -1
- package/dist/bridge/BridgeService.d.ts.map +1 -1
- package/dist/bridge/constants/tokens.d.ts +1 -1
- package/dist/bridge/index.d.ts +1 -1
- package/dist/bridge/index.d.ts.map +1 -1
- package/dist/bridge/public-types.d.ts +2 -0
- package/dist/bridge/public-types.d.ts.map +1 -0
- package/dist/bridge/strategies/BridgeStrategy.d.ts +44 -0
- package/dist/bridge/strategies/BridgeStrategy.d.ts.map +1 -1
- package/dist/bridge/strategies/EthereumBridgeStrategy.d.ts +4 -26
- package/dist/bridge/strategies/EthereumBridgeStrategy.d.ts.map +1 -1
- package/dist/bridge/strategies/SolanaBridgeStrategy.d.ts +4 -26
- package/dist/bridge/strategies/SolanaBridgeStrategy.d.ts.map +1 -1
- package/dist/bridge/utils/bridgePayload.d.ts.map +1 -1
- package/dist/bridge/utils/bridgeStatusParser.d.ts +5 -4
- package/dist/bridge/utils/bridgeStatusParser.d.ts.map +1 -1
- package/dist/bridge/utils/strategyDelegation.d.ts +57 -0
- package/dist/bridge/utils/strategyDelegation.d.ts.map +1 -1
- package/dist/config/environments.d.ts +19 -33
- package/dist/config/environments.d.ts.map +1 -1
- package/dist/constants/bondingCurve.d.ts +10 -10
- package/dist/constants/bondingCurve.d.ts.map +1 -1
- package/dist/constants/endpoints.d.ts +23 -58
- package/dist/constants/endpoints.d.ts.map +1 -1
- package/dist/constants/sdk-defaults.d.ts +0 -2
- package/dist/constants/sdk-defaults.d.ts.map +1 -1
- package/dist/constants/version.generated.d.ts +3 -3
- package/dist/constants/version.generated.d.ts.map +1 -1
- package/dist/errors/LaunchpadSDKError.d.ts +28 -0
- package/dist/errors/LaunchpadSDKError.d.ts.map +1 -0
- package/dist/errors/index.d.ts +3 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/helpers/sdk.d.ts +8 -8
- package/dist/helpers/sdk.d.ts.map +1 -1
- package/dist/index.browser.d.ts +21 -23
- package/dist/index.browser.d.ts.map +1 -1
- package/dist/index.browser.esm.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/launchpad/bundle-submission.d.ts +88 -0
- package/dist/launchpad/bundle-submission.d.ts.map +1 -0
- package/dist/launchpad/strings-instructions.d.ts +15 -0
- package/dist/launchpad/strings-instructions.d.ts.map +1 -0
- package/dist/launchpad/transport.d.ts +28 -0
- package/dist/launchpad/transport.d.ts.map +1 -0
- package/dist/launchpad/writes.d.ts +74 -0
- package/dist/launchpad/writes.d.ts.map +1 -0
- package/dist/native.cjs +1 -1
- package/dist/native.d.ts +3 -0
- package/dist/native.d.ts.map +1 -1
- package/dist/native.esm.js +1 -1
- package/dist/polyfills/file-global.d.ts +4 -0
- package/dist/polyfills/file-global.d.ts.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.esm.js +1 -1
- package/dist/schemas/files.d.ts +2 -2
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/pagination.d.ts +0 -3
- package/dist/schemas/pagination.d.ts.map +1 -1
- package/dist/services/BanService.d.ts.map +1 -1
- package/dist/services/BaseService.d.ts +1 -1
- package/dist/services/BaseService.d.ts.map +1 -1
- package/dist/services/BatchedCacheService.d.ts.map +1 -1
- package/dist/services/BundleService.d.ts +1 -1
- package/dist/services/BundleService.d.ts.map +1 -1
- package/dist/services/BundlerClientFactory.d.ts +3 -3
- package/dist/services/BundlerClientFactory.d.ts.map +1 -1
- package/dist/services/ContentFlagService.d.ts +1 -0
- package/dist/services/ContentFlagService.d.ts.map +1 -1
- package/dist/services/DexService.d.ts +1 -1
- package/dist/services/DexService.d.ts.map +1 -1
- package/dist/services/GalaChainLockService.d.ts +4 -1
- package/dist/services/GalaChainLockService.d.ts.map +1 -1
- package/dist/services/GalaChainTokenService.d.ts +1 -0
- package/dist/services/GalaChainTokenService.d.ts.map +1 -1
- package/dist/services/GalaChainTransferService.d.ts +10 -5
- package/dist/services/GalaChainTransferService.d.ts.map +1 -1
- package/dist/services/GdexStreamService.d.ts +3 -1
- package/dist/services/GdexStreamService.d.ts.map +1 -1
- package/dist/services/HolderService.d.ts.map +1 -1
- package/dist/services/LaunchpadService.d.ts +3 -35
- package/dist/services/LaunchpadService.d.ts.map +1 -1
- package/dist/services/OEmbedService.d.ts +2 -2
- package/dist/services/OEmbedService.d.ts.map +1 -1
- package/dist/services/PoolService.d.ts +9 -20
- package/dist/services/PoolService.d.ts.map +1 -1
- package/dist/services/PriceHistoryService.d.ts +6 -4
- package/dist/services/PriceHistoryService.d.ts.map +1 -1
- package/dist/services/StreamChatService.d.ts +3 -101
- package/dist/services/StreamChatService.d.ts.map +1 -1
- package/dist/services/StreamTokenServiceBase.d.ts.map +1 -1
- package/dist/services/StreamWebSocketService.d.ts +5 -2
- package/dist/services/StreamWebSocketService.d.ts.map +1 -1
- package/dist/services/StreamingEventService.d.ts +1 -1
- package/dist/services/StreamingEventService.d.ts.map +1 -1
- package/dist/services/StreamingService.d.ts +4 -20
- package/dist/services/StreamingService.d.ts.map +1 -1
- package/dist/services/TokenMetadataCache.d.ts.map +1 -1
- package/dist/services/TokenMetadataService.d.ts +1 -1
- package/dist/services/TokenMetadataService.d.ts.map +1 -1
- package/dist/services/TokenResolverService.d.ts +5 -0
- package/dist/services/TokenResolverService.d.ts.map +1 -1
- package/dist/services/TradeService.d.ts.map +1 -1
- package/dist/services/UserService.d.ts +1 -62
- package/dist/services/UserService.d.ts.map +1 -1
- package/dist/services/WebSocketAdminService.d.ts.map +1 -1
- package/dist/services/WebSocketService.d.ts +1 -1
- package/dist/services/WebSocketService.d.ts.map +1 -1
- package/dist/services/WrapService.d.ts +10 -11
- package/dist/services/WrapService.d.ts.map +1 -1
- package/dist/services/WrappableTokenCache.d.ts.map +1 -1
- package/dist/services/WrappableTokenService.d.ts +1 -1
- package/dist/services/WrappableTokenService.d.ts.map +1 -1
- package/dist/services/__mocks__/logger.mock.d.ts.map +1 -1
- package/dist/services/shared/http-helpers.d.ts +1 -1
- package/dist/services/shared/http-helpers.d.ts.map +1 -1
- package/dist/services/shared/pagination-helpers.d.ts.map +1 -1
- package/dist/services/shared/service-validators.d.ts +1 -1
- package/dist/services/shared/service-validators.d.ts.map +1 -1
- package/dist/services/shared/websocket-helpers.d.ts.map +1 -1
- package/dist/signing/eip712.d.ts +13 -0
- package/dist/signing/eip712.d.ts.map +1 -0
- package/dist/signing/index.d.ts +5 -0
- package/dist/signing/index.d.ts.map +1 -0
- package/dist/signing/signers.d.ts +81 -0
- package/dist/signing/signers.d.ts.map +1 -0
- package/dist/signing/types.d.ts +31 -0
- package/dist/signing/types.d.ts.map +1 -0
- package/dist/tokens/transfers.d.ts +91 -0
- package/dist/tokens/transfers.d.ts.map +1 -0
- package/dist/types/api-key.dto.d.ts.map +1 -1
- package/dist/types/backend-responses.d.ts +8 -31
- package/dist/types/backend-responses.d.ts.map +1 -1
- package/dist/types/ban.dto.d.ts +14 -23
- package/dist/types/ban.dto.d.ts.map +1 -1
- package/dist/types/chat-messages.dto.d.ts.map +1 -1
- package/dist/types/comments.dto.d.ts +5 -26
- package/dist/types/comments.dto.d.ts.map +1 -1
- package/dist/types/common.d.ts +4 -3
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/content-flag.dto.d.ts.map +1 -1
- package/dist/types/dto.d.ts +6 -0
- package/dist/types/dto.d.ts.map +1 -1
- package/dist/types/engagement-stats.dto.d.ts +2 -3
- package/dist/types/engagement-stats.dto.d.ts.map +1 -1
- package/dist/types/galachain-api.types.d.ts.map +1 -1
- package/dist/types/launchpad.dto.d.ts +7 -74
- package/dist/types/launchpad.dto.d.ts.map +1 -1
- package/dist/types/messages.dto.d.ts.map +1 -1
- package/dist/types/moderator.dto.d.ts +10 -18
- package/dist/types/moderator.dto.d.ts.map +1 -1
- package/dist/types/options.dto.d.ts +2 -13
- package/dist/types/options.dto.d.ts.map +1 -1
- package/dist/types/overseer.dto.d.ts +1 -2
- package/dist/types/overseer.dto.d.ts.map +1 -1
- package/dist/types/priceHistory.dto.d.ts +15 -46
- package/dist/types/priceHistory.dto.d.ts.map +1 -1
- package/dist/types/session-auth.dto.d.ts +4 -8
- package/dist/types/session-auth.dto.d.ts.map +1 -1
- package/dist/types/stream-chat.dto.d.ts +14 -105
- package/dist/types/stream-chat.dto.d.ts.map +1 -1
- package/dist/types/streaming.dto.d.ts +30 -119
- package/dist/types/streaming.dto.d.ts.map +1 -1
- package/dist/types/token-ban.dto.d.ts +5 -9
- package/dist/types/token-ban.dto.d.ts.map +1 -1
- package/dist/types/token-config.dto.d.ts +2 -3
- package/dist/types/token-config.dto.d.ts.map +1 -1
- package/dist/types/token.types.d.ts +50 -27
- package/dist/types/token.types.d.ts.map +1 -1
- package/dist/types/trade.dto.d.ts +2 -3
- package/dist/types/trade.dto.d.ts.map +1 -1
- package/dist/types/transfer.dto.d.ts +2 -16
- package/dist/types/transfer.dto.d.ts.map +1 -1
- package/dist/types/user.dto.d.ts +4 -6
- package/dist/types/user.dto.d.ts.map +1 -1
- package/dist/utils/ReconnectionManager.d.ts +0 -1
- package/dist/utils/ReconnectionManager.d.ts.map +1 -1
- package/dist/utils/adapters.d.ts +1 -1
- package/dist/utils/adapters.d.ts.map +1 -1
- package/dist/utils/agent-config.d.ts +17 -14
- package/dist/utils/agent-config.d.ts.map +1 -1
- package/dist/utils/amount-validator.d.ts +1 -1
- package/dist/utils/api-patterns.d.ts.map +1 -1
- package/dist/utils/async-patterns.d.ts.map +1 -1
- package/dist/utils/auto-pagination.d.ts +2 -2
- package/dist/utils/auto-pagination.d.ts.map +1 -1
- package/dist/utils/bignumber-helpers.d.ts +7 -4
- package/dist/utils/bignumber-helpers.d.ts.map +1 -1
- package/dist/utils/bondingCurveCalculations.d.ts +6 -19
- package/dist/utils/bondingCurveCalculations.d.ts.map +1 -1
- package/dist/utils/crypto-compat.d.ts.map +1 -1
- package/dist/utils/data-transform-patterns.d.ts +2 -8
- package/dist/utils/data-transform-patterns.d.ts.map +1 -1
- package/dist/utils/delimiter-parser.d.ts.map +1 -1
- package/dist/utils/error-factories.d.ts.map +1 -1
- package/dist/utils/error-handling-patterns.d.ts +2 -4
- package/dist/utils/error-handling-patterns.d.ts.map +1 -1
- package/dist/utils/error-patterns.d.ts +3 -2
- package/dist/utils/error-patterns.d.ts.map +1 -1
- package/dist/utils/error-utils.d.ts +0 -4
- package/dist/utils/error-utils.d.ts.map +1 -1
- package/dist/utils/errors.d.ts +8 -7
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/http.d.ts +8 -19
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/message-validators.d.ts +13 -0
- package/dist/utils/message-validators.d.ts.map +1 -0
- package/dist/utils/object-extractors.d.ts +1 -1
- package/dist/utils/object-patterns.d.ts +1 -1
- package/dist/utils/object-patterns.d.ts.map +1 -1
- package/dist/utils/pagination-helpers.d.ts +1 -1
- package/dist/utils/pagination-helpers.d.ts.map +1 -1
- package/dist/utils/service-validators.d.ts.map +1 -1
- package/dist/utils/string-transforms.d.ts +1 -1
- package/dist/utils/token-format-converter.d.ts +3 -3
- package/dist/utils/token-format-converter.d.ts.map +1 -1
- package/dist/utils/token-holder-transformer.d.ts +30 -0
- package/dist/utils/token-holder-transformer.d.ts.map +1 -0
- package/dist/utils/token-instance-key.d.ts +57 -0
- package/dist/utils/token-instance-key.d.ts.map +1 -0
- package/dist/utils/token-instance-resolver.d.ts +29 -0
- package/dist/utils/token-instance-resolver.d.ts.map +1 -0
- package/dist/utils/token-operation-details.d.ts +23 -0
- package/dist/utils/token-operation-details.d.ts.map +1 -0
- package/dist/utils/token-stringification.d.ts +0 -1
- package/dist/utils/token-stringification.d.ts.map +1 -1
- package/dist/utils/transfer-validation.d.ts +4 -4
- package/dist/utils/transfer-validation.d.ts.map +1 -1
- package/dist/utils/unique-key-generator.d.ts +31 -32
- package/dist/utils/unique-key-generator.d.ts.map +1 -1
- package/dist/utils/validation-patterns.d.ts +1 -6
- package/dist/utils/validation-patterns.d.ts.map +1 -1
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/wallet.d.ts +2 -21
- package/dist/utils/wallet.d.ts.map +1 -1
- package/dist/utils/websocket-patterns.d.ts +3 -4
- package/dist/utils/websocket-patterns.d.ts.map +1 -1
- package/dist/wallet/ExternalWalletProvider.d.ts +2 -21
- package/dist/wallet/ExternalWalletProvider.d.ts.map +1 -1
- package/dist/wallet/GalaChainConnectProvider.d.ts +1 -1
- package/dist/wallet/GalaChainConnectProvider.d.ts.map +1 -1
- package/dist/wallet/GalaWalletProvider.d.ts +2 -21
- package/dist/wallet/GalaWalletProvider.d.ts.map +1 -1
- package/dist/wallet/detection.d.ts.map +1 -1
- package/dist/wallet/event-handlers.d.ts +50 -0
- package/dist/wallet/event-handlers.d.ts.map +1 -0
- package/dist/wallet/signing-operation.d.ts +19 -0
- package/dist/wallet/signing-operation.d.ts.map +1 -0
- package/dist/wallet/typed-data-helpers.d.ts +68 -0
- package/dist/wallet/typed-data-helpers.d.ts.map +1 -0
- package/dist/wallet.cjs +1 -1
- package/dist/wallet.esm.js +1 -1
- package/package.json +189 -186
- package/README.md.bak +0 -3174
- package/dist/ai-docs.json +0 -11904
- package/dist/examples/admin/api-key-advanced.d.ts +0 -43
- package/dist/examples/admin/api-key-advanced.d.ts.map +0 -1
- package/dist/examples/admin/moderator-invite-complete.d.ts +0 -41
- package/dist/examples/admin/moderator-invite-complete.d.ts.map +0 -1
- package/dist/examples/admin/overseer-management-advanced.d.ts +0 -38
- package/dist/examples/admin/overseer-management-advanced.d.ts.map +0 -1
- package/dist/examples/admin/overseer-page-stats.d.ts +0 -26
- package/dist/examples/admin/overseer-page-stats.d.ts.map +0 -1
- package/dist/examples/admin/token-ban-complete.d.ts +0 -44
- package/dist/examples/admin/token-ban-complete.d.ts.map +0 -1
- package/dist/examples/ai-moderation/ai-moderation-demo.d.ts +0 -32
- package/dist/examples/ai-moderation/ai-moderation-demo.d.ts.map +0 -1
- package/dist/examples/ai-moderation/flag-ai-verdicts-demo.d.ts +0 -30
- package/dist/examples/ai-moderation/flag-ai-verdicts-demo.d.ts.map +0 -1
- package/dist/examples/analytics/index.d.ts +0 -23
- package/dist/examples/analytics/index.d.ts.map +0 -1
- package/dist/examples/analytics/market-analysis-tools.d.ts +0 -28
- package/dist/examples/analytics/market-analysis-tools.d.ts.map +0 -1
- package/dist/examples/analytics/portfolio-performance-tracking.d.ts +0 -25
- package/dist/examples/analytics/portfolio-performance-tracking.d.ts.map +0 -1
- package/dist/examples/analytics/trading-analytics-advanced.d.ts +0 -27
- package/dist/examples/analytics/trading-analytics-advanced.d.ts.map +0 -1
- package/dist/examples/api-keys/advanced-configuration.d.ts +0 -19
- package/dist/examples/api-keys/advanced-configuration.d.ts.map +0 -1
- package/dist/examples/api-keys/complete-lifecycle.d.ts +0 -18
- package/dist/examples/api-keys/complete-lifecycle.d.ts.map +0 -1
- package/dist/examples/api-keys/crud.d.ts +0 -22
- package/dist/examples/api-keys/crud.d.ts.map +0 -1
- package/dist/examples/api-keys/token-delegation.d.ts +0 -24
- package/dist/examples/api-keys/token-delegation.d.ts.map +0 -1
- package/dist/examples/api-keys/user-api-key-auth.d.ts +0 -24
- package/dist/examples/api-keys/user-api-key-auth.d.ts.map +0 -1
- package/dist/examples/auth/auth-permissions-checking.d.ts +0 -32
- package/dist/examples/auth/auth-permissions-checking.d.ts.map +0 -1
- package/dist/examples/auth/auth-token-management.d.ts +0 -32
- package/dist/examples/auth/auth-token-management.d.ts.map +0 -1
- package/dist/examples/auth/auth-validation-workflows.d.ts +0 -32
- package/dist/examples/auth/auth-validation-workflows.d.ts.map +0 -1
- package/dist/examples/bans/ban-management.d.ts +0 -24
- package/dist/examples/bans/ban-management.d.ts.map +0 -1
- package/dist/examples/bans/demo-global-user-bans.d.ts +0 -27
- package/dist/examples/bans/demo-global-user-bans.d.ts.map +0 -1
- package/dist/examples/bonding/token-graduation-workflow.d.ts +0 -21
- package/dist/examples/bonding/token-graduation-workflow.d.ts.map +0 -1
- package/dist/examples/bonding-curve/basic-trading.d.ts +0 -20
- package/dist/examples/bonding-curve/basic-trading.d.ts.map +0 -1
- package/dist/examples/bonding-curve/graduation-workflow.d.ts +0 -18
- package/dist/examples/bonding-curve/graduation-workflow.d.ts.map +0 -1
- package/dist/examples/bonding-curve/pagination-variants.d.ts +0 -17
- package/dist/examples/bonding-curve/pagination-variants.d.ts.map +0 -1
- package/dist/examples/bonding-curve/pool-analysis.d.ts +0 -18
- package/dist/examples/bonding-curve/pool-analysis.d.ts.map +0 -1
- package/dist/examples/bonding-curve/pool-creator-filtering.d.ts +0 -17
- package/dist/examples/bonding-curve/pool-creator-filtering.d.ts.map +0 -1
- package/dist/examples/bonding-curve/pool-discovery.d.ts +0 -19
- package/dist/examples/bonding-curve/pool-discovery.d.ts.map +0 -1
- package/dist/examples/bonding-curve/price-impact.d.ts +0 -18
- package/dist/examples/bonding-curve/price-impact.d.ts.map +0 -1
- package/dist/examples/bonding-curve/token-launch.d.ts +0 -18
- package/dist/examples/bonding-curve/token-launch.d.ts.map +0 -1
- package/dist/examples/bonding-curve/user-holder-context.d.ts +0 -18
- package/dist/examples/bonding-curve/user-holder-context.d.ts.map +0 -1
- package/dist/examples/bonding-curve/volume-trading.d.ts +0 -18
- package/dist/examples/bonding-curve/volume-trading.d.ts.map +0 -1
- package/dist/examples/bridge/bridge-ethereum-specific.d.ts +0 -18
- package/dist/examples/bridge/bridge-ethereum-specific.d.ts.map +0 -1
- package/dist/examples/bridge/bridge-generic-operations.d.ts +0 -18
- package/dist/examples/bridge/bridge-generic-operations.d.ts.map +0 -1
- package/dist/examples/bridge/bridge-multi-chain-routing.d.ts +0 -31
- package/dist/examples/bridge/bridge-multi-chain-routing.d.ts.map +0 -1
- package/dist/examples/bridge/bridge-network-methods.d.ts +0 -31
- package/dist/examples/bridge/bridge-network-methods.d.ts.map +0 -1
- package/dist/examples/bridge/bridge-network-tokens.d.ts +0 -18
- package/dist/examples/bridge/bridge-network-tokens.d.ts.map +0 -1
- package/dist/examples/bridge/bridge-network-validation.d.ts +0 -33
- package/dist/examples/bridge/bridge-network-validation.d.ts.map +0 -1
- package/dist/examples/bridge/bridge-operations.d.ts +0 -27
- package/dist/examples/bridge/bridge-operations.d.ts.map +0 -1
- package/dist/examples/bridge/bridge-solana-specific.d.ts +0 -18
- package/dist/examples/bridge/bridge-solana-specific.d.ts.map +0 -1
- package/dist/examples/bridge/bridge-status-monitoring.d.ts +0 -30
- package/dist/examples/bridge/bridge-status-monitoring.d.ts.map +0 -1
- package/dist/examples/bridge/bridge-wrapped-token-operations.d.ts +0 -30
- package/dist/examples/bridge/bridge-wrapped-token-operations.d.ts.map +0 -1
- package/dist/examples/bridge/bridgeable-tokens.d.ts +0 -27
- package/dist/examples/bridge/bridgeable-tokens.d.ts.map +0 -1
- package/dist/examples/bridge/check-balances.d.ts +0 -13
- package/dist/examples/bridge/check-balances.d.ts.map +0 -1
- package/dist/examples/bridge/ethereum-in.d.ts +0 -17
- package/dist/examples/bridge/ethereum-in.d.ts.map +0 -1
- package/dist/examples/bridge/ethereum-out.d.ts +0 -17
- package/dist/examples/bridge/ethereum-out.d.ts.map +0 -1
- package/dist/examples/bridge/ethereum-roundtrip.d.ts +0 -20
- package/dist/examples/bridge/ethereum-roundtrip.d.ts.map +0 -1
- package/dist/examples/bridge/external-balances.d.ts +0 -29
- package/dist/examples/bridge/external-balances.d.ts.map +0 -1
- package/dist/examples/bridge/fee-estimation.d.ts +0 -14
- package/dist/examples/bridge/fee-estimation.d.ts.map +0 -1
- package/dist/examples/bridge/solana-in.d.ts +0 -18
- package/dist/examples/bridge/solana-in.d.ts.map +0 -1
- package/dist/examples/bridge/solana-out.d.ts +0 -18
- package/dist/examples/bridge/solana-out.d.ts.map +0 -1
- package/dist/examples/bridge/solana-roundtrip.d.ts +0 -21
- package/dist/examples/bridge/solana-roundtrip.d.ts.map +0 -1
- package/dist/examples/bridge/status-tracking.d.ts +0 -16
- package/dist/examples/bridge/status-tracking.d.ts.map +0 -1
- package/dist/examples/bridge/supported-tokens.d.ts +0 -14
- package/dist/examples/bridge/supported-tokens.d.ts.map +0 -1
- package/dist/examples/bridge/test-debug-unwrap.d.ts +0 -13
- package/dist/examples/bridge/test-debug-unwrap.d.ts.map +0 -1
- package/dist/examples/bridge/test-unwrap-execution.d.ts +0 -13
- package/dist/examples/bridge/test-unwrap-execution.d.ts.map +0 -1
- package/dist/examples/bridge/test-wrap-debug.d.ts +0 -13
- package/dist/examples/bridge/test-wrap-debug.d.ts.map +0 -1
- package/dist/examples/bridge/test-wrap-execution.d.ts +0 -13
- package/dist/examples/bridge/test-wrap-execution.d.ts.map +0 -1
- package/dist/examples/bridge/test-wrap-roundtrip.d.ts +0 -13
- package/dist/examples/bridge/test-wrap-roundtrip.d.ts.map +0 -1
- package/dist/examples/bridge/transaction-status.d.ts +0 -26
- package/dist/examples/bridge/transaction-status.d.ts.map +0 -1
- package/dist/examples/bridge/wallet-balances.d.ts +0 -24
- package/dist/examples/bridge/wallet-balances.d.ts.map +0 -1
- package/dist/examples/bridge/wrap-discovery.d.ts +0 -16
- package/dist/examples/bridge/wrap-discovery.d.ts.map +0 -1
- package/dist/examples/bridge/wrap-fee-estimation.d.ts +0 -16
- package/dist/examples/bridge/wrap-fee-estimation.d.ts.map +0 -1
- package/dist/examples/bridge/wrap-unwrap.d.ts +0 -18
- package/dist/examples/bridge/wrap-unwrap.d.ts.map +0 -1
- package/dist/examples/bridge/wrap-utilities.d.ts +0 -21
- package/dist/examples/bridge/wrap-utilities.d.ts.map +0 -1
- package/dist/examples/calculations/calculation-methods-comprehensive.d.ts +0 -24
- package/dist/examples/calculations/calculation-methods-comprehensive.d.ts.map +0 -1
- package/dist/examples/calculations/external-calculations-demo.d.ts +0 -23
- package/dist/examples/calculations/external-calculations-demo.d.ts.map +0 -1
- package/dist/examples/calculations/local-calculations-demo.d.ts +0 -24
- package/dist/examples/calculations/local-calculations-demo.d.ts.map +0 -1
- package/dist/examples/calculations/pool-calculation-context.d.ts +0 -19
- package/dist/examples/calculations/pool-calculation-context.d.ts.map +0 -1
- package/dist/examples/chat/basic-chat.d.ts +0 -17
- package/dist/examples/chat/basic-chat.d.ts.map +0 -1
- package/dist/examples/chat/chat-admin-controls.d.ts +0 -41
- package/dist/examples/chat/chat-admin-controls.d.ts.map +0 -1
- package/dist/examples/chat/chat-demo.d.ts +0 -25
- package/dist/examples/chat/chat-demo.d.ts.map +0 -1
- package/dist/examples/chat/chat-engagement-stats.d.ts +0 -44
- package/dist/examples/chat/chat-engagement-stats.d.ts.map +0 -1
- package/dist/examples/chat/chat-lifecycle.d.ts +0 -26
- package/dist/examples/chat/chat-lifecycle.d.ts.map +0 -1
- package/dist/examples/chat/chat-message-management.d.ts +0 -18
- package/dist/examples/chat/chat-message-management.d.ts.map +0 -1
- package/dist/examples/chat/chat-pinning-workflow.d.ts +0 -37
- package/dist/examples/chat/chat-pinning-workflow.d.ts.map +0 -1
- package/dist/examples/chat/demo-pin-messages.d.ts +0 -17
- package/dist/examples/chat/demo-pin-messages.d.ts.map +0 -1
- package/dist/examples/chat/multi-user-chat-test.d.ts +0 -19
- package/dist/examples/chat/multi-user-chat-test.d.ts.map +0 -1
- package/dist/examples/chat/quick-reaction-test.d.ts +0 -4
- package/dist/examples/chat/quick-reaction-test.d.ts.map +0 -1
- package/dist/examples/chat/typing-indicators.d.ts +0 -23
- package/dist/examples/chat/typing-indicators.d.ts.map +0 -1
- package/dist/examples/chat/websocket-chat.d.ts +0 -21
- package/dist/examples/chat/websocket-chat.d.ts.map +0 -1
- package/dist/examples/comments/basic-comments.d.ts +0 -19
- package/dist/examples/comments/basic-comments.d.ts.map +0 -1
- package/dist/examples/comments/comments-demo.d.ts +0 -34
- package/dist/examples/comments/comments-demo.d.ts.map +0 -1
- package/dist/examples/comments/comments-lifecycle.d.ts +0 -24
- package/dist/examples/comments/comments-lifecycle.d.ts.map +0 -1
- package/dist/examples/comments/comments-update-workflow.d.ts +0 -35
- package/dist/examples/comments/comments-update-workflow.d.ts.map +0 -1
- package/dist/examples/content/content-categorization.d.ts +0 -51
- package/dist/examples/content/content-categorization.d.ts.map +0 -1
- package/dist/examples/content/content-publishing-workflow.d.ts +0 -45
- package/dist/examples/content/content-publishing-workflow.d.ts.map +0 -1
- package/dist/examples/content/content-versioning.d.ts +0 -52
- package/dist/examples/content/content-versioning.d.ts.map +0 -1
- package/dist/examples/content-flags/comprehensive-flag-workflow.d.ts +0 -40
- package/dist/examples/content-flags/comprehensive-flag-workflow.d.ts.map +0 -1
- package/dist/examples/content-flags/flag-management.d.ts +0 -28
- package/dist/examples/content-flags/flag-management.d.ts.map +0 -1
- package/dist/examples/content-reactions/advanced-reactions.d.ts +0 -24
- package/dist/examples/content-reactions/advanced-reactions.d.ts.map +0 -1
- package/dist/examples/content-reactions/basic-reactions.d.ts +0 -21
- package/dist/examples/content-reactions/basic-reactions.d.ts.map +0 -1
- package/dist/examples/content-reactions/comprehensive-reactions-workflow.d.ts +0 -41
- package/dist/examples/content-reactions/comprehensive-reactions-workflow.d.ts.map +0 -1
- package/dist/examples/content-reactions/content-reactions-advanced.d.ts +0 -40
- package/dist/examples/content-reactions/content-reactions-advanced.d.ts.map +0 -1
- package/dist/examples/core/authenticated-operations.d.ts +0 -14
- package/dist/examples/core/authenticated-operations.d.ts.map +0 -1
- package/dist/examples/core/complete-sdk-demo.d.ts +0 -22
- package/dist/examples/core/complete-sdk-demo.d.ts.map +0 -1
- package/dist/examples/core/image-uploads.d.ts +0 -28
- package/dist/examples/core/image-uploads.d.ts.map +0 -1
- package/dist/examples/core/privatekey-override-pattern.d.ts +0 -16
- package/dist/examples/core/privatekey-override-pattern.d.ts.map +0 -1
- package/dist/examples/core/read-only-operations.d.ts +0 -16
- package/dist/examples/core/read-only-operations.d.ts.map +0 -1
- package/dist/examples/core/session-auth-demo.d.ts +0 -15
- package/dist/examples/core/session-auth-demo.d.ts.map +0 -1
- package/dist/examples/core/session-auth-lifecycle.d.ts +0 -19
- package/dist/examples/core/session-auth-lifecycle.d.ts.map +0 -1
- package/dist/examples/core/test-pagination-fix.d.ts +0 -14
- package/dist/examples/core/test-pagination-fix.d.ts.map +0 -1
- package/dist/examples/core/token-refresh-utilities.d.ts +0 -18
- package/dist/examples/core/token-refresh-utilities.d.ts.map +0 -1
- package/dist/examples/core/token-validation.d.ts +0 -18
- package/dist/examples/core/token-validation.d.ts.map +0 -1
- package/dist/examples/core/wallet-management.d.ts +0 -23
- package/dist/examples/core/wallet-management.d.ts.map +0 -1
- package/dist/examples/debug/check-recorded-bridge-tx.d.ts +0 -8
- package/dist/examples/debug/check-recorded-bridge-tx.d.ts.map +0 -1
- package/dist/examples/debug/debug-comment.d.ts +0 -2
- package/dist/examples/debug/debug-comment.d.ts.map +0 -1
- package/dist/examples/debug/test-volume-data-bounds-prod.d.ts +0 -15
- package/dist/examples/debug/test-volume-data-bounds-prod.d.ts.map +0 -1
- package/dist/examples/debug/test-volume-data-bounds.d.ts +0 -14
- package/dist/examples/debug/test-volume-data-bounds.d.ts.map +0 -1
- package/dist/examples/debug/websocket-event-discovery.d.ts +0 -26
- package/dist/examples/debug/websocket-event-discovery.d.ts.map +0 -1
- package/dist/examples/debug/websocket-monitor.d.ts +0 -15
- package/dist/examples/debug/websocket-monitor.d.ts.map +0 -1
- package/dist/examples/debug-single-trade.d.ts +0 -6
- package/dist/examples/debug-single-trade.d.ts.map +0 -1
- package/dist/examples/demo-librarian.d.ts +0 -18
- package/dist/examples/demo-librarian.d.ts.map +0 -1
- package/dist/examples/demo-runner.d.ts +0 -22
- package/dist/examples/demo-runner.d.ts.map +0 -1
- package/dist/examples/dex/demo-roundtrip-liquidity.d.ts +0 -16
- package/dist/examples/dex/demo-roundtrip-liquidity.d.ts.map +0 -1
- package/dist/examples/dex/dex-impermanent-loss-analysis.d.ts +0 -28
- package/dist/examples/dex/dex-impermanent-loss-analysis.d.ts.map +0 -1
- package/dist/examples/dex/dex-liquidity-management-advanced.d.ts +0 -27
- package/dist/examples/dex/dex-liquidity-management-advanced.d.ts.map +0 -1
- package/dist/examples/dex/dex-multi-hop-swaps.d.ts +0 -32
- package/dist/examples/dex/dex-multi-hop-swaps.d.ts.map +0 -1
- package/dist/examples/dex/dex-pool-pricing.d.ts +0 -20
- package/dist/examples/dex/dex-pool-pricing.d.ts.map +0 -1
- package/dist/examples/dex/dex-quote-calculations.d.ts +0 -21
- package/dist/examples/dex/dex-quote-calculations.d.ts.map +0 -1
- package/dist/examples/dex/dex-seasons-leaderboard.d.ts +0 -22
- package/dist/examples/dex/dex-seasons-leaderboard.d.ts.map +0 -1
- package/dist/examples/dex/dex-slippage-protection.d.ts +0 -28
- package/dist/examples/dex/dex-slippage-protection.d.ts.map +0 -1
- package/dist/examples/dex/dex-tokens-discovery.d.ts +0 -20
- package/dist/examples/dex/dex-tokens-discovery.d.ts.map +0 -1
- package/dist/examples/dex/dex-volume-analytics.d.ts +0 -19
- package/dist/examples/dex/dex-volume-analytics.d.ts.map +0 -1
- package/dist/examples/dex/leaderboard.d.ts +0 -12
- package/dist/examples/dex/leaderboard.d.ts.map +0 -1
- package/dist/examples/dex/pool-discovery.d.ts +0 -25
- package/dist/examples/dex/pool-discovery.d.ts.map +0 -1
- package/dist/examples/dex/pools-with-pricing.d.ts +0 -28
- package/dist/examples/dex/pools-with-pricing.d.ts.map +0 -1
- package/dist/examples/dex/quote-comparison.d.ts +0 -16
- package/dist/examples/dex/quote-comparison.d.ts.map +0 -1
- package/dist/examples/dex/swap-user-assets-comprehensive.d.ts +0 -20
- package/dist/examples/dex/swap-user-assets-comprehensive.d.ts.map +0 -1
- package/dist/examples/dex/swap-workflow.d.ts +0 -20
- package/dist/examples/dex/swap-workflow.d.ts.map +0 -1
- package/dist/examples/dex/token-discovery.d.ts +0 -27
- package/dist/examples/dex/token-discovery.d.ts.map +0 -1
- package/dist/examples/dex/volume-summary.d.ts +0 -12
- package/dist/examples/dex/volume-summary.d.ts.map +0 -1
- package/dist/examples/error-handling/error-recovery-patterns.d.ts +0 -42
- package/dist/examples/error-handling/error-recovery-patterns.d.ts.map +0 -1
- package/dist/examples/error-handling/timeout-management.d.ts +0 -43
- package/dist/examples/error-handling/timeout-management.d.ts.map +0 -1
- package/dist/examples/events/event-aggregation-analysis.d.ts +0 -40
- package/dist/examples/events/event-aggregation-analysis.d.ts.map +0 -1
- package/dist/examples/events/event-emission-patterns.d.ts +0 -35
- package/dist/examples/events/event-emission-patterns.d.ts.map +0 -1
- package/dist/examples/events/subscription-management-advanced.d.ts +0 -38
- package/dist/examples/events/subscription-management-advanced.d.ts.map +0 -1
- package/dist/examples/fees/complete-fee-test.d.ts +0 -13
- package/dist/examples/fees/complete-fee-test.d.ts.map +0 -1
- package/dist/examples/fees/demo-fee-generation-and-collection.d.ts +0 -27
- package/dist/examples/fees/demo-fee-generation-and-collection.d.ts.map +0 -1
- package/dist/examples/fees/demo-fees-high-volume.d.ts +0 -13
- package/dist/examples/fees/demo-fees-high-volume.d.ts.map +0 -1
- package/dist/examples/fees/demo-multi-wallet-fee-generation.d.ts +0 -13
- package/dist/examples/fees/demo-multi-wallet-fee-generation.d.ts.map +0 -1
- package/dist/examples/fees/trade-and-collect-fees.d.ts +0 -13
- package/dist/examples/fees/trade-and-collect-fees.d.ts.map +0 -1
- package/dist/examples/galachain/bundler-transactions.d.ts +0 -28
- package/dist/examples/galachain/bundler-transactions.d.ts.map +0 -1
- package/dist/examples/galachain/galachain-token-resolution.d.ts +0 -28
- package/dist/examples/galachain/galachain-token-resolution.d.ts.map +0 -1
- package/dist/examples/galachain/galachain-tokens.d.ts +0 -28
- package/dist/examples/galachain/galachain-tokens.d.ts.map +0 -1
- package/dist/examples/galachain/galachain-transfers.d.ts +0 -25
- package/dist/examples/galachain/galachain-transfers.d.ts.map +0 -1
- package/dist/examples/global-feed-demo.d.ts +0 -17
- package/dist/examples/global-feed-demo.d.ts.map +0 -1
- package/dist/examples/global-feed-filtering-demo.d.ts +0 -20
- package/dist/examples/global-feed-filtering-demo.d.ts.map +0 -1
- package/dist/examples/launchpad/demo-socials.d.ts +0 -16
- package/dist/examples/launchpad/demo-socials.d.ts.map +0 -1
- package/dist/examples/launchpad/fetch-token-stats.d.ts +0 -18
- package/dist/examples/launchpad/fetch-token-stats.d.ts.map +0 -1
- package/dist/examples/launchpad/update-token-config.d.ts +0 -17
- package/dist/examples/launchpad/update-token-config.d.ts.map +0 -1
- package/dist/examples/liquidity/apr-calculator.d.ts +0 -18
- package/dist/examples/liquidity/apr-calculator.d.ts.map +0 -1
- package/dist/examples/liquidity/demo-bundler-operations.d.ts +0 -15
- package/dist/examples/liquidity/demo-bundler-operations.d.ts.map +0 -1
- package/dist/examples/liquidity/demo-fetch-all-positions.d.ts +0 -2
- package/dist/examples/liquidity/demo-fetch-all-positions.d.ts.map +0 -1
- package/dist/examples/liquidity/demo-position-direct.d.ts +0 -14
- package/dist/examples/liquidity/demo-position-direct.d.ts.map +0 -1
- package/dist/examples/liquidity/demo-positions-with-chunked-pricing.d.ts +0 -26
- package/dist/examples/liquidity/demo-positions-with-chunked-pricing.d.ts.map +0 -1
- package/dist/examples/liquidity/demo-roundtrip-remove.d.ts +0 -21
- package/dist/examples/liquidity/demo-roundtrip-remove.d.ts.map +0 -1
- package/dist/examples/liquidity/detailed.d.ts +0 -21
- package/dist/examples/liquidity/detailed.d.ts.map +0 -1
- package/dist/examples/liquidity/errors.d.ts +0 -18
- package/dist/examples/liquidity/errors.d.ts.map +0 -1
- package/dist/examples/liquidity/fee-collection.d.ts +0 -22
- package/dist/examples/liquidity/fee-collection.d.ts.map +0 -1
- package/dist/examples/liquidity/liquidity-position-details.d.ts +0 -21
- package/dist/examples/liquidity/liquidity-position-details.d.ts.map +0 -1
- package/dist/examples/liquidity/liquidity-removal-estimation.d.ts +0 -19
- package/dist/examples/liquidity/liquidity-removal-estimation.d.ts.map +0 -1
- package/dist/examples/liquidity/multi-position.d.ts +0 -22
- package/dist/examples/liquidity/multi-position.d.ts.map +0 -1
- package/dist/examples/liquidity/positions-cli.d.ts +0 -41
- package/dist/examples/liquidity/positions-cli.d.ts.map +0 -1
- package/dist/examples/liquidity/ticks.d.ts +0 -18
- package/dist/examples/liquidity/ticks.d.ts.map +0 -1
- package/dist/examples/locks/burn-tokens.d.ts +0 -25
- package/dist/examples/locks/burn-tokens.d.ts.map +0 -1
- package/dist/examples/locks/lock-unlock-workflow.d.ts +0 -20
- package/dist/examples/locks/lock-unlock-workflow.d.ts.map +0 -1
- package/dist/examples/messages/messages-lifecycle.d.ts +0 -37
- package/dist/examples/messages/messages-lifecycle.d.ts.map +0 -1
- package/dist/examples/messages/messages-pinning.d.ts +0 -37
- package/dist/examples/messages/messages-pinning.d.ts.map +0 -1
- package/dist/examples/moderators/claim-invite.d.ts +0 -28
- package/dist/examples/moderators/claim-invite.d.ts.map +0 -1
- package/dist/examples/moderators/invite-management.d.ts +0 -30
- package/dist/examples/moderators/invite-management.d.ts.map +0 -1
- package/dist/examples/moderators/moderated-tokens-portfolio.d.ts +0 -18
- package/dist/examples/moderators/moderated-tokens-portfolio.d.ts.map +0 -1
- package/dist/examples/monitoring/demo-stream-events.d.ts +0 -17
- package/dist/examples/monitoring/demo-stream-events.d.ts.map +0 -1
- package/dist/examples/monitoring/demo-watch-pools.d.ts +0 -18
- package/dist/examples/monitoring/demo-watch-pools.d.ts.map +0 -1
- package/dist/examples/monitoring/demo-watch-tokens.d.ts +0 -18
- package/dist/examples/monitoring/demo-watch-tokens.d.ts.map +0 -1
- package/dist/examples/monitoring/fees-collection-e2e.d.ts +0 -36
- package/dist/examples/monitoring/fees-collection-e2e.d.ts.map +0 -1
- package/dist/examples/monitoring/fees-collection-guaranteed.d.ts +0 -49
- package/dist/examples/monitoring/fees-collection-guaranteed.d.ts.map +0 -1
- package/dist/examples/monitoring/liquidity-e2e-test.d.ts +0 -15
- package/dist/examples/monitoring/liquidity-e2e-test.d.ts.map +0 -1
- package/dist/examples/monitoring/liquidity-monitor.d.ts +0 -17
- package/dist/examples/monitoring/liquidity-monitor.d.ts.map +0 -1
- package/dist/examples/monitoring/pool-creation-integration.d.ts +0 -27
- package/dist/examples/monitoring/pool-creation-integration.d.ts.map +0 -1
- package/dist/examples/monitoring/pool-liquidity-tracker.d.ts +0 -15
- package/dist/examples/monitoring/pool-liquidity-tracker.d.ts.map +0 -1
- package/dist/examples/monitoring/subscribe-liquidity-added.d.ts +0 -30
- package/dist/examples/monitoring/subscribe-liquidity-added.d.ts.map +0 -1
- package/dist/examples/monitoring/subscribe-liquidity-removed.d.ts +0 -30
- package/dist/examples/monitoring/subscribe-liquidity-removed.d.ts.map +0 -1
- package/dist/examples/monitoring/subscribe-pool-creations.d.ts +0 -29
- package/dist/examples/monitoring/subscribe-pool-creations.d.ts.map +0 -1
- package/dist/examples/monitoring/subscribe-token-creations.d.ts +0 -21
- package/dist/examples/monitoring/subscribe-token-creations.d.ts.map +0 -1
- package/dist/examples/monitoring/token-creation-integration.d.ts +0 -32
- package/dist/examples/monitoring/token-creation-integration.d.ts.map +0 -1
- package/dist/examples/monitoring/websocket-event-handlers.d.ts +0 -22
- package/dist/examples/monitoring/websocket-event-handlers.d.ts.map +0 -1
- package/dist/examples/nft/demo-collection-management.d.ts +0 -13
- package/dist/examples/nft/demo-collection-management.d.ts.map +0 -1
- package/dist/examples/nft/demo-fee-calculations.d.ts +0 -14
- package/dist/examples/nft/demo-fee-calculations.d.ts.map +0 -1
- package/dist/examples/nft/demo-minting.d.ts +0 -13
- package/dist/examples/nft/demo-minting.d.ts.map +0 -1
- package/dist/examples/nft/demo-portfolio-query.d.ts +0 -14
- package/dist/examples/nft/demo-portfolio-query.d.ts.map +0 -1
- package/dist/examples/nft/nft-collection-lifecycle.d.ts +0 -22
- package/dist/examples/nft/nft-collection-lifecycle.d.ts.map +0 -1
- package/dist/examples/nft/nft-data-queries.d.ts +0 -22
- package/dist/examples/nft/nft-data-queries.d.ts.map +0 -1
- package/dist/examples/nft/nft-fee-estimation.d.ts +0 -23
- package/dist/examples/nft/nft-fee-estimation.d.ts.map +0 -1
- package/dist/examples/nft/nft-token-creation.d.ts +0 -22
- package/dist/examples/nft/nft-token-creation.d.ts.map +0 -1
- package/dist/examples/nft/nft-utilities.d.ts +0 -23
- package/dist/examples/nft/nft-utilities.d.ts.map +0 -1
- package/dist/examples/orchestrator-master.d.ts +0 -22
- package/dist/examples/orchestrator-master.d.ts.map +0 -1
- package/dist/examples/orchestrator-tasks.d.ts +0 -38
- package/dist/examples/orchestrator-tasks.d.ts.map +0 -1
- package/dist/examples/overseers/claim-invite.d.ts +0 -31
- package/dist/examples/overseers/claim-invite.d.ts.map +0 -1
- package/dist/examples/overseers/demo-list-users.d.ts +0 -19
- package/dist/examples/overseers/demo-list-users.d.ts.map +0 -1
- package/dist/examples/overseers/direct-promotion.d.ts +0 -39
- package/dist/examples/overseers/direct-promotion.d.ts.map +0 -1
- package/dist/examples/overseers/invite-management.d.ts +0 -38
- package/dist/examples/overseers/invite-management.d.ts.map +0 -1
- package/dist/examples/overseers/restricted-names-management.d.ts +0 -27
- package/dist/examples/overseers/restricted-names-management.d.ts.map +0 -1
- package/dist/examples/performance/caching-strategies-advanced.d.ts +0 -28
- package/dist/examples/performance/caching-strategies-advanced.d.ts.map +0 -1
- package/dist/examples/performance/performance-optimization-patterns.d.ts +0 -28
- package/dist/examples/performance/performance-optimization-patterns.d.ts.map +0 -1
- package/dist/examples/persistence/data-backup-recovery.d.ts +0 -119
- package/dist/examples/persistence/data-backup-recovery.d.ts.map +0 -1
- package/dist/examples/persistence/local-storage-patterns.d.ts +0 -86
- package/dist/examples/persistence/local-storage-patterns.d.ts.map +0 -1
- package/dist/examples/queries/advanced-sorting.d.ts +0 -28
- package/dist/examples/queries/advanced-sorting.d.ts.map +0 -1
- package/dist/examples/queries/complex-filtering.d.ts +0 -27
- package/dist/examples/queries/complex-filtering.d.ts.map +0 -1
- package/dist/examples/security/security-audit-trail.d.ts +0 -42
- package/dist/examples/security/security-audit-trail.d.ts.map +0 -1
- package/dist/examples/security/security-content-moderation-advanced.d.ts +0 -42
- package/dist/examples/security/security-content-moderation-advanced.d.ts.map +0 -1
- package/dist/examples/security/security-token-safety-checks.d.ts +0 -41
- package/dist/examples/security/security-token-safety-checks.d.ts.map +0 -1
- package/dist/examples/security/security-user-restrictions-advanced.d.ts +0 -42
- package/dist/examples/security/security-user-restrictions-advanced.d.ts.map +0 -1
- package/dist/examples/site-config-demo.d.ts +0 -20
- package/dist/examples/site-config-demo.d.ts.map +0 -1
- package/dist/examples/streaming/admin-controls.d.ts +0 -30
- package/dist/examples/streaming/admin-controls.d.ts.map +0 -1
- package/dist/examples/streaming/advanced-stream-demo.d.ts +0 -28
- package/dist/examples/streaming/advanced-stream-demo.d.ts.map +0 -1
- package/dist/examples/streaming/basic-stream.d.ts +0 -17
- package/dist/examples/streaming/basic-stream.d.ts.map +0 -1
- package/dist/examples/streaming/demo-countdown.d.ts +0 -16
- package/dist/examples/streaming/demo-countdown.d.ts.map +0 -1
- package/dist/examples/streaming/demo-get-stream-credentials.d.ts +0 -29
- package/dist/examples/streaming/demo-get-stream-credentials.d.ts.map +0 -1
- package/dist/examples/streaming/demo-platform-config.d.ts +0 -20
- package/dist/examples/streaming/demo-platform-config.d.ts.map +0 -1
- package/dist/examples/streaming/engagement-stats.d.ts +0 -25
- package/dist/examples/streaming/engagement-stats.d.ts.map +0 -1
- package/dist/examples/streaming/recordings.d.ts +0 -16
- package/dist/examples/streaming/recordings.d.ts.map +0 -1
- package/dist/examples/streaming/simulcast.d.ts +0 -19
- package/dist/examples/streaming/simulcast.d.ts.map +0 -1
- package/dist/examples/streaming/stream-access-control.d.ts +0 -30
- package/dist/examples/streaming/stream-access-control.d.ts.map +0 -1
- package/dist/examples/streaming/stream-control.d.ts +0 -25
- package/dist/examples/streaming/stream-control.d.ts.map +0 -1
- package/dist/examples/streaming/stream-countdown.d.ts +0 -31
- package/dist/examples/streaming/stream-countdown.d.ts.map +0 -1
- package/dist/examples/streaming/stream-enable-disable.d.ts +0 -31
- package/dist/examples/streaming/stream-enable-disable.d.ts.map +0 -1
- package/dist/examples/streaming/stream-key-management.d.ts +0 -21
- package/dist/examples/streaming/stream-key-management.d.ts.map +0 -1
- package/dist/examples/streaming/stream-recording-management.d.ts +0 -29
- package/dist/examples/streaming/stream-recording-management.d.ts.map +0 -1
- package/dist/examples/streaming/stream-simulcast-multi-platform.d.ts +0 -38
- package/dist/examples/streaming/stream-simulcast-multi-platform.d.ts.map +0 -1
- package/dist/examples/streaming/stream-viewer-analytics.d.ts +0 -43
- package/dist/examples/streaming/stream-viewer-analytics.d.ts.map +0 -1
- package/dist/examples/streaming/streaming-lifecycle.d.ts +0 -26
- package/dist/examples/streaming/streaming-lifecycle.d.ts.map +0 -1
- package/dist/examples/streaming-premium/stream-monetization-setup.d.ts +0 -47
- package/dist/examples/streaming-premium/stream-monetization-setup.d.ts.map +0 -1
- package/dist/examples/streaming-premium/stream-revenue-analytics.d.ts +0 -56
- package/dist/examples/streaming-premium/stream-revenue-analytics.d.ts.map +0 -1
- package/dist/examples/streaming-premium/stream-vip-management.d.ts +0 -56
- package/dist/examples/streaming-premium/stream-vip-management.d.ts.map +0 -1
- package/dist/examples/swap-monitoring/arbitrage-monitor.d.ts +0 -20
- package/dist/examples/swap-monitoring/arbitrage-monitor.d.ts.map +0 -1
- package/dist/examples/swap-monitoring/e2e-trading-demo.d.ts +0 -50
- package/dist/examples/swap-monitoring/e2e-trading-demo.d.ts.map +0 -1
- package/dist/examples/swap-monitoring/health-monitor.d.ts +0 -10
- package/dist/examples/swap-monitoring/health-monitor.d.ts.map +0 -1
- package/dist/examples/swap-monitoring/volume-monitor.d.ts +0 -20
- package/dist/examples/swap-monitoring/volume-monitor.d.ts.map +0 -1
- package/dist/examples/testing/demo-test-runner.d.ts +0 -33
- package/dist/examples/testing/demo-test-runner.d.ts.map +0 -1
- package/dist/examples/testing/error-classifier.d.ts +0 -23
- package/dist/examples/testing/error-classifier.d.ts.map +0 -1
- package/dist/examples/testing/index.d.ts +0 -14
- package/dist/examples/testing/index.d.ts.map +0 -1
- package/dist/examples/testing/memory-manager.d.ts +0 -31
- package/dist/examples/testing/memory-manager.d.ts.map +0 -1
- package/dist/examples/testing/report-generator.d.ts +0 -31
- package/dist/examples/testing/report-generator.d.ts.map +0 -1
- package/dist/examples/testing/test-result-types.d.ts +0 -158
- package/dist/examples/testing/test-result-types.d.ts.map +0 -1
- package/dist/examples/token-bans/token-ban-management.d.ts +0 -32
- package/dist/examples/token-bans/token-ban-management.d.ts.map +0 -1
- package/dist/examples/token-creation/token-launch-complete.d.ts +0 -20
- package/dist/examples/token-creation/token-launch-complete.d.ts.map +0 -1
- package/dist/examples/token-creation/token-validation-comprehensive.d.ts +0 -22
- package/dist/examples/token-creation/token-validation-comprehensive.d.ts.map +0 -1
- package/dist/examples/token-info/token-name-resolution.d.ts +0 -30
- package/dist/examples/token-info/token-name-resolution.d.ts.map +0 -1
- package/dist/examples/token-info/token-operations-comprehensive.d.ts +0 -22
- package/dist/examples/token-info/token-operations-comprehensive.d.ts.map +0 -1
- package/dist/examples/token-metadata/token-description-versioning.d.ts +0 -33
- package/dist/examples/token-metadata/token-description-versioning.d.ts.map +0 -1
- package/dist/examples/token-metadata/token-image-management.d.ts +0 -34
- package/dist/examples/token-metadata/token-image-management.d.ts.map +0 -1
- package/dist/examples/token-metadata/token-social-links-management.d.ts +0 -34
- package/dist/examples/token-metadata/token-social-links-management.d.ts.map +0 -1
- package/dist/examples/trading/buy-sell-aliases.d.ts +0 -20
- package/dist/examples/trading/buy-sell-aliases.d.ts.map +0 -1
- package/dist/examples/trading/volume-data-demo.d.ts +0 -20
- package/dist/examples/trading/volume-data-demo.d.ts.map +0 -1
- package/dist/examples/trading-advanced/dollar-cost-averaging.d.ts +0 -35
- package/dist/examples/trading-advanced/dollar-cost-averaging.d.ts.map +0 -1
- package/dist/examples/trading-advanced/limit-orders-advanced.d.ts +0 -34
- package/dist/examples/trading-advanced/limit-orders-advanced.d.ts.map +0 -1
- package/dist/examples/trading-advanced/stop-loss-orders.d.ts +0 -34
- package/dist/examples/trading-advanced/stop-loss-orders.d.ts.map +0 -1
- package/dist/examples/trading-advanced/trading-history-analysis.d.ts +0 -35
- package/dist/examples/trading-advanced/trading-history-analysis.d.ts.map +0 -1
- package/dist/examples/users/balance-queries.d.ts +0 -28
- package/dist/examples/users/balance-queries.d.ts.map +0 -1
- package/dist/examples/users/fetch-user-balances.d.ts +0 -19
- package/dist/examples/users/fetch-user-balances.d.ts.map +0 -1
- package/dist/examples/users/fetch-user-report.d.ts +0 -21
- package/dist/examples/users/fetch-user-report.d.ts.map +0 -1
- package/dist/examples/users/profile-images.d.ts +0 -24
- package/dist/examples/users/profile-images.d.ts.map +0 -1
- package/dist/examples/users/profile-management.d.ts +0 -22
- package/dist/examples/users/profile-management.d.ts.map +0 -1
- package/dist/examples/users/referrals-comprehensive.d.ts +0 -26
- package/dist/examples/users/referrals-comprehensive.d.ts.map +0 -1
- package/dist/examples/users/wallet-balances-external.d.ts +0 -28
- package/dist/examples/users/wallet-balances-external.d.ts.map +0 -1
- package/dist/examples/utilities/account.d.ts +0 -19
- package/dist/examples/utilities/account.d.ts.map +0 -1
- package/dist/examples/utilities/balance.d.ts +0 -5
- package/dist/examples/utilities/balance.d.ts.map +0 -1
- package/dist/examples/utilities/balances.d.ts +0 -7
- package/dist/examples/utilities/balances.d.ts.map +0 -1
- package/dist/examples/utilities/demo-cache.d.ts +0 -13
- package/dist/examples/utilities/demo-cache.d.ts.map +0 -1
- package/dist/examples/utilities/demo-token-supply.d.ts +0 -14
- package/dist/examples/utilities/demo-token-supply.d.ts.map +0 -1
- package/dist/examples/utilities/key-derivation.d.ts +0 -12
- package/dist/examples/utilities/key-derivation.d.ts.map +0 -1
- package/dist/examples/utilities/multi-token-portfolio.d.ts +0 -18
- package/dist/examples/utilities/multi-token-portfolio.d.ts.map +0 -1
- package/dist/examples/utilities/pool-discovery-advanced.d.ts +0 -36
- package/dist/examples/utilities/pool-discovery-advanced.d.ts.map +0 -1
- package/dist/examples/utilities/pool-pair-analysis.d.ts +0 -37
- package/dist/examples/utilities/pool-pair-analysis.d.ts.map +0 -1
- package/dist/examples/utilities/price-history.d.ts +0 -22
- package/dist/examples/utilities/price-history.d.ts.map +0 -1
- package/dist/examples/utilities/referrals.d.ts +0 -21
- package/dist/examples/utilities/referrals.d.ts.map +0 -1
- package/dist/examples/utilities/token-classification.d.ts +0 -38
- package/dist/examples/utilities/token-classification.d.ts.map +0 -1
- package/dist/examples/utilities/token-discovery.d.ts +0 -26
- package/dist/examples/utilities/token-discovery.d.ts.map +0 -1
- package/dist/examples/utilities/token-metadata-advanced.d.ts +0 -37
- package/dist/examples/utilities/token-metadata-advanced.d.ts.map +0 -1
- package/dist/examples/utilities/token-validation-complete.d.ts +0 -41
- package/dist/examples/utilities/token-validation-complete.d.ts.map +0 -1
- package/dist/examples/utilities/trade-history.d.ts +0 -19
- package/dist/examples/utilities/trade-history.d.ts.map +0 -1
- package/dist/examples/utilities/transfers.d.ts +0 -29
- package/dist/examples/utilities/transfers.d.ts.map +0 -1
- package/dist/examples/utilities/validation-and-error-handling.d.ts +0 -27
- package/dist/examples/utilities/validation-and-error-handling.d.ts.map +0 -1
- package/dist/examples/utilities/wrappable-tokens.d.ts +0 -27
- package/dist/examples/utilities/wrappable-tokens.d.ts.map +0 -1
- package/dist/examples/utility/auth-utilities.d.ts +0 -30
- package/dist/examples/utility/auth-utilities.d.ts.map +0 -1
- package/dist/examples/utility/pool-utilities.d.ts +0 -29
- package/dist/examples/utility/pool-utilities.d.ts.map +0 -1
- package/dist/examples/utility/sdk-configuration.d.ts +0 -29
- package/dist/examples/utility/sdk-configuration.d.ts.map +0 -1
- package/dist/examples/utility/wallet-management-advanced.d.ts +0 -32
- package/dist/examples/utility/wallet-management-advanced.d.ts.map +0 -1
- package/dist/examples/utils/auth-bootstrap.d.ts +0 -123
- package/dist/examples/utils/auth-bootstrap.d.ts.map +0 -1
- package/dist/examples/utils/balance-checking.d.ts +0 -158
- package/dist/examples/utils/balance-checking.d.ts.map +0 -1
- package/dist/examples/utils/bridge-formatters.d.ts +0 -188
- package/dist/examples/utils/bridge-formatters.d.ts.map +0 -1
- package/dist/examples/utils/bridge-setup.d.ts +0 -235
- package/dist/examples/utils/bridge-setup.d.ts.map +0 -1
- package/dist/examples/utils/bridge-transaction-logger.d.ts +0 -42
- package/dist/examples/utils/bridge-transaction-logger.d.ts.map +0 -1
- package/dist/examples/utils/cli-input.d.ts +0 -41
- package/dist/examples/utils/cli-input.d.ts.map +0 -1
- package/dist/examples/utils/demo-config.d.ts +0 -155
- package/dist/examples/utils/demo-config.d.ts.map +0 -1
- package/dist/examples/utils/demo-registry.d.ts +0 -155
- package/dist/examples/utils/demo-registry.d.ts.map +0 -1
- package/dist/examples/utils/error-handler.d.ts +0 -85
- package/dist/examples/utils/error-handler.d.ts.map +0 -1
- package/dist/examples/utils/formatting.d.ts +0 -195
- package/dist/examples/utils/formatting.d.ts.map +0 -1
- package/dist/examples/utils/get-environment.d.ts +0 -17
- package/dist/examples/utils/get-environment.d.ts.map +0 -1
- package/dist/examples/utils/index.d.ts +0 -44
- package/dist/examples/utils/index.d.ts.map +0 -1
- package/dist/examples/utils/indexing.d.ts +0 -48
- package/dist/examples/utils/indexing.d.ts.map +0 -1
- package/dist/examples/utils/load-env.d.ts +0 -90
- package/dist/examples/utils/load-env.d.ts.map +0 -1
- package/dist/examples/utils/logger.d.ts +0 -52
- package/dist/examples/utils/logger.d.ts.map +0 -1
- package/dist/examples/utils/pool-helpers.d.ts +0 -226
- package/dist/examples/utils/pool-helpers.d.ts.map +0 -1
- package/dist/examples/utils/punchlist.d.ts +0 -104
- package/dist/examples/utils/punchlist.d.ts.map +0 -1
- package/dist/examples/utils/sdk-setup.d.ts +0 -423
- package/dist/examples/utils/sdk-setup.d.ts.map +0 -1
- package/dist/examples/utils/suppress-logging.d.ts +0 -11
- package/dist/examples/utils/suppress-logging.d.ts.map +0 -1
- package/dist/examples/utils/token-naming.d.ts +0 -117
- package/dist/examples/utils/token-naming.d.ts.map +0 -1
- package/dist/examples/utils/trade-helpers.d.ts +0 -195
- package/dist/examples/utils/trade-helpers.d.ts.map +0 -1
- package/dist/examples/utils/transaction-helpers.d.ts +0 -92
- package/dist/examples/utils/transaction-helpers.d.ts.map +0 -1
- package/dist/examples/wallet/wallet-initialization-complete.d.ts +0 -31
- package/dist/examples/wallet/wallet-initialization-complete.d.ts.map +0 -1
- package/dist/examples/wallet/wallet-key-rotation.d.ts +0 -28
- package/dist/examples/wallet/wallet-key-rotation.d.ts.map +0 -1
- package/dist/examples/wallet/wallet-recovery-patterns.d.ts +0 -29
- package/dist/examples/wallet/wallet-recovery-patterns.d.ts.map +0 -1
- package/dist/examples/wallet/wallet-signature-operations.d.ts +0 -28
- package/dist/examples/wallet/wallet-signature-operations.d.ts.map +0 -1
- package/dist/examples/wallet-tracking/wallet-balance-monitoring.d.ts +0 -21
- package/dist/examples/wallet-tracking/wallet-balance-monitoring.d.ts.map +0 -1
- package/dist/examples/wallet-tracking/wallet-portfolio-alerts.d.ts +0 -21
- package/dist/examples/wallet-tracking/wallet-portfolio-alerts.d.ts.map +0 -1
- package/dist/examples/wallet-tracking/wallet-transaction-tracking.d.ts +0 -21
- package/dist/examples/wallet-tracking/wallet-transaction-tracking.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-chat-advanced.d.ts +0 -26
- package/dist/examples/websocket/websocket-chat-advanced.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-chat-events-detailed.d.ts +0 -28
- package/dist/examples/websocket/websocket-chat-events-detailed.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-chat-events.d.ts +0 -26
- package/dist/examples/websocket/websocket-chat-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-combined-events.d.ts +0 -28
- package/dist/examples/websocket/websocket-combined-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-comprehensive.d.ts +0 -25
- package/dist/examples/websocket/websocket-comprehensive.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-connected-clients.d.ts +0 -30
- package/dist/examples/websocket/websocket-connected-clients.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-connection-management.d.ts +0 -28
- package/dist/examples/websocket/websocket-connection-management.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-content-events.d.ts +0 -28
- package/dist/examples/websocket/websocket-content-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-core-events.d.ts +0 -27
- package/dist/examples/websocket/websocket-core-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-dex-events.d.ts +0 -40
- package/dist/examples/websocket/websocket-dex-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-dex-pools.d.ts +0 -23
- package/dist/examples/websocket/websocket-dex-pools.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-download-recording.d.ts +0 -26
- package/dist/examples/websocket/websocket-download-recording.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-interactions.d.ts +0 -25
- package/dist/examples/websocket/websocket-interactions.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-moderation-events.d.ts +0 -26
- package/dist/examples/websocket/websocket-moderation-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-recording-events.d.ts +0 -24
- package/dist/examples/websocket/websocket-recording-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-room-events.d.ts +0 -27
- package/dist/examples/websocket/websocket-room-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-room-management.d.ts +0 -27
- package/dist/examples/websocket/websocket-room-management.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-simulcast-events.d.ts +0 -26
- package/dist/examples/websocket/websocket-simulcast-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-stream-auth.d.ts +0 -23
- package/dist/examples/websocket/websocket-stream-auth.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-stream-countdown.d.ts +0 -38
- package/dist/examples/websocket/websocket-stream-countdown.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-stream-events.d.ts +0 -26
- package/dist/examples/websocket/websocket-stream-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-stream-status.d.ts +0 -39
- package/dist/examples/websocket/websocket-stream-status.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-subscription-management.d.ts +0 -27
- package/dist/examples/websocket/websocket-subscription-management.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-token-creation-events.d.ts +0 -22
- package/dist/examples/websocket/websocket-token-creation-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-token-events.d.ts +0 -24
- package/dist/examples/websocket/websocket-token-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-token-subscription.d.ts +0 -26
- package/dist/examples/websocket/websocket-token-subscription.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-token-viewers.d.ts +0 -29
- package/dist/examples/websocket/websocket-token-viewers.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-unsubscribe.d.ts +0 -25
- package/dist/examples/websocket/websocket-unsubscribe.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-user-events.d.ts +0 -40
- package/dist/examples/websocket/websocket-user-events.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-user-presence.d.ts +0 -29
- package/dist/examples/websocket/websocket-user-presence.d.ts.map +0 -1
- package/dist/examples/websocket/websocket-viewer-analytics.d.ts +0 -38
- package/dist/examples/websocket/websocket-viewer-analytics.d.ts.map +0 -1
- package/dist/examples/wrap/wrap-status-tracking.d.ts +0 -19
- package/dist/examples/wrap/wrap-status-tracking.d.ts.map +0 -1
- package/dist/examples/wrap/wrap-token-discovery.d.ts +0 -20
- package/dist/examples/wrap/wrap-token-discovery.d.ts.map +0 -1
- package/dist/scripts/derive-public-key-from-private-key.d.ts +0 -8
- package/dist/scripts/derive-public-key-from-private-key.d.ts.map +0 -1
- package/dist/scripts/eslint-fixer.d.ts +0 -7
- package/dist/scripts/eslint-fixer.d.ts.map +0 -1
- package/dist/scripts/final-fixer.d.ts +0 -7
- package/dist/scripts/final-fixer.d.ts.map +0 -1
- package/dist/scripts/fix-all-remaining-boolean.d.ts +0 -7
- package/dist/scripts/fix-all-remaining-boolean.d.ts.map +0 -1
- package/dist/scripts/fix-boolean-expressions-advanced.d.ts +0 -7
- package/dist/scripts/fix-boolean-expressions-advanced.d.ts.map +0 -1
- package/dist/scripts/fix-boolean-expressions-ast.d.ts +0 -9
- package/dist/scripts/fix-boolean-expressions-ast.d.ts.map +0 -1
- package/dist/scripts/fix-boolean-expressions-auto.d.ts +0 -7
- package/dist/scripts/fix-boolean-expressions-auto.d.ts.map +0 -1
- package/dist/scripts/fix-final-aggressive.d.ts +0 -6
- package/dist/scripts/fix-final-aggressive.d.ts.map +0 -1
- package/dist/scripts/fix-final-boolean.d.ts +0 -7
- package/dist/scripts/fix-final-boolean.d.ts.map +0 -1
- package/dist/scripts/fix-remaining-boolean.d.ts +0 -7
- package/dist/scripts/fix-remaining-boolean.d.ts.map +0 -1
- package/dist/scripts/fix-strict-boolean-comprehensive.d.ts +0 -3
- package/dist/scripts/fix-strict-boolean-comprehensive.d.ts.map +0 -1
- package/dist/scripts/fix-strict-boolean-expressions.d.ts +0 -2
- package/dist/scripts/fix-strict-boolean-expressions.d.ts.map +0 -1
- package/dist/scripts/fix-strict-boolean-final.d.ts +0 -13
- package/dist/scripts/fix-strict-boolean-final.d.ts.map +0 -1
- package/dist/scripts/fixer-aggressive.d.ts +0 -7
- package/dist/scripts/fixer-aggressive.d.ts.map +0 -1
- package/dist/scripts/fixer-conservative.d.ts +0 -7
- package/dist/scripts/fixer-conservative.d.ts.map +0 -1
- package/dist/scripts/fixer-direct.d.ts +0 -7
- package/dist/scripts/fixer-direct.d.ts.map +0 -1
- package/dist/scripts/generate-demo-registry.d.ts +0 -14
- package/dist/scripts/generate-demo-registry.d.ts.map +0 -1
- package/dist/scripts/inject-version.d.ts +0 -8
- package/dist/scripts/inject-version.d.ts.map +0 -1
- package/dist/scripts/strict-boolean-fixer.d.ts +0 -9
- package/dist/scripts/strict-boolean-fixer.d.ts.map +0 -1
- package/dist/scripts/validate-demo-registry.d.ts +0 -17
- package/dist/scripts/validate-demo-registry.d.ts.map +0 -1
- package/dist/services/DexBackendClient.d.ts +0 -225
- package/dist/services/DexBackendClient.d.ts.map +0 -1
- package/dist/services/DexBackendTradeClient.d.ts +0 -34
- package/dist/services/DexBackendTradeClient.d.ts.map +0 -1
- package/dist/services/DexPoolService.d.ts +0 -137
- package/dist/services/DexPoolService.d.ts.map +0 -1
- package/dist/services/DexQuoteService.d.ts +0 -446
- package/dist/services/DexQuoteService.d.ts.map +0 -1
- package/dist/services/GSwapAssetService.d.ts +0 -96
- package/dist/services/GSwapAssetService.d.ts.map +0 -1
- package/dist/services/GSwapLiquidityMutationService.d.ts +0 -138
- package/dist/services/GSwapLiquidityMutationService.d.ts.map +0 -1
- package/dist/services/GSwapLiquidityQueryService.d.ts +0 -75
- package/dist/services/GSwapLiquidityQueryService.d.ts.map +0 -1
- package/dist/services/GSwapPoolCalculationService.d.ts +0 -187
- package/dist/services/GSwapPoolCalculationService.d.ts.map +0 -1
- package/dist/services/GSwapPoolQueryService.d.ts +0 -114
- package/dist/services/GSwapPoolQueryService.d.ts.map +0 -1
- package/dist/services/GSwapService.d.ts +0 -1207
- package/dist/services/GSwapService.d.ts.map +0 -1
- package/dist/services/GSwapSwapService.d.ts +0 -66
- package/dist/services/GSwapSwapService.d.ts.map +0 -1
- package/dist/services/MultiPoolStateManager.d.ts +0 -289
- package/dist/services/MultiPoolStateManager.d.ts.map +0 -1
- package/dist/services/PoolCacheManager.d.ts +0 -258
- package/dist/services/PoolCacheManager.d.ts.map +0 -1
- package/dist/services/PoolStateManager.d.ts +0 -176
- package/dist/services/PoolStateManager.d.ts.map +0 -1
- package/dist/services/SignatureService.d.ts +0 -113
- package/dist/services/SignatureService.d.ts.map +0 -1
- package/dist/services/SwapEventQueue.d.ts +0 -192
- package/dist/services/SwapEventQueue.d.ts.map +0 -1
- package/dist/src/LaunchpadSDK.d.ts +0 -10746
- package/dist/src/LaunchpadSDK.d.ts.map +0 -1
- package/dist/src/api/LaunchpadAPI.d.ts +0 -930
- package/dist/src/api/LaunchpadAPI.d.ts.map +0 -1
- package/dist/src/api/dto/BondingCurveDTOs.d.ts +0 -145
- package/dist/src/api/dto/BondingCurveDTOs.d.ts.map +0 -1
- package/dist/src/api/dto/BurnTokensDto.d.ts +0 -89
- package/dist/src/api/dto/BurnTokensDto.d.ts.map +0 -1
- package/dist/src/api/dto/LockTokenDto.d.ts +0 -97
- package/dist/src/api/dto/LockTokenDto.d.ts.map +0 -1
- package/dist/src/api/dto/TransferTokenDto.d.ts +0 -76
- package/dist/src/api/dto/TransferTokenDto.d.ts.map +0 -1
- package/dist/src/api/dto/UnlockTokenDto.d.ts +0 -86
- package/dist/src/api/dto/UnlockTokenDto.d.ts.map +0 -1
- package/dist/src/auth/JwtAuth.d.ts +0 -183
- package/dist/src/auth/JwtAuth.d.ts.map +0 -1
- package/dist/src/auth/SessionAuthService.d.ts +0 -151
- package/dist/src/auth/SessionAuthService.d.ts.map +0 -1
- package/dist/src/auth/SignatureAuth.d.ts +0 -181
- package/dist/src/auth/SignatureAuth.d.ts.map +0 -1
- package/dist/src/auth/storage.d.ts +0 -66
- package/dist/src/auth/storage.d.ts.map +0 -1
- package/dist/src/auth/types.d.ts +0 -50
- package/dist/src/auth/types.d.ts.map +0 -1
- package/dist/src/bridge/BridgeService.d.ts +0 -484
- package/dist/src/bridge/BridgeService.d.ts.map +0 -1
- package/dist/src/bridge/GalaConnectClient.d.ts +0 -170
- package/dist/src/bridge/GalaConnectClient.d.ts.map +0 -1
- package/dist/src/bridge/constants/index.d.ts +0 -7
- package/dist/src/bridge/constants/index.d.ts.map +0 -1
- package/dist/src/bridge/constants/tokens.d.ts +0 -212
- package/dist/src/bridge/constants/tokens.d.ts.map +0 -1
- package/dist/src/bridge/index.d.ts +0 -24
- package/dist/src/bridge/index.d.ts.map +0 -1
- package/dist/src/bridge/strategies/BridgeStrategy.d.ts +0 -160
- package/dist/src/bridge/strategies/BridgeStrategy.d.ts.map +0 -1
- package/dist/src/bridge/strategies/EthereumBridgeStrategy.d.ts +0 -200
- package/dist/src/bridge/strategies/EthereumBridgeStrategy.d.ts.map +0 -1
- package/dist/src/bridge/strategies/SolanaBridgeStrategy.d.ts +0 -258
- package/dist/src/bridge/strategies/SolanaBridgeStrategy.d.ts.map +0 -1
- package/dist/src/bridge/types/bridge.dto.d.ts +0 -772
- package/dist/src/bridge/types/bridge.dto.d.ts.map +0 -1
- package/dist/src/bridge/types/bridgeable-token.dto.d.ts +0 -205
- package/dist/src/bridge/types/bridgeable-token.dto.d.ts.map +0 -1
- package/dist/src/bridge/types/eip712.d.ts +0 -66
- package/dist/src/bridge/types/eip712.d.ts.map +0 -1
- package/dist/src/bridge/types/index.d.ts +0 -8
- package/dist/src/bridge/types/index.d.ts.map +0 -1
- package/dist/src/bridge/utils/RateLimiter.d.ts +0 -34
- package/dist/src/bridge/utils/RateLimiter.d.ts.map +0 -1
- package/dist/src/bridge/utils/address-formatter.d.ts +0 -25
- package/dist/src/bridge/utils/address-formatter.d.ts.map +0 -1
- package/dist/src/bridge/utils/addressValidation.d.ts +0 -200
- package/dist/src/bridge/utils/addressValidation.d.ts.map +0 -1
- package/dist/src/bridge/utils/balanceHelpers.d.ts +0 -215
- package/dist/src/bridge/utils/balanceHelpers.d.ts.map +0 -1
- package/dist/src/bridge/utils/bridgeErrors.d.ts +0 -98
- package/dist/src/bridge/utils/bridgeErrors.d.ts.map +0 -1
- package/dist/src/bridge/utils/bridgeOutHelpers.d.ts +0 -68
- package/dist/src/bridge/utils/bridgeOutHelpers.d.ts.map +0 -1
- package/dist/src/bridge/utils/bridgePayload.d.ts +0 -98
- package/dist/src/bridge/utils/bridgePayload.d.ts.map +0 -1
- package/dist/src/bridge/utils/bridgeStatusParser.d.ts +0 -75
- package/dist/src/bridge/utils/bridgeStatusParser.d.ts.map +0 -1
- package/dist/src/bridge/utils/eip712Helpers.d.ts +0 -66
- package/dist/src/bridge/utils/eip712Helpers.d.ts.map +0 -1
- package/dist/src/bridge/utils/index.d.ts +0 -19
- package/dist/src/bridge/utils/index.d.ts.map +0 -1
- package/dist/src/bridge/utils/retry.d.ts +0 -112
- package/dist/src/bridge/utils/retry.d.ts.map +0 -1
- package/dist/src/bridge/utils/strategyDelegation.d.ts +0 -69
- package/dist/src/bridge/utils/strategyDelegation.d.ts.map +0 -1
- package/dist/src/bridge/utils/tokenIdUtils.d.ts +0 -86
- package/dist/src/bridge/utils/tokenIdUtils.d.ts.map +0 -1
- package/dist/src/bridge/utils/tokenMath.d.ts +0 -39
- package/dist/src/bridge/utils/tokenMath.d.ts.map +0 -1
- package/dist/src/bridge/utils/tokenMetadataResolver.d.ts +0 -97
- package/dist/src/bridge/utils/tokenMetadataResolver.d.ts.map +0 -1
- package/dist/src/config/environments.d.ts +0 -51
- package/dist/src/config/environments.d.ts.map +0 -1
- package/dist/src/constants/bondingCurve.d.ts +0 -102
- package/dist/src/constants/bondingCurve.d.ts.map +0 -1
- package/dist/src/constants/config.d.ts +0 -30
- package/dist/src/constants/config.d.ts.map +0 -1
- package/dist/src/constants/decimals.d.ts +0 -63
- package/dist/src/constants/decimals.d.ts.map +0 -1
- package/dist/src/constants/endpoints.d.ts +0 -820
- package/dist/src/constants/endpoints.d.ts.map +0 -1
- package/dist/src/constants/enums.d.ts +0 -65
- package/dist/src/constants/enums.d.ts.map +0 -1
- package/dist/src/constants/error-messages.d.ts +0 -61
- package/dist/src/constants/error-messages.d.ts.map +0 -1
- package/dist/src/constants/events.d.ts +0 -53
- package/dist/src/constants/events.d.ts.map +0 -1
- package/dist/src/constants/jwt.d.ts +0 -41
- package/dist/src/constants/jwt.d.ts.map +0 -1
- package/dist/src/constants/nft-fees.d.ts +0 -30
- package/dist/src/constants/nft-fees.d.ts.map +0 -1
- package/dist/src/constants/pagination.d.ts +0 -66
- package/dist/src/constants/pagination.d.ts.map +0 -1
- package/dist/src/constants/query-fields.d.ts +0 -51
- package/dist/src/constants/query-fields.d.ts.map +0 -1
- package/dist/src/constants/sdk-defaults.d.ts +0 -37
- package/dist/src/constants/sdk-defaults.d.ts.map +0 -1
- package/dist/src/constants/version.d.ts +0 -6
- package/dist/src/constants/version.d.ts.map +0 -1
- package/dist/src/constants/version.generated.d.ts +0 -7
- package/dist/src/constants/version.generated.d.ts.map +0 -1
- package/dist/src/helpers/sdk.d.ts +0 -87
- package/dist/src/helpers/sdk.d.ts.map +0 -1
- package/dist/src/helpers/wallet.d.ts +0 -151
- package/dist/src/helpers/wallet.d.ts.map +0 -1
- package/dist/src/index.browser.d.ts +0 -149
- package/dist/src/index.browser.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -12
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.node.d.ts +0 -13
- package/dist/src/index.node.d.ts.map +0 -1
- package/dist/src/native.d.ts +0 -22
- package/dist/src/native.d.ts.map +0 -1
- package/dist/src/polyfills/file-global.d.ts +0 -12
- package/dist/src/polyfills/file-global.d.ts.map +0 -1
- package/dist/src/react/WalletContext.d.ts +0 -60
- package/dist/src/react/WalletContext.d.ts.map +0 -1
- package/dist/src/react/index.d.ts +0 -65
- package/dist/src/react/index.d.ts.map +0 -1
- package/dist/src/react/types.d.ts +0 -76
- package/dist/src/react/types.d.ts.map +0 -1
- package/dist/src/react/useWallet.d.ts +0 -123
- package/dist/src/react/useWallet.d.ts.map +0 -1
- package/dist/src/react/useWalletConnection.d.ts +0 -89
- package/dist/src/react/useWalletConnection.d.ts.map +0 -1
- package/dist/src/react/useWalletDetection.d.ts +0 -81
- package/dist/src/react/useWalletDetection.d.ts.map +0 -1
- package/dist/src/schemas/files.d.ts +0 -83
- package/dist/src/schemas/files.d.ts.map +0 -1
- package/dist/src/schemas/index.d.ts +0 -83
- package/dist/src/schemas/index.d.ts.map +0 -1
- package/dist/src/schemas/launchpad.d.ts +0 -135
- package/dist/src/schemas/launchpad.d.ts.map +0 -1
- package/dist/src/schemas/pagination.d.ts +0 -107
- package/dist/src/schemas/pagination.d.ts.map +0 -1
- package/dist/src/schemas/primitives.d.ts +0 -142
- package/dist/src/schemas/primitives.d.ts.map +0 -1
- package/dist/src/schemas/trade.d.ts +0 -140
- package/dist/src/schemas/trade.d.ts.map +0 -1
- package/dist/src/schemas/user.d.ts +0 -99
- package/dist/src/schemas/user.d.ts.map +0 -1
- package/dist/src/schemas/validators.d.ts +0 -332
- package/dist/src/schemas/validators.d.ts.map +0 -1
- package/dist/src/services/AIModerationService.d.ts +0 -217
- package/dist/src/services/AIModerationService.d.ts.map +0 -1
- package/dist/src/services/AbstractCacheService.d.ts +0 -227
- package/dist/src/services/AbstractCacheService.d.ts.map +0 -1
- package/dist/src/services/AbstractTokenFetchService.d.ts +0 -150
- package/dist/src/services/AbstractTokenFetchService.d.ts.map +0 -1
- package/dist/src/services/ApiKeyService.d.ts +0 -211
- package/dist/src/services/ApiKeyService.d.ts.map +0 -1
- package/dist/src/services/BanService.d.ts +0 -312
- package/dist/src/services/BanService.d.ts.map +0 -1
- package/dist/src/services/BaseService.d.ts +0 -116
- package/dist/src/services/BaseService.d.ts.map +0 -1
- package/dist/src/services/BatchedCacheService.d.ts +0 -133
- package/dist/src/services/BatchedCacheService.d.ts.map +0 -1
- package/dist/src/services/BridgeableTokenCache.d.ts +0 -120
- package/dist/src/services/BridgeableTokenCache.d.ts.map +0 -1
- package/dist/src/services/BridgeableTokenService.d.ts +0 -218
- package/dist/src/services/BridgeableTokenService.d.ts.map +0 -1
- package/dist/src/services/BundleService.d.ts +0 -245
- package/dist/src/services/BundleService.d.ts.map +0 -1
- package/dist/src/services/BundlerClientFactory.d.ts +0 -32
- package/dist/src/services/BundlerClientFactory.d.ts.map +0 -1
- package/dist/src/services/ChartService.d.ts +0 -106
- package/dist/src/services/ChartService.d.ts.map +0 -1
- package/dist/src/services/ClientConfigService.d.ts +0 -61
- package/dist/src/services/ClientConfigService.d.ts.map +0 -1
- package/dist/src/services/ContentFlagService.d.ts +0 -218
- package/dist/src/services/ContentFlagService.d.ts.map +0 -1
- package/dist/src/services/ContentReactionService.d.ts +0 -175
- package/dist/src/services/ContentReactionService.d.ts.map +0 -1
- package/dist/src/services/DexBackendClient.d.ts +0 -225
- package/dist/src/services/DexBackendClient.d.ts.map +0 -1
- package/dist/src/services/DexBackendTradeClient.d.ts +0 -34
- package/dist/src/services/DexBackendTradeClient.d.ts.map +0 -1
- package/dist/src/services/DexPoolService.d.ts +0 -137
- package/dist/src/services/DexPoolService.d.ts.map +0 -1
- package/dist/src/services/DexQuoteService.d.ts +0 -446
- package/dist/src/services/DexQuoteService.d.ts.map +0 -1
- package/dist/src/services/DexService.d.ts +0 -433
- package/dist/src/services/DexService.d.ts.map +0 -1
- package/dist/src/services/EventsBatcherService.d.ts +0 -111
- package/dist/src/services/EventsBatcherService.d.ts.map +0 -1
- package/dist/src/services/GSwapAssetService.d.ts +0 -96
- package/dist/src/services/GSwapAssetService.d.ts.map +0 -1
- package/dist/src/services/GSwapLiquidityMutationService.d.ts +0 -138
- package/dist/src/services/GSwapLiquidityMutationService.d.ts.map +0 -1
- package/dist/src/services/GSwapLiquidityQueryService.d.ts +0 -75
- package/dist/src/services/GSwapLiquidityQueryService.d.ts.map +0 -1
- package/dist/src/services/GSwapPoolCalculationService.d.ts +0 -187
- package/dist/src/services/GSwapPoolCalculationService.d.ts.map +0 -1
- package/dist/src/services/GSwapPoolQueryService.d.ts +0 -114
- package/dist/src/services/GSwapPoolQueryService.d.ts.map +0 -1
- package/dist/src/services/GSwapService.d.ts +0 -1207
- package/dist/src/services/GSwapService.d.ts.map +0 -1
- package/dist/src/services/GSwapSwapService.d.ts +0 -66
- package/dist/src/services/GSwapSwapService.d.ts.map +0 -1
- package/dist/src/services/GalaChainBalanceService.d.ts +0 -155
- package/dist/src/services/GalaChainBalanceService.d.ts.map +0 -1
- package/dist/src/services/GalaChainLockService.d.ts +0 -144
- package/dist/src/services/GalaChainLockService.d.ts.map +0 -1
- package/dist/src/services/GalaChainService.d.ts +0 -400
- package/dist/src/services/GalaChainService.d.ts.map +0 -1
- package/dist/src/services/GalaChainTokenService.d.ts +0 -108
- package/dist/src/services/GalaChainTokenService.d.ts.map +0 -1
- package/dist/src/services/GalaChainTransferService.d.ts +0 -211
- package/dist/src/services/GalaChainTransferService.d.ts.map +0 -1
- package/dist/src/services/GdexStreamService.d.ts +0 -133
- package/dist/src/services/GdexStreamService.d.ts.map +0 -1
- package/dist/src/services/HolderService.d.ts +0 -181
- package/dist/src/services/HolderService.d.ts.map +0 -1
- package/dist/src/services/ImageService.d.ts +0 -173
- package/dist/src/services/ImageService.d.ts.map +0 -1
- package/dist/src/services/IntervalRegistry.d.ts +0 -79
- package/dist/src/services/IntervalRegistry.d.ts.map +0 -1
- package/dist/src/services/LaunchpadService.d.ts +0 -343
- package/dist/src/services/LaunchpadService.d.ts.map +0 -1
- package/dist/src/services/MessagesService.d.ts +0 -251
- package/dist/src/services/MessagesService.d.ts.map +0 -1
- package/dist/src/services/ModeratorService.d.ts +0 -311
- package/dist/src/services/ModeratorService.d.ts.map +0 -1
- package/dist/src/services/MultiPoolStateManager.d.ts +0 -289
- package/dist/src/services/MultiPoolStateManager.d.ts.map +0 -1
- package/dist/src/services/NetworkKeyedCacheService.d.ts +0 -185
- package/dist/src/services/NetworkKeyedCacheService.d.ts.map +0 -1
- package/dist/src/services/NftCollectionService.d.ts +0 -121
- package/dist/src/services/NftCollectionService.d.ts.map +0 -1
- package/dist/src/services/NotificationService.d.ts +0 -113
- package/dist/src/services/NotificationService.d.ts.map +0 -1
- package/dist/src/services/OEmbedService.d.ts +0 -152
- package/dist/src/services/OEmbedService.d.ts.map +0 -1
- package/dist/src/services/OverseerService.d.ts +0 -524
- package/dist/src/services/OverseerService.d.ts.map +0 -1
- package/dist/src/services/PlatformConfigService.d.ts +0 -149
- package/dist/src/services/PlatformConfigService.d.ts.map +0 -1
- package/dist/src/services/PlatformStatsService.d.ts +0 -72
- package/dist/src/services/PlatformStatsService.d.ts.map +0 -1
- package/dist/src/services/PoolCacheManager.d.ts +0 -258
- package/dist/src/services/PoolCacheManager.d.ts.map +0 -1
- package/dist/src/services/PoolService.d.ts +0 -316
- package/dist/src/services/PoolService.d.ts.map +0 -1
- package/dist/src/services/PoolStateManager.d.ts +0 -176
- package/dist/src/services/PoolStateManager.d.ts.map +0 -1
- package/dist/src/services/PriceHistoryService.d.ts +0 -207
- package/dist/src/services/PriceHistoryService.d.ts.map +0 -1
- package/dist/src/services/RestrictedNamesService.d.ts +0 -80
- package/dist/src/services/RestrictedNamesService.d.ts.map +0 -1
- package/dist/src/services/SignatureService.d.ts +0 -113
- package/dist/src/services/SignatureService.d.ts.map +0 -1
- package/dist/src/services/StreamChatService.d.ts +0 -259
- package/dist/src/services/StreamChatService.d.ts.map +0 -1
- package/dist/src/services/StreamTokenServiceBase.d.ts +0 -404
- package/dist/src/services/StreamTokenServiceBase.d.ts.map +0 -1
- package/dist/src/services/StreamWebSocketService.d.ts +0 -586
- package/dist/src/services/StreamWebSocketService.d.ts.map +0 -1
- package/dist/src/services/StreamingEventService.d.ts +0 -441
- package/dist/src/services/StreamingEventService.d.ts.map +0 -1
- package/dist/src/services/StreamingService.d.ts +0 -573
- package/dist/src/services/StreamingService.d.ts.map +0 -1
- package/dist/src/services/SwapEventQueue.d.ts +0 -192
- package/dist/src/services/SwapEventQueue.d.ts.map +0 -1
- package/dist/src/services/TokenBanService.d.ts +0 -217
- package/dist/src/services/TokenBanService.d.ts.map +0 -1
- package/dist/src/services/TokenClassKeyService.d.ts +0 -162
- package/dist/src/services/TokenClassKeyService.d.ts.map +0 -1
- package/dist/src/services/TokenMetadataCache.d.ts +0 -310
- package/dist/src/services/TokenMetadataCache.d.ts.map +0 -1
- package/dist/src/services/TokenMetadataService.d.ts +0 -509
- package/dist/src/services/TokenMetadataService.d.ts.map +0 -1
- package/dist/src/services/TokenResolverService.d.ts +0 -329
- package/dist/src/services/TokenResolverService.d.ts.map +0 -1
- package/dist/src/services/TradeService.d.ts +0 -286
- package/dist/src/services/TradeService.d.ts.map +0 -1
- package/dist/src/services/TradingQuotesService.d.ts +0 -162
- package/dist/src/services/TradingQuotesService.d.ts.map +0 -1
- package/dist/src/services/UserService.d.ts +0 -352
- package/dist/src/services/UserService.d.ts.map +0 -1
- package/dist/src/services/WebSocketAdminService.d.ts +0 -587
- package/dist/src/services/WebSocketAdminService.d.ts.map +0 -1
- package/dist/src/services/WebSocketService.d.ts +0 -189
- package/dist/src/services/WebSocketService.d.ts.map +0 -1
- package/dist/src/services/WeeklyChallengeService.d.ts +0 -114
- package/dist/src/services/WeeklyChallengeService.d.ts.map +0 -1
- package/dist/src/services/WrapService.d.ts +0 -172
- package/dist/src/services/WrapService.d.ts.map +0 -1
- package/dist/src/services/WrappableTokenCache.d.ts +0 -100
- package/dist/src/services/WrappableTokenCache.d.ts.map +0 -1
- package/dist/src/services/WrappableTokenService.d.ts +0 -130
- package/dist/src/services/WrappableTokenService.d.ts.map +0 -1
- package/dist/src/services/__mocks__/logger.mock.d.ts +0 -24
- package/dist/src/services/__mocks__/logger.mock.d.ts.map +0 -1
- package/dist/src/services/shared/cache-helpers.d.ts +0 -188
- package/dist/src/services/shared/cache-helpers.d.ts.map +0 -1
- package/dist/src/services/shared/http-helpers.d.ts +0 -146
- package/dist/src/services/shared/http-helpers.d.ts.map +0 -1
- package/dist/src/services/shared/pagination-helpers.d.ts +0 -167
- package/dist/src/services/shared/pagination-helpers.d.ts.map +0 -1
- package/dist/src/services/shared/service-validators.d.ts +0 -137
- package/dist/src/services/shared/service-validators.d.ts.map +0 -1
- package/dist/src/services/shared/websocket-helpers.d.ts +0 -158
- package/dist/src/services/shared/websocket-helpers.d.ts.map +0 -1
- package/dist/src/setup.d.ts +0 -8
- package/dist/src/setup.d.ts.map +0 -1
- package/dist/src/test-constants.d.ts +0 -29
- package/dist/src/test-constants.d.ts.map +0 -1
- package/dist/src/types/ai-moderation.dto.d.ts +0 -294
- package/dist/src/types/ai-moderation.dto.d.ts.map +0 -1
- package/dist/src/types/api-key.dto.d.ts +0 -373
- package/dist/src/types/api-key.dto.d.ts.map +0 -1
- package/dist/src/types/backend-responses.d.ts +0 -235
- package/dist/src/types/backend-responses.d.ts.map +0 -1
- package/dist/src/types/ban.dto.d.ts +0 -577
- package/dist/src/types/ban.dto.d.ts.map +0 -1
- package/dist/src/types/burn.dto.d.ts +0 -170
- package/dist/src/types/burn.dto.d.ts.map +0 -1
- package/dist/src/types/cache-management.dto.d.ts +0 -44
- package/dist/src/types/cache-management.dto.d.ts.map +0 -1
- package/dist/src/types/chat-messages.dto.d.ts +0 -193
- package/dist/src/types/chat-messages.dto.d.ts.map +0 -1
- package/dist/src/types/client-config.dto.d.ts +0 -43
- package/dist/src/types/client-config.dto.d.ts.map +0 -1
- package/dist/src/types/comment.dto.d.ts +0 -176
- package/dist/src/types/comment.dto.d.ts.map +0 -1
- package/dist/src/types/comments.dto.d.ts +0 -198
- package/dist/src/types/comments.dto.d.ts.map +0 -1
- package/dist/src/types/common.d.ts +0 -619
- package/dist/src/types/common.d.ts.map +0 -1
- package/dist/src/types/composite-pool.dto.d.ts +0 -101
- package/dist/src/types/composite-pool.dto.d.ts.map +0 -1
- package/dist/src/types/constraints.d.ts +0 -378
- package/dist/src/types/constraints.d.ts.map +0 -1
- package/dist/src/types/content-flag.dto.d.ts +0 -337
- package/dist/src/types/content-flag.dto.d.ts.map +0 -1
- package/dist/src/types/content-reactions.dto.d.ts +0 -132
- package/dist/src/types/content-reactions.dto.d.ts.map +0 -1
- package/dist/src/types/dex-pool.dto.d.ts +0 -214
- package/dist/src/types/dex-pool.dto.d.ts.map +0 -1
- package/dist/src/types/dto.d.ts +0 -183
- package/dist/src/types/dto.d.ts.map +0 -1
- package/dist/src/types/engagement-stats.dto.d.ts +0 -62
- package/dist/src/types/engagement-stats.dto.d.ts.map +0 -1
- package/dist/src/types/events.dto.d.ts +0 -80
- package/dist/src/types/events.dto.d.ts.map +0 -1
- package/dist/src/types/galachain-api.types.d.ts +0 -297
- package/dist/src/types/galachain-api.types.d.ts.map +0 -1
- package/dist/src/types/global-feed.dto.d.ts +0 -203
- package/dist/src/types/global-feed.dto.d.ts.map +0 -1
- package/dist/src/types/gswap-responses.types.d.ts +0 -369
- package/dist/src/types/gswap-responses.types.d.ts.map +0 -1
- package/dist/src/types/gswap.dto.d.ts +0 -448
- package/dist/src/types/gswap.dto.d.ts.map +0 -1
- package/dist/src/types/holder.types.d.ts +0 -106
- package/dist/src/types/holder.types.d.ts.map +0 -1
- package/dist/src/types/launchpad.dto.d.ts +0 -1264
- package/dist/src/types/launchpad.dto.d.ts.map +0 -1
- package/dist/src/types/launchpad.validation.d.ts +0 -43
- package/dist/src/types/launchpad.validation.d.ts.map +0 -1
- package/dist/src/types/liquidity-monitor.dto.d.ts +0 -177
- package/dist/src/types/liquidity-monitor.dto.d.ts.map +0 -1
- package/dist/src/types/lock.dto.d.ts +0 -261
- package/dist/src/types/lock.dto.d.ts.map +0 -1
- package/dist/src/types/messages.dto.d.ts +0 -386
- package/dist/src/types/messages.dto.d.ts.map +0 -1
- package/dist/src/types/moderator.dto.d.ts +0 -607
- package/dist/src/types/moderator.dto.d.ts.map +0 -1
- package/dist/src/types/nft.dto.d.ts +0 -155
- package/dist/src/types/nft.dto.d.ts.map +0 -1
- package/dist/src/types/notification.dto.d.ts +0 -92
- package/dist/src/types/notification.dto.d.ts.map +0 -1
- package/dist/src/types/oembed.dto.d.ts +0 -160
- package/dist/src/types/oembed.dto.d.ts.map +0 -1
- package/dist/src/types/options.dto.d.ts +0 -485
- package/dist/src/types/options.dto.d.ts.map +0 -1
- package/dist/src/types/overseer.dto.d.ts +0 -530
- package/dist/src/types/overseer.dto.d.ts.map +0 -1
- package/dist/src/types/platform-config.dto.d.ts +0 -89
- package/dist/src/types/platform-config.dto.d.ts.map +0 -1
- package/dist/src/types/platform-stats.dto.d.ts +0 -40
- package/dist/src/types/platform-stats.dto.d.ts.map +0 -1
- package/dist/src/types/pool-state-delta.dto.d.ts +0 -246
- package/dist/src/types/pool-state-delta.dto.d.ts.map +0 -1
- package/dist/src/types/pool.dto.d.ts +0 -111
- package/dist/src/types/pool.dto.d.ts.map +0 -1
- package/dist/src/types/priceHistory.dto.d.ts +0 -165
- package/dist/src/types/priceHistory.dto.d.ts.map +0 -1
- package/dist/src/types/restricted-names.dto.d.ts +0 -50
- package/dist/src/types/restricted-names.dto.d.ts.map +0 -1
- package/dist/src/types/result.types.d.ts +0 -104
- package/dist/src/types/result.types.d.ts.map +0 -1
- package/dist/src/types/session-auth.dto.d.ts +0 -99
- package/dist/src/types/session-auth.dto.d.ts.map +0 -1
- package/dist/src/types/stream-chat.dto.d.ts +0 -810
- package/dist/src/types/stream-chat.dto.d.ts.map +0 -1
- package/dist/src/types/streaming-events.dto.d.ts +0 -605
- package/dist/src/types/streaming-events.dto.d.ts.map +0 -1
- package/dist/src/types/streaming.dto.d.ts +0 -1178
- package/dist/src/types/streaming.dto.d.ts.map +0 -1
- package/dist/src/types/swap-monitor.dto.d.ts +0 -256
- package/dist/src/types/swap-monitor.dto.d.ts.map +0 -1
- package/dist/src/types/token-ban.dto.d.ts +0 -194
- package/dist/src/types/token-ban.dto.d.ts.map +0 -1
- package/dist/src/types/token-config.dto.d.ts +0 -117
- package/dist/src/types/token-config.dto.d.ts.map +0 -1
- package/dist/src/types/token.types.d.ts +0 -336
- package/dist/src/types/token.types.d.ts.map +0 -1
- package/dist/src/types/trade.dto.d.ts +0 -457
- package/dist/src/types/trade.dto.d.ts.map +0 -1
- package/dist/src/types/trades-query.dto.d.ts +0 -133
- package/dist/src/types/trades-query.dto.d.ts.map +0 -1
- package/dist/src/types/transfer.dto.d.ts +0 -186
- package/dist/src/types/transfer.dto.d.ts.map +0 -1
- package/dist/src/types/user.dto.d.ts +0 -880
- package/dist/src/types/user.dto.d.ts.map +0 -1
- package/dist/src/types/websocket-admin.dto.d.ts +0 -390
- package/dist/src/types/websocket-admin.dto.d.ts.map +0 -1
- package/dist/src/types/websocket-data.types.d.ts +0 -35
- package/dist/src/types/websocket-data.types.d.ts.map +0 -1
- package/dist/src/types/websocket-events.dto.d.ts +0 -472
- package/dist/src/types/websocket-events.dto.d.ts.map +0 -1
- package/dist/src/types/websocket.types.d.ts +0 -118
- package/dist/src/types/websocket.types.d.ts.map +0 -1
- package/dist/src/types/weekly-challenge.dto.d.ts +0 -130
- package/dist/src/types/weekly-challenge.dto.d.ts.map +0 -1
- package/dist/src/types/wrappable-token.dto.d.ts +0 -305
- package/dist/src/types/wrappable-token.dto.d.ts.map +0 -1
- package/dist/src/utils/LiquidityEventExtractor.d.ts +0 -106
- package/dist/src/utils/LiquidityEventExtractor.d.ts.map +0 -1
- package/dist/src/utils/Logger.d.ts +0 -136
- package/dist/src/utils/Logger.d.ts.map +0 -1
- package/dist/src/utils/MonitoringMetrics.d.ts +0 -151
- package/dist/src/utils/MonitoringMetrics.d.ts.map +0 -1
- package/dist/src/utils/PoolKeyNormalizer.d.ts +0 -135
- package/dist/src/utils/PoolKeyNormalizer.d.ts.map +0 -1
- package/dist/src/utils/ReconnectionManager.d.ts +0 -142
- package/dist/src/utils/ReconnectionManager.d.ts.map +0 -1
- package/dist/src/utils/SignatureHelper.d.ts +0 -140
- package/dist/src/utils/SignatureHelper.d.ts.map +0 -1
- package/dist/src/utils/SwapEventExtractor.d.ts +0 -152
- package/dist/src/utils/SwapEventExtractor.d.ts.map +0 -1
- package/dist/src/utils/adapters.d.ts +0 -111
- package/dist/src/utils/adapters.d.ts.map +0 -1
- package/dist/src/utils/address-formatter.d.ts +0 -318
- package/dist/src/utils/address-formatter.d.ts.map +0 -1
- package/dist/src/utils/agent-config.d.ts +0 -288
- package/dist/src/utils/agent-config.d.ts.map +0 -1
- package/dist/src/utils/amount-validator.d.ts +0 -268
- package/dist/src/utils/amount-validator.d.ts.map +0 -1
- package/dist/src/utils/api-patterns.d.ts +0 -347
- package/dist/src/utils/api-patterns.d.ts.map +0 -1
- package/dist/src/utils/array-helpers.d.ts +0 -115
- package/dist/src/utils/array-helpers.d.ts.map +0 -1
- package/dist/src/utils/assetUrls.d.ts +0 -450
- package/dist/src/utils/assetUrls.d.ts.map +0 -1
- package/dist/src/utils/async-patterns.d.ts +0 -272
- package/dist/src/utils/async-patterns.d.ts.map +0 -1
- package/dist/src/utils/auto-pagination.d.ts +0 -549
- package/dist/src/utils/auto-pagination.d.ts.map +0 -1
- package/dist/src/utils/bignumber-helpers.d.ts +0 -446
- package/dist/src/utils/bignumber-helpers.d.ts.map +0 -1
- package/dist/src/utils/bignumber-pool-cache.d.ts +0 -169
- package/dist/src/utils/bignumber-pool-cache.d.ts.map +0 -1
- package/dist/src/utils/bondingCurveCalculations.d.ts +0 -144
- package/dist/src/utils/bondingCurveCalculations.d.ts.map +0 -1
- package/dist/src/utils/cacheWarmingHelpers.d.ts +0 -110
- package/dist/src/utils/cacheWarmingHelpers.d.ts.map +0 -1
- package/dist/src/utils/composite-pool-converter.d.ts +0 -121
- package/dist/src/utils/composite-pool-converter.d.ts.map +0 -1
- package/dist/src/utils/crypto-compat.d.ts +0 -40
- package/dist/src/utils/crypto-compat.d.ts.map +0 -1
- package/dist/src/utils/data-transform-patterns.d.ts +0 -393
- package/dist/src/utils/data-transform-patterns.d.ts.map +0 -1
- package/dist/src/utils/date-utils.d.ts +0 -205
- package/dist/src/utils/date-utils.d.ts.map +0 -1
- package/dist/src/utils/delimiter-parser.d.ts +0 -139
- package/dist/src/utils/delimiter-parser.d.ts.map +0 -1
- package/dist/src/utils/error-factories.d.ts +0 -701
- package/dist/src/utils/error-factories.d.ts.map +0 -1
- package/dist/src/utils/error-handling-patterns.d.ts +0 -390
- package/dist/src/utils/error-handling-patterns.d.ts.map +0 -1
- package/dist/src/utils/error-patterns.d.ts +0 -360
- package/dist/src/utils/error-patterns.d.ts.map +0 -1
- package/dist/src/utils/error-utils.d.ts +0 -463
- package/dist/src/utils/error-utils.d.ts.map +0 -1
- package/dist/src/utils/error-wrapper.d.ts +0 -208
- package/dist/src/utils/error-wrapper.d.ts.map +0 -1
- package/dist/src/utils/errors.d.ts +0 -552
- package/dist/src/utils/errors.d.ts.map +0 -1
- package/dist/src/utils/http-factory.d.ts +0 -36
- package/dist/src/utils/http-factory.d.ts.map +0 -1
- package/dist/src/utils/http.d.ts +0 -113
- package/dist/src/utils/http.d.ts.map +0 -1
- package/dist/src/utils/load-env.d.ts +0 -31
- package/dist/src/utils/load-env.d.ts.map +0 -1
- package/dist/src/utils/multipart-helpers.d.ts +0 -38
- package/dist/src/utils/multipart-helpers.d.ts.map +0 -1
- package/dist/src/utils/multipart.d.ts +0 -63
- package/dist/src/utils/multipart.d.ts.map +0 -1
- package/dist/src/utils/nft-helpers.d.ts +0 -62
- package/dist/src/utils/nft-helpers.d.ts.map +0 -1
- package/dist/src/utils/numeric-patterns.d.ts +0 -289
- package/dist/src/utils/numeric-patterns.d.ts.map +0 -1
- package/dist/src/utils/numeric-wrappers.d.ts +0 -149
- package/dist/src/utils/numeric-wrappers.d.ts.map +0 -1
- package/dist/src/utils/object-extractors.d.ts +0 -115
- package/dist/src/utils/object-extractors.d.ts.map +0 -1
- package/dist/src/utils/object-patterns.d.ts +0 -81
- package/dist/src/utils/object-patterns.d.ts.map +0 -1
- package/dist/src/utils/pagination-helpers.d.ts +0 -161
- package/dist/src/utils/pagination-helpers.d.ts.map +0 -1
- package/dist/src/utils/pagination-validation.d.ts +0 -88
- package/dist/src/utils/pagination-validation.d.ts.map +0 -1
- package/dist/src/utils/pool-pair-parser.d.ts +0 -57
- package/dist/src/utils/pool-pair-parser.d.ts.map +0 -1
- package/dist/src/utils/pool-state-validator.d.ts +0 -207
- package/dist/src/utils/pool-state-validator.d.ts.map +0 -1
- package/dist/src/utils/position-filters.d.ts +0 -252
- package/dist/src/utils/position-filters.d.ts.map +0 -1
- package/dist/src/utils/primitives.d.ts +0 -76
- package/dist/src/utils/primitives.d.ts.map +0 -1
- package/dist/src/utils/query-params.d.ts +0 -89
- package/dist/src/utils/query-params.d.ts.map +0 -1
- package/dist/src/utils/response-handlers.d.ts +0 -225
- package/dist/src/utils/response-handlers.d.ts.map +0 -1
- package/dist/src/utils/response-helpers.d.ts +0 -28
- package/dist/src/utils/response-helpers.d.ts.map +0 -1
- package/dist/src/utils/response-normalizers.d.ts +0 -115
- package/dist/src/utils/response-normalizers.d.ts.map +0 -1
- package/dist/src/utils/safe-parsers.d.ts +0 -487
- package/dist/src/utils/safe-parsers.d.ts.map +0 -1
- package/dist/src/utils/service-validators.d.ts +0 -268
- package/dist/src/utils/service-validators.d.ts.map +0 -1
- package/dist/src/utils/slippage-utils.d.ts +0 -70
- package/dist/src/utils/slippage-utils.d.ts.map +0 -1
- package/dist/src/utils/string-patterns.d.ts +0 -404
- package/dist/src/utils/string-patterns.d.ts.map +0 -1
- package/dist/src/utils/string-transforms.d.ts +0 -89
- package/dist/src/utils/string-transforms.d.ts.map +0 -1
- package/dist/src/utils/string-utils.d.ts +0 -108
- package/dist/src/utils/string-utils.d.ts.map +0 -1
- package/dist/src/utils/swap-delta-calculator.d.ts +0 -231
- package/dist/src/utils/swap-delta-calculator.d.ts.map +0 -1
- package/dist/src/utils/tick-crossing-handler.d.ts +0 -250
- package/dist/src/utils/tick-crossing-handler.d.ts.map +0 -1
- package/dist/src/utils/token-format-converter.d.ts +0 -175
- package/dist/src/utils/token-format-converter.d.ts.map +0 -1
- package/dist/src/utils/token-parser.d.ts +0 -235
- package/dist/src/utils/token-parser.d.ts.map +0 -1
- package/dist/src/utils/token-stringification.d.ts +0 -168
- package/dist/src/utils/token-stringification.d.ts.map +0 -1
- package/dist/src/utils/tokenNameNormalizer.d.ts +0 -96
- package/dist/src/utils/tokenNameNormalizer.d.ts.map +0 -1
- package/dist/src/utils/tokenNormalizer.d.ts +0 -167
- package/dist/src/utils/tokenNormalizer.d.ts.map +0 -1
- package/dist/src/utils/trade-transformers.d.ts +0 -28
- package/dist/src/utils/trade-transformers.d.ts.map +0 -1
- package/dist/src/utils/transfer-validation.d.ts +0 -58
- package/dist/src/utils/transfer-validation.d.ts.map +0 -1
- package/dist/src/utils/type-guard-factory.d.ts +0 -260
- package/dist/src/utils/type-guard-factory.d.ts.map +0 -1
- package/dist/src/utils/unique-key-generator.d.ts +0 -148
- package/dist/src/utils/unique-key-generator.d.ts.map +0 -1
- package/dist/src/utils/validation-helpers.d.ts +0 -1074
- package/dist/src/utils/validation-helpers.d.ts.map +0 -1
- package/dist/src/utils/validation-patterns.d.ts +0 -768
- package/dist/src/utils/validation-patterns.d.ts.map +0 -1
- package/dist/src/utils/validation.d.ts +0 -140
- package/dist/src/utils/validation.d.ts.map +0 -1
- package/dist/src/utils/wallet.d.ts +0 -185
- package/dist/src/utils/wallet.d.ts.map +0 -1
- package/dist/src/utils/websocket-errors.d.ts +0 -30
- package/dist/src/utils/websocket-errors.d.ts.map +0 -1
- package/dist/src/utils/websocket-patterns.d.ts +0 -680
- package/dist/src/utils/websocket-patterns.d.ts.map +0 -1
- package/dist/src/utils/websocket-validators.d.ts +0 -30
- package/dist/src/utils/websocket-validators.d.ts.map +0 -1
- package/dist/src/wallet/ExternalWalletProvider.d.ts +0 -109
- package/dist/src/wallet/ExternalWalletProvider.d.ts.map +0 -1
- package/dist/src/wallet/GalaChainConnectProvider.d.ts +0 -125
- package/dist/src/wallet/GalaChainConnectProvider.d.ts.map +0 -1
- package/dist/src/wallet/GalaWalletProvider.d.ts +0 -141
- package/dist/src/wallet/GalaWalletProvider.d.ts.map +0 -1
- package/dist/src/wallet/PrivateKeyProvider.d.ts +0 -90
- package/dist/src/wallet/PrivateKeyProvider.d.ts.map +0 -1
- package/dist/src/wallet/detection.d.ts +0 -107
- package/dist/src/wallet/detection.d.ts.map +0 -1
- package/dist/src/wallet/index.d.ts +0 -52
- package/dist/src/wallet/index.d.ts.map +0 -1
- package/dist/src/wallet/types.d.ts +0 -267
- package/dist/src/wallet/types.d.ts.map +0 -1
- package/dist/src/wallet/utils.d.ts +0 -117
- package/dist/src/wallet/utils.d.ts.map +0 -1
- package/dist/types/composite-pool.dto.d.ts +0 -101
- package/dist/types/composite-pool.dto.d.ts.map +0 -1
- package/dist/types/dex-pool.dto.d.ts +0 -214
- package/dist/types/dex-pool.dto.d.ts.map +0 -1
- package/dist/types/gswap-responses.types.d.ts +0 -369
- package/dist/types/gswap-responses.types.d.ts.map +0 -1
- package/dist/types/gswap.dto.d.ts +0 -448
- package/dist/types/gswap.dto.d.ts.map +0 -1
- package/dist/types/liquidity-monitor.dto.d.ts +0 -177
- package/dist/types/liquidity-monitor.dto.d.ts.map +0 -1
- package/dist/types/pool-state-delta.dto.d.ts +0 -246
- package/dist/types/pool-state-delta.dto.d.ts.map +0 -1
- package/dist/types/swap-monitor.dto.d.ts +0 -256
- package/dist/types/swap-monitor.dto.d.ts.map +0 -1
- package/dist/utils/LiquidityEventExtractor.d.ts +0 -106
- package/dist/utils/LiquidityEventExtractor.d.ts.map +0 -1
- package/dist/utils/MonitoringMetrics.d.ts +0 -151
- package/dist/utils/MonitoringMetrics.d.ts.map +0 -1
- package/dist/utils/PoolKeyNormalizer.d.ts +0 -135
- package/dist/utils/PoolKeyNormalizer.d.ts.map +0 -1
- package/dist/utils/SignatureHelper.d.ts +0 -140
- package/dist/utils/SignatureHelper.d.ts.map +0 -1
- package/dist/utils/SwapEventExtractor.d.ts +0 -152
- package/dist/utils/SwapEventExtractor.d.ts.map +0 -1
- package/dist/utils/bignumber-pool-cache.d.ts +0 -169
- package/dist/utils/bignumber-pool-cache.d.ts.map +0 -1
- package/dist/utils/composite-pool-converter.d.ts +0 -121
- package/dist/utils/composite-pool-converter.d.ts.map +0 -1
- package/dist/utils/pool-pair-parser.d.ts +0 -57
- package/dist/utils/pool-pair-parser.d.ts.map +0 -1
- package/dist/utils/pool-state-validator.d.ts +0 -207
- package/dist/utils/pool-state-validator.d.ts.map +0 -1
- package/dist/utils/position-filters.d.ts +0 -252
- package/dist/utils/position-filters.d.ts.map +0 -1
- package/dist/utils/swap-delta-calculator.d.ts +0 -231
- package/dist/utils/swap-delta-calculator.d.ts.map +0 -1
- package/dist/utils/tick-crossing-handler.d.ts +0 -250
- package/dist/utils/tick-crossing-handler.d.ts.map +0 -1
|
@@ -1,484 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Bridge Service
|
|
3
|
-
*
|
|
4
|
-
* Main orchestrator for cross-chain bridging operations.
|
|
5
|
-
* Provides a unified API for bridging tokens between GalaChain and external chains.
|
|
6
|
-
*/
|
|
7
|
-
import type { BridgeableTokenService } from '../services/BridgeableTokenService.js';
|
|
8
|
-
import { type BridgeEnvironment } from './constants/index.js';
|
|
9
|
-
import type { BridgeConfig, BridgeFeeEstimate, BridgeInParams, BridgeOutParams, BridgeStatus, BridgeToken, BridgeTransaction, EstimateBridgeFeeParams, EthereumTransactionStatus, EthereumWalletBalanceResult, ExternalChainBalance, ExternalNetwork, SolanaTransactionStatus, SolanaWalletBalanceResult, WaitForBridgeOptions } from './types/index.js';
|
|
10
|
-
export type { BridgeEnvironment };
|
|
11
|
-
/**
|
|
12
|
-
* Extended bridge configuration with wallet keys.
|
|
13
|
-
*/
|
|
14
|
-
export interface BridgeServiceConfig extends BridgeConfig {
|
|
15
|
-
/** GalaChain wallet address (eth|0x...) */
|
|
16
|
-
galaChainWalletAddress: string;
|
|
17
|
-
/** Ethereum private key for signing (required for all operations) */
|
|
18
|
-
ethereumPrivateKey: string;
|
|
19
|
-
/** Environment - affects default RPC URLs (STAGE uses Sepolia, PROD uses mainnet) */
|
|
20
|
-
environment?: BridgeEnvironment;
|
|
21
|
-
/**
|
|
22
|
-
* Optional BridgeableTokenService for dynamic token resolution.
|
|
23
|
-
* If provided, tokenId-based operations will resolve symbols dynamically.
|
|
24
|
-
* If not provided, tokenId must match a known bridge token symbol.
|
|
25
|
-
*/
|
|
26
|
-
bridgeableTokenService?: BridgeableTokenService;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Bridge Service - Main entry point for cross-chain operations.
|
|
30
|
-
*
|
|
31
|
-
* Supports bridging between:
|
|
32
|
-
* - GalaChain ↔ Ethereum (6 tokens: GALA, GWETH, GUSDC, GUSDT, GWTRX, GWBTC)
|
|
33
|
-
* - GalaChain ↔ Solana (2 tokens: GALA, GSOL)
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* ```typescript
|
|
37
|
-
* const bridgeService = new BridgeService({
|
|
38
|
-
* // Uses GALACONNECT_PRODUCTION_URL by default
|
|
39
|
-
* galaChainWalletAddress: 'eth|0x1234...',
|
|
40
|
-
* ethereumPrivateKey: '0xabcd...',
|
|
41
|
-
* solanaPrivateKey: 'base58EncodedKey...',
|
|
42
|
-
* });
|
|
43
|
-
*
|
|
44
|
-
* // Estimate bridge fees
|
|
45
|
-
* const fee = await bridgeService.estimateBridgeFee({
|
|
46
|
-
* tokenSymbol: 'GALA',
|
|
47
|
-
* destinationChain: 'Ethereum',
|
|
48
|
-
* amount: '100',
|
|
49
|
-
* });
|
|
50
|
-
*
|
|
51
|
-
* // Bridge out (GalaChain → Ethereum)
|
|
52
|
-
* const tx = await bridgeService.bridgeOut({
|
|
53
|
-
* tokenSymbol: 'GALA',
|
|
54
|
-
* amount: '100',
|
|
55
|
-
* destinationChain: 'Ethereum',
|
|
56
|
-
* recipientAddress: '0x5678...',
|
|
57
|
-
* });
|
|
58
|
-
*
|
|
59
|
-
* // Wait for completion
|
|
60
|
-
* const status = await bridgeService.waitForBridgeCompletion(tx.transactionHash);
|
|
61
|
-
* ```
|
|
62
|
-
*/
|
|
63
|
-
export declare class BridgeService {
|
|
64
|
-
private readonly config;
|
|
65
|
-
private readonly galaConnectClient;
|
|
66
|
-
private readonly strategies;
|
|
67
|
-
private readonly bridgeableTokenService?;
|
|
68
|
-
/**
|
|
69
|
-
* Normalize a GalaChain wallet address to the expected format.
|
|
70
|
-
*
|
|
71
|
-
* GalaChain expects: `eth|<checksummed-address-without-0x>`
|
|
72
|
-
*
|
|
73
|
-
* Accepts various formats:
|
|
74
|
-
* - `eth|0xa278...` → `eth|A278...` (removes 0x, checksums)
|
|
75
|
-
* - `eth|a278...` → `eth|A278...` (checksums)
|
|
76
|
-
* - `0xA278...` → `eth|A278...` (adds prefix, removes 0x)
|
|
77
|
-
*
|
|
78
|
-
* @param address - Wallet address in any supported format
|
|
79
|
-
* @returns Normalized address in GalaChain format
|
|
80
|
-
*/
|
|
81
|
-
private static normalizeGalaChainAddress;
|
|
82
|
-
/**
|
|
83
|
-
* Compute EIP-55 checksum for an address.
|
|
84
|
-
*
|
|
85
|
-
* @param address - Address without 0x prefix (40 hex chars)
|
|
86
|
-
* @returns Checksummed address (40 chars, mixed case)
|
|
87
|
-
*/
|
|
88
|
-
private static checksumAddress;
|
|
89
|
-
/**
|
|
90
|
-
* Creates a new Bridge Service.
|
|
91
|
-
*
|
|
92
|
-
* @param config - Service configuration
|
|
93
|
-
*/
|
|
94
|
-
constructor(config: BridgeServiceConfig);
|
|
95
|
-
/**
|
|
96
|
-
* Initialize bridge strategies for supported chains.
|
|
97
|
-
*/
|
|
98
|
-
private initializeStrategies;
|
|
99
|
-
/**
|
|
100
|
-
* Resolve a tokenId to its symbol using BridgeableTokenService.
|
|
101
|
-
*
|
|
102
|
-
* Parses the tokenId and looks up the corresponding token in the cache.
|
|
103
|
-
* The symbol comes from the authoritative DEX API, not derived from the tokenId.
|
|
104
|
-
*
|
|
105
|
-
* @param tokenId - Token identifier (string or TokenClassKey)
|
|
106
|
-
* @param network - Target network for bridging
|
|
107
|
-
* @returns Promise resolving to the token's symbol
|
|
108
|
-
* @throws Error if BridgeableTokenService is not configured
|
|
109
|
-
* @throws Error if token is not found or not bridgeable to the network
|
|
110
|
-
*/
|
|
111
|
-
private resolveTokenSymbol;
|
|
112
|
-
/**
|
|
113
|
-
* Estimate bridge fees for a transfer.
|
|
114
|
-
*
|
|
115
|
-
* @param params - Fee estimation parameters
|
|
116
|
-
* @returns Fee estimate with breakdown
|
|
117
|
-
*/
|
|
118
|
-
estimateBridgeFee(params: EstimateBridgeFeeParams): Promise<BridgeFeeEstimate>;
|
|
119
|
-
/**
|
|
120
|
-
* Bridge tokens out from GalaChain to an external chain.
|
|
121
|
-
*
|
|
122
|
-
* @param params - Bridge out parameters
|
|
123
|
-
* @returns Transaction details
|
|
124
|
-
*/
|
|
125
|
-
bridgeOut(params: BridgeOutParams): Promise<BridgeTransaction>;
|
|
126
|
-
/**
|
|
127
|
-
* Bridge tokens in from an external chain to GalaChain.
|
|
128
|
-
*
|
|
129
|
-
* @param params - Bridge in parameters
|
|
130
|
-
* @returns Transaction details
|
|
131
|
-
*/
|
|
132
|
-
bridgeIn(params: BridgeInParams): Promise<BridgeTransaction>;
|
|
133
|
-
/**
|
|
134
|
-
* Get the status of a bridge transaction.
|
|
135
|
-
*
|
|
136
|
-
* @param transactionHash - Transaction hash to check
|
|
137
|
-
* @param chain - Optional chain hint for faster lookup (if known)
|
|
138
|
-
* @returns Current status
|
|
139
|
-
*/
|
|
140
|
-
getBridgeStatus(transactionHash: string, chain?: ExternalNetwork): Promise<BridgeStatus>;
|
|
141
|
-
/**
|
|
142
|
-
* Wait for a bridge transaction to complete.
|
|
143
|
-
*
|
|
144
|
-
* @param transactionHash - Transaction hash to wait for
|
|
145
|
-
* @param options - Polling options
|
|
146
|
-
* @returns Final status when complete
|
|
147
|
-
*/
|
|
148
|
-
waitForBridgeCompletion(transactionHash: string, options?: WaitForBridgeOptions): Promise<BridgeStatus>;
|
|
149
|
-
/**
|
|
150
|
-
* Get list of all supported bridge tokens.
|
|
151
|
-
*
|
|
152
|
-
* @param chain - Optional chain to filter by
|
|
153
|
-
* @returns Array of supported tokens
|
|
154
|
-
*/
|
|
155
|
-
getSupportedBridgeTokens(chain?: ExternalNetwork): BridgeToken[];
|
|
156
|
-
/**
|
|
157
|
-
* Get list of supported external chains.
|
|
158
|
-
*
|
|
159
|
-
* @returns Array of chain names
|
|
160
|
-
*/
|
|
161
|
-
getSupportedBridgeChains(): ExternalNetwork[];
|
|
162
|
-
/**
|
|
163
|
-
* Check if a token is supported for bridging.
|
|
164
|
-
*
|
|
165
|
-
* @param tokenSymbol - Token symbol to check
|
|
166
|
-
* @param chain - Optional chain to check specifically
|
|
167
|
-
* @returns True if token is supported
|
|
168
|
-
*/
|
|
169
|
-
isTokenSupported(tokenSymbol: string, chain?: ExternalNetwork): boolean;
|
|
170
|
-
/**
|
|
171
|
-
* Validate an address for a specific chain.
|
|
172
|
-
*
|
|
173
|
-
* @param address - Address to validate
|
|
174
|
-
* @param chain - Target chain
|
|
175
|
-
* @returns True if address is valid
|
|
176
|
-
*/
|
|
177
|
-
isValidAddress(address: string, chain: ExternalNetwork): boolean;
|
|
178
|
-
/**
|
|
179
|
-
* Get ERC-20 token balance on Ethereum.
|
|
180
|
-
*
|
|
181
|
-
* @param tokenSymbol - Token symbol (e.g., 'GALA', 'GWETH', 'GUSDC')
|
|
182
|
-
* @param address - Optional Ethereum address (defaults to configured wallet)
|
|
183
|
-
* @returns Token balance as decimal string
|
|
184
|
-
* @throws Error if Ethereum bridge not configured or token not supported
|
|
185
|
-
*
|
|
186
|
-
* @example
|
|
187
|
-
* ```typescript
|
|
188
|
-
* // Check wallet's GALA balance on Ethereum
|
|
189
|
-
* const balance = await bridge.getEthereumTokenBalance('GALA');
|
|
190
|
-
* console.log(`Ethereum GALA: ${balance}`);
|
|
191
|
-
*
|
|
192
|
-
* // Check specific address
|
|
193
|
-
* const otherBalance = await bridge.getEthereumTokenBalance('GUSDC', '0x1234...');
|
|
194
|
-
* ```
|
|
195
|
-
*/
|
|
196
|
-
getEthereumTokenBalance(tokenSymbol: string, address?: string): Promise<string>;
|
|
197
|
-
/**
|
|
198
|
-
* Get native ETH balance on Ethereum.
|
|
199
|
-
*
|
|
200
|
-
* @param address - Optional Ethereum address (defaults to configured wallet)
|
|
201
|
-
* @returns ETH balance as decimal string (18 decimals)
|
|
202
|
-
* @throws Error if Ethereum bridge not configured
|
|
203
|
-
*
|
|
204
|
-
* @example
|
|
205
|
-
* ```typescript
|
|
206
|
-
* // Check wallet's ETH balance (for gas fees)
|
|
207
|
-
* const ethBalance = await bridge.getEthereumNativeBalance();
|
|
208
|
-
* console.log(`ETH for gas: ${ethBalance}`);
|
|
209
|
-
* ```
|
|
210
|
-
*/
|
|
211
|
-
getEthereumNativeBalance(address?: string): Promise<string>;
|
|
212
|
-
/**
|
|
213
|
-
* Get SPL token balance on Solana.
|
|
214
|
-
*
|
|
215
|
-
* @param tokenSymbol - Token symbol ('GALA' or 'GSOL')
|
|
216
|
-
* @param address - Optional Solana address (defaults to configured wallet)
|
|
217
|
-
* @returns Token balance as decimal string
|
|
218
|
-
* @throws Error if Solana bridge not configured or token not supported
|
|
219
|
-
*
|
|
220
|
-
* @example
|
|
221
|
-
* ```typescript
|
|
222
|
-
* // Check wallet's GALA balance on Solana
|
|
223
|
-
* const balance = await bridge.getSolanaTokenBalance('GALA');
|
|
224
|
-
* console.log(`Solana GALA: ${balance}`);
|
|
225
|
-
* ```
|
|
226
|
-
*/
|
|
227
|
-
getSolanaTokenBalance(tokenSymbol: string, address?: string): Promise<string>;
|
|
228
|
-
/**
|
|
229
|
-
* Get native SOL balance on Solana.
|
|
230
|
-
*
|
|
231
|
-
* @param address - Optional Solana address (defaults to configured wallet)
|
|
232
|
-
* @returns SOL balance as decimal string (9 decimals)
|
|
233
|
-
* @throws Error if Solana bridge not configured
|
|
234
|
-
*
|
|
235
|
-
* @example
|
|
236
|
-
* ```typescript
|
|
237
|
-
* // Check wallet's SOL balance (for transaction fees)
|
|
238
|
-
* const solBalance = await bridge.getSolanaNativeBalance();
|
|
239
|
-
* console.log(`SOL for rent: ${solBalance}`);
|
|
240
|
-
* ```
|
|
241
|
-
*/
|
|
242
|
-
getSolanaNativeBalance(address?: string): Promise<string>;
|
|
243
|
-
/**
|
|
244
|
-
* Fetch a single ERC-20 token balance on Ethereum.
|
|
245
|
-
*
|
|
246
|
-
* Efficient method for checking a specific token balance (1 RPC call).
|
|
247
|
-
* Use `fetchEthereumWalletAllBalances()` for complete portfolio view.
|
|
248
|
-
*
|
|
249
|
-
* @param symbol - Token symbol (GALA, GWETH, GUSDC, GUSDT, GWTRX, GWBTC)
|
|
250
|
-
* @param address - Ethereum address (0x format). Defaults to configured wallet.
|
|
251
|
-
* @returns Single token balance with metadata
|
|
252
|
-
* @throws Error if Ethereum bridge not configured or invalid symbol
|
|
253
|
-
*
|
|
254
|
-
* @example
|
|
255
|
-
* ```typescript
|
|
256
|
-
* // Check GALA balance on Ethereum
|
|
257
|
-
* const gala = await bridgeService.fetchEthereumWalletTokenBalance('GALA');
|
|
258
|
-
* console.log(`GALA: ${gala.quantity}`);
|
|
259
|
-
*
|
|
260
|
-
* // Check specific address
|
|
261
|
-
* const gusdc = await bridgeService.fetchEthereumWalletTokenBalance('GUSDC', '0x1234...');
|
|
262
|
-
* ```
|
|
263
|
-
*/
|
|
264
|
-
fetchEthereumWalletTokenBalance(symbol: string, address?: string): Promise<ExternalChainBalance>;
|
|
265
|
-
/**
|
|
266
|
-
* Fetch native ETH balance on Ethereum.
|
|
267
|
-
*
|
|
268
|
-
* Efficient method for checking ETH balance only (1 RPC call).
|
|
269
|
-
* Use `fetchEthereumWalletAllBalances()` for complete portfolio view.
|
|
270
|
-
*
|
|
271
|
-
* @param address - Ethereum address (0x format). Defaults to configured wallet.
|
|
272
|
-
* @returns Native ETH balance with metadata
|
|
273
|
-
* @throws Error if Ethereum bridge not configured
|
|
274
|
-
*
|
|
275
|
-
* @example
|
|
276
|
-
* ```typescript
|
|
277
|
-
* // Check ETH balance (for gas fees)
|
|
278
|
-
* const eth = await bridgeService.fetchEthereumWalletNativeBalance();
|
|
279
|
-
* console.log(`ETH: ${eth.quantity}`);
|
|
280
|
-
* ```
|
|
281
|
-
*/
|
|
282
|
-
fetchEthereumWalletNativeBalance(address?: string): Promise<ExternalChainBalance>;
|
|
283
|
-
/**
|
|
284
|
-
* Fetch a single SPL token balance on Solana.
|
|
285
|
-
*
|
|
286
|
-
* Efficient method for checking a specific token balance (1 RPC call).
|
|
287
|
-
* Use `fetchSolanaWalletAllBalances()` for complete portfolio view.
|
|
288
|
-
*
|
|
289
|
-
* @param symbol - Token symbol (GALA, GSOL)
|
|
290
|
-
* @param address - Solana address (base58 format). Defaults to configured wallet.
|
|
291
|
-
* @returns Single token balance with metadata
|
|
292
|
-
* @throws Error if Solana bridge not configured or invalid symbol
|
|
293
|
-
*
|
|
294
|
-
* @example
|
|
295
|
-
* ```typescript
|
|
296
|
-
* // Check GALA balance on Solana
|
|
297
|
-
* const gala = await bridgeService.fetchSolanaWalletTokenBalance('GALA');
|
|
298
|
-
* console.log(`GALA: ${gala.quantity}`);
|
|
299
|
-
* ```
|
|
300
|
-
*/
|
|
301
|
-
fetchSolanaWalletTokenBalance(symbol: string, address?: string): Promise<ExternalChainBalance>;
|
|
302
|
-
/**
|
|
303
|
-
* Fetch native SOL balance on Solana.
|
|
304
|
-
*
|
|
305
|
-
* Efficient method for checking SOL balance only (1 RPC call).
|
|
306
|
-
* Use `fetchSolanaWalletAllBalances()` for complete portfolio view.
|
|
307
|
-
*
|
|
308
|
-
* @param address - Solana address (base58 format). Defaults to configured wallet.
|
|
309
|
-
* @returns Native SOL balance with metadata
|
|
310
|
-
* @throws Error if Solana bridge not configured
|
|
311
|
-
*
|
|
312
|
-
* @example
|
|
313
|
-
* ```typescript
|
|
314
|
-
* // Check SOL balance (for transaction fees)
|
|
315
|
-
* const sol = await bridgeService.fetchSolanaWalletNativeBalance();
|
|
316
|
-
* console.log(`SOL: ${sol.quantity}`);
|
|
317
|
-
* ```
|
|
318
|
-
*/
|
|
319
|
-
fetchSolanaWalletNativeBalance(address?: string): Promise<ExternalChainBalance>;
|
|
320
|
-
/**
|
|
321
|
-
* Request SOL airdrop from Solana devnet faucet.
|
|
322
|
-
*
|
|
323
|
-
* Only available when connected to Solana devnet (STAGE environment).
|
|
324
|
-
* Will throw an error if RPC endpoint is not devnet or if Solana bridge is not configured.
|
|
325
|
-
*
|
|
326
|
-
* @param amount - Amount of SOL to request (default: 1, max: 2 per request)
|
|
327
|
-
* @param address - Optional recipient address (defaults to configured wallet)
|
|
328
|
-
* @returns Transaction signature
|
|
329
|
-
* @throws Error if not on devnet, Solana not configured, or airdrop fails
|
|
330
|
-
*
|
|
331
|
-
* @example
|
|
332
|
-
* ```typescript
|
|
333
|
-
* // Airdrop 1 SOL to configured wallet
|
|
334
|
-
* const signature = await bridgeService.requestSolanaDevnetAirdrop();
|
|
335
|
-
*
|
|
336
|
-
* // Airdrop 0.5 SOL to specific address
|
|
337
|
-
* const signature = await bridgeService.requestSolanaDevnetAirdrop(0.5, 'Address...');
|
|
338
|
-
* ```
|
|
339
|
-
*/
|
|
340
|
-
requestSolanaDevnetAirdrop(amount?: number, address?: string): Promise<string>;
|
|
341
|
-
/**
|
|
342
|
-
* Get the status of a Solana transaction by signature.
|
|
343
|
-
*
|
|
344
|
-
* This method queries the Solana RPC directly using getSignatureStatuses,
|
|
345
|
-
* which doesn't require WebSockets and works in Node.js environments.
|
|
346
|
-
* Use this to verify airdrop or bridge transactions after submission.
|
|
347
|
-
*
|
|
348
|
-
* @param signature - Base58-encoded Solana transaction signature (87-88 characters)
|
|
349
|
-
* @returns Transaction status including confirmation level and any errors
|
|
350
|
-
* @throws Error if Solana bridge not configured or signature format is invalid
|
|
351
|
-
*
|
|
352
|
-
* @example Basic usage
|
|
353
|
-
* ```typescript
|
|
354
|
-
* const signature = await bridgeService.requestSolanaDevnetAirdrop(1);
|
|
355
|
-
* // Wait a moment for transaction to propagate
|
|
356
|
-
* await new Promise(r => setTimeout(r, 2000));
|
|
357
|
-
* const status = await bridgeService.getSolanaTransactionStatus(signature);
|
|
358
|
-
* if (status.confirmed) {
|
|
359
|
-
* console.log(`Transaction confirmed at slot ${status.slot}`);
|
|
360
|
-
* }
|
|
361
|
-
* ```
|
|
362
|
-
*
|
|
363
|
-
* @example Polling pattern for confirmation
|
|
364
|
-
* ```typescript
|
|
365
|
-
* async function waitForConfirmation(signature: string, maxAttempts = 30) {
|
|
366
|
-
* for (let i = 0; i < maxAttempts; i++) {
|
|
367
|
-
* const status = await bridgeService.getSolanaTransactionStatus(signature);
|
|
368
|
-
* if (status.confirmed) return status;
|
|
369
|
-
* if (status.status === 'failed') throw new Error(status.error);
|
|
370
|
-
* await new Promise(r => setTimeout(r, 2000));
|
|
371
|
-
* }
|
|
372
|
-
* throw new Error('Transaction confirmation timeout');
|
|
373
|
-
* }
|
|
374
|
-
* ```
|
|
375
|
-
*/
|
|
376
|
-
getSolanaTransactionStatus(signature: string): Promise<SolanaTransactionStatus>;
|
|
377
|
-
/**
|
|
378
|
-
* Get the status of an Ethereum transaction by hash.
|
|
379
|
-
*
|
|
380
|
-
* Queries Ethereum RPC directly using `getTransactionReceipt()` and `getTransaction()`.
|
|
381
|
-
* Use this to verify if a bridge or any Ethereum transaction succeeded after submission.
|
|
382
|
-
*
|
|
383
|
-
* Status values:
|
|
384
|
-
* - `pending` - Transaction in mempool, not yet mined
|
|
385
|
-
* - `confirmed` - Mined with <12 confirmations
|
|
386
|
-
* - `finalized` - Mined with 12+ confirmations (practical finality)
|
|
387
|
-
* - `not_found` - Transaction hash not found on network
|
|
388
|
-
* - `failed` - Transaction mined but reverted
|
|
389
|
-
*
|
|
390
|
-
* **Performance:** Single synchronous RPC call sequence (no WebSocket required).
|
|
391
|
-
*
|
|
392
|
-
* @param transactionHash - Ethereum transaction hash (0x + 64 hex characters)
|
|
393
|
-
* @returns Transaction status with confirmation details
|
|
394
|
-
* @throws Error if Ethereum bridge not configured or hash format invalid
|
|
395
|
-
*
|
|
396
|
-
* @example Check bridge out status
|
|
397
|
-
* ```typescript
|
|
398
|
-
* const bridgeResult = await bridgeService.bridgeOut({
|
|
399
|
-
* tokenId: 'Token|Unit|GALA|...',
|
|
400
|
-
* amount: '100',
|
|
401
|
-
* destinationChain: 'Ethereum',
|
|
402
|
-
* recipientAddress: '0x1234...',
|
|
403
|
-
* });
|
|
404
|
-
*
|
|
405
|
-
* const status = await bridgeService.getEthereumTransactionStatus(bridgeResult.transactionHash);
|
|
406
|
-
* console.log(`Status: ${status.status}, Confirmations: ${status.confirmations}`);
|
|
407
|
-
* ```
|
|
408
|
-
*
|
|
409
|
-
* @example Polling pattern for finality
|
|
410
|
-
* ```typescript
|
|
411
|
-
* async function waitForFinality(txHash: string, maxAttempts = 30) {
|
|
412
|
-
* for (let i = 0; i < maxAttempts; i++) {
|
|
413
|
-
* const status = await bridgeService.getEthereumTransactionStatus(txHash);
|
|
414
|
-
* if (status.status === 'finalized') return status;
|
|
415
|
-
* if (status.status === 'failed') throw new Error(status.error);
|
|
416
|
-
* await new Promise(r => setTimeout(r, 15000)); // ~15s per block
|
|
417
|
-
* }
|
|
418
|
-
* throw new Error('Transaction finality timeout');
|
|
419
|
-
* }
|
|
420
|
-
* ```
|
|
421
|
-
*/
|
|
422
|
-
getEthereumTransactionStatus(transactionHash: string): Promise<EthereumTransactionStatus>;
|
|
423
|
-
/**
|
|
424
|
-
* Fetch all supported token balances on Ethereum for a wallet.
|
|
425
|
-
*
|
|
426
|
-
* Returns native ETH balance plus all supported ERC-20 token balances:
|
|
427
|
-
* GALA, GWETH, GUSDC, GUSDT, GWTRX, GWBTC
|
|
428
|
-
*
|
|
429
|
-
* For checking a single token, use `fetchEthereumWalletTokenBalance()` (more efficient).
|
|
430
|
-
*
|
|
431
|
-
* @param address - Ethereum address (0x format). Defaults to configured wallet.
|
|
432
|
-
* @returns Complete balance breakdown for all supported tokens
|
|
433
|
-
* @throws Error if Ethereum bridge not configured
|
|
434
|
-
*
|
|
435
|
-
* @example
|
|
436
|
-
* ```typescript
|
|
437
|
-
* // Get all Ethereum balances
|
|
438
|
-
* const result = await bridgeService.fetchEthereumWalletAllBalances();
|
|
439
|
-
* console.log(`ETH: ${result.native.quantity}`);
|
|
440
|
-
* for (const token of result.tokens) {
|
|
441
|
-
* console.log(`${token.symbol}: ${token.quantity}`);
|
|
442
|
-
* }
|
|
443
|
-
*
|
|
444
|
-
* // Check specific address
|
|
445
|
-
* const otherWallet = await bridgeService.fetchEthereumWalletAllBalances('0x1234...');
|
|
446
|
-
* ```
|
|
447
|
-
*/
|
|
448
|
-
fetchEthereumWalletAllBalances(address?: string): Promise<EthereumWalletBalanceResult>;
|
|
449
|
-
/**
|
|
450
|
-
* Fetch all supported token balances on Solana for a wallet.
|
|
451
|
-
*
|
|
452
|
-
* Returns native SOL balance plus all supported SPL token balances:
|
|
453
|
-
* GALA, GSOL
|
|
454
|
-
*
|
|
455
|
-
* For checking a single token, use `fetchSolanaWalletTokenBalance()` (more efficient).
|
|
456
|
-
*
|
|
457
|
-
* @param address - Solana address (base58 format). Defaults to configured wallet.
|
|
458
|
-
* @returns Complete balance breakdown for all supported tokens
|
|
459
|
-
* @throws Error if Solana bridge not configured
|
|
460
|
-
*
|
|
461
|
-
* @example
|
|
462
|
-
* ```typescript
|
|
463
|
-
* // Get all Solana balances
|
|
464
|
-
* const result = await bridgeService.fetchSolanaWalletAllBalances();
|
|
465
|
-
* console.log(`SOL: ${result.native.quantity}`);
|
|
466
|
-
* for (const token of result.tokens) {
|
|
467
|
-
* console.log(`${token.symbol}: ${token.quantity}`);
|
|
468
|
-
* }
|
|
469
|
-
*
|
|
470
|
-
* // Check specific address
|
|
471
|
-
* const otherWallet = await bridgeService.fetchSolanaWalletAllBalances('9WzDXw...');
|
|
472
|
-
* ```
|
|
473
|
-
*/
|
|
474
|
-
fetchSolanaWalletAllBalances(address?: string): Promise<SolanaWalletBalanceResult>;
|
|
475
|
-
/**
|
|
476
|
-
* Get the strategy for a specific chain.
|
|
477
|
-
*
|
|
478
|
-
* @param chain - Target chain
|
|
479
|
-
* @returns Bridge strategy
|
|
480
|
-
* @throws Error if chain is not supported
|
|
481
|
-
*/
|
|
482
|
-
private getStrategy;
|
|
483
|
-
}
|
|
484
|
-
//# sourceMappingURL=BridgeService.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BridgeService.d.ts","sourceRoot":"","sources":["../../../src/bridge/BridgeService.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAQpF,OAAO,EACL,KAAK,iBAAiB,EAIvB,MAAM,sBAAsB,CAAC;AAY9B,OAAO,KAAK,EACV,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAC3B,oBAAoB,EACpB,eAAe,EACf,uBAAuB,EACvB,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,kBAAkB,CAAC;AAc1B,YAAY,EAAE,iBAAiB,EAAE,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,2CAA2C;IAC3C,sBAAsB,EAAE,MAAM,CAAC;IAC/B,qEAAqE;IACrE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,qFAAqF;IACrF,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;CACjD;AA4CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IACrD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAoB;IACtD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuC;IAClE,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAyB;IAEjE;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;IA8BxC;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,eAAe;IAqB9B;;;;OAIG;gBACS,MAAM,EAAE,mBAAmB;IA2DvC;;OAEG;IACH,OAAO,CAAC,oBAAoB;IA+B5B;;;;;;;;;;;OAWG;YACW,kBAAkB;IAqDhC;;;;;OAKG;IACG,iBAAiB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAWpF;;;;;OAKG;IACG,SAAS,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC;IA+BpE;;;;;OAKG;IACG,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAuBlE;;;;;;OAMG;IACG,eAAe,CACnB,eAAe,EAAE,MAAM,EACvB,KAAK,CAAC,EAAE,eAAe,GACtB,OAAO,CAAC,YAAY,CAAC;IA+CxB;;;;;;OAMG;IACG,uBAAuB,CAC3B,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,YAAY,CAAC;IAoCxB;;;;;OAKG;IACH,wBAAwB,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,WAAW,EAAE;IA0DhE;;;;OAIG;IACH,wBAAwB,IAAI,eAAe,EAAE;IAI7C;;;;;;OAMG;IACH,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,eAAe,GAAG,OAAO;IAgBvE;;;;;;OAMG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,GAAG,OAAO;IAShE;;;;;;;;;;;;;;;;;OAiBG;IACG,uBAAuB,CAC3B,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,CAAC;IAQlB;;;;;;;;;;;;;OAaG;IACG,wBAAwB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAQjE;;;;;;;;;;;;;;OAcG;IACG,qBAAqB,CACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,CAAC;IAQlB;;;;;;;;;;;;;OAaG;IACG,sBAAsB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAY/D;;;;;;;;;;;;;;;;;;;;OAoBG;IACG,+BAA+B,CACnC,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,oBAAoB,CAAC;IAchC;;;;;;;;;;;;;;;;OAgBG;IACG,gCAAgC,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAYvF;;;;;;;;;;;;;;;;;OAiBG;IACG,6BAA6B,CACjC,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,oBAAoB,CAAC;IAahC;;;;;;;;;;;;;;;;OAgBG;IACG,8BAA8B,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAYrF;;;;;;;;;;;;;;;;;;;OAmBG;IACG,0BAA0B,CAC9B,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,CAAC;IAQlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACG,0BAA0B,CAC9B,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,uBAAuB,CAAC;IAenC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACG,4BAA4B,CAChC,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,yBAAyB,CAAC;IAmBrC;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACG,8BAA8B,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC;IA0B5F;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACG,4BAA4B,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAyBxF;;;;;;OAMG;IACH,OAAO,CAAC,WAAW;CAapB"}
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GalaConnect Bridge Client
|
|
3
|
-
*
|
|
4
|
-
* HTTP client for GalaConnect Bridge API interactions.
|
|
5
|
-
* Handles authentication, rate limiting, and bridge-specific endpoints.
|
|
6
|
-
*
|
|
7
|
-
* Based on the proven implementation from bridge_round_trip repository.
|
|
8
|
-
*/
|
|
9
|
-
import type { BridgeConfigurationToken, BridgeFeeResponse, BridgeStatusResponse, BridgeTokenDescriptor, BridgeTokenOutResponse, BridgeTransactionRegistrationResponse, FetchBalancesResponse, GalaConnectConfig, RequestBridgeOutResponse } from './types/index.js';
|
|
10
|
-
/**
|
|
11
|
-
* HTTP error from GalaConnect API.
|
|
12
|
-
*/
|
|
13
|
-
export declare class GalaConnectHttpError extends Error {
|
|
14
|
-
readonly status: number;
|
|
15
|
-
readonly path: string;
|
|
16
|
-
readonly responseBody: unknown;
|
|
17
|
-
/**
|
|
18
|
-
* Creates a new GalaConnect HTTP error.
|
|
19
|
-
*
|
|
20
|
-
* @param status - HTTP status code
|
|
21
|
-
* @param path - API endpoint path
|
|
22
|
-
* @param responseBody - Response body (may contain error details)
|
|
23
|
-
*/
|
|
24
|
-
constructor(status: number, path: string, responseBody: unknown);
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* GalaConnect Bridge API Client.
|
|
28
|
-
*
|
|
29
|
-
* Provides type-safe access to the GalaConnect bridge endpoints:
|
|
30
|
-
* - Bridge configuration discovery
|
|
31
|
-
* - Fee estimation
|
|
32
|
-
* - Bridge out (GalaChain → External)
|
|
33
|
-
* - Bridge in (External → GalaChain)
|
|
34
|
-
* - Status tracking
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```typescript
|
|
38
|
-
* const client = new GalaConnectClient({
|
|
39
|
-
* walletAddress: 'eth|0x1234...',
|
|
40
|
-
* // Uses GALACONNECT_PRODUCTION_URL by default
|
|
41
|
-
* });
|
|
42
|
-
*
|
|
43
|
-
* // Get supported tokens
|
|
44
|
-
* const tokens = await client.getBridgeConfigurations('GALA');
|
|
45
|
-
*
|
|
46
|
-
* // Estimate fees
|
|
47
|
-
* const fee = await client.fetchBridgeFee({
|
|
48
|
-
* chainId: '1',
|
|
49
|
-
* bridgeToken: { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' }
|
|
50
|
-
* });
|
|
51
|
-
* ```
|
|
52
|
-
*/
|
|
53
|
-
export declare class GalaConnectClient {
|
|
54
|
-
private readonly baseUrl;
|
|
55
|
-
private readonly galachainBaseUrl;
|
|
56
|
-
private readonly walletAddress;
|
|
57
|
-
private readonly rateLimiter;
|
|
58
|
-
private readonly defaultHeaders;
|
|
59
|
-
private readonly retryOptions;
|
|
60
|
-
/**
|
|
61
|
-
* Creates a new GalaConnect client.
|
|
62
|
-
*
|
|
63
|
-
* @param config - Client configuration
|
|
64
|
-
*/
|
|
65
|
-
constructor(config: GalaConnectConfig);
|
|
66
|
-
/**
|
|
67
|
-
* Get the base URL for constructing status URLs.
|
|
68
|
-
*
|
|
69
|
-
* @returns The GalaConnect API base URL
|
|
70
|
-
*/
|
|
71
|
-
getBaseUrl(): string;
|
|
72
|
-
/**
|
|
73
|
-
* Get bridge configurations for tokens matching a prefix.
|
|
74
|
-
*
|
|
75
|
-
* Returns detailed token information including:
|
|
76
|
-
* - Token class key (collection, category, type, additionalKey)
|
|
77
|
-
* - Supported bridge routes
|
|
78
|
-
* - External network contract addresses
|
|
79
|
-
*
|
|
80
|
-
* @param searchPrefix - Token symbol prefix to search (e.g., 'GALA', 'GUS')
|
|
81
|
-
* @returns Array of matching token configurations
|
|
82
|
-
*/
|
|
83
|
-
getBridgeConfigurations(searchPrefix: string): Promise<BridgeConfigurationToken[]>;
|
|
84
|
-
/**
|
|
85
|
-
* Fetch bridge fee estimate for a token transfer.
|
|
86
|
-
*
|
|
87
|
-
* @param payload - Fee request parameters
|
|
88
|
-
* @returns Fee estimate with breakdown
|
|
89
|
-
*/
|
|
90
|
-
fetchBridgeFee(payload: {
|
|
91
|
-
chainId: string;
|
|
92
|
-
bridgeToken: BridgeTokenDescriptor;
|
|
93
|
-
}): Promise<BridgeFeeResponse>;
|
|
94
|
-
/**
|
|
95
|
-
* Request token bridge out (initiate GalaChain → External transfer).
|
|
96
|
-
*
|
|
97
|
-
* This is the first step in the bridge out process:
|
|
98
|
-
* 1. RequestBridgeOut - Lock tokens on GalaChain
|
|
99
|
-
* 2. BridgeTokenOut - Generate wormhole message
|
|
100
|
-
*
|
|
101
|
-
* @param payload - Bridge out request parameters
|
|
102
|
-
* @returns Response with transaction data
|
|
103
|
-
*/
|
|
104
|
-
requestBridgeOut(payload: Record<string, unknown>): Promise<RequestBridgeOutResponse>;
|
|
105
|
-
/**
|
|
106
|
-
* Execute bridge token out (generate wormhole message).
|
|
107
|
-
*
|
|
108
|
-
* This is the second step in the bridge out process.
|
|
109
|
-
* Called after RequestBridgeOut succeeds.
|
|
110
|
-
*
|
|
111
|
-
* @param payload - Bridge token out parameters
|
|
112
|
-
* @returns Response with wormhole message data
|
|
113
|
-
*/
|
|
114
|
-
bridgeTokenOut(payload: Record<string, unknown>): Promise<BridgeTokenOutResponse>;
|
|
115
|
-
/**
|
|
116
|
-
* Get the status of a bridge transaction.
|
|
117
|
-
*
|
|
118
|
-
* @param hash - Transaction hash to check
|
|
119
|
-
* @returns Current status with details
|
|
120
|
-
*/
|
|
121
|
-
getBridgeStatus(hash: string): Promise<BridgeStatusResponse>;
|
|
122
|
-
/**
|
|
123
|
-
* Register a bridge transaction (for External → GalaChain transfers).
|
|
124
|
-
*
|
|
125
|
-
* Called after depositing tokens to the bridge contract on the external chain.
|
|
126
|
-
* Notifies GalaConnect to process the inbound transfer.
|
|
127
|
-
*
|
|
128
|
-
* @param payload - Transaction registration data
|
|
129
|
-
* @returns Registration response
|
|
130
|
-
*/
|
|
131
|
-
registerBridgeTransaction(payload: Record<string, unknown>): Promise<BridgeTransactionRegistrationResponse>;
|
|
132
|
-
/**
|
|
133
|
-
* Fetch token balances for the wallet.
|
|
134
|
-
*
|
|
135
|
-
* @param channel - Token channel (default: 'asset')
|
|
136
|
-
* @returns Balance response with token holdings
|
|
137
|
-
*/
|
|
138
|
-
fetchBalances(channel?: string): Promise<FetchBalancesResponse>;
|
|
139
|
-
/**
|
|
140
|
-
* Make a POST request with JSON body.
|
|
141
|
-
*
|
|
142
|
-
* @param path - API endpoint path
|
|
143
|
-
* @param body - Request body
|
|
144
|
-
* @param options - Request options (baseUrl override, skipWalletHeader)
|
|
145
|
-
* @returns Parsed JSON response
|
|
146
|
-
*/
|
|
147
|
-
private postJson;
|
|
148
|
-
/**
|
|
149
|
-
* Make a rate-limited HTTP request with optional retry logic.
|
|
150
|
-
*
|
|
151
|
-
* Retry behavior (when enabled):
|
|
152
|
-
* - Retries on network errors (ECONNRESET, ETIMEDOUT, etc.)
|
|
153
|
-
* - Retries on server errors (5xx status codes)
|
|
154
|
-
* - Retries on rate limiting (429 Too Many Requests)
|
|
155
|
-
* - Uses exponential backoff with jitter
|
|
156
|
-
*
|
|
157
|
-
* @param url - Full URL to request
|
|
158
|
-
* @param init - Fetch init options
|
|
159
|
-
* @returns Fetch response
|
|
160
|
-
*/
|
|
161
|
-
private request;
|
|
162
|
-
/**
|
|
163
|
-
* Safely parse JSON from a response (for error handling).
|
|
164
|
-
*
|
|
165
|
-
* @param response - Fetch response
|
|
166
|
-
* @returns Parsed JSON or raw text
|
|
167
|
-
*/
|
|
168
|
-
private safeParseJson;
|
|
169
|
-
}
|
|
170
|
-
//# sourceMappingURL=GalaConnectClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GalaConnectClient.d.ts","sourceRoot":"","sources":["../../../src/bridge/GalaConnectClient.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,qCAAqC,EACrC,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,kBAAkB,CAAC;AAG1B;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,KAAK;aAS3B,MAAM,EAAE,MAAM;aACd,IAAI,EAAE,MAAM;aACZ,YAAY,EAAE,OAAO;IAVvC;;;;;;OAMG;gBAEe,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,OAAO;CASxC;AAcD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAS;IAC1C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;IAC1C,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAyB;IACxD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAsB;IAEnD;;;;OAIG;gBACS,MAAM,EAAE,iBAAiB;IAoCrC;;;;OAIG;IACI,UAAU,IAAI,MAAM;IAI3B;;;;;;;;;;OAUG;IACG,uBAAuB,CAC3B,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,wBAAwB,EAAE,CAAC;IAwCtC;;;;;OAKG;IACG,cAAc,CAAC,OAAO,EAAE;QAC5B,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,qBAAqB,CAAC;KACpC,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAQ9B;;;;;;;;;OASG;IACG,gBAAgB,CACpB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,OAAO,CAAC,wBAAwB,CAAC;IAOpC;;;;;;;;OAQG;IACG,cAAc,CAClB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,OAAO,CAAC,sBAAsB,CAAC;IAIlC;;;;;OAKG;IACG,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAIlE;;;;;;;;OAQG;IACG,yBAAyB,CAC7B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,OAAO,CAAC,qCAAqC,CAAC;IAOjD;;;;;OAKG;IACG,aAAa,CAAC,OAAO,SAAU,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAQtE;;;;;;;OAOG;YACW,QAAQ;IA6DtB;;;;;;;;;;;;OAYG;YACW,OAAO;IAgDrB;;;;;OAKG;YACW,aAAa;CAQ5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bridge/constants/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,aAAa,CAAC"}
|