@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,215 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Balance Query Helpers
|
|
3
|
-
*
|
|
4
|
-
* Consolidated utilities for building ExternalChainBalance and BridgeTransaction response objects.
|
|
5
|
-
* Eliminates DRY violations across BridgeService and bridge strategy methods.
|
|
6
|
-
*
|
|
7
|
-
* @module bridge/utils/balanceHelpers
|
|
8
|
-
*/
|
|
9
|
-
import type { BridgeRequestDto, BridgeTransaction, DestinationChainTxFee, ExternalChainBalance, ExternalNetwork } from '../types/index.js';
|
|
10
|
-
import type { EthereumTokenConfig, SolanaTokenConfig } from '../types/index.js';
|
|
11
|
-
/**
|
|
12
|
-
* Build an ExternalChainBalance for a native token (ETH or SOL).
|
|
13
|
-
*
|
|
14
|
-
* @param symbol - Native token symbol ('ETH' or 'SOL')
|
|
15
|
-
* @param quantity - Balance as decimal string
|
|
16
|
-
* @param decimals - Token decimals (18 for ETH, 9 for SOL)
|
|
17
|
-
* @returns ExternalChainBalance with isNative: true, contractAddress: null
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```typescript
|
|
21
|
-
* const ethBalance = buildNativeBalance('ETH', '1.5', 18);
|
|
22
|
-
* // { symbol: 'ETH', quantity: '1.5', decimals: 18, contractAddress: null, isNative: true }
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare function buildNativeBalance(symbol: 'ETH' | 'SOL', quantity: string, decimals: number): ExternalChainBalance;
|
|
26
|
-
/**
|
|
27
|
-
* Build an ExternalChainBalance for an Ethereum ERC-20 token.
|
|
28
|
-
*
|
|
29
|
-
* @param tokenConfig - Ethereum token configuration
|
|
30
|
-
* @param quantity - Balance as decimal string
|
|
31
|
-
* @returns ExternalChainBalance with contractAddress and isNative: false
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* ```typescript
|
|
35
|
-
* const galaBalance = buildEthereumTokenBalance(
|
|
36
|
-
* { symbol: 'GALA', contractAddress: '0x15D4...', decimals: 8 },
|
|
37
|
-
* '1000.00000000'
|
|
38
|
-
* );
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
export declare function buildEthereumTokenBalance(tokenConfig: EthereumTokenConfig, quantity: string): ExternalChainBalance;
|
|
42
|
-
/**
|
|
43
|
-
* Build an ExternalChainBalance for a Solana SPL token.
|
|
44
|
-
*
|
|
45
|
-
* @param tokenConfig - Solana token configuration
|
|
46
|
-
* @param quantity - Balance as decimal string
|
|
47
|
-
* @returns ExternalChainBalance with mintAddress as contractAddress
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* ```typescript
|
|
51
|
-
* const galaBalance = buildSolanaTokenBalance(
|
|
52
|
-
* { symbol: 'GALA', mintAddress: 'GALAxw...', decimals: 8 },
|
|
53
|
-
* '500.00000000'
|
|
54
|
-
* );
|
|
55
|
-
* ```
|
|
56
|
-
*/
|
|
57
|
-
export declare function buildSolanaTokenBalance(tokenConfig: SolanaTokenConfig, quantity: string): ExternalChainBalance;
|
|
58
|
-
/**
|
|
59
|
-
* Find and validate a token config from an array.
|
|
60
|
-
*
|
|
61
|
-
* @param tokens - Array of token configurations
|
|
62
|
-
* @param symbol - Token symbol to find
|
|
63
|
-
* @param network - Network name for error message ('Ethereum' or 'Solana')
|
|
64
|
-
* @returns Token config or throws if not found
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* ```typescript
|
|
68
|
-
* const config = findTokenConfigOrThrow(ethereumTokens, 'GALA', 'Ethereum');
|
|
69
|
-
* ```
|
|
70
|
-
*/
|
|
71
|
-
export declare function findTokenConfigOrThrow<T extends {
|
|
72
|
-
symbol: string;
|
|
73
|
-
}>(tokens: T[], symbol: string, network: string): T;
|
|
74
|
-
/**
|
|
75
|
-
* Error messages for strategy not configured.
|
|
76
|
-
*/
|
|
77
|
-
export declare const STRATEGY_NOT_CONFIGURED_ERRORS: {
|
|
78
|
-
readonly Ethereum: "Ethereum bridging not configured. Provide ethereumPrivateKey in config.";
|
|
79
|
-
readonly Solana: "Solana bridging not configured. Provide solanaPrivateKey in config.";
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Assert that a strategy exists and return it typed.
|
|
83
|
-
*
|
|
84
|
-
* @param strategy - Strategy from map (may be undefined)
|
|
85
|
-
* @param network - Network type ('Ethereum' or 'Solana')
|
|
86
|
-
* @param customError - Optional custom error message (overrides default)
|
|
87
|
-
* @returns The strategy (type-narrowed to non-undefined)
|
|
88
|
-
* @throws Error if strategy is undefined
|
|
89
|
-
*
|
|
90
|
-
* @example
|
|
91
|
-
* ```typescript
|
|
92
|
-
* const strategy = this.strategies.get('Ethereum');
|
|
93
|
-
* const ethStrategy = assertStrategyExists(strategy, 'Ethereum') as EthereumBridgeStrategy;
|
|
94
|
-
*
|
|
95
|
-
* // With custom error message:
|
|
96
|
-
* const ethStrategy = assertStrategyExists(strategy, 'Ethereum',
|
|
97
|
-
* 'Ethereum bridge strategy not configured. Initialize SDK with ethereumPrivateKey.'
|
|
98
|
-
* ) as EthereumBridgeStrategy;
|
|
99
|
-
* ```
|
|
100
|
-
*/
|
|
101
|
-
export declare function assertStrategyExists<T>(strategy: T | undefined, network: 'Ethereum' | 'Solana', customError?: string): T;
|
|
102
|
-
/**
|
|
103
|
-
* Parameters for building a bridge outbound transaction response.
|
|
104
|
-
*/
|
|
105
|
-
export interface BridgeOutboundTransactionParams {
|
|
106
|
-
/** Destination chain ('Ethereum' | 'Solana') */
|
|
107
|
-
toChain: ExternalNetwork;
|
|
108
|
-
/** Transaction hash */
|
|
109
|
-
transactionHash: string;
|
|
110
|
-
/** Token symbol (e.g., 'GALA', 'GWETH') */
|
|
111
|
-
tokenSymbol: string;
|
|
112
|
-
/** Amount transferred (decimal string) */
|
|
113
|
-
amount: string;
|
|
114
|
-
/** Fee paid in GALA */
|
|
115
|
-
feePaid: string;
|
|
116
|
-
/** Base URL for status endpoint */
|
|
117
|
-
baseUrl: string;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Build a BridgeTransaction response for outbound transfers (GalaChain -> External).
|
|
121
|
-
*
|
|
122
|
-
* Eliminates duplicate response construction in EthereumBridgeStrategy and SolanaBridgeStrategy.
|
|
123
|
-
*
|
|
124
|
-
* @param params - Transaction parameters
|
|
125
|
-
* @returns Complete BridgeTransaction object
|
|
126
|
-
*
|
|
127
|
-
* @example
|
|
128
|
-
* ```typescript
|
|
129
|
-
* return buildBridgeOutboundTransaction({
|
|
130
|
-
* toChain: 'Ethereum',
|
|
131
|
-
* transactionHash: '0x123...',
|
|
132
|
-
* tokenSymbol: 'GALA',
|
|
133
|
-
* amount: '100',
|
|
134
|
-
* feePaid: '0.5',
|
|
135
|
-
* baseUrl: 'https://api.gala.com',
|
|
136
|
-
* });
|
|
137
|
-
* ```
|
|
138
|
-
*/
|
|
139
|
-
export declare function buildBridgeOutboundTransaction(params: BridgeOutboundTransactionParams): BridgeTransaction;
|
|
140
|
-
/**
|
|
141
|
-
* Parameters for building a bridge inbound transaction response.
|
|
142
|
-
*/
|
|
143
|
-
export interface BridgeInboundTransactionParams {
|
|
144
|
-
/** Source chain ('Ethereum' | 'Solana') */
|
|
145
|
-
fromChain: ExternalNetwork;
|
|
146
|
-
/** Transaction hash */
|
|
147
|
-
transactionHash: string;
|
|
148
|
-
/** Token symbol (e.g., 'GALA', 'GWETH') */
|
|
149
|
-
tokenSymbol: string;
|
|
150
|
-
/** Amount transferred (decimal string) */
|
|
151
|
-
amount: string;
|
|
152
|
-
/** Base URL for status endpoint */
|
|
153
|
-
baseUrl: string;
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Build a BridgeTransaction response for inbound transfers (External -> GalaChain).
|
|
157
|
-
*
|
|
158
|
-
* Eliminates duplicate response construction in EthereumBridgeStrategy and SolanaBridgeStrategy.
|
|
159
|
-
*
|
|
160
|
-
* @param params - Transaction parameters
|
|
161
|
-
* @returns Complete BridgeTransaction object
|
|
162
|
-
*
|
|
163
|
-
* @example
|
|
164
|
-
* ```typescript
|
|
165
|
-
* return buildBridgeInboundTransaction({
|
|
166
|
-
* fromChain: 'Ethereum',
|
|
167
|
-
* transactionHash: '0x123...',
|
|
168
|
-
* tokenSymbol: 'GALA',
|
|
169
|
-
* amount: '100',
|
|
170
|
-
* baseUrl: 'https://api.gala.com',
|
|
171
|
-
* });
|
|
172
|
-
* ```
|
|
173
|
-
*/
|
|
174
|
-
export declare function buildBridgeInboundTransaction(params: BridgeInboundTransactionParams): BridgeTransaction;
|
|
175
|
-
/**
|
|
176
|
-
* Parameters for building a bridge request DTO.
|
|
177
|
-
*/
|
|
178
|
-
export interface BridgeRequestDtoParams {
|
|
179
|
-
/** Destination chain ID (number) */
|
|
180
|
-
destinationChainId: number;
|
|
181
|
-
/** Bridge fee response from GalaConnect (used as destinationChainTxFee) */
|
|
182
|
-
bridgeFee: DestinationChainTxFee;
|
|
183
|
-
/** Amount to bridge (decimal string) */
|
|
184
|
-
amount: string;
|
|
185
|
-
/** Recipient address on destination chain */
|
|
186
|
-
recipientAddress: string;
|
|
187
|
-
/** Token metadata descriptor */
|
|
188
|
-
tokenDescriptor: {
|
|
189
|
-
collection: string;
|
|
190
|
-
category: string;
|
|
191
|
-
type: string;
|
|
192
|
-
additionalKey: string;
|
|
193
|
-
};
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* Build a BridgeRequestDto for the GalaConnect RequestTokenBridgeOut API.
|
|
197
|
-
*
|
|
198
|
-
* Eliminates duplicate DTO construction across strategies (~10 lines each).
|
|
199
|
-
*
|
|
200
|
-
* @param params - Request parameters
|
|
201
|
-
* @returns BridgeRequestDto ready for signing
|
|
202
|
-
*
|
|
203
|
-
* @example
|
|
204
|
-
* ```typescript
|
|
205
|
-
* const dto = buildBridgeRequestDto({
|
|
206
|
-
* destinationChainId: CHAIN_IDS.ETHEREUM,
|
|
207
|
-
* bridgeFee,
|
|
208
|
-
* amount: '100',
|
|
209
|
-
* recipientAddress: '0x1234...',
|
|
210
|
-
* tokenDescriptor: metadata.descriptor,
|
|
211
|
-
* });
|
|
212
|
-
* ```
|
|
213
|
-
*/
|
|
214
|
-
export declare function buildBridgeRequestDto(params: BridgeRequestDtoParams): BridgeRequestDto;
|
|
215
|
-
//# sourceMappingURL=balanceHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"balanceHelpers.d.ts","sourceRoot":"","sources":["../../../../src/bridge/utils/balanceHelpers.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAMhF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,KAAK,GAAG,KAAK,EACrB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,oBAAoB,CAQtB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,yBAAyB,CACvC,WAAW,EAAE,mBAAmB,EAChC,QAAQ,EAAE,MAAM,GACf,oBAAoB,CAQtB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,iBAAiB,EAC9B,QAAQ,EAAE,MAAM,GACf,oBAAoB,CAQtB;AAMD;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,SAAS;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,EACjE,MAAM,EAAE,CAAC,EAAE,EACX,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,GACd,CAAC,CAUH;AAMD;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;CAGjC,CAAC;AAEX;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EACpC,QAAQ,EAAE,CAAC,GAAG,SAAS,EACvB,OAAO,EAAE,UAAU,GAAG,QAAQ,EAC9B,WAAW,CAAC,EAAE,MAAM,GACnB,CAAC,CAQH;AAMD;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,gDAAgD;IAChD,OAAO,EAAE,eAAe,CAAC;IACzB,uBAAuB;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,uBAAuB;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,+BAA+B,GACtC,iBAAiB,CAYnB;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,2CAA2C;IAC3C,SAAS,EAAE,eAAe,CAAC;IAC3B,uBAAuB;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,8BAA8B,GACrC,iBAAiB,CAWnB;AAMD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,oCAAoC;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,2EAA2E;IAC3E,SAAS,EAAE,qBAAqB,CAAC;IACjC,wCAAwC;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,gBAAgB,EAAE,MAAM,CAAC;IACzB,gCAAgC;IAChC,eAAe,EAAE;QACf,UAAU,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;CACH;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,sBAAsB,GAAG,gBAAgB,CAWtF"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Bridge Error Messages and Validation Helpers
|
|
3
|
-
*
|
|
4
|
-
* Centralized error message factories and validation helpers for bridge strategies.
|
|
5
|
-
* Eliminates DRY violations by providing consistent, reusable error patterns.
|
|
6
|
-
*/
|
|
7
|
-
import { PublicKey } from '@solana/web3.js';
|
|
8
|
-
/**
|
|
9
|
-
* Bridge error message templates.
|
|
10
|
-
* Centralized to ensure consistency across strategies.
|
|
11
|
-
*/
|
|
12
|
-
export declare const BRIDGE_ERROR_MESSAGES: {
|
|
13
|
-
/** Token symbol resolution internal error */
|
|
14
|
-
readonly TOKEN_SYMBOL_RESOLUTION_FAILED: string;
|
|
15
|
-
/** Bridge request ID missing from API response */
|
|
16
|
-
readonly BRIDGE_REQUEST_ID_MISSING: "Bridge request ID missing from RequestTokenBridgeOut response";
|
|
17
|
-
/** Transaction hash missing from BridgeTokenOut response */
|
|
18
|
-
readonly BRIDGE_OUT_HASH_MISSING: "BridgeTokenOut response missing transaction hash";
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Validate that a token symbol was resolved by BridgeService.
|
|
22
|
-
*
|
|
23
|
-
* This is an internal assertion - strategies expect BridgeService to resolve
|
|
24
|
-
* tokenId to symbol before calling them.
|
|
25
|
-
*
|
|
26
|
-
* @param symbol - The resolved token symbol (may be undefined)
|
|
27
|
-
* @throws Error if symbol is undefined or empty
|
|
28
|
-
* @returns The validated symbol (type-narrowed to string)
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```typescript
|
|
32
|
-
* const symbol = assertTokenSymbolResolved(params.tokenSymbol);
|
|
33
|
-
* // symbol is now guaranteed to be a non-empty string
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
export declare function assertTokenSymbolResolved(symbol: string | undefined): string;
|
|
37
|
-
/**
|
|
38
|
-
* Assert that a bridge request ID was returned from RequestTokenBridgeOut.
|
|
39
|
-
*
|
|
40
|
-
* @param bridgeRequestId - The extracted bridge request ID (may be undefined)
|
|
41
|
-
* @throws Error if bridgeRequestId is undefined or empty
|
|
42
|
-
* @returns The validated bridge request ID
|
|
43
|
-
*/
|
|
44
|
-
export declare function assertBridgeRequestId(bridgeRequestId: string | undefined): string;
|
|
45
|
-
/**
|
|
46
|
-
* Extract and validate the transaction hash from a BridgeTokenOut response.
|
|
47
|
-
*
|
|
48
|
-
* Handles multiple response formats (Hash vs hash).
|
|
49
|
-
*
|
|
50
|
-
* @param response - The BridgeTokenOut API response
|
|
51
|
-
* @throws Error if transaction hash is missing
|
|
52
|
-
* @returns The validated transaction hash
|
|
53
|
-
*/
|
|
54
|
-
export declare function extractBridgeOutTransactionHash(response: {
|
|
55
|
-
Hash?: string;
|
|
56
|
-
hash?: string;
|
|
57
|
-
}): string;
|
|
58
|
-
/**
|
|
59
|
-
* Validate an Ethereum address and throw a descriptive error if invalid.
|
|
60
|
-
*
|
|
61
|
-
* @param address - The address to validate
|
|
62
|
-
* @param context - Optional context for the error message (e.g., "recipient", "target")
|
|
63
|
-
* @throws Error if address is not a valid Ethereum address
|
|
64
|
-
*
|
|
65
|
-
* @example
|
|
66
|
-
* ```typescript
|
|
67
|
-
* validateEthereumAddressOrThrow(recipientAddress, 'recipient');
|
|
68
|
-
* // Throws: "Invalid Ethereum recipient address: "abc". Expected valid 0x-prefixed address."
|
|
69
|
-
* ```
|
|
70
|
-
*/
|
|
71
|
-
export declare function validateEthereumAddressOrThrow(address: string, context?: string): void;
|
|
72
|
-
/**
|
|
73
|
-
* Validate a Solana address and throw a descriptive error if invalid.
|
|
74
|
-
*
|
|
75
|
-
* @param address - The address to validate
|
|
76
|
-
* @param context - Optional context for the error message (e.g., "recipient", "target")
|
|
77
|
-
* @throws Error if address is not a valid Solana address
|
|
78
|
-
* @returns The validated PublicKey object
|
|
79
|
-
*
|
|
80
|
-
* @example
|
|
81
|
-
* ```typescript
|
|
82
|
-
* const pubkey = validateSolanaAddressOrThrow(recipientAddress, 'recipient');
|
|
83
|
-
* // Throws: "Invalid Solana recipient address: "abc". <error details>"
|
|
84
|
-
* ```
|
|
85
|
-
*/
|
|
86
|
-
export declare function validateSolanaAddressOrThrow(address: string, context?: string): PublicKey;
|
|
87
|
-
/**
|
|
88
|
-
* Parse a Solana address to PublicKey, throwing a simple error on failure.
|
|
89
|
-
*
|
|
90
|
-
* Use this for cases where the detailed error message is not needed
|
|
91
|
-
* (e.g., balance lookups where the address format is already known).
|
|
92
|
-
*
|
|
93
|
-
* @param address - The address to parse
|
|
94
|
-
* @throws Error with simple "Invalid Solana address" message
|
|
95
|
-
* @returns The parsed PublicKey
|
|
96
|
-
*/
|
|
97
|
-
export declare function parseSolanaAddressOrThrow(address: string): PublicKey;
|
|
98
|
-
//# sourceMappingURL=bridgeErrors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bridgeErrors.d.ts","sourceRoot":"","sources":["../../../../src/bridge/utils/bridgeErrors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAY5C;;;GAGG;AACH,eAAO,MAAM,qBAAqB;IAChC,6CAA6C;;IAK7C,kDAAkD;;IAIlD,4DAA4D;;CAEpD,CAAC;AAMX;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAQ5E;AAMD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,MAAM,GAAG,SAAS,GAClC,MAAM,CAQR;AAED;;;;;;;;GAQG;AACH,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GACzC,MAAM,CASR;AAMD;;;;;;;;;;;;GAYG;AACH,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM,GACf,IAAI,CASN;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM,GACf,SAAS,CAWX;AAED;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAUpE"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Bridge Out Flow Helpers
|
|
3
|
-
*
|
|
4
|
-
* Shared utilities for executing bridge out operations across strategies.
|
|
5
|
-
* Consolidates the common bridgeOut() flow to eliminate DRY violations
|
|
6
|
-
* between EthereumBridgeStrategy and SolanaBridgeStrategy.
|
|
7
|
-
*
|
|
8
|
-
* @module bridge/utils/bridgeOutHelpers
|
|
9
|
-
*/
|
|
10
|
-
import type { Wallet as EthersWallet } from 'ethers';
|
|
11
|
-
import type { GalaConnectClient } from '../GalaConnectClient.js';
|
|
12
|
-
import type { BridgeOutParams, BridgeTransaction, ExternalNetwork } from '../types/index.js';
|
|
13
|
-
import type { TokenMetadataResolver } from './tokenMetadataResolver.js';
|
|
14
|
-
/**
|
|
15
|
-
* Configuration for executing a bridge out flow.
|
|
16
|
-
*/
|
|
17
|
-
export interface BridgeOutFlowConfig {
|
|
18
|
-
/** GalaConnect API client */
|
|
19
|
-
galaConnectClient: GalaConnectClient;
|
|
20
|
-
/** Token metadata resolver */
|
|
21
|
-
tokenMetadataResolver: TokenMetadataResolver;
|
|
22
|
-
/** Ethereum wallet for EIP-712 signing */
|
|
23
|
-
ethereumWallet: EthersWallet;
|
|
24
|
-
/** Destination chain ID (from CHAIN_IDS constant) */
|
|
25
|
-
destinationChainId: number;
|
|
26
|
-
/** Destination chain name */
|
|
27
|
-
destinationChain: ExternalNetwork;
|
|
28
|
-
/** Address validation function (chain-specific) */
|
|
29
|
-
validateRecipientAddress: (address: string, label: string) => void;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Execute a complete bridge out flow (GalaChain -> External Chain).
|
|
33
|
-
*
|
|
34
|
-
* This helper consolidates the common bridge out logic shared between
|
|
35
|
-
* EthereumBridgeStrategy and SolanaBridgeStrategy, eliminating ~35 lines
|
|
36
|
-
* of duplicate code per strategy.
|
|
37
|
-
*
|
|
38
|
-
* The flow is:
|
|
39
|
-
* 1. Validate token symbol was resolved
|
|
40
|
-
* 2. Validate amount is positive
|
|
41
|
-
* 3. Validate recipient address (using chain-specific validation)
|
|
42
|
-
* 4. Fetch token metadata
|
|
43
|
-
* 5. Fetch bridge fee
|
|
44
|
-
* 6. Build and sign bridge request DTO
|
|
45
|
-
* 7. Submit RequestTokenBridgeOut
|
|
46
|
-
* 8. Extract bridge request ID
|
|
47
|
-
* 9. Submit BridgeTokenOut
|
|
48
|
-
* 10. Build transaction response
|
|
49
|
-
*
|
|
50
|
-
* @param params - Bridge out parameters from caller
|
|
51
|
-
* @param config - Strategy-specific configuration
|
|
52
|
-
* @returns BridgeTransaction with status URL
|
|
53
|
-
*
|
|
54
|
-
* @example
|
|
55
|
-
* ```typescript
|
|
56
|
-
* // In EthereumBridgeStrategy.bridgeOut():
|
|
57
|
-
* return executeBridgeOutFlow(params, {
|
|
58
|
-
* galaConnectClient: this.galaConnectClient,
|
|
59
|
-
* tokenMetadataResolver: this.tokenMetadataResolver,
|
|
60
|
-
* ethereumWallet: this.ethereumWallet,
|
|
61
|
-
* destinationChainId: CHAIN_IDS.ETHEREUM,
|
|
62
|
-
* destinationChain: 'Ethereum',
|
|
63
|
-
* validateRecipientAddress: validateEthereumAddressOrThrow,
|
|
64
|
-
* });
|
|
65
|
-
* ```
|
|
66
|
-
*/
|
|
67
|
-
export declare function executeBridgeOutFlow(params: BridgeOutParams, config: BridgeOutFlowConfig): Promise<BridgeTransaction>;
|
|
68
|
-
//# sourceMappingURL=bridgeOutHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bridgeOutHelpers.d.ts","sourceRoot":"","sources":["../../../../src/bridge/utils/bridgeOutHelpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,QAAQ,CAAC;AAErD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAY3B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,6BAA6B;IAC7B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,8BAA8B;IAC9B,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,0CAA0C;IAC1C,cAAc,EAAE,YAAY,CAAC;IAC7B,qDAAqD;IACrD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,6BAA6B;IAC7B,gBAAgB,EAAE,eAAe,CAAC;IAClC,mDAAmD;IACnD,wBAAwB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,eAAe,EACvB,MAAM,EAAE,mBAAmB,GAC1B,OAAO,CAAC,iBAAiB,CAAC,CAqE5B"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Bridge Payload Utilities
|
|
3
|
-
*
|
|
4
|
-
* Shared utility functions for bridge payload construction and normalization.
|
|
5
|
-
* These functions are used by both EthereumBridgeStrategy and SolanaBridgeStrategy
|
|
6
|
-
* to ensure consistent, deterministic payload generation for EIP-712 signing.
|
|
7
|
-
*/
|
|
8
|
-
import type { TokenClassKey } from '../../types/common.js';
|
|
9
|
-
import type { BridgeFeeEstimate, BridgeTokenMetadata, DestinationChainTxFee } from '../types/index.js';
|
|
10
|
-
/**
|
|
11
|
-
* Normalize a DestinationChainTxFee response for deterministic signing.
|
|
12
|
-
*
|
|
13
|
-
* Converts string timestamps and decimals to numbers to ensure consistent
|
|
14
|
-
* JSON serialization across different API response formats.
|
|
15
|
-
*
|
|
16
|
-
* @param raw - Raw fee response from GalaConnect API
|
|
17
|
-
* @returns Normalized fee object with numeric timestamps
|
|
18
|
-
*/
|
|
19
|
-
export declare function normalizeDestinationChainTxFee(raw: DestinationChainTxFee): DestinationChainTxFee;
|
|
20
|
-
/**
|
|
21
|
-
* Remove undefined values from an object for deterministic JSON serialization.
|
|
22
|
-
*
|
|
23
|
-
* Creates a clean object without undefined properties, which ensures
|
|
24
|
-
* consistent JSON.stringify output for signature verification.
|
|
25
|
-
*
|
|
26
|
-
* @param obj - Object potentially containing undefined values
|
|
27
|
-
* @returns Clean object with undefined values removed
|
|
28
|
-
*/
|
|
29
|
-
export declare function sanitizeObject<T extends Record<string, unknown>>(obj: T): T;
|
|
30
|
-
/**
|
|
31
|
-
* Extract the bridge request ID from a RequestTokenBridgeOut response.
|
|
32
|
-
*
|
|
33
|
-
* Handles multiple response formats from the GalaConnect API:
|
|
34
|
-
* - `{ Data: "..." }` - Direct data field
|
|
35
|
-
* - `{ data: "..." }` - Lowercase data field
|
|
36
|
-
* - `{ data: { Data: "..." } }` - Nested data object
|
|
37
|
-
*
|
|
38
|
-
* @param response - Response from RequestTokenBridgeOut API call
|
|
39
|
-
* @returns Bridge request ID if found, undefined otherwise
|
|
40
|
-
*/
|
|
41
|
-
export declare function extractBridgeRequestId(response: Record<string, unknown>): string | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* Validate a bridge amount for numeric validity and positivity.
|
|
44
|
-
*
|
|
45
|
-
* Prevents wasted gas on zero/negative/invalid amounts.
|
|
46
|
-
*
|
|
47
|
-
* @param amount - Amount string to validate
|
|
48
|
-
* @param tokenSymbol - Token symbol for error message context
|
|
49
|
-
* @throws Error if amount is invalid, zero, or negative
|
|
50
|
-
* @returns Parsed numeric amount (as side effect of successful validation)
|
|
51
|
-
*
|
|
52
|
-
* @example
|
|
53
|
-
* ```typescript
|
|
54
|
-
* validateBridgeAmount('100.5', 'GALA'); // Returns: 100.5
|
|
55
|
-
* validateBridgeAmount('0', 'GALA'); // Throws error
|
|
56
|
-
* validateBridgeAmount('abc', 'GALA'); // Throws error
|
|
57
|
-
* ```
|
|
58
|
-
*/
|
|
59
|
-
export declare function validateBridgeAmount(amount: string, tokenSymbol: string): number;
|
|
60
|
-
/**
|
|
61
|
-
* Build a BridgeTokenMetadata object from token descriptor and decimals.
|
|
62
|
-
*
|
|
63
|
-
* Consolidates the pattern of building bridge token metadata from API responses.
|
|
64
|
-
*
|
|
65
|
-
* @param tokenDescriptor - Token descriptor with collection, category, type, additionalKey
|
|
66
|
-
* @param decimals - Token decimals
|
|
67
|
-
* @param channel - Optional channel identifier for multi-channel tokens
|
|
68
|
-
* @returns BridgeTokenMetadata object
|
|
69
|
-
*
|
|
70
|
-
* @example
|
|
71
|
-
* ```typescript
|
|
72
|
-
* const metadata = buildTokenMetadata(
|
|
73
|
-
* { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none' },
|
|
74
|
-
* 8
|
|
75
|
-
* );
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
export declare function buildTokenMetadata(tokenDescriptor: TokenClassKey, decimals: number, channel?: string): BridgeTokenMetadata;
|
|
79
|
-
/**
|
|
80
|
-
* Build a fee payload object from a DestinationChainTxFee response.
|
|
81
|
-
*
|
|
82
|
-
* Consolidates the pattern of extracting fee information from API responses.
|
|
83
|
-
* Normalizes timestamp to ensure it is always a number.
|
|
84
|
-
*
|
|
85
|
-
* @param feeResponse - Raw fee response from GalaConnect API
|
|
86
|
-
* @returns Fee payload with all relevant fields
|
|
87
|
-
*
|
|
88
|
-
* @example
|
|
89
|
-
* ```typescript
|
|
90
|
-
* const feePayload = buildFeePayload({
|
|
91
|
-
* estimatedTotalTxFeeInGala: '100',
|
|
92
|
-
* estimatedTotalTxFeeInExternalToken: '0.005',
|
|
93
|
-
* ...
|
|
94
|
-
* });
|
|
95
|
-
* ```
|
|
96
|
-
*/
|
|
97
|
-
export declare function buildFeePayload(feeResponse: DestinationChainTxFee): BridgeFeeEstimate;
|
|
98
|
-
//# sourceMappingURL=bridgePayload.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bridgePayload.d.ts","sourceRoot":"","sources":["../../../../src/bridge/utils/bridgePayload.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,KAAK,EAAE,iBAAiB,EAAC,mBAAmB,EAAC,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAErG;;;;;;;;GAQG;AACH,wBAAgB,8BAA8B,CAC5C,GAAG,EAAE,qBAAqB,GACzB,qBAAqB,CAuDvB;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAY3E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAChC,MAAM,GAAG,SAAS,CAgBpB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,GAClB,MAAM,CAQR;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,CAChC,eAAe,EAAE,aAAa,EAC9B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,MAAM,GACf,mBAAmB,CAYrB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,eAAe,CAAC,WAAW,EAAE,qBAAqB,GAAG,iBAAiB,CAerF"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Bridge Status Parser
|
|
3
|
-
*
|
|
4
|
-
* Shared utility for parsing bridge status responses.
|
|
5
|
-
* Consolidates duplicate status parsing logic from both bridge strategies.
|
|
6
|
-
*
|
|
7
|
-
* @module bridge/utils/bridgeStatusParser
|
|
8
|
-
*/
|
|
9
|
-
import type { BridgeStatus, BridgeStatusCode, BridgeStatusResponse } from '../types/index.js';
|
|
10
|
-
/**
|
|
11
|
-
* Terminal status codes that indicate a bridge operation is complete.
|
|
12
|
-
*/
|
|
13
|
-
export declare const TERMINAL_STATUS_CODES: {
|
|
14
|
-
readonly COMPLETED: 5;
|
|
15
|
-
readonly FAILED: 6;
|
|
16
|
-
readonly DELIVERY_FAILED: 7;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Parse a bridge status response into a BridgeStatus object.
|
|
20
|
-
*
|
|
21
|
-
* This consolidates the duplicate `getStatus()` result parsing from
|
|
22
|
-
* EthereumBridgeStrategy and SolanaBridgeStrategy.
|
|
23
|
-
*
|
|
24
|
-
* Safely parses the numeric status code using {@link safeParseInt} to handle
|
|
25
|
-
* edge cases where the API returns unexpected values (strings, null, undefined).
|
|
26
|
-
*
|
|
27
|
-
* @param response - Raw response from GalaConnect getBridgeStatus API
|
|
28
|
-
* @returns Parsed BridgeStatus object with normalized fields
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```typescript
|
|
32
|
-
* const response = await galaConnectClient.getBridgeStatus(hash);
|
|
33
|
-
* const status = parseBridgeStatusResponse(response);
|
|
34
|
-
* if (status.isComplete) {
|
|
35
|
-
* console.log('Bridge completed successfully!');
|
|
36
|
-
* }
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare function parseBridgeStatusResponse(response: BridgeStatusResponse): BridgeStatus;
|
|
40
|
-
/**
|
|
41
|
-
* Check if a bridge status indicates completion (success or failure).
|
|
42
|
-
*
|
|
43
|
-
* @param statusCode - Bridge status code to check
|
|
44
|
-
* @returns True if status is terminal (completed, failed, or delivery_failed)
|
|
45
|
-
*/
|
|
46
|
-
export declare function isTerminalStatus(statusCode: BridgeStatusCode): boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Check if a bridge status indicates success.
|
|
49
|
-
*
|
|
50
|
-
* @param statusCode - Bridge status code to check
|
|
51
|
-
* @returns True if status is COMPLETED
|
|
52
|
-
*/
|
|
53
|
-
export declare function isSuccessStatus(statusCode: BridgeStatusCode): boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Check if a bridge status indicates failure.
|
|
56
|
-
*
|
|
57
|
-
* @param statusCode - Bridge status code to check
|
|
58
|
-
* @returns True if status is FAILED or DELIVERY_FAILED
|
|
59
|
-
*/
|
|
60
|
-
export declare function isFailureStatus(statusCode: BridgeStatusCode): boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Bridge status code descriptions for logging and display.
|
|
63
|
-
*/
|
|
64
|
-
export declare const STATUS_DESCRIPTIONS: Record<number, string>;
|
|
65
|
-
/**
|
|
66
|
-
* Get a human-readable description for a status code.
|
|
67
|
-
*
|
|
68
|
-
* Validates that the status code is a valid number before lookup.
|
|
69
|
-
* Returns a descriptive string or "UNKNOWN(code)" for unrecognized codes.
|
|
70
|
-
*
|
|
71
|
-
* @param statusCode - Bridge status code
|
|
72
|
-
* @returns Human-readable status description
|
|
73
|
-
*/
|
|
74
|
-
export declare function getStatusDescription(statusCode: BridgeStatusCode): string;
|
|
75
|
-
//# sourceMappingURL=bridgeStatusParser.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bridgeStatusParser.d.ts","sourceRoot":"","sources":["../../../../src/bridge/utils/bridgeStatusParser.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9F;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;CAIxB,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,oBAAoB,GAAG,YAAY,CAkBtF;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,gBAAgB,GAAG,OAAO,CAMtE;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,gBAAgB,GAAG,OAAO,CAErE;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,gBAAgB,GAAG,OAAO,CAKrE;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAS7C,CAAC;AAEX;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,gBAAgB,GAAG,MAAM,CAQzE"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EIP-712 Signing Helpers
|
|
3
|
-
*
|
|
4
|
-
* Shared utilities for EIP-712 payload construction and signing.
|
|
5
|
-
* Used by both EthereumBridgeStrategy and SolanaBridgeStrategy for
|
|
6
|
-
* building signed bridge out payloads.
|
|
7
|
-
*
|
|
8
|
-
* @module bridge/utils/eip712Helpers
|
|
9
|
-
*/
|
|
10
|
-
import type { Wallet as EthersWallet } from 'ethers';
|
|
11
|
-
import type { BridgeRequestDto } from '../types/index.js';
|
|
12
|
-
/**
|
|
13
|
-
* Configuration for building bridge out payloads
|
|
14
|
-
*/
|
|
15
|
-
export interface BuildBridgeOutPayloadConfig {
|
|
16
|
-
/** Ethereum wallet for EIP-712 signing */
|
|
17
|
-
wallet: EthersWallet;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Build an EIP-712 signed bridge out payload.
|
|
21
|
-
*
|
|
22
|
-
* This consolidates the duplicate `buildBridgeOutPayload()` implementations
|
|
23
|
-
* from EthereumBridgeStrategy and SolanaBridgeStrategy.
|
|
24
|
-
*
|
|
25
|
-
* The payload is signed using EIP-712 typed data signing and includes:
|
|
26
|
-
* - The message to be signed
|
|
27
|
-
* - The EIP-712 signature
|
|
28
|
-
* - The typed data types and domain for verification
|
|
29
|
-
*
|
|
30
|
-
* @param dto - Bridge request DTO with transfer details
|
|
31
|
-
* @param config - Configuration including wallet for signing
|
|
32
|
-
* @returns Promise resolving to signed payload ready for API submission
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* ```typescript
|
|
36
|
-
* const payload = await buildBridgeOutPayload(
|
|
37
|
-
* {
|
|
38
|
-
* destinationChainId: CHAIN_IDS.ETHEREUM,
|
|
39
|
-
* destinationChainTxFee: bridgeFee,
|
|
40
|
-
* quantity: '100',
|
|
41
|
-
* recipient: '0x1234...',
|
|
42
|
-
* tokenInstance: { collection: 'GALA', category: 'Unit', type: 'none', additionalKey: 'none', instance: '0' },
|
|
43
|
-
* },
|
|
44
|
-
* { wallet: ethereumWallet }
|
|
45
|
-
* );
|
|
46
|
-
* ```
|
|
47
|
-
*/
|
|
48
|
-
export declare function buildBridgeOutPayload(dto: BridgeRequestDto, config: BuildBridgeOutPayloadConfig): Promise<Record<string, unknown>>;
|
|
49
|
-
/**
|
|
50
|
-
* Create a signed message prefix for a deterministic payload.
|
|
51
|
-
*
|
|
52
|
-
* Used for Ethereum signed message format: "\x19Ethereum Signed Message:\n{length}"
|
|
53
|
-
*
|
|
54
|
-
* @param payloadLength - Length of the payload string
|
|
55
|
-
* @returns Formatted prefix string
|
|
56
|
-
*/
|
|
57
|
-
export declare function createSignedMessagePrefix(payloadLength: number): string;
|
|
58
|
-
/**
|
|
59
|
-
* Generate a unique key for bridge operations.
|
|
60
|
-
*
|
|
61
|
-
* Uses crypto.randomUUID() with a galaconnect prefix.
|
|
62
|
-
*
|
|
63
|
-
* @returns Unique key string
|
|
64
|
-
*/
|
|
65
|
-
export declare function generateBridgeUniqueKey(): string;
|
|
66
|
-
//# sourceMappingURL=eip712Helpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eip712Helpers.d.ts","sourceRoot":"","sources":["../../../../src/bridge/utils/eip712Helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,QAAQ,CAAC;AASrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAG1D;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,0CAA0C;IAC1C,MAAM,EAAE,YAAY,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAsB,qBAAqB,CACzC,GAAG,EAAE,gBAAgB,EACrB,MAAM,EAAE,2BAA2B,GAClC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CA2DlC;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAEvE;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,CAEhD"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Bridge Utils Index
|
|
3
|
-
*
|
|
4
|
-
* Re-exports all bridge utility functions.
|
|
5
|
-
*/
|
|
6
|
-
export * from './addressValidation.js';
|
|
7
|
-
export * from './balanceHelpers.js';
|
|
8
|
-
export * from './bridgeErrors.js';
|
|
9
|
-
export * from './bridgeOutHelpers.js';
|
|
10
|
-
export * from './bridgePayload.js';
|
|
11
|
-
export * from './bridgeStatusParser.js';
|
|
12
|
-
export * from './eip712Helpers.js';
|
|
13
|
-
export * from './RateLimiter.js';
|
|
14
|
-
export * from './retry.js';
|
|
15
|
-
export * from './strategyDelegation.js';
|
|
16
|
-
export * from './tokenIdUtils.js';
|
|
17
|
-
export * from './tokenMath.js';
|
|
18
|
-
export * from './tokenMetadataResolver.js';
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bridge/utils/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC"}
|