@gala-chain/launchpad-sdk 5.0.4-beta.7 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1806) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/EXAMPLES.md +99 -0
  3. package/README.md +354 -49
  4. package/README.md.bak +3174 -0
  5. package/dist/LaunchpadSDK.d.ts +10744 -0
  6. package/dist/LaunchpadSDK.d.ts.map +1 -0
  7. package/dist/ai-docs.json +5433 -1237
  8. package/dist/api/LaunchpadAPI.d.ts +930 -0
  9. package/dist/api/LaunchpadAPI.d.ts.map +1 -0
  10. package/dist/api/dto/BondingCurveDTOs.d.ts +145 -0
  11. package/dist/api/dto/BondingCurveDTOs.d.ts.map +1 -0
  12. package/dist/api/dto/BurnTokensDto.d.ts +89 -0
  13. package/dist/api/dto/BurnTokensDto.d.ts.map +1 -0
  14. package/dist/api/dto/LockTokenDto.d.ts +97 -0
  15. package/dist/api/dto/LockTokenDto.d.ts.map +1 -0
  16. package/dist/api/dto/TransferTokenDto.d.ts +76 -0
  17. package/dist/api/dto/TransferTokenDto.d.ts.map +1 -0
  18. package/dist/api/dto/UnlockTokenDto.d.ts +86 -0
  19. package/dist/api/dto/UnlockTokenDto.d.ts.map +1 -0
  20. package/dist/auth/JwtAuth.d.ts +183 -0
  21. package/dist/auth/JwtAuth.d.ts.map +1 -0
  22. package/dist/auth/SessionAuthService.d.ts +151 -0
  23. package/dist/auth/SessionAuthService.d.ts.map +1 -0
  24. package/dist/auth/SignatureAuth.d.ts +181 -0
  25. package/dist/auth/SignatureAuth.d.ts.map +1 -0
  26. package/dist/auth/storage.d.ts +66 -0
  27. package/dist/auth/storage.d.ts.map +1 -0
  28. package/dist/auth/types.d.ts +50 -0
  29. package/dist/auth/types.d.ts.map +1 -0
  30. package/dist/bridge/BridgeService.d.ts +484 -0
  31. package/dist/bridge/BridgeService.d.ts.map +1 -0
  32. package/dist/bridge/GalaConnectClient.d.ts +170 -0
  33. package/dist/bridge/GalaConnectClient.d.ts.map +1 -0
  34. package/dist/bridge/constants/index.d.ts +7 -0
  35. package/dist/bridge/constants/index.d.ts.map +1 -0
  36. package/dist/bridge/constants/tokens.d.ts +212 -0
  37. package/dist/bridge/constants/tokens.d.ts.map +1 -0
  38. package/dist/bridge/index.d.ts +24 -0
  39. package/dist/bridge/index.d.ts.map +1 -0
  40. package/dist/bridge/strategies/BridgeStrategy.d.ts +160 -0
  41. package/dist/bridge/strategies/BridgeStrategy.d.ts.map +1 -0
  42. package/dist/bridge/strategies/EthereumBridgeStrategy.d.ts +200 -0
  43. package/dist/bridge/strategies/EthereumBridgeStrategy.d.ts.map +1 -0
  44. package/dist/bridge/strategies/SolanaBridgeStrategy.d.ts +258 -0
  45. package/dist/bridge/strategies/SolanaBridgeStrategy.d.ts.map +1 -0
  46. package/dist/bridge/types/bridge.dto.d.ts +772 -0
  47. package/dist/bridge/types/bridge.dto.d.ts.map +1 -0
  48. package/dist/bridge/types/bridgeable-token.dto.d.ts +205 -0
  49. package/dist/bridge/types/bridgeable-token.dto.d.ts.map +1 -0
  50. package/dist/bridge/types/eip712.d.ts +66 -0
  51. package/dist/bridge/types/eip712.d.ts.map +1 -0
  52. package/dist/bridge/types/index.d.ts +8 -0
  53. package/dist/bridge/types/index.d.ts.map +1 -0
  54. package/dist/bridge/utils/RateLimiter.d.ts +34 -0
  55. package/dist/bridge/utils/RateLimiter.d.ts.map +1 -0
  56. package/dist/bridge/utils/address-formatter.d.ts +25 -0
  57. package/dist/bridge/utils/address-formatter.d.ts.map +1 -0
  58. package/dist/bridge/utils/addressValidation.d.ts +200 -0
  59. package/dist/bridge/utils/addressValidation.d.ts.map +1 -0
  60. package/dist/bridge/utils/balanceHelpers.d.ts +215 -0
  61. package/dist/bridge/utils/balanceHelpers.d.ts.map +1 -0
  62. package/dist/bridge/utils/bridgeErrors.d.ts +98 -0
  63. package/dist/bridge/utils/bridgeErrors.d.ts.map +1 -0
  64. package/dist/bridge/utils/bridgeOutHelpers.d.ts +68 -0
  65. package/dist/bridge/utils/bridgeOutHelpers.d.ts.map +1 -0
  66. package/dist/bridge/utils/bridgePayload.d.ts +98 -0
  67. package/dist/bridge/utils/bridgePayload.d.ts.map +1 -0
  68. package/dist/bridge/utils/bridgeStatusParser.d.ts +75 -0
  69. package/dist/bridge/utils/bridgeStatusParser.d.ts.map +1 -0
  70. package/dist/bridge/utils/eip712Helpers.d.ts +66 -0
  71. package/dist/bridge/utils/eip712Helpers.d.ts.map +1 -0
  72. package/dist/bridge/utils/index.d.ts +19 -0
  73. package/dist/bridge/utils/index.d.ts.map +1 -0
  74. package/dist/bridge/utils/retry.d.ts +112 -0
  75. package/dist/bridge/utils/retry.d.ts.map +1 -0
  76. package/dist/bridge/utils/strategyDelegation.d.ts +69 -0
  77. package/dist/bridge/utils/strategyDelegation.d.ts.map +1 -0
  78. package/dist/bridge/utils/tokenIdUtils.d.ts +86 -0
  79. package/dist/bridge/utils/tokenIdUtils.d.ts.map +1 -0
  80. package/dist/bridge/utils/tokenMath.d.ts +39 -0
  81. package/dist/bridge/utils/tokenMath.d.ts.map +1 -0
  82. package/dist/bridge/utils/tokenMetadataResolver.d.ts +97 -0
  83. package/dist/bridge/utils/tokenMetadataResolver.d.ts.map +1 -0
  84. package/dist/config/environments.d.ts +51 -0
  85. package/dist/config/environments.d.ts.map +1 -0
  86. package/dist/constants/bondingCurve.d.ts +102 -0
  87. package/dist/constants/bondingCurve.d.ts.map +1 -0
  88. package/dist/constants/config.d.ts +30 -0
  89. package/dist/constants/config.d.ts.map +1 -0
  90. package/dist/constants/decimals.d.ts +63 -0
  91. package/dist/constants/decimals.d.ts.map +1 -0
  92. package/dist/constants/endpoints.d.ts +820 -0
  93. package/dist/constants/endpoints.d.ts.map +1 -0
  94. package/dist/constants/enums.d.ts +65 -0
  95. package/dist/constants/enums.d.ts.map +1 -0
  96. package/dist/constants/error-messages.d.ts +61 -0
  97. package/dist/constants/error-messages.d.ts.map +1 -0
  98. package/dist/constants/events.d.ts +53 -0
  99. package/dist/constants/events.d.ts.map +1 -0
  100. package/dist/constants/jwt.d.ts +41 -0
  101. package/dist/constants/jwt.d.ts.map +1 -0
  102. package/dist/constants/nft-fees.d.ts +30 -0
  103. package/dist/constants/nft-fees.d.ts.map +1 -0
  104. package/dist/constants/pagination.d.ts +66 -0
  105. package/dist/constants/pagination.d.ts.map +1 -0
  106. package/dist/constants/query-fields.d.ts +51 -0
  107. package/dist/constants/query-fields.d.ts.map +1 -0
  108. package/dist/constants/sdk-defaults.d.ts +37 -0
  109. package/dist/constants/sdk-defaults.d.ts.map +1 -0
  110. package/dist/constants/version.d.ts +6 -0
  111. package/dist/constants/version.d.ts.map +1 -0
  112. package/dist/constants/version.generated.d.ts +7 -0
  113. package/dist/constants/version.generated.d.ts.map +1 -0
  114. package/dist/examples/admin/api-key-advanced.d.ts +43 -0
  115. package/dist/examples/admin/api-key-advanced.d.ts.map +1 -0
  116. package/dist/examples/admin/moderator-invite-complete.d.ts +41 -0
  117. package/dist/examples/admin/moderator-invite-complete.d.ts.map +1 -0
  118. package/dist/examples/admin/overseer-management-advanced.d.ts +38 -0
  119. package/dist/examples/admin/overseer-management-advanced.d.ts.map +1 -0
  120. package/dist/examples/admin/overseer-page-stats.d.ts +26 -0
  121. package/dist/examples/admin/overseer-page-stats.d.ts.map +1 -0
  122. package/dist/examples/admin/token-ban-complete.d.ts +44 -0
  123. package/dist/examples/admin/token-ban-complete.d.ts.map +1 -0
  124. package/dist/examples/ai-moderation/ai-moderation-demo.d.ts +32 -0
  125. package/dist/examples/ai-moderation/ai-moderation-demo.d.ts.map +1 -0
  126. package/dist/examples/ai-moderation/flag-ai-verdicts-demo.d.ts +30 -0
  127. package/dist/examples/ai-moderation/flag-ai-verdicts-demo.d.ts.map +1 -0
  128. package/dist/examples/analytics/index.d.ts +23 -0
  129. package/dist/examples/analytics/index.d.ts.map +1 -0
  130. package/dist/examples/analytics/market-analysis-tools.d.ts +28 -0
  131. package/dist/examples/analytics/market-analysis-tools.d.ts.map +1 -0
  132. package/dist/examples/analytics/portfolio-performance-tracking.d.ts +25 -0
  133. package/dist/examples/analytics/portfolio-performance-tracking.d.ts.map +1 -0
  134. package/dist/examples/analytics/trading-analytics-advanced.d.ts +27 -0
  135. package/dist/examples/analytics/trading-analytics-advanced.d.ts.map +1 -0
  136. package/dist/examples/api-keys/advanced-configuration.d.ts +19 -0
  137. package/dist/examples/api-keys/advanced-configuration.d.ts.map +1 -0
  138. package/dist/examples/api-keys/complete-lifecycle.d.ts +18 -0
  139. package/dist/examples/api-keys/complete-lifecycle.d.ts.map +1 -0
  140. package/dist/examples/api-keys/crud.d.ts +22 -0
  141. package/dist/examples/api-keys/crud.d.ts.map +1 -0
  142. package/dist/examples/api-keys/token-delegation.d.ts +24 -0
  143. package/dist/examples/api-keys/token-delegation.d.ts.map +1 -0
  144. package/dist/examples/api-keys/user-api-key-auth.d.ts +24 -0
  145. package/dist/examples/api-keys/user-api-key-auth.d.ts.map +1 -0
  146. package/dist/examples/auth/auth-permissions-checking.d.ts +32 -0
  147. package/dist/examples/auth/auth-permissions-checking.d.ts.map +1 -0
  148. package/dist/examples/auth/auth-token-management.d.ts +32 -0
  149. package/dist/examples/auth/auth-token-management.d.ts.map +1 -0
  150. package/dist/examples/auth/auth-validation-workflows.d.ts +32 -0
  151. package/dist/examples/auth/auth-validation-workflows.d.ts.map +1 -0
  152. package/dist/examples/bans/ban-management.d.ts +24 -0
  153. package/dist/examples/bans/ban-management.d.ts.map +1 -0
  154. package/dist/examples/bans/demo-global-user-bans.d.ts +27 -0
  155. package/dist/examples/bans/demo-global-user-bans.d.ts.map +1 -0
  156. package/dist/examples/bonding/token-graduation-workflow.d.ts +21 -0
  157. package/dist/examples/bonding/token-graduation-workflow.d.ts.map +1 -0
  158. package/dist/examples/bonding-curve/basic-trading.d.ts +20 -0
  159. package/dist/examples/bonding-curve/basic-trading.d.ts.map +1 -0
  160. package/dist/examples/bonding-curve/graduation-workflow.d.ts +18 -0
  161. package/dist/examples/bonding-curve/graduation-workflow.d.ts.map +1 -0
  162. package/dist/examples/bonding-curve/pagination-variants.d.ts +17 -0
  163. package/dist/examples/bonding-curve/pagination-variants.d.ts.map +1 -0
  164. package/dist/examples/bonding-curve/pool-analysis.d.ts +18 -0
  165. package/dist/examples/bonding-curve/pool-analysis.d.ts.map +1 -0
  166. package/dist/examples/bonding-curve/pool-creator-filtering.d.ts +17 -0
  167. package/dist/examples/bonding-curve/pool-creator-filtering.d.ts.map +1 -0
  168. package/dist/examples/bonding-curve/pool-discovery.d.ts +19 -0
  169. package/dist/examples/bonding-curve/pool-discovery.d.ts.map +1 -0
  170. package/dist/examples/bonding-curve/price-impact.d.ts +18 -0
  171. package/dist/examples/bonding-curve/price-impact.d.ts.map +1 -0
  172. package/dist/examples/bonding-curve/token-launch.d.ts +18 -0
  173. package/dist/examples/bonding-curve/token-launch.d.ts.map +1 -0
  174. package/dist/examples/bonding-curve/user-holder-context.d.ts +18 -0
  175. package/dist/examples/bonding-curve/user-holder-context.d.ts.map +1 -0
  176. package/dist/examples/bonding-curve/volume-trading.d.ts +18 -0
  177. package/dist/examples/bonding-curve/volume-trading.d.ts.map +1 -0
  178. package/dist/examples/bridge/bridge-ethereum-specific.d.ts +18 -0
  179. package/dist/examples/bridge/bridge-ethereum-specific.d.ts.map +1 -0
  180. package/dist/examples/bridge/bridge-generic-operations.d.ts +18 -0
  181. package/dist/examples/bridge/bridge-generic-operations.d.ts.map +1 -0
  182. package/dist/examples/bridge/bridge-multi-chain-routing.d.ts +31 -0
  183. package/dist/examples/bridge/bridge-multi-chain-routing.d.ts.map +1 -0
  184. package/dist/examples/bridge/bridge-network-methods.d.ts +31 -0
  185. package/dist/examples/bridge/bridge-network-methods.d.ts.map +1 -0
  186. package/dist/examples/bridge/bridge-network-tokens.d.ts +18 -0
  187. package/dist/examples/bridge/bridge-network-tokens.d.ts.map +1 -0
  188. package/dist/examples/bridge/bridge-network-validation.d.ts +33 -0
  189. package/dist/examples/bridge/bridge-network-validation.d.ts.map +1 -0
  190. package/dist/examples/bridge/bridge-operations.d.ts +27 -0
  191. package/dist/examples/bridge/bridge-operations.d.ts.map +1 -0
  192. package/dist/examples/bridge/bridge-solana-specific.d.ts +18 -0
  193. package/dist/examples/bridge/bridge-solana-specific.d.ts.map +1 -0
  194. package/dist/examples/bridge/bridge-status-monitoring.d.ts +30 -0
  195. package/dist/examples/bridge/bridge-status-monitoring.d.ts.map +1 -0
  196. package/dist/examples/bridge/bridge-wrapped-token-operations.d.ts +30 -0
  197. package/dist/examples/bridge/bridge-wrapped-token-operations.d.ts.map +1 -0
  198. package/dist/examples/bridge/bridgeable-tokens.d.ts +27 -0
  199. package/dist/examples/bridge/bridgeable-tokens.d.ts.map +1 -0
  200. package/dist/examples/bridge/check-balances.d.ts +13 -0
  201. package/dist/examples/bridge/check-balances.d.ts.map +1 -0
  202. package/dist/examples/bridge/ethereum-in.d.ts +17 -0
  203. package/dist/examples/bridge/ethereum-in.d.ts.map +1 -0
  204. package/dist/examples/bridge/ethereum-out.d.ts +17 -0
  205. package/dist/examples/bridge/ethereum-out.d.ts.map +1 -0
  206. package/dist/examples/bridge/ethereum-roundtrip.d.ts +20 -0
  207. package/dist/examples/bridge/ethereum-roundtrip.d.ts.map +1 -0
  208. package/dist/examples/bridge/external-balances.d.ts +29 -0
  209. package/dist/examples/bridge/external-balances.d.ts.map +1 -0
  210. package/dist/examples/bridge/fee-estimation.d.ts +14 -0
  211. package/dist/examples/bridge/fee-estimation.d.ts.map +1 -0
  212. package/dist/examples/bridge/solana-in.d.ts +18 -0
  213. package/dist/examples/bridge/solana-in.d.ts.map +1 -0
  214. package/dist/examples/bridge/solana-out.d.ts +18 -0
  215. package/dist/examples/bridge/solana-out.d.ts.map +1 -0
  216. package/dist/examples/bridge/solana-roundtrip.d.ts +21 -0
  217. package/dist/examples/bridge/solana-roundtrip.d.ts.map +1 -0
  218. package/dist/examples/bridge/status-tracking.d.ts +16 -0
  219. package/dist/examples/bridge/status-tracking.d.ts.map +1 -0
  220. package/dist/examples/bridge/supported-tokens.d.ts +14 -0
  221. package/dist/examples/bridge/supported-tokens.d.ts.map +1 -0
  222. package/dist/examples/bridge/test-debug-unwrap.d.ts +13 -0
  223. package/dist/examples/bridge/test-debug-unwrap.d.ts.map +1 -0
  224. package/dist/examples/bridge/test-unwrap-execution.d.ts +13 -0
  225. package/dist/examples/bridge/test-unwrap-execution.d.ts.map +1 -0
  226. package/dist/examples/bridge/test-wrap-debug.d.ts +13 -0
  227. package/dist/examples/bridge/test-wrap-debug.d.ts.map +1 -0
  228. package/dist/examples/bridge/test-wrap-execution.d.ts +13 -0
  229. package/dist/examples/bridge/test-wrap-execution.d.ts.map +1 -0
  230. package/dist/examples/bridge/test-wrap-roundtrip.d.ts +13 -0
  231. package/dist/examples/bridge/test-wrap-roundtrip.d.ts.map +1 -0
  232. package/dist/examples/bridge/transaction-status.d.ts +26 -0
  233. package/dist/examples/bridge/transaction-status.d.ts.map +1 -0
  234. package/dist/examples/bridge/wallet-balances.d.ts +24 -0
  235. package/dist/examples/bridge/wallet-balances.d.ts.map +1 -0
  236. package/dist/examples/bridge/wrap-discovery.d.ts +16 -0
  237. package/dist/examples/bridge/wrap-discovery.d.ts.map +1 -0
  238. package/dist/examples/bridge/wrap-fee-estimation.d.ts +16 -0
  239. package/dist/examples/bridge/wrap-fee-estimation.d.ts.map +1 -0
  240. package/dist/examples/bridge/wrap-unwrap.d.ts +18 -0
  241. package/dist/examples/bridge/wrap-unwrap.d.ts.map +1 -0
  242. package/dist/examples/bridge/wrap-utilities.d.ts +21 -0
  243. package/dist/examples/bridge/wrap-utilities.d.ts.map +1 -0
  244. package/dist/examples/calculations/calculation-methods-comprehensive.d.ts +24 -0
  245. package/dist/examples/calculations/calculation-methods-comprehensive.d.ts.map +1 -0
  246. package/dist/examples/calculations/external-calculations-demo.d.ts +23 -0
  247. package/dist/examples/calculations/external-calculations-demo.d.ts.map +1 -0
  248. package/dist/examples/calculations/local-calculations-demo.d.ts +24 -0
  249. package/dist/examples/calculations/local-calculations-demo.d.ts.map +1 -0
  250. package/dist/examples/calculations/pool-calculation-context.d.ts +19 -0
  251. package/dist/examples/calculations/pool-calculation-context.d.ts.map +1 -0
  252. package/dist/examples/chat/basic-chat.d.ts +17 -0
  253. package/dist/examples/chat/basic-chat.d.ts.map +1 -0
  254. package/dist/examples/chat/chat-admin-controls.d.ts +41 -0
  255. package/dist/examples/chat/chat-admin-controls.d.ts.map +1 -0
  256. package/dist/examples/chat/chat-demo.d.ts +25 -0
  257. package/dist/examples/chat/chat-demo.d.ts.map +1 -0
  258. package/dist/examples/chat/chat-engagement-stats.d.ts +44 -0
  259. package/dist/examples/chat/chat-engagement-stats.d.ts.map +1 -0
  260. package/dist/examples/chat/chat-lifecycle.d.ts +26 -0
  261. package/dist/examples/chat/chat-lifecycle.d.ts.map +1 -0
  262. package/dist/examples/chat/chat-message-management.d.ts +18 -0
  263. package/dist/examples/chat/chat-message-management.d.ts.map +1 -0
  264. package/dist/examples/chat/chat-pinning-workflow.d.ts +37 -0
  265. package/dist/examples/chat/chat-pinning-workflow.d.ts.map +1 -0
  266. package/dist/examples/chat/demo-pin-messages.d.ts +17 -0
  267. package/dist/examples/chat/demo-pin-messages.d.ts.map +1 -0
  268. package/dist/examples/chat/multi-user-chat-test.d.ts +19 -0
  269. package/dist/examples/chat/multi-user-chat-test.d.ts.map +1 -0
  270. package/dist/examples/chat/quick-reaction-test.d.ts +4 -0
  271. package/dist/examples/chat/quick-reaction-test.d.ts.map +1 -0
  272. package/dist/examples/chat/typing-indicators.d.ts +23 -0
  273. package/dist/examples/chat/typing-indicators.d.ts.map +1 -0
  274. package/dist/examples/chat/websocket-chat.d.ts +21 -0
  275. package/dist/examples/chat/websocket-chat.d.ts.map +1 -0
  276. package/dist/examples/comments/basic-comments.d.ts +19 -0
  277. package/dist/examples/comments/basic-comments.d.ts.map +1 -0
  278. package/dist/examples/comments/comments-demo.d.ts +34 -0
  279. package/dist/examples/comments/comments-demo.d.ts.map +1 -0
  280. package/dist/examples/comments/comments-lifecycle.d.ts +24 -0
  281. package/dist/examples/comments/comments-lifecycle.d.ts.map +1 -0
  282. package/dist/examples/comments/comments-update-workflow.d.ts +35 -0
  283. package/dist/examples/comments/comments-update-workflow.d.ts.map +1 -0
  284. package/dist/examples/content/content-categorization.d.ts +51 -0
  285. package/dist/examples/content/content-categorization.d.ts.map +1 -0
  286. package/dist/examples/content/content-publishing-workflow.d.ts +45 -0
  287. package/dist/examples/content/content-publishing-workflow.d.ts.map +1 -0
  288. package/dist/examples/content/content-versioning.d.ts +52 -0
  289. package/dist/examples/content/content-versioning.d.ts.map +1 -0
  290. package/dist/examples/content-flags/comprehensive-flag-workflow.d.ts +40 -0
  291. package/dist/examples/content-flags/comprehensive-flag-workflow.d.ts.map +1 -0
  292. package/dist/examples/content-flags/flag-management.d.ts +28 -0
  293. package/dist/examples/content-flags/flag-management.d.ts.map +1 -0
  294. package/dist/examples/content-reactions/advanced-reactions.d.ts +24 -0
  295. package/dist/examples/content-reactions/advanced-reactions.d.ts.map +1 -0
  296. package/dist/examples/content-reactions/basic-reactions.d.ts +21 -0
  297. package/dist/examples/content-reactions/basic-reactions.d.ts.map +1 -0
  298. package/dist/examples/content-reactions/comprehensive-reactions-workflow.d.ts +41 -0
  299. package/dist/examples/content-reactions/comprehensive-reactions-workflow.d.ts.map +1 -0
  300. package/dist/examples/content-reactions/content-reactions-advanced.d.ts +40 -0
  301. package/dist/examples/content-reactions/content-reactions-advanced.d.ts.map +1 -0
  302. package/dist/examples/core/authenticated-operations.d.ts +14 -0
  303. package/dist/examples/core/authenticated-operations.d.ts.map +1 -0
  304. package/dist/examples/core/complete-sdk-demo.d.ts +22 -0
  305. package/dist/examples/core/complete-sdk-demo.d.ts.map +1 -0
  306. package/dist/examples/core/image-uploads.d.ts +28 -0
  307. package/dist/examples/core/image-uploads.d.ts.map +1 -0
  308. package/dist/examples/core/privatekey-override-pattern.d.ts +16 -0
  309. package/dist/examples/core/privatekey-override-pattern.d.ts.map +1 -0
  310. package/dist/examples/core/read-only-operations.d.ts +16 -0
  311. package/dist/examples/core/read-only-operations.d.ts.map +1 -0
  312. package/dist/examples/core/session-auth-demo.d.ts +15 -0
  313. package/dist/examples/core/session-auth-demo.d.ts.map +1 -0
  314. package/dist/examples/core/session-auth-lifecycle.d.ts +19 -0
  315. package/dist/examples/core/session-auth-lifecycle.d.ts.map +1 -0
  316. package/dist/examples/core/test-pagination-fix.d.ts +14 -0
  317. package/dist/examples/core/test-pagination-fix.d.ts.map +1 -0
  318. package/dist/examples/core/token-refresh-utilities.d.ts +18 -0
  319. package/dist/examples/core/token-refresh-utilities.d.ts.map +1 -0
  320. package/dist/examples/core/token-validation.d.ts +18 -0
  321. package/dist/examples/core/token-validation.d.ts.map +1 -0
  322. package/dist/examples/core/wallet-management.d.ts +23 -0
  323. package/dist/examples/core/wallet-management.d.ts.map +1 -0
  324. package/dist/examples/debug/check-recorded-bridge-tx.d.ts +8 -0
  325. package/dist/examples/debug/check-recorded-bridge-tx.d.ts.map +1 -0
  326. package/dist/examples/debug/debug-comment.d.ts +2 -0
  327. package/dist/examples/debug/debug-comment.d.ts.map +1 -0
  328. package/dist/examples/debug/test-volume-data-bounds-prod.d.ts +15 -0
  329. package/dist/examples/debug/test-volume-data-bounds-prod.d.ts.map +1 -0
  330. package/dist/examples/debug/test-volume-data-bounds.d.ts +14 -0
  331. package/dist/examples/debug/test-volume-data-bounds.d.ts.map +1 -0
  332. package/dist/examples/debug/websocket-event-discovery.d.ts +26 -0
  333. package/dist/examples/debug/websocket-event-discovery.d.ts.map +1 -0
  334. package/dist/examples/debug/websocket-monitor.d.ts +15 -0
  335. package/dist/examples/debug/websocket-monitor.d.ts.map +1 -0
  336. package/dist/examples/debug-single-trade.d.ts +6 -0
  337. package/dist/examples/debug-single-trade.d.ts.map +1 -0
  338. package/dist/examples/demo-librarian.d.ts +18 -0
  339. package/dist/examples/demo-librarian.d.ts.map +1 -0
  340. package/dist/examples/demo-runner.d.ts +22 -0
  341. package/dist/examples/demo-runner.d.ts.map +1 -0
  342. package/dist/examples/dex/demo-roundtrip-liquidity.d.ts +16 -0
  343. package/dist/examples/dex/demo-roundtrip-liquidity.d.ts.map +1 -0
  344. package/dist/examples/dex/dex-impermanent-loss-analysis.d.ts +28 -0
  345. package/dist/examples/dex/dex-impermanent-loss-analysis.d.ts.map +1 -0
  346. package/dist/examples/dex/dex-liquidity-management-advanced.d.ts +27 -0
  347. package/dist/examples/dex/dex-liquidity-management-advanced.d.ts.map +1 -0
  348. package/dist/examples/dex/dex-multi-hop-swaps.d.ts +32 -0
  349. package/dist/examples/dex/dex-multi-hop-swaps.d.ts.map +1 -0
  350. package/dist/examples/dex/dex-pool-pricing.d.ts +20 -0
  351. package/dist/examples/dex/dex-pool-pricing.d.ts.map +1 -0
  352. package/dist/examples/dex/dex-quote-calculations.d.ts +21 -0
  353. package/dist/examples/dex/dex-quote-calculations.d.ts.map +1 -0
  354. package/dist/examples/dex/dex-seasons-leaderboard.d.ts +22 -0
  355. package/dist/examples/dex/dex-seasons-leaderboard.d.ts.map +1 -0
  356. package/dist/examples/dex/dex-slippage-protection.d.ts +28 -0
  357. package/dist/examples/dex/dex-slippage-protection.d.ts.map +1 -0
  358. package/dist/examples/dex/dex-tokens-discovery.d.ts +20 -0
  359. package/dist/examples/dex/dex-tokens-discovery.d.ts.map +1 -0
  360. package/dist/examples/dex/dex-volume-analytics.d.ts +19 -0
  361. package/dist/examples/dex/dex-volume-analytics.d.ts.map +1 -0
  362. package/dist/examples/dex/leaderboard.d.ts +12 -0
  363. package/dist/examples/dex/leaderboard.d.ts.map +1 -0
  364. package/dist/examples/dex/pool-discovery.d.ts +25 -0
  365. package/dist/examples/dex/pool-discovery.d.ts.map +1 -0
  366. package/dist/examples/dex/pools-with-pricing.d.ts +28 -0
  367. package/dist/examples/dex/pools-with-pricing.d.ts.map +1 -0
  368. package/dist/examples/dex/quote-comparison.d.ts +16 -0
  369. package/dist/examples/dex/quote-comparison.d.ts.map +1 -0
  370. package/dist/examples/dex/swap-user-assets-comprehensive.d.ts +20 -0
  371. package/dist/examples/dex/swap-user-assets-comprehensive.d.ts.map +1 -0
  372. package/dist/examples/dex/swap-workflow.d.ts +20 -0
  373. package/dist/examples/dex/swap-workflow.d.ts.map +1 -0
  374. package/dist/examples/dex/token-discovery.d.ts +27 -0
  375. package/dist/examples/dex/token-discovery.d.ts.map +1 -0
  376. package/dist/examples/dex/volume-summary.d.ts +12 -0
  377. package/dist/examples/dex/volume-summary.d.ts.map +1 -0
  378. package/dist/examples/error-handling/error-recovery-patterns.d.ts +42 -0
  379. package/dist/examples/error-handling/error-recovery-patterns.d.ts.map +1 -0
  380. package/dist/examples/error-handling/timeout-management.d.ts +43 -0
  381. package/dist/examples/error-handling/timeout-management.d.ts.map +1 -0
  382. package/dist/examples/events/event-aggregation-analysis.d.ts +40 -0
  383. package/dist/examples/events/event-aggregation-analysis.d.ts.map +1 -0
  384. package/dist/examples/events/event-emission-patterns.d.ts +35 -0
  385. package/dist/examples/events/event-emission-patterns.d.ts.map +1 -0
  386. package/dist/examples/events/subscription-management-advanced.d.ts +38 -0
  387. package/dist/examples/events/subscription-management-advanced.d.ts.map +1 -0
  388. package/dist/examples/fees/complete-fee-test.d.ts +13 -0
  389. package/dist/examples/fees/complete-fee-test.d.ts.map +1 -0
  390. package/dist/examples/fees/demo-fee-generation-and-collection.d.ts +27 -0
  391. package/dist/examples/fees/demo-fee-generation-and-collection.d.ts.map +1 -0
  392. package/dist/examples/fees/demo-fees-high-volume.d.ts +13 -0
  393. package/dist/examples/fees/demo-fees-high-volume.d.ts.map +1 -0
  394. package/dist/examples/fees/demo-multi-wallet-fee-generation.d.ts +13 -0
  395. package/dist/examples/fees/demo-multi-wallet-fee-generation.d.ts.map +1 -0
  396. package/dist/examples/fees/trade-and-collect-fees.d.ts +13 -0
  397. package/dist/examples/fees/trade-and-collect-fees.d.ts.map +1 -0
  398. package/dist/examples/galachain/bundler-transactions.d.ts +28 -0
  399. package/dist/examples/galachain/bundler-transactions.d.ts.map +1 -0
  400. package/dist/examples/galachain/galachain-token-resolution.d.ts +28 -0
  401. package/dist/examples/galachain/galachain-token-resolution.d.ts.map +1 -0
  402. package/dist/examples/galachain/galachain-tokens.d.ts +28 -0
  403. package/dist/examples/galachain/galachain-tokens.d.ts.map +1 -0
  404. package/dist/examples/galachain/galachain-transfers.d.ts +25 -0
  405. package/dist/examples/galachain/galachain-transfers.d.ts.map +1 -0
  406. package/dist/examples/global-feed-demo.d.ts +17 -0
  407. package/dist/examples/global-feed-demo.d.ts.map +1 -0
  408. package/dist/examples/global-feed-filtering-demo.d.ts +20 -0
  409. package/dist/examples/global-feed-filtering-demo.d.ts.map +1 -0
  410. package/dist/examples/launchpad/demo-socials.d.ts +16 -0
  411. package/dist/examples/launchpad/demo-socials.d.ts.map +1 -0
  412. package/dist/examples/launchpad/fetch-token-stats.d.ts +18 -0
  413. package/dist/examples/launchpad/fetch-token-stats.d.ts.map +1 -0
  414. package/dist/examples/launchpad/update-token-config.d.ts +17 -0
  415. package/dist/examples/launchpad/update-token-config.d.ts.map +1 -0
  416. package/dist/examples/liquidity/apr-calculator.d.ts +18 -0
  417. package/dist/examples/liquidity/apr-calculator.d.ts.map +1 -0
  418. package/dist/examples/liquidity/demo-bundler-operations.d.ts +15 -0
  419. package/dist/examples/liquidity/demo-bundler-operations.d.ts.map +1 -0
  420. package/dist/examples/liquidity/demo-fetch-all-positions.d.ts +2 -0
  421. package/dist/examples/liquidity/demo-fetch-all-positions.d.ts.map +1 -0
  422. package/dist/examples/liquidity/demo-position-direct.d.ts +14 -0
  423. package/dist/examples/liquidity/demo-position-direct.d.ts.map +1 -0
  424. package/dist/examples/liquidity/demo-positions-with-chunked-pricing.d.ts +26 -0
  425. package/dist/examples/liquidity/demo-positions-with-chunked-pricing.d.ts.map +1 -0
  426. package/dist/examples/liquidity/demo-roundtrip-remove.d.ts +21 -0
  427. package/dist/examples/liquidity/demo-roundtrip-remove.d.ts.map +1 -0
  428. package/dist/examples/liquidity/detailed.d.ts +21 -0
  429. package/dist/examples/liquidity/detailed.d.ts.map +1 -0
  430. package/dist/examples/liquidity/errors.d.ts +18 -0
  431. package/dist/examples/liquidity/errors.d.ts.map +1 -0
  432. package/dist/examples/liquidity/fee-collection.d.ts +22 -0
  433. package/dist/examples/liquidity/fee-collection.d.ts.map +1 -0
  434. package/dist/examples/liquidity/liquidity-position-details.d.ts +21 -0
  435. package/dist/examples/liquidity/liquidity-position-details.d.ts.map +1 -0
  436. package/dist/examples/liquidity/liquidity-removal-estimation.d.ts +19 -0
  437. package/dist/examples/liquidity/liquidity-removal-estimation.d.ts.map +1 -0
  438. package/dist/examples/liquidity/multi-position.d.ts +22 -0
  439. package/dist/examples/liquidity/multi-position.d.ts.map +1 -0
  440. package/dist/examples/liquidity/positions-cli.d.ts +41 -0
  441. package/dist/examples/liquidity/positions-cli.d.ts.map +1 -0
  442. package/dist/examples/liquidity/ticks.d.ts +18 -0
  443. package/dist/examples/liquidity/ticks.d.ts.map +1 -0
  444. package/dist/examples/locks/burn-tokens.d.ts +25 -0
  445. package/dist/examples/locks/burn-tokens.d.ts.map +1 -0
  446. package/dist/examples/locks/lock-unlock-workflow.d.ts +20 -0
  447. package/dist/examples/locks/lock-unlock-workflow.d.ts.map +1 -0
  448. package/dist/examples/messages/messages-lifecycle.d.ts +37 -0
  449. package/dist/examples/messages/messages-lifecycle.d.ts.map +1 -0
  450. package/dist/examples/messages/messages-pinning.d.ts +37 -0
  451. package/dist/examples/messages/messages-pinning.d.ts.map +1 -0
  452. package/dist/examples/moderators/claim-invite.d.ts +28 -0
  453. package/dist/examples/moderators/claim-invite.d.ts.map +1 -0
  454. package/dist/examples/moderators/invite-management.d.ts +30 -0
  455. package/dist/examples/moderators/invite-management.d.ts.map +1 -0
  456. package/dist/examples/moderators/moderated-tokens-portfolio.d.ts +18 -0
  457. package/dist/examples/moderators/moderated-tokens-portfolio.d.ts.map +1 -0
  458. package/dist/examples/monitoring/demo-stream-events.d.ts +17 -0
  459. package/dist/examples/monitoring/demo-stream-events.d.ts.map +1 -0
  460. package/dist/examples/monitoring/demo-watch-pools.d.ts +18 -0
  461. package/dist/examples/monitoring/demo-watch-pools.d.ts.map +1 -0
  462. package/dist/examples/monitoring/demo-watch-tokens.d.ts +18 -0
  463. package/dist/examples/monitoring/demo-watch-tokens.d.ts.map +1 -0
  464. package/dist/examples/monitoring/fees-collection-e2e.d.ts +36 -0
  465. package/dist/examples/monitoring/fees-collection-e2e.d.ts.map +1 -0
  466. package/dist/examples/monitoring/fees-collection-guaranteed.d.ts +49 -0
  467. package/dist/examples/monitoring/fees-collection-guaranteed.d.ts.map +1 -0
  468. package/dist/examples/monitoring/liquidity-e2e-test.d.ts +15 -0
  469. package/dist/examples/monitoring/liquidity-e2e-test.d.ts.map +1 -0
  470. package/dist/examples/monitoring/liquidity-monitor.d.ts +17 -0
  471. package/dist/examples/monitoring/liquidity-monitor.d.ts.map +1 -0
  472. package/dist/examples/monitoring/pool-creation-integration.d.ts +27 -0
  473. package/dist/examples/monitoring/pool-creation-integration.d.ts.map +1 -0
  474. package/dist/examples/monitoring/pool-liquidity-tracker.d.ts +15 -0
  475. package/dist/examples/monitoring/pool-liquidity-tracker.d.ts.map +1 -0
  476. package/dist/examples/monitoring/subscribe-liquidity-added.d.ts +30 -0
  477. package/dist/examples/monitoring/subscribe-liquidity-added.d.ts.map +1 -0
  478. package/dist/examples/monitoring/subscribe-liquidity-removed.d.ts +30 -0
  479. package/dist/examples/monitoring/subscribe-liquidity-removed.d.ts.map +1 -0
  480. package/dist/examples/monitoring/subscribe-pool-creations.d.ts +29 -0
  481. package/dist/examples/monitoring/subscribe-pool-creations.d.ts.map +1 -0
  482. package/dist/examples/monitoring/subscribe-token-creations.d.ts +21 -0
  483. package/dist/examples/monitoring/subscribe-token-creations.d.ts.map +1 -0
  484. package/dist/examples/monitoring/token-creation-integration.d.ts +32 -0
  485. package/dist/examples/monitoring/token-creation-integration.d.ts.map +1 -0
  486. package/dist/examples/monitoring/websocket-event-handlers.d.ts +22 -0
  487. package/dist/examples/monitoring/websocket-event-handlers.d.ts.map +1 -0
  488. package/dist/examples/nft/demo-collection-management.d.ts +13 -0
  489. package/dist/examples/nft/demo-collection-management.d.ts.map +1 -0
  490. package/dist/examples/nft/demo-fee-calculations.d.ts +14 -0
  491. package/dist/examples/nft/demo-fee-calculations.d.ts.map +1 -0
  492. package/dist/examples/nft/demo-minting.d.ts +13 -0
  493. package/dist/examples/nft/demo-minting.d.ts.map +1 -0
  494. package/dist/examples/nft/demo-portfolio-query.d.ts +14 -0
  495. package/dist/examples/nft/demo-portfolio-query.d.ts.map +1 -0
  496. package/dist/examples/nft/nft-collection-lifecycle.d.ts +22 -0
  497. package/dist/examples/nft/nft-collection-lifecycle.d.ts.map +1 -0
  498. package/dist/examples/nft/nft-data-queries.d.ts +22 -0
  499. package/dist/examples/nft/nft-data-queries.d.ts.map +1 -0
  500. package/dist/examples/nft/nft-fee-estimation.d.ts +23 -0
  501. package/dist/examples/nft/nft-fee-estimation.d.ts.map +1 -0
  502. package/dist/examples/nft/nft-token-creation.d.ts +22 -0
  503. package/dist/examples/nft/nft-token-creation.d.ts.map +1 -0
  504. package/dist/examples/nft/nft-utilities.d.ts +23 -0
  505. package/dist/examples/nft/nft-utilities.d.ts.map +1 -0
  506. package/dist/examples/orchestrator-master.d.ts +22 -0
  507. package/dist/examples/orchestrator-master.d.ts.map +1 -0
  508. package/dist/examples/orchestrator-tasks.d.ts +38 -0
  509. package/dist/examples/orchestrator-tasks.d.ts.map +1 -0
  510. package/dist/examples/overseers/claim-invite.d.ts +31 -0
  511. package/dist/examples/overseers/claim-invite.d.ts.map +1 -0
  512. package/dist/examples/overseers/demo-list-users.d.ts +19 -0
  513. package/dist/examples/overseers/demo-list-users.d.ts.map +1 -0
  514. package/dist/examples/overseers/direct-promotion.d.ts +39 -0
  515. package/dist/examples/overseers/direct-promotion.d.ts.map +1 -0
  516. package/dist/examples/overseers/invite-management.d.ts +38 -0
  517. package/dist/examples/overseers/invite-management.d.ts.map +1 -0
  518. package/dist/examples/overseers/restricted-names-management.d.ts +27 -0
  519. package/dist/examples/overseers/restricted-names-management.d.ts.map +1 -0
  520. package/dist/examples/performance/caching-strategies-advanced.d.ts +28 -0
  521. package/dist/examples/performance/caching-strategies-advanced.d.ts.map +1 -0
  522. package/dist/examples/performance/performance-optimization-patterns.d.ts +28 -0
  523. package/dist/examples/performance/performance-optimization-patterns.d.ts.map +1 -0
  524. package/dist/examples/persistence/data-backup-recovery.d.ts +119 -0
  525. package/dist/examples/persistence/data-backup-recovery.d.ts.map +1 -0
  526. package/dist/examples/persistence/local-storage-patterns.d.ts +86 -0
  527. package/dist/examples/persistence/local-storage-patterns.d.ts.map +1 -0
  528. package/dist/examples/queries/advanced-sorting.d.ts +28 -0
  529. package/dist/examples/queries/advanced-sorting.d.ts.map +1 -0
  530. package/dist/examples/queries/complex-filtering.d.ts +27 -0
  531. package/dist/examples/queries/complex-filtering.d.ts.map +1 -0
  532. package/dist/examples/security/security-audit-trail.d.ts +42 -0
  533. package/dist/examples/security/security-audit-trail.d.ts.map +1 -0
  534. package/dist/examples/security/security-content-moderation-advanced.d.ts +42 -0
  535. package/dist/examples/security/security-content-moderation-advanced.d.ts.map +1 -0
  536. package/dist/examples/security/security-token-safety-checks.d.ts +41 -0
  537. package/dist/examples/security/security-token-safety-checks.d.ts.map +1 -0
  538. package/dist/examples/security/security-user-restrictions-advanced.d.ts +42 -0
  539. package/dist/examples/security/security-user-restrictions-advanced.d.ts.map +1 -0
  540. package/dist/examples/site-config-demo.d.ts +20 -0
  541. package/dist/examples/site-config-demo.d.ts.map +1 -0
  542. package/dist/examples/streaming/admin-controls.d.ts +30 -0
  543. package/dist/examples/streaming/admin-controls.d.ts.map +1 -0
  544. package/dist/examples/streaming/advanced-stream-demo.d.ts +28 -0
  545. package/dist/examples/streaming/advanced-stream-demo.d.ts.map +1 -0
  546. package/dist/examples/streaming/basic-stream.d.ts +17 -0
  547. package/dist/examples/streaming/basic-stream.d.ts.map +1 -0
  548. package/dist/examples/streaming/demo-countdown.d.ts +16 -0
  549. package/dist/examples/streaming/demo-countdown.d.ts.map +1 -0
  550. package/dist/examples/streaming/demo-get-stream-credentials.d.ts +29 -0
  551. package/dist/examples/streaming/demo-get-stream-credentials.d.ts.map +1 -0
  552. package/dist/examples/streaming/demo-platform-config.d.ts +20 -0
  553. package/dist/examples/streaming/demo-platform-config.d.ts.map +1 -0
  554. package/dist/examples/streaming/engagement-stats.d.ts +25 -0
  555. package/dist/examples/streaming/engagement-stats.d.ts.map +1 -0
  556. package/dist/examples/streaming/recordings.d.ts +16 -0
  557. package/dist/examples/streaming/recordings.d.ts.map +1 -0
  558. package/dist/examples/streaming/simulcast.d.ts +19 -0
  559. package/dist/examples/streaming/simulcast.d.ts.map +1 -0
  560. package/dist/examples/streaming/stream-access-control.d.ts +30 -0
  561. package/dist/examples/streaming/stream-access-control.d.ts.map +1 -0
  562. package/dist/examples/streaming/stream-control.d.ts +25 -0
  563. package/dist/examples/streaming/stream-control.d.ts.map +1 -0
  564. package/dist/examples/streaming/stream-countdown.d.ts +31 -0
  565. package/dist/examples/streaming/stream-countdown.d.ts.map +1 -0
  566. package/dist/examples/streaming/stream-enable-disable.d.ts +31 -0
  567. package/dist/examples/streaming/stream-enable-disable.d.ts.map +1 -0
  568. package/dist/examples/streaming/stream-key-management.d.ts +21 -0
  569. package/dist/examples/streaming/stream-key-management.d.ts.map +1 -0
  570. package/dist/examples/streaming/stream-recording-management.d.ts +29 -0
  571. package/dist/examples/streaming/stream-recording-management.d.ts.map +1 -0
  572. package/dist/examples/streaming/stream-simulcast-multi-platform.d.ts +38 -0
  573. package/dist/examples/streaming/stream-simulcast-multi-platform.d.ts.map +1 -0
  574. package/dist/examples/streaming/stream-viewer-analytics.d.ts +43 -0
  575. package/dist/examples/streaming/stream-viewer-analytics.d.ts.map +1 -0
  576. package/dist/examples/streaming/streaming-lifecycle.d.ts +26 -0
  577. package/dist/examples/streaming/streaming-lifecycle.d.ts.map +1 -0
  578. package/dist/examples/streaming-premium/stream-monetization-setup.d.ts +47 -0
  579. package/dist/examples/streaming-premium/stream-monetization-setup.d.ts.map +1 -0
  580. package/dist/examples/streaming-premium/stream-revenue-analytics.d.ts +56 -0
  581. package/dist/examples/streaming-premium/stream-revenue-analytics.d.ts.map +1 -0
  582. package/dist/examples/streaming-premium/stream-vip-management.d.ts +56 -0
  583. package/dist/examples/streaming-premium/stream-vip-management.d.ts.map +1 -0
  584. package/dist/examples/swap-monitoring/arbitrage-monitor.d.ts +20 -0
  585. package/dist/examples/swap-monitoring/arbitrage-monitor.d.ts.map +1 -0
  586. package/dist/examples/swap-monitoring/e2e-trading-demo.d.ts +50 -0
  587. package/dist/examples/swap-monitoring/e2e-trading-demo.d.ts.map +1 -0
  588. package/dist/examples/swap-monitoring/health-monitor.d.ts +10 -0
  589. package/dist/examples/swap-monitoring/health-monitor.d.ts.map +1 -0
  590. package/dist/examples/swap-monitoring/volume-monitor.d.ts +20 -0
  591. package/dist/examples/swap-monitoring/volume-monitor.d.ts.map +1 -0
  592. package/dist/examples/testing/demo-test-runner.d.ts +33 -0
  593. package/dist/examples/testing/demo-test-runner.d.ts.map +1 -0
  594. package/dist/examples/testing/error-classifier.d.ts +23 -0
  595. package/dist/examples/testing/error-classifier.d.ts.map +1 -0
  596. package/dist/examples/testing/index.d.ts +14 -0
  597. package/dist/examples/testing/index.d.ts.map +1 -0
  598. package/dist/examples/testing/memory-manager.d.ts +31 -0
  599. package/dist/examples/testing/memory-manager.d.ts.map +1 -0
  600. package/dist/examples/testing/report-generator.d.ts +31 -0
  601. package/dist/examples/testing/report-generator.d.ts.map +1 -0
  602. package/dist/examples/testing/test-result-types.d.ts +158 -0
  603. package/dist/examples/testing/test-result-types.d.ts.map +1 -0
  604. package/dist/examples/token-bans/token-ban-management.d.ts +32 -0
  605. package/dist/examples/token-bans/token-ban-management.d.ts.map +1 -0
  606. package/dist/examples/token-creation/token-launch-complete.d.ts +20 -0
  607. package/dist/examples/token-creation/token-launch-complete.d.ts.map +1 -0
  608. package/dist/examples/token-creation/token-validation-comprehensive.d.ts +22 -0
  609. package/dist/examples/token-creation/token-validation-comprehensive.d.ts.map +1 -0
  610. package/dist/examples/token-info/token-name-resolution.d.ts +30 -0
  611. package/dist/examples/token-info/token-name-resolution.d.ts.map +1 -0
  612. package/dist/examples/token-info/token-operations-comprehensive.d.ts +22 -0
  613. package/dist/examples/token-info/token-operations-comprehensive.d.ts.map +1 -0
  614. package/dist/examples/token-metadata/token-description-versioning.d.ts +33 -0
  615. package/dist/examples/token-metadata/token-description-versioning.d.ts.map +1 -0
  616. package/dist/examples/token-metadata/token-image-management.d.ts +34 -0
  617. package/dist/examples/token-metadata/token-image-management.d.ts.map +1 -0
  618. package/dist/examples/token-metadata/token-social-links-management.d.ts +34 -0
  619. package/dist/examples/token-metadata/token-social-links-management.d.ts.map +1 -0
  620. package/dist/examples/trading/buy-sell-aliases.d.ts +20 -0
  621. package/dist/examples/trading/buy-sell-aliases.d.ts.map +1 -0
  622. package/dist/examples/trading/volume-data-demo.d.ts +20 -0
  623. package/dist/examples/trading/volume-data-demo.d.ts.map +1 -0
  624. package/dist/examples/trading-advanced/dollar-cost-averaging.d.ts +35 -0
  625. package/dist/examples/trading-advanced/dollar-cost-averaging.d.ts.map +1 -0
  626. package/dist/examples/trading-advanced/limit-orders-advanced.d.ts +34 -0
  627. package/dist/examples/trading-advanced/limit-orders-advanced.d.ts.map +1 -0
  628. package/dist/examples/trading-advanced/stop-loss-orders.d.ts +34 -0
  629. package/dist/examples/trading-advanced/stop-loss-orders.d.ts.map +1 -0
  630. package/dist/examples/trading-advanced/trading-history-analysis.d.ts +35 -0
  631. package/dist/examples/trading-advanced/trading-history-analysis.d.ts.map +1 -0
  632. package/dist/examples/users/balance-queries.d.ts +28 -0
  633. package/dist/examples/users/balance-queries.d.ts.map +1 -0
  634. package/dist/examples/users/fetch-user-balances.d.ts +19 -0
  635. package/dist/examples/users/fetch-user-balances.d.ts.map +1 -0
  636. package/dist/examples/users/fetch-user-report.d.ts +21 -0
  637. package/dist/examples/users/fetch-user-report.d.ts.map +1 -0
  638. package/dist/examples/users/profile-images.d.ts +24 -0
  639. package/dist/examples/users/profile-images.d.ts.map +1 -0
  640. package/dist/examples/users/profile-management.d.ts +22 -0
  641. package/dist/examples/users/profile-management.d.ts.map +1 -0
  642. package/dist/examples/users/referrals-comprehensive.d.ts +26 -0
  643. package/dist/examples/users/referrals-comprehensive.d.ts.map +1 -0
  644. package/dist/examples/users/wallet-balances-external.d.ts +28 -0
  645. package/dist/examples/users/wallet-balances-external.d.ts.map +1 -0
  646. package/dist/examples/utilities/account.d.ts +19 -0
  647. package/dist/examples/utilities/account.d.ts.map +1 -0
  648. package/dist/examples/utilities/balance.d.ts +5 -0
  649. package/dist/examples/utilities/balance.d.ts.map +1 -0
  650. package/dist/examples/utilities/balances.d.ts +7 -0
  651. package/dist/examples/utilities/balances.d.ts.map +1 -0
  652. package/dist/examples/utilities/demo-cache.d.ts +13 -0
  653. package/dist/examples/utilities/demo-cache.d.ts.map +1 -0
  654. package/dist/examples/utilities/demo-token-supply.d.ts +14 -0
  655. package/dist/examples/utilities/demo-token-supply.d.ts.map +1 -0
  656. package/dist/examples/utilities/key-derivation.d.ts +12 -0
  657. package/dist/examples/utilities/key-derivation.d.ts.map +1 -0
  658. package/dist/examples/utilities/multi-token-portfolio.d.ts +18 -0
  659. package/dist/examples/utilities/multi-token-portfolio.d.ts.map +1 -0
  660. package/dist/examples/utilities/pool-discovery-advanced.d.ts +36 -0
  661. package/dist/examples/utilities/pool-discovery-advanced.d.ts.map +1 -0
  662. package/dist/examples/utilities/pool-pair-analysis.d.ts +37 -0
  663. package/dist/examples/utilities/pool-pair-analysis.d.ts.map +1 -0
  664. package/dist/examples/utilities/price-history.d.ts +22 -0
  665. package/dist/examples/utilities/price-history.d.ts.map +1 -0
  666. package/dist/examples/utilities/referrals.d.ts +21 -0
  667. package/dist/examples/utilities/referrals.d.ts.map +1 -0
  668. package/dist/examples/utilities/token-classification.d.ts +38 -0
  669. package/dist/examples/utilities/token-classification.d.ts.map +1 -0
  670. package/dist/examples/utilities/token-discovery.d.ts +26 -0
  671. package/dist/examples/utilities/token-discovery.d.ts.map +1 -0
  672. package/dist/examples/utilities/token-metadata-advanced.d.ts +37 -0
  673. package/dist/examples/utilities/token-metadata-advanced.d.ts.map +1 -0
  674. package/dist/examples/utilities/token-validation-complete.d.ts +41 -0
  675. package/dist/examples/utilities/token-validation-complete.d.ts.map +1 -0
  676. package/dist/examples/utilities/trade-history.d.ts +19 -0
  677. package/dist/examples/utilities/trade-history.d.ts.map +1 -0
  678. package/dist/examples/utilities/transfers.d.ts +29 -0
  679. package/dist/examples/utilities/transfers.d.ts.map +1 -0
  680. package/dist/examples/utilities/validation-and-error-handling.d.ts +27 -0
  681. package/dist/examples/utilities/validation-and-error-handling.d.ts.map +1 -0
  682. package/dist/examples/utilities/wrappable-tokens.d.ts +27 -0
  683. package/dist/examples/utilities/wrappable-tokens.d.ts.map +1 -0
  684. package/dist/examples/utility/auth-utilities.d.ts +30 -0
  685. package/dist/examples/utility/auth-utilities.d.ts.map +1 -0
  686. package/dist/examples/utility/pool-utilities.d.ts +29 -0
  687. package/dist/examples/utility/pool-utilities.d.ts.map +1 -0
  688. package/dist/examples/utility/sdk-configuration.d.ts +29 -0
  689. package/dist/examples/utility/sdk-configuration.d.ts.map +1 -0
  690. package/dist/examples/utility/wallet-management-advanced.d.ts +32 -0
  691. package/dist/examples/utility/wallet-management-advanced.d.ts.map +1 -0
  692. package/dist/examples/utils/auth-bootstrap.d.ts +123 -0
  693. package/dist/examples/utils/auth-bootstrap.d.ts.map +1 -0
  694. package/dist/examples/utils/balance-checking.d.ts +158 -0
  695. package/dist/examples/utils/balance-checking.d.ts.map +1 -0
  696. package/dist/examples/utils/bridge-formatters.d.ts +188 -0
  697. package/dist/examples/utils/bridge-formatters.d.ts.map +1 -0
  698. package/dist/examples/utils/bridge-setup.d.ts +235 -0
  699. package/dist/examples/utils/bridge-setup.d.ts.map +1 -0
  700. package/dist/examples/utils/bridge-transaction-logger.d.ts +42 -0
  701. package/dist/examples/utils/bridge-transaction-logger.d.ts.map +1 -0
  702. package/dist/examples/utils/cli-input.d.ts +41 -0
  703. package/dist/examples/utils/cli-input.d.ts.map +1 -0
  704. package/dist/examples/utils/demo-config.d.ts +155 -0
  705. package/dist/examples/utils/demo-config.d.ts.map +1 -0
  706. package/dist/examples/utils/demo-registry.d.ts +155 -0
  707. package/dist/examples/utils/demo-registry.d.ts.map +1 -0
  708. package/dist/examples/utils/error-handler.d.ts +85 -0
  709. package/dist/examples/utils/error-handler.d.ts.map +1 -0
  710. package/dist/examples/utils/formatting.d.ts +195 -0
  711. package/dist/examples/utils/formatting.d.ts.map +1 -0
  712. package/dist/examples/utils/get-environment.d.ts +17 -0
  713. package/dist/examples/utils/get-environment.d.ts.map +1 -0
  714. package/dist/examples/utils/index.d.ts +44 -0
  715. package/dist/examples/utils/index.d.ts.map +1 -0
  716. package/dist/examples/utils/indexing.d.ts +48 -0
  717. package/dist/examples/utils/indexing.d.ts.map +1 -0
  718. package/dist/examples/utils/load-env.d.ts +90 -0
  719. package/dist/examples/utils/load-env.d.ts.map +1 -0
  720. package/dist/examples/utils/pool-helpers.d.ts +226 -0
  721. package/dist/examples/utils/pool-helpers.d.ts.map +1 -0
  722. package/dist/examples/utils/punchlist.d.ts +104 -0
  723. package/dist/examples/utils/punchlist.d.ts.map +1 -0
  724. package/dist/examples/utils/sdk-setup.d.ts +423 -0
  725. package/dist/examples/utils/sdk-setup.d.ts.map +1 -0
  726. package/dist/examples/utils/suppress-logging.d.ts +11 -0
  727. package/dist/examples/utils/suppress-logging.d.ts.map +1 -0
  728. package/dist/examples/utils/token-naming.d.ts +117 -0
  729. package/dist/examples/utils/token-naming.d.ts.map +1 -0
  730. package/dist/examples/utils/trade-helpers.d.ts +195 -0
  731. package/dist/examples/utils/trade-helpers.d.ts.map +1 -0
  732. package/dist/examples/utils/transaction-helpers.d.ts +92 -0
  733. package/dist/examples/utils/transaction-helpers.d.ts.map +1 -0
  734. package/dist/examples/wallet/wallet-initialization-complete.d.ts +31 -0
  735. package/dist/examples/wallet/wallet-initialization-complete.d.ts.map +1 -0
  736. package/dist/examples/wallet/wallet-key-rotation.d.ts +28 -0
  737. package/dist/examples/wallet/wallet-key-rotation.d.ts.map +1 -0
  738. package/dist/examples/wallet/wallet-recovery-patterns.d.ts +29 -0
  739. package/dist/examples/wallet/wallet-recovery-patterns.d.ts.map +1 -0
  740. package/dist/examples/wallet/wallet-signature-operations.d.ts +28 -0
  741. package/dist/examples/wallet/wallet-signature-operations.d.ts.map +1 -0
  742. package/dist/examples/wallet-tracking/wallet-balance-monitoring.d.ts +21 -0
  743. package/dist/examples/wallet-tracking/wallet-balance-monitoring.d.ts.map +1 -0
  744. package/dist/examples/wallet-tracking/wallet-portfolio-alerts.d.ts +21 -0
  745. package/dist/examples/wallet-tracking/wallet-portfolio-alerts.d.ts.map +1 -0
  746. package/dist/examples/wallet-tracking/wallet-transaction-tracking.d.ts +21 -0
  747. package/dist/examples/wallet-tracking/wallet-transaction-tracking.d.ts.map +1 -0
  748. package/dist/examples/websocket/websocket-chat-advanced.d.ts +26 -0
  749. package/dist/examples/websocket/websocket-chat-advanced.d.ts.map +1 -0
  750. package/dist/examples/websocket/websocket-chat-events-detailed.d.ts +28 -0
  751. package/dist/examples/websocket/websocket-chat-events-detailed.d.ts.map +1 -0
  752. package/dist/examples/websocket/websocket-chat-events.d.ts +26 -0
  753. package/dist/examples/websocket/websocket-chat-events.d.ts.map +1 -0
  754. package/dist/examples/websocket/websocket-combined-events.d.ts +28 -0
  755. package/dist/examples/websocket/websocket-combined-events.d.ts.map +1 -0
  756. package/dist/examples/websocket/websocket-comprehensive.d.ts +25 -0
  757. package/dist/examples/websocket/websocket-comprehensive.d.ts.map +1 -0
  758. package/dist/examples/websocket/websocket-connected-clients.d.ts +30 -0
  759. package/dist/examples/websocket/websocket-connected-clients.d.ts.map +1 -0
  760. package/dist/examples/websocket/websocket-connection-management.d.ts +28 -0
  761. package/dist/examples/websocket/websocket-connection-management.d.ts.map +1 -0
  762. package/dist/examples/websocket/websocket-content-events.d.ts +28 -0
  763. package/dist/examples/websocket/websocket-content-events.d.ts.map +1 -0
  764. package/dist/examples/websocket/websocket-core-events.d.ts +27 -0
  765. package/dist/examples/websocket/websocket-core-events.d.ts.map +1 -0
  766. package/dist/examples/websocket/websocket-dex-events.d.ts +40 -0
  767. package/dist/examples/websocket/websocket-dex-events.d.ts.map +1 -0
  768. package/dist/examples/websocket/websocket-dex-pools.d.ts +23 -0
  769. package/dist/examples/websocket/websocket-dex-pools.d.ts.map +1 -0
  770. package/dist/examples/websocket/websocket-download-recording.d.ts +26 -0
  771. package/dist/examples/websocket/websocket-download-recording.d.ts.map +1 -0
  772. package/dist/examples/websocket/websocket-interactions.d.ts +25 -0
  773. package/dist/examples/websocket/websocket-interactions.d.ts.map +1 -0
  774. package/dist/examples/websocket/websocket-moderation-events.d.ts +26 -0
  775. package/dist/examples/websocket/websocket-moderation-events.d.ts.map +1 -0
  776. package/dist/examples/websocket/websocket-recording-events.d.ts +24 -0
  777. package/dist/examples/websocket/websocket-recording-events.d.ts.map +1 -0
  778. package/dist/examples/websocket/websocket-room-events.d.ts +27 -0
  779. package/dist/examples/websocket/websocket-room-events.d.ts.map +1 -0
  780. package/dist/examples/websocket/websocket-room-management.d.ts +27 -0
  781. package/dist/examples/websocket/websocket-room-management.d.ts.map +1 -0
  782. package/dist/examples/websocket/websocket-simulcast-events.d.ts +26 -0
  783. package/dist/examples/websocket/websocket-simulcast-events.d.ts.map +1 -0
  784. package/dist/examples/websocket/websocket-stream-auth.d.ts +23 -0
  785. package/dist/examples/websocket/websocket-stream-auth.d.ts.map +1 -0
  786. package/dist/examples/websocket/websocket-stream-countdown.d.ts +38 -0
  787. package/dist/examples/websocket/websocket-stream-countdown.d.ts.map +1 -0
  788. package/dist/examples/websocket/websocket-stream-events.d.ts +26 -0
  789. package/dist/examples/websocket/websocket-stream-events.d.ts.map +1 -0
  790. package/dist/examples/websocket/websocket-stream-status.d.ts +39 -0
  791. package/dist/examples/websocket/websocket-stream-status.d.ts.map +1 -0
  792. package/dist/examples/websocket/websocket-subscription-management.d.ts +27 -0
  793. package/dist/examples/websocket/websocket-subscription-management.d.ts.map +1 -0
  794. package/dist/examples/websocket/websocket-token-creation-events.d.ts +22 -0
  795. package/dist/examples/websocket/websocket-token-creation-events.d.ts.map +1 -0
  796. package/dist/examples/websocket/websocket-token-events.d.ts +24 -0
  797. package/dist/examples/websocket/websocket-token-events.d.ts.map +1 -0
  798. package/dist/examples/websocket/websocket-token-subscription.d.ts +26 -0
  799. package/dist/examples/websocket/websocket-token-subscription.d.ts.map +1 -0
  800. package/dist/examples/websocket/websocket-token-viewers.d.ts +29 -0
  801. package/dist/examples/websocket/websocket-token-viewers.d.ts.map +1 -0
  802. package/dist/examples/websocket/websocket-unsubscribe.d.ts +25 -0
  803. package/dist/examples/websocket/websocket-unsubscribe.d.ts.map +1 -0
  804. package/dist/examples/websocket/websocket-user-events.d.ts +40 -0
  805. package/dist/examples/websocket/websocket-user-events.d.ts.map +1 -0
  806. package/dist/examples/websocket/websocket-user-presence.d.ts +29 -0
  807. package/dist/examples/websocket/websocket-user-presence.d.ts.map +1 -0
  808. package/dist/examples/websocket/websocket-viewer-analytics.d.ts +38 -0
  809. package/dist/examples/websocket/websocket-viewer-analytics.d.ts.map +1 -0
  810. package/dist/examples/wrap/wrap-status-tracking.d.ts +19 -0
  811. package/dist/examples/wrap/wrap-status-tracking.d.ts.map +1 -0
  812. package/dist/examples/wrap/wrap-token-discovery.d.ts +20 -0
  813. package/dist/examples/wrap/wrap-token-discovery.d.ts.map +1 -0
  814. package/dist/helpers/sdk.d.ts +87 -0
  815. package/dist/helpers/sdk.d.ts.map +1 -0
  816. package/dist/helpers/wallet.d.ts +151 -0
  817. package/dist/helpers/wallet.d.ts.map +1 -0
  818. package/dist/index.browser.d.ts +149 -0
  819. package/dist/index.browser.d.ts.map +1 -0
  820. package/dist/index.browser.esm.js +1 -0
  821. package/dist/index.cjs +1 -0
  822. package/dist/index.d.ts +6 -115
  823. package/dist/index.d.ts.map +1 -1
  824. package/dist/index.esm.js +1 -1
  825. package/dist/index.js +1 -1
  826. package/dist/index.node.d.ts +13 -0
  827. package/dist/index.node.d.ts.map +1 -0
  828. package/dist/native.cjs +1 -0
  829. package/dist/native.d.ts +22 -0
  830. package/dist/native.d.ts.map +1 -0
  831. package/dist/native.esm.js +1 -0
  832. package/dist/polyfills/file-global.d.ts +12 -0
  833. package/dist/polyfills/file-global.d.ts.map +1 -0
  834. package/dist/react/WalletContext.d.ts +60 -0
  835. package/dist/react/WalletContext.d.ts.map +1 -0
  836. package/dist/react/index.d.ts +65 -0
  837. package/dist/react/index.d.ts.map +1 -0
  838. package/dist/react/types.d.ts +76 -0
  839. package/dist/react/types.d.ts.map +1 -0
  840. package/dist/react/useWallet.d.ts +123 -0
  841. package/dist/react/useWallet.d.ts.map +1 -0
  842. package/dist/react/useWalletConnection.d.ts +89 -0
  843. package/dist/react/useWalletConnection.d.ts.map +1 -0
  844. package/dist/react/useWalletDetection.d.ts +81 -0
  845. package/dist/react/useWalletDetection.d.ts.map +1 -0
  846. package/dist/react.cjs +1 -0
  847. package/dist/react.esm.js +1 -0
  848. package/dist/schemas/files.d.ts +83 -0
  849. package/dist/schemas/files.d.ts.map +1 -0
  850. package/dist/schemas/index.d.ts +83 -0
  851. package/dist/schemas/index.d.ts.map +1 -0
  852. package/dist/schemas/launchpad.d.ts +135 -0
  853. package/dist/schemas/launchpad.d.ts.map +1 -0
  854. package/dist/schemas/pagination.d.ts +107 -0
  855. package/dist/schemas/pagination.d.ts.map +1 -0
  856. package/dist/schemas/primitives.d.ts +142 -0
  857. package/dist/schemas/primitives.d.ts.map +1 -0
  858. package/dist/schemas/trade.d.ts +140 -0
  859. package/dist/schemas/trade.d.ts.map +1 -0
  860. package/dist/schemas/user.d.ts +99 -0
  861. package/dist/schemas/user.d.ts.map +1 -0
  862. package/dist/schemas/validators.d.ts +332 -0
  863. package/dist/schemas/validators.d.ts.map +1 -0
  864. package/dist/scripts/derive-public-key-from-private-key.d.ts +8 -0
  865. package/dist/scripts/derive-public-key-from-private-key.d.ts.map +1 -0
  866. package/dist/scripts/eslint-fixer.d.ts +7 -0
  867. package/dist/scripts/eslint-fixer.d.ts.map +1 -0
  868. package/dist/scripts/final-fixer.d.ts +7 -0
  869. package/dist/scripts/final-fixer.d.ts.map +1 -0
  870. package/dist/scripts/fix-all-remaining-boolean.d.ts +7 -0
  871. package/dist/scripts/fix-all-remaining-boolean.d.ts.map +1 -0
  872. package/dist/scripts/fix-boolean-expressions-advanced.d.ts +7 -0
  873. package/dist/scripts/fix-boolean-expressions-advanced.d.ts.map +1 -0
  874. package/dist/scripts/fix-boolean-expressions-ast.d.ts +9 -0
  875. package/dist/scripts/fix-boolean-expressions-ast.d.ts.map +1 -0
  876. package/dist/scripts/fix-boolean-expressions-auto.d.ts +7 -0
  877. package/dist/scripts/fix-boolean-expressions-auto.d.ts.map +1 -0
  878. package/dist/scripts/fix-final-aggressive.d.ts +6 -0
  879. package/dist/scripts/fix-final-aggressive.d.ts.map +1 -0
  880. package/dist/scripts/fix-final-boolean.d.ts +7 -0
  881. package/dist/scripts/fix-final-boolean.d.ts.map +1 -0
  882. package/dist/scripts/fix-remaining-boolean.d.ts +7 -0
  883. package/dist/scripts/fix-remaining-boolean.d.ts.map +1 -0
  884. package/dist/scripts/fix-strict-boolean-comprehensive.d.ts +3 -0
  885. package/dist/scripts/fix-strict-boolean-comprehensive.d.ts.map +1 -0
  886. package/dist/scripts/fix-strict-boolean-expressions.d.ts +2 -0
  887. package/dist/scripts/fix-strict-boolean-expressions.d.ts.map +1 -0
  888. package/dist/scripts/fix-strict-boolean-final.d.ts +13 -0
  889. package/dist/scripts/fix-strict-boolean-final.d.ts.map +1 -0
  890. package/dist/scripts/fixer-aggressive.d.ts +7 -0
  891. package/dist/scripts/fixer-aggressive.d.ts.map +1 -0
  892. package/dist/scripts/fixer-conservative.d.ts +7 -0
  893. package/dist/scripts/fixer-conservative.d.ts.map +1 -0
  894. package/dist/scripts/fixer-direct.d.ts +7 -0
  895. package/dist/scripts/fixer-direct.d.ts.map +1 -0
  896. package/dist/scripts/generate-demo-registry.d.ts +14 -0
  897. package/dist/scripts/generate-demo-registry.d.ts.map +1 -0
  898. package/dist/scripts/inject-version.d.ts +8 -0
  899. package/dist/scripts/inject-version.d.ts.map +1 -0
  900. package/dist/scripts/strict-boolean-fixer.d.ts +9 -0
  901. package/dist/scripts/strict-boolean-fixer.d.ts.map +1 -0
  902. package/dist/scripts/validate-demo-registry.d.ts +17 -0
  903. package/dist/scripts/validate-demo-registry.d.ts.map +1 -0
  904. package/dist/services/AIModerationService.d.ts +217 -0
  905. package/dist/services/AIModerationService.d.ts.map +1 -0
  906. package/dist/services/AbstractCacheService.d.ts +227 -0
  907. package/dist/services/AbstractCacheService.d.ts.map +1 -0
  908. package/dist/services/AbstractTokenFetchService.d.ts +150 -0
  909. package/dist/services/AbstractTokenFetchService.d.ts.map +1 -0
  910. package/dist/services/ApiKeyService.d.ts +211 -0
  911. package/dist/services/ApiKeyService.d.ts.map +1 -0
  912. package/dist/services/BanService.d.ts +312 -0
  913. package/dist/services/BanService.d.ts.map +1 -0
  914. package/dist/services/BaseService.d.ts +116 -0
  915. package/dist/services/BaseService.d.ts.map +1 -0
  916. package/dist/services/BatchedCacheService.d.ts +133 -0
  917. package/dist/services/BatchedCacheService.d.ts.map +1 -0
  918. package/dist/services/BridgeableTokenCache.d.ts +120 -0
  919. package/dist/services/BridgeableTokenCache.d.ts.map +1 -0
  920. package/dist/services/BridgeableTokenService.d.ts +218 -0
  921. package/dist/services/BridgeableTokenService.d.ts.map +1 -0
  922. package/dist/services/BundleService.d.ts +245 -0
  923. package/dist/services/BundleService.d.ts.map +1 -0
  924. package/dist/services/BundlerClientFactory.d.ts +32 -0
  925. package/dist/services/BundlerClientFactory.d.ts.map +1 -0
  926. package/dist/services/ChartService.d.ts +106 -0
  927. package/dist/services/ChartService.d.ts.map +1 -0
  928. package/dist/services/ClientConfigService.d.ts +61 -0
  929. package/dist/services/ClientConfigService.d.ts.map +1 -0
  930. package/dist/services/ContentFlagService.d.ts +218 -0
  931. package/dist/services/ContentFlagService.d.ts.map +1 -0
  932. package/dist/services/ContentReactionService.d.ts +175 -0
  933. package/dist/services/ContentReactionService.d.ts.map +1 -0
  934. package/dist/services/DexBackendClient.d.ts +225 -0
  935. package/dist/services/DexBackendClient.d.ts.map +1 -0
  936. package/dist/services/DexBackendTradeClient.d.ts +34 -0
  937. package/dist/services/DexBackendTradeClient.d.ts.map +1 -0
  938. package/dist/services/DexPoolService.d.ts +137 -0
  939. package/dist/services/DexPoolService.d.ts.map +1 -0
  940. package/dist/services/DexQuoteService.d.ts +446 -0
  941. package/dist/services/DexQuoteService.d.ts.map +1 -0
  942. package/dist/services/DexService.d.ts +433 -0
  943. package/dist/services/DexService.d.ts.map +1 -0
  944. package/dist/services/EventsBatcherService.d.ts +111 -0
  945. package/dist/services/EventsBatcherService.d.ts.map +1 -0
  946. package/dist/services/GSwapAssetService.d.ts +96 -0
  947. package/dist/services/GSwapAssetService.d.ts.map +1 -0
  948. package/dist/services/GSwapLiquidityMutationService.d.ts +138 -0
  949. package/dist/services/GSwapLiquidityMutationService.d.ts.map +1 -0
  950. package/dist/services/GSwapLiquidityQueryService.d.ts +75 -0
  951. package/dist/services/GSwapLiquidityQueryService.d.ts.map +1 -0
  952. package/dist/services/GSwapPoolCalculationService.d.ts +187 -0
  953. package/dist/services/GSwapPoolCalculationService.d.ts.map +1 -0
  954. package/dist/services/GSwapPoolQueryService.d.ts +114 -0
  955. package/dist/services/GSwapPoolQueryService.d.ts.map +1 -0
  956. package/dist/services/GSwapService.d.ts +1207 -0
  957. package/dist/services/GSwapService.d.ts.map +1 -0
  958. package/dist/services/GSwapSwapService.d.ts +66 -0
  959. package/dist/services/GSwapSwapService.d.ts.map +1 -0
  960. package/dist/services/GalaChainBalanceService.d.ts +155 -0
  961. package/dist/services/GalaChainBalanceService.d.ts.map +1 -0
  962. package/dist/services/GalaChainLockService.d.ts +144 -0
  963. package/dist/services/GalaChainLockService.d.ts.map +1 -0
  964. package/dist/services/GalaChainService.d.ts +399 -0
  965. package/dist/services/GalaChainService.d.ts.map +1 -0
  966. package/dist/services/GalaChainTokenService.d.ts +108 -0
  967. package/dist/services/GalaChainTokenService.d.ts.map +1 -0
  968. package/dist/services/GalaChainTransferService.d.ts +205 -0
  969. package/dist/services/GalaChainTransferService.d.ts.map +1 -0
  970. package/dist/services/GdexStreamService.d.ts +133 -0
  971. package/dist/services/GdexStreamService.d.ts.map +1 -0
  972. package/dist/services/HolderService.d.ts +181 -0
  973. package/dist/services/HolderService.d.ts.map +1 -0
  974. package/dist/services/ImageService.d.ts +173 -0
  975. package/dist/services/ImageService.d.ts.map +1 -0
  976. package/dist/services/IntervalRegistry.d.ts +79 -0
  977. package/dist/services/IntervalRegistry.d.ts.map +1 -0
  978. package/dist/services/LaunchpadService.d.ts +343 -0
  979. package/dist/services/LaunchpadService.d.ts.map +1 -0
  980. package/dist/services/MessagesService.d.ts +251 -0
  981. package/dist/services/MessagesService.d.ts.map +1 -0
  982. package/dist/services/ModeratorService.d.ts +311 -0
  983. package/dist/services/ModeratorService.d.ts.map +1 -0
  984. package/dist/services/MultiPoolStateManager.d.ts +289 -0
  985. package/dist/services/MultiPoolStateManager.d.ts.map +1 -0
  986. package/dist/services/NetworkKeyedCacheService.d.ts +185 -0
  987. package/dist/services/NetworkKeyedCacheService.d.ts.map +1 -0
  988. package/dist/services/NftCollectionService.d.ts +121 -0
  989. package/dist/services/NftCollectionService.d.ts.map +1 -0
  990. package/dist/services/NotificationService.d.ts +113 -0
  991. package/dist/services/NotificationService.d.ts.map +1 -0
  992. package/dist/services/OEmbedService.d.ts +152 -0
  993. package/dist/services/OEmbedService.d.ts.map +1 -0
  994. package/dist/services/OverseerService.d.ts +524 -0
  995. package/dist/services/OverseerService.d.ts.map +1 -0
  996. package/dist/services/PlatformConfigService.d.ts +149 -0
  997. package/dist/services/PlatformConfigService.d.ts.map +1 -0
  998. package/dist/services/PlatformStatsService.d.ts +72 -0
  999. package/dist/services/PlatformStatsService.d.ts.map +1 -0
  1000. package/dist/services/PoolCacheManager.d.ts +258 -0
  1001. package/dist/services/PoolCacheManager.d.ts.map +1 -0
  1002. package/dist/services/PoolService.d.ts +316 -0
  1003. package/dist/services/PoolService.d.ts.map +1 -0
  1004. package/dist/services/PoolStateManager.d.ts +176 -0
  1005. package/dist/services/PoolStateManager.d.ts.map +1 -0
  1006. package/dist/services/PriceHistoryService.d.ts +207 -0
  1007. package/dist/services/PriceHistoryService.d.ts.map +1 -0
  1008. package/dist/services/RestrictedNamesService.d.ts +80 -0
  1009. package/dist/services/RestrictedNamesService.d.ts.map +1 -0
  1010. package/dist/services/SignatureService.d.ts +113 -0
  1011. package/dist/services/SignatureService.d.ts.map +1 -0
  1012. package/dist/services/StreamChatService.d.ts +259 -0
  1013. package/dist/services/StreamChatService.d.ts.map +1 -0
  1014. package/dist/services/StreamTokenServiceBase.d.ts +404 -0
  1015. package/dist/services/StreamTokenServiceBase.d.ts.map +1 -0
  1016. package/dist/services/StreamWebSocketService.d.ts +586 -0
  1017. package/dist/services/StreamWebSocketService.d.ts.map +1 -0
  1018. package/dist/services/StreamingEventService.d.ts +441 -0
  1019. package/dist/services/StreamingEventService.d.ts.map +1 -0
  1020. package/dist/services/StreamingService.d.ts +573 -0
  1021. package/dist/services/StreamingService.d.ts.map +1 -0
  1022. package/dist/services/SwapEventQueue.d.ts +192 -0
  1023. package/dist/services/SwapEventQueue.d.ts.map +1 -0
  1024. package/dist/services/TokenBanService.d.ts +217 -0
  1025. package/dist/services/TokenBanService.d.ts.map +1 -0
  1026. package/dist/services/TokenClassKeyService.d.ts +162 -0
  1027. package/dist/services/TokenClassKeyService.d.ts.map +1 -0
  1028. package/dist/services/TokenMetadataCache.d.ts +310 -0
  1029. package/dist/services/TokenMetadataCache.d.ts.map +1 -0
  1030. package/dist/services/TokenMetadataService.d.ts +509 -0
  1031. package/dist/services/TokenMetadataService.d.ts.map +1 -0
  1032. package/dist/services/TokenResolverService.d.ts +329 -0
  1033. package/dist/services/TokenResolverService.d.ts.map +1 -0
  1034. package/dist/services/TradeService.d.ts +286 -0
  1035. package/dist/services/TradeService.d.ts.map +1 -0
  1036. package/dist/services/TradingQuotesService.d.ts +162 -0
  1037. package/dist/services/TradingQuotesService.d.ts.map +1 -0
  1038. package/dist/services/UserService.d.ts +352 -0
  1039. package/dist/services/UserService.d.ts.map +1 -0
  1040. package/dist/services/WebSocketAdminService.d.ts +587 -0
  1041. package/dist/services/WebSocketAdminService.d.ts.map +1 -0
  1042. package/dist/services/WebSocketService.d.ts +189 -0
  1043. package/dist/services/WebSocketService.d.ts.map +1 -0
  1044. package/dist/services/WeeklyChallengeService.d.ts +114 -0
  1045. package/dist/services/WeeklyChallengeService.d.ts.map +1 -0
  1046. package/dist/services/WrapService.d.ts +172 -0
  1047. package/dist/services/WrapService.d.ts.map +1 -0
  1048. package/dist/services/WrappableTokenCache.d.ts +100 -0
  1049. package/dist/services/WrappableTokenCache.d.ts.map +1 -0
  1050. package/dist/services/WrappableTokenService.d.ts +130 -0
  1051. package/dist/services/WrappableTokenService.d.ts.map +1 -0
  1052. package/dist/services/__mocks__/logger.mock.d.ts +24 -0
  1053. package/dist/services/__mocks__/logger.mock.d.ts.map +1 -0
  1054. package/dist/services/shared/cache-helpers.d.ts +188 -0
  1055. package/dist/services/shared/cache-helpers.d.ts.map +1 -0
  1056. package/dist/services/shared/http-helpers.d.ts +146 -0
  1057. package/dist/services/shared/http-helpers.d.ts.map +1 -0
  1058. package/dist/services/shared/pagination-helpers.d.ts +167 -0
  1059. package/dist/services/shared/pagination-helpers.d.ts.map +1 -0
  1060. package/dist/services/shared/service-validators.d.ts +137 -0
  1061. package/dist/services/shared/service-validators.d.ts.map +1 -0
  1062. package/dist/services/shared/websocket-helpers.d.ts +158 -0
  1063. package/dist/services/shared/websocket-helpers.d.ts.map +1 -0
  1064. package/dist/setup.d.ts +8 -0
  1065. package/dist/setup.d.ts.map +1 -0
  1066. package/dist/src/LaunchpadSDK.d.ts +2414 -497
  1067. package/dist/src/LaunchpadSDK.d.ts.map +1 -1
  1068. package/dist/src/api/LaunchpadAPI.d.ts +15 -8
  1069. package/dist/src/api/LaunchpadAPI.d.ts.map +1 -1
  1070. package/dist/src/api/dto/BondingCurveDTOs.d.ts.map +1 -1
  1071. package/dist/src/api/dto/BurnTokensDto.d.ts +1 -1
  1072. package/dist/src/api/dto/BurnTokensDto.d.ts.map +1 -1
  1073. package/dist/src/api/dto/LockTokenDto.d.ts +1 -1
  1074. package/dist/src/api/dto/LockTokenDto.d.ts.map +1 -1
  1075. package/dist/src/api/dto/TransferTokenDto.d.ts +1 -1
  1076. package/dist/src/api/dto/TransferTokenDto.d.ts.map +1 -1
  1077. package/dist/src/api/dto/UnlockTokenDto.d.ts +1 -1
  1078. package/dist/src/api/dto/UnlockTokenDto.d.ts.map +1 -1
  1079. package/dist/src/auth/JwtAuth.d.ts +43 -5
  1080. package/dist/src/auth/JwtAuth.d.ts.map +1 -1
  1081. package/dist/src/auth/SessionAuthService.d.ts +11 -6
  1082. package/dist/src/auth/SessionAuthService.d.ts.map +1 -1
  1083. package/dist/src/auth/SignatureAuth.d.ts +64 -3
  1084. package/dist/src/auth/SignatureAuth.d.ts.map +1 -1
  1085. package/dist/src/auth/storage.d.ts +66 -0
  1086. package/dist/src/auth/storage.d.ts.map +1 -0
  1087. package/dist/src/auth/types.d.ts +11 -2
  1088. package/dist/src/auth/types.d.ts.map +1 -1
  1089. package/dist/src/bridge/BridgeService.d.ts +1 -1
  1090. package/dist/src/bridge/BridgeService.d.ts.map +1 -1
  1091. package/dist/src/bridge/GalaConnectClient.d.ts +1 -1
  1092. package/dist/src/bridge/GalaConnectClient.d.ts.map +1 -1
  1093. package/dist/src/bridge/constants/tokens.d.ts +1 -1
  1094. package/dist/src/bridge/constants/tokens.d.ts.map +1 -1
  1095. package/dist/src/bridge/index.d.ts +10 -10
  1096. package/dist/src/bridge/index.d.ts.map +1 -1
  1097. package/dist/src/bridge/strategies/BridgeStrategy.d.ts.map +1 -1
  1098. package/dist/src/bridge/strategies/EthereumBridgeStrategy.d.ts +1 -1
  1099. package/dist/src/bridge/strategies/EthereumBridgeStrategy.d.ts.map +1 -1
  1100. package/dist/src/bridge/strategies/SolanaBridgeStrategy.d.ts +1 -1
  1101. package/dist/src/bridge/strategies/SolanaBridgeStrategy.d.ts.map +1 -1
  1102. package/dist/src/bridge/utils/addressValidation.d.ts.map +1 -1
  1103. package/dist/src/bridge/utils/balanceHelpers.d.ts +1 -1
  1104. package/dist/src/bridge/utils/balanceHelpers.d.ts.map +1 -1
  1105. package/dist/src/bridge/utils/bridgeErrors.d.ts.map +1 -1
  1106. package/dist/src/bridge/utils/bridgeOutHelpers.d.ts +1 -1
  1107. package/dist/src/bridge/utils/bridgeOutHelpers.d.ts.map +1 -1
  1108. package/dist/src/bridge/utils/bridgePayload.d.ts +2 -11
  1109. package/dist/src/bridge/utils/bridgePayload.d.ts.map +1 -1
  1110. package/dist/src/bridge/utils/bridgeStatusParser.d.ts.map +1 -1
  1111. package/dist/src/bridge/utils/eip712Helpers.d.ts.map +1 -1
  1112. package/dist/src/bridge/utils/index.d.ts +9 -9
  1113. package/dist/src/bridge/utils/index.d.ts.map +1 -1
  1114. package/dist/src/bridge/utils/tokenIdUtils.d.ts +1 -1
  1115. package/dist/src/bridge/utils/tokenIdUtils.d.ts.map +1 -1
  1116. package/dist/src/bridge/utils/tokenMetadataResolver.d.ts +1 -1
  1117. package/dist/src/bridge/utils/tokenMetadataResolver.d.ts.map +1 -1
  1118. package/dist/src/config/environments.d.ts +3 -1
  1119. package/dist/src/config/environments.d.ts.map +1 -1
  1120. package/dist/src/constants/endpoints.d.ts +566 -260
  1121. package/dist/src/constants/endpoints.d.ts.map +1 -1
  1122. package/dist/src/constants/events.d.ts +53 -0
  1123. package/dist/src/constants/events.d.ts.map +1 -0
  1124. package/dist/src/constants/pagination.d.ts +23 -13
  1125. package/dist/src/constants/pagination.d.ts.map +1 -1
  1126. package/dist/src/constants/version.generated.d.ts +1 -1
  1127. package/dist/src/constants/version.generated.d.ts.map +1 -1
  1128. package/dist/src/helpers/sdk.d.ts.map +1 -1
  1129. package/dist/src/helpers/wallet.d.ts.map +1 -1
  1130. package/dist/src/index.browser.d.ts +149 -0
  1131. package/dist/src/index.browser.d.ts.map +1 -0
  1132. package/dist/src/index.d.ts +6 -115
  1133. package/dist/src/index.d.ts.map +1 -1
  1134. package/dist/src/index.node.d.ts +13 -0
  1135. package/dist/src/index.node.d.ts.map +1 -0
  1136. package/dist/src/native.d.ts +22 -0
  1137. package/dist/src/native.d.ts.map +1 -0
  1138. package/dist/src/react/WalletContext.d.ts +60 -0
  1139. package/dist/src/react/WalletContext.d.ts.map +1 -0
  1140. package/dist/src/react/index.d.ts +65 -0
  1141. package/dist/src/react/index.d.ts.map +1 -0
  1142. package/dist/src/react/types.d.ts +76 -0
  1143. package/dist/src/react/types.d.ts.map +1 -0
  1144. package/dist/src/react/useWallet.d.ts +123 -0
  1145. package/dist/src/react/useWallet.d.ts.map +1 -0
  1146. package/dist/src/react/useWalletConnection.d.ts +89 -0
  1147. package/dist/src/react/useWalletConnection.d.ts.map +1 -0
  1148. package/dist/src/react/useWalletDetection.d.ts +81 -0
  1149. package/dist/src/react/useWalletDetection.d.ts.map +1 -0
  1150. package/dist/src/schemas/files.d.ts.map +1 -1
  1151. package/dist/src/schemas/index.d.ts +4 -3
  1152. package/dist/src/schemas/index.d.ts.map +1 -1
  1153. package/dist/src/schemas/launchpad.d.ts +1 -0
  1154. package/dist/src/schemas/launchpad.d.ts.map +1 -1
  1155. package/dist/src/schemas/pagination.d.ts +16 -19
  1156. package/dist/src/schemas/pagination.d.ts.map +1 -1
  1157. package/dist/src/schemas/primitives.d.ts +1 -1
  1158. package/dist/src/schemas/primitives.d.ts.map +1 -1
  1159. package/dist/src/schemas/trade.d.ts +2 -2
  1160. package/dist/src/schemas/trade.d.ts.map +1 -1
  1161. package/dist/src/schemas/user.d.ts +2 -2
  1162. package/dist/src/schemas/user.d.ts.map +1 -1
  1163. package/dist/src/schemas/validators.d.ts +6 -5
  1164. package/dist/src/schemas/validators.d.ts.map +1 -1
  1165. package/dist/src/services/AIModerationService.d.ts +217 -0
  1166. package/dist/src/services/AIModerationService.d.ts.map +1 -0
  1167. package/dist/src/services/AbstractTokenFetchService.d.ts +1 -1
  1168. package/dist/src/services/AbstractTokenFetchService.d.ts.map +1 -1
  1169. package/dist/src/services/ApiKeyService.d.ts +14 -9
  1170. package/dist/src/services/ApiKeyService.d.ts.map +1 -1
  1171. package/dist/src/services/BanService.d.ts +132 -16
  1172. package/dist/src/services/BanService.d.ts.map +1 -1
  1173. package/dist/src/services/BaseService.d.ts +1 -1
  1174. package/dist/src/services/BaseService.d.ts.map +1 -1
  1175. package/dist/src/services/BatchedCacheService.d.ts.map +1 -1
  1176. package/dist/src/services/BridgeableTokenCache.d.ts +1 -1
  1177. package/dist/src/services/BridgeableTokenCache.d.ts.map +1 -1
  1178. package/dist/src/services/BridgeableTokenService.d.ts +4 -4
  1179. package/dist/src/services/BridgeableTokenService.d.ts.map +1 -1
  1180. package/dist/src/services/BundleService.d.ts +5 -5
  1181. package/dist/src/services/BundleService.d.ts.map +1 -1
  1182. package/dist/src/services/BundlerClientFactory.d.ts.map +1 -1
  1183. package/dist/src/services/ChartService.d.ts +106 -0
  1184. package/dist/src/services/ChartService.d.ts.map +1 -0
  1185. package/dist/src/services/ClientConfigService.d.ts +61 -0
  1186. package/dist/src/services/ClientConfigService.d.ts.map +1 -0
  1187. package/dist/src/services/ContentFlagService.d.ts +13 -7
  1188. package/dist/src/services/ContentFlagService.d.ts.map +1 -1
  1189. package/dist/src/services/ContentReactionService.d.ts +3 -3
  1190. package/dist/src/services/ContentReactionService.d.ts.map +1 -1
  1191. package/dist/src/services/DexBackendClient.d.ts +1 -1
  1192. package/dist/src/services/DexBackendClient.d.ts.map +1 -1
  1193. package/dist/src/services/DexBackendTradeClient.d.ts +34 -0
  1194. package/dist/src/services/DexBackendTradeClient.d.ts.map +1 -0
  1195. package/dist/src/services/DexPoolService.d.ts +9 -11
  1196. package/dist/src/services/DexPoolService.d.ts.map +1 -1
  1197. package/dist/src/services/DexQuoteService.d.ts +23 -24
  1198. package/dist/src/services/DexQuoteService.d.ts.map +1 -1
  1199. package/dist/src/services/DexService.d.ts +6 -6
  1200. package/dist/src/services/DexService.d.ts.map +1 -1
  1201. package/dist/src/services/EventsBatcherService.d.ts +111 -0
  1202. package/dist/src/services/EventsBatcherService.d.ts.map +1 -0
  1203. package/dist/src/services/GSwapAssetService.d.ts +18 -2
  1204. package/dist/src/services/GSwapAssetService.d.ts.map +1 -1
  1205. package/dist/src/services/GSwapLiquidityMutationService.d.ts +6 -8
  1206. package/dist/src/services/GSwapLiquidityMutationService.d.ts.map +1 -1
  1207. package/dist/src/services/GSwapLiquidityQueryService.d.ts +4 -16
  1208. package/dist/src/services/GSwapLiquidityQueryService.d.ts.map +1 -1
  1209. package/dist/src/services/GSwapPoolCalculationService.d.ts +0 -13
  1210. package/dist/src/services/GSwapPoolCalculationService.d.ts.map +1 -1
  1211. package/dist/src/services/GSwapPoolQueryService.d.ts +7 -9
  1212. package/dist/src/services/GSwapPoolQueryService.d.ts.map +1 -1
  1213. package/dist/src/services/GSwapService.d.ts +16 -16
  1214. package/dist/src/services/GSwapService.d.ts.map +1 -1
  1215. package/dist/src/services/GSwapSwapService.d.ts +2 -4
  1216. package/dist/src/services/GSwapSwapService.d.ts.map +1 -1
  1217. package/dist/src/services/GalaChainBalanceService.d.ts +2 -2
  1218. package/dist/src/services/GalaChainBalanceService.d.ts.map +1 -1
  1219. package/dist/src/services/GalaChainLockService.d.ts +3 -3
  1220. package/dist/src/services/GalaChainLockService.d.ts.map +1 -1
  1221. package/dist/src/services/GalaChainService.d.ts +10 -13
  1222. package/dist/src/services/GalaChainService.d.ts.map +1 -1
  1223. package/dist/src/services/GalaChainTokenService.d.ts +3 -3
  1224. package/dist/src/services/GalaChainTokenService.d.ts.map +1 -1
  1225. package/dist/src/services/GalaChainTransferService.d.ts +4 -4
  1226. package/dist/src/services/GalaChainTransferService.d.ts.map +1 -1
  1227. package/dist/src/services/GdexStreamService.d.ts +133 -0
  1228. package/dist/src/services/GdexStreamService.d.ts.map +1 -0
  1229. package/dist/src/services/HolderService.d.ts +181 -0
  1230. package/dist/src/services/HolderService.d.ts.map +1 -0
  1231. package/dist/src/services/ImageService.d.ts +2 -15
  1232. package/dist/src/services/ImageService.d.ts.map +1 -1
  1233. package/dist/src/services/IntervalRegistry.d.ts +79 -0
  1234. package/dist/src/services/IntervalRegistry.d.ts.map +1 -0
  1235. package/dist/src/services/LaunchpadService.d.ts +67 -24
  1236. package/dist/src/services/LaunchpadService.d.ts.map +1 -1
  1237. package/dist/src/services/MessagesService.d.ts +251 -0
  1238. package/dist/src/services/MessagesService.d.ts.map +1 -0
  1239. package/dist/src/services/ModeratorService.d.ts +58 -22
  1240. package/dist/src/services/ModeratorService.d.ts.map +1 -1
  1241. package/dist/src/services/MultiPoolStateManager.d.ts +17 -10
  1242. package/dist/src/services/MultiPoolStateManager.d.ts.map +1 -1
  1243. package/dist/src/services/NetworkKeyedCacheService.d.ts.map +1 -1
  1244. package/dist/src/services/NftCollectionService.d.ts +3 -5
  1245. package/dist/src/services/NftCollectionService.d.ts.map +1 -1
  1246. package/dist/src/services/NotificationService.d.ts +113 -0
  1247. package/dist/src/services/NotificationService.d.ts.map +1 -0
  1248. package/dist/src/services/OEmbedService.d.ts +152 -0
  1249. package/dist/src/services/OEmbedService.d.ts.map +1 -0
  1250. package/dist/src/services/OverseerService.d.ts +230 -35
  1251. package/dist/src/services/OverseerService.d.ts.map +1 -1
  1252. package/dist/src/services/PlatformConfigService.d.ts +149 -0
  1253. package/dist/src/services/PlatformConfigService.d.ts.map +1 -0
  1254. package/dist/src/services/PlatformStatsService.d.ts +72 -0
  1255. package/dist/src/services/PlatformStatsService.d.ts.map +1 -0
  1256. package/dist/src/services/PoolCacheManager.d.ts +3 -10
  1257. package/dist/src/services/PoolCacheManager.d.ts.map +1 -1
  1258. package/dist/src/services/PoolService.d.ts +108 -25
  1259. package/dist/src/services/PoolService.d.ts.map +1 -1
  1260. package/dist/src/services/PoolStateManager.d.ts +2 -2
  1261. package/dist/src/services/PoolStateManager.d.ts.map +1 -1
  1262. package/dist/src/services/PriceHistoryService.d.ts +11 -12
  1263. package/dist/src/services/PriceHistoryService.d.ts.map +1 -1
  1264. package/dist/src/services/RestrictedNamesService.d.ts +80 -0
  1265. package/dist/src/services/RestrictedNamesService.d.ts.map +1 -0
  1266. package/dist/src/services/SignatureService.d.ts.map +1 -1
  1267. package/dist/src/services/StreamChatService.d.ts +68 -187
  1268. package/dist/src/services/StreamChatService.d.ts.map +1 -1
  1269. package/dist/src/services/StreamTokenServiceBase.d.ts +45 -12
  1270. package/dist/src/services/StreamTokenServiceBase.d.ts.map +1 -1
  1271. package/dist/src/services/StreamWebSocketService.d.ts +335 -17
  1272. package/dist/src/services/StreamWebSocketService.d.ts.map +1 -1
  1273. package/dist/src/services/StreamingEventService.d.ts +16 -6
  1274. package/dist/src/services/StreamingEventService.d.ts.map +1 -1
  1275. package/dist/src/services/StreamingService.d.ts +66 -40
  1276. package/dist/src/services/StreamingService.d.ts.map +1 -1
  1277. package/dist/src/services/SwapEventQueue.d.ts +1 -1
  1278. package/dist/src/services/SwapEventQueue.d.ts.map +1 -1
  1279. package/dist/src/services/TokenBanService.d.ts +18 -16
  1280. package/dist/src/services/TokenBanService.d.ts.map +1 -1
  1281. package/dist/src/services/TokenClassKeyService.d.ts.map +1 -1
  1282. package/dist/src/services/TokenMetadataCache.d.ts.map +1 -1
  1283. package/dist/src/services/TokenMetadataService.d.ts +4 -4
  1284. package/dist/src/services/TokenMetadataService.d.ts.map +1 -1
  1285. package/dist/src/services/TokenResolverService.d.ts +197 -24
  1286. package/dist/src/services/TokenResolverService.d.ts.map +1 -1
  1287. package/dist/src/services/TradeService.d.ts +19 -19
  1288. package/dist/src/services/TradeService.d.ts.map +1 -1
  1289. package/dist/src/services/TradingQuotesService.d.ts +162 -0
  1290. package/dist/src/services/TradingQuotesService.d.ts.map +1 -0
  1291. package/dist/src/services/UserService.d.ts +83 -23
  1292. package/dist/src/services/UserService.d.ts.map +1 -1
  1293. package/dist/src/services/WebSocketAdminService.d.ts +587 -0
  1294. package/dist/src/services/WebSocketAdminService.d.ts.map +1 -0
  1295. package/dist/src/services/WebSocketService.d.ts +7 -1
  1296. package/dist/src/services/WebSocketService.d.ts.map +1 -1
  1297. package/dist/src/services/WeeklyChallengeService.d.ts +114 -0
  1298. package/dist/src/services/WeeklyChallengeService.d.ts.map +1 -0
  1299. package/dist/src/services/WrapService.d.ts +5 -5
  1300. package/dist/src/services/WrapService.d.ts.map +1 -1
  1301. package/dist/src/services/WrappableTokenService.d.ts +3 -3
  1302. package/dist/src/services/WrappableTokenService.d.ts.map +1 -1
  1303. package/dist/src/services/__mocks__/logger.mock.d.ts.map +1 -1
  1304. package/dist/src/services/shared/cache-helpers.d.ts.map +1 -1
  1305. package/dist/src/services/shared/http-helpers.d.ts.map +1 -1
  1306. package/dist/src/services/shared/pagination-helpers.d.ts +19 -19
  1307. package/dist/src/services/shared/pagination-helpers.d.ts.map +1 -1
  1308. package/dist/src/services/shared/service-validators.d.ts +1 -1
  1309. package/dist/src/services/shared/service-validators.d.ts.map +1 -1
  1310. package/dist/src/setup.d.ts +2 -2
  1311. package/dist/src/types/ai-moderation.dto.d.ts +294 -0
  1312. package/dist/src/types/ai-moderation.dto.d.ts.map +1 -0
  1313. package/dist/src/types/api-key.dto.d.ts +82 -9
  1314. package/dist/src/types/api-key.dto.d.ts.map +1 -1
  1315. package/dist/src/types/ban.dto.d.ts +174 -3
  1316. package/dist/src/types/ban.dto.d.ts.map +1 -1
  1317. package/dist/src/types/cache-management.dto.d.ts +44 -0
  1318. package/dist/src/types/cache-management.dto.d.ts.map +1 -0
  1319. package/dist/src/types/chat-messages.dto.d.ts +7 -7
  1320. package/dist/src/types/chat-messages.dto.d.ts.map +1 -1
  1321. package/dist/src/types/client-config.dto.d.ts +43 -0
  1322. package/dist/src/types/client-config.dto.d.ts.map +1 -0
  1323. package/dist/src/types/comment.dto.d.ts +3 -7
  1324. package/dist/src/types/comment.dto.d.ts.map +1 -1
  1325. package/dist/src/types/comments.dto.d.ts +9 -9
  1326. package/dist/src/types/comments.dto.d.ts.map +1 -1
  1327. package/dist/src/types/common.d.ts +117 -27
  1328. package/dist/src/types/common.d.ts.map +1 -1
  1329. package/dist/src/types/composite-pool.dto.d.ts +4 -6
  1330. package/dist/src/types/composite-pool.dto.d.ts.map +1 -1
  1331. package/dist/src/types/constraints.d.ts +6 -2
  1332. package/dist/src/types/constraints.d.ts.map +1 -1
  1333. package/dist/src/types/content-flag.dto.d.ts +43 -4
  1334. package/dist/src/types/content-flag.dto.d.ts.map +1 -1
  1335. package/dist/src/types/content-reactions.dto.d.ts +4 -4
  1336. package/dist/src/types/content-reactions.dto.d.ts.map +1 -1
  1337. package/dist/src/types/dex-pool.dto.d.ts +20 -7
  1338. package/dist/src/types/dex-pool.dto.d.ts.map +1 -1
  1339. package/dist/src/types/dto.d.ts +5 -1
  1340. package/dist/src/types/dto.d.ts.map +1 -1
  1341. package/dist/src/types/engagement-stats.dto.d.ts +62 -0
  1342. package/dist/src/types/engagement-stats.dto.d.ts.map +1 -0
  1343. package/dist/src/types/events.dto.d.ts +80 -0
  1344. package/dist/src/types/events.dto.d.ts.map +1 -0
  1345. package/dist/src/types/global-feed.dto.d.ts +203 -0
  1346. package/dist/src/types/global-feed.dto.d.ts.map +1 -0
  1347. package/dist/src/types/gswap-responses.types.d.ts +14 -14
  1348. package/dist/src/types/gswap-responses.types.d.ts.map +1 -1
  1349. package/dist/src/types/gswap.dto.d.ts +12 -5
  1350. package/dist/src/types/gswap.dto.d.ts.map +1 -1
  1351. package/dist/src/types/holder.types.d.ts +106 -0
  1352. package/dist/src/types/holder.types.d.ts.map +1 -0
  1353. package/dist/src/types/launchpad.dto.d.ts +154 -77
  1354. package/dist/src/types/launchpad.dto.d.ts.map +1 -1
  1355. package/dist/src/types/launchpad.validation.d.ts.map +1 -1
  1356. package/dist/src/types/lock.dto.d.ts +1 -1
  1357. package/dist/src/types/lock.dto.d.ts.map +1 -1
  1358. package/dist/src/types/messages.dto.d.ts +386 -0
  1359. package/dist/src/types/messages.dto.d.ts.map +1 -0
  1360. package/dist/src/types/moderator.dto.d.ts +38 -5
  1361. package/dist/src/types/moderator.dto.d.ts.map +1 -1
  1362. package/dist/src/types/notification.dto.d.ts +92 -0
  1363. package/dist/src/types/notification.dto.d.ts.map +1 -0
  1364. package/dist/src/types/oembed.dto.d.ts +160 -0
  1365. package/dist/src/types/oembed.dto.d.ts.map +1 -0
  1366. package/dist/src/types/options.dto.d.ts +9 -1
  1367. package/dist/src/types/options.dto.d.ts.map +1 -1
  1368. package/dist/src/types/overseer.dto.d.ts +152 -35
  1369. package/dist/src/types/overseer.dto.d.ts.map +1 -1
  1370. package/dist/src/types/platform-config.dto.d.ts +89 -0
  1371. package/dist/src/types/platform-config.dto.d.ts.map +1 -0
  1372. package/dist/src/types/platform-stats.dto.d.ts +40 -0
  1373. package/dist/src/types/platform-stats.dto.d.ts.map +1 -0
  1374. package/dist/src/types/pool-state-delta.dto.d.ts.map +1 -1
  1375. package/dist/src/types/pool.dto.d.ts +6 -1
  1376. package/dist/src/types/pool.dto.d.ts.map +1 -1
  1377. package/dist/src/types/priceHistory.dto.d.ts +6 -2
  1378. package/dist/src/types/priceHistory.dto.d.ts.map +1 -1
  1379. package/dist/src/types/restricted-names.dto.d.ts +50 -0
  1380. package/dist/src/types/restricted-names.dto.d.ts.map +1 -0
  1381. package/dist/src/types/session-auth.dto.d.ts +9 -1
  1382. package/dist/src/types/session-auth.dto.d.ts.map +1 -1
  1383. package/dist/src/types/stream-chat.dto.d.ts +4 -9
  1384. package/dist/src/types/stream-chat.dto.d.ts.map +1 -1
  1385. package/dist/src/types/streaming-events.dto.d.ts +20 -1
  1386. package/dist/src/types/streaming-events.dto.d.ts.map +1 -1
  1387. package/dist/src/types/streaming.dto.d.ts +64 -20
  1388. package/dist/src/types/streaming.dto.d.ts.map +1 -1
  1389. package/dist/src/types/token-ban.dto.d.ts +7 -8
  1390. package/dist/src/types/token-ban.dto.d.ts.map +1 -1
  1391. package/dist/src/types/token-config.dto.d.ts +117 -0
  1392. package/dist/src/types/token-config.dto.d.ts.map +1 -0
  1393. package/dist/src/types/token.types.d.ts +336 -0
  1394. package/dist/src/types/token.types.d.ts.map +1 -0
  1395. package/dist/src/types/trade.dto.d.ts +5 -1
  1396. package/dist/src/types/trade.dto.d.ts.map +1 -1
  1397. package/dist/src/types/trades-query.dto.d.ts +8 -2
  1398. package/dist/src/types/trades-query.dto.d.ts.map +1 -1
  1399. package/dist/src/types/transfer.dto.d.ts.map +1 -1
  1400. package/dist/src/types/user.dto.d.ts +218 -48
  1401. package/dist/src/types/user.dto.d.ts.map +1 -1
  1402. package/dist/src/types/websocket-admin.dto.d.ts +390 -0
  1403. package/dist/src/types/websocket-admin.dto.d.ts.map +1 -0
  1404. package/dist/src/types/websocket-events.dto.d.ts +472 -0
  1405. package/dist/src/types/websocket-events.dto.d.ts.map +1 -0
  1406. package/dist/src/types/weekly-challenge.dto.d.ts +130 -0
  1407. package/dist/src/types/weekly-challenge.dto.d.ts.map +1 -0
  1408. package/dist/src/types/wrappable-token.dto.d.ts +1 -1
  1409. package/dist/src/types/wrappable-token.dto.d.ts.map +1 -1
  1410. package/dist/src/utils/LiquidityEventExtractor.d.ts +7 -0
  1411. package/dist/src/utils/LiquidityEventExtractor.d.ts.map +1 -1
  1412. package/dist/src/utils/Logger.d.ts.map +1 -1
  1413. package/dist/src/utils/MonitoringMetrics.d.ts +0 -1
  1414. package/dist/src/utils/MonitoringMetrics.d.ts.map +1 -1
  1415. package/dist/src/utils/SignatureHelper.d.ts.map +1 -1
  1416. package/dist/src/utils/SwapEventExtractor.d.ts.map +1 -1
  1417. package/dist/src/utils/adapters.d.ts +1 -1
  1418. package/dist/src/utils/adapters.d.ts.map +1 -1
  1419. package/dist/src/utils/address-formatter.d.ts +7 -6
  1420. package/dist/src/utils/address-formatter.d.ts.map +1 -1
  1421. package/dist/src/utils/agent-config.d.ts.map +1 -1
  1422. package/dist/src/utils/amount-validator.d.ts.map +1 -1
  1423. package/dist/src/utils/api-patterns.d.ts +1 -1
  1424. package/dist/src/utils/api-patterns.d.ts.map +1 -1
  1425. package/dist/src/utils/assetUrls.d.ts +450 -0
  1426. package/dist/src/utils/assetUrls.d.ts.map +1 -0
  1427. package/dist/src/utils/auto-pagination.d.ts +89 -0
  1428. package/dist/src/utils/auto-pagination.d.ts.map +1 -1
  1429. package/dist/src/utils/bignumber-helpers.d.ts.map +1 -1
  1430. package/dist/src/utils/bignumber-pool-cache.d.ts.map +1 -1
  1431. package/dist/src/utils/composite-pool-converter.d.ts +4 -4
  1432. package/dist/src/utils/composite-pool-converter.d.ts.map +1 -1
  1433. package/dist/src/utils/crypto-compat.d.ts +40 -0
  1434. package/dist/src/utils/crypto-compat.d.ts.map +1 -0
  1435. package/dist/src/utils/delimiter-parser.d.ts +1 -1
  1436. package/dist/src/utils/delimiter-parser.d.ts.map +1 -1
  1437. package/dist/src/utils/error-factories.d.ts +1 -1
  1438. package/dist/src/utils/error-factories.d.ts.map +1 -1
  1439. package/dist/src/utils/error-handling-patterns.d.ts +1 -1
  1440. package/dist/src/utils/error-handling-patterns.d.ts.map +1 -1
  1441. package/dist/src/utils/error-patterns.d.ts.map +1 -1
  1442. package/dist/src/utils/error-utils.d.ts +6 -1
  1443. package/dist/src/utils/error-utils.d.ts.map +1 -1
  1444. package/dist/src/utils/errors.d.ts +6 -2
  1445. package/dist/src/utils/errors.d.ts.map +1 -1
  1446. package/dist/src/utils/http.d.ts +2 -2
  1447. package/dist/src/utils/http.d.ts.map +1 -1
  1448. package/dist/src/utils/load-env.d.ts.map +1 -1
  1449. package/dist/src/utils/multipart.d.ts.map +1 -1
  1450. package/dist/src/utils/nft-helpers.d.ts.map +1 -1
  1451. package/dist/src/utils/numeric-patterns.d.ts.map +1 -1
  1452. package/dist/src/utils/numeric-wrappers.d.ts +3 -0
  1453. package/dist/src/utils/numeric-wrappers.d.ts.map +1 -1
  1454. package/dist/src/utils/pagination-validation.d.ts +88 -0
  1455. package/dist/src/utils/pagination-validation.d.ts.map +1 -0
  1456. package/dist/src/utils/pool-state-validator.d.ts +1 -1
  1457. package/dist/src/utils/pool-state-validator.d.ts.map +1 -1
  1458. package/dist/src/utils/primitives.d.ts +76 -0
  1459. package/dist/src/utils/primitives.d.ts.map +1 -0
  1460. package/dist/src/utils/query-params.d.ts +6 -6
  1461. package/dist/src/utils/query-params.d.ts.map +1 -1
  1462. package/dist/src/utils/response-handlers.d.ts.map +1 -1
  1463. package/dist/src/utils/response-normalizers.d.ts.map +1 -1
  1464. package/dist/src/utils/safe-parsers.d.ts.map +1 -1
  1465. package/dist/src/utils/service-validators.d.ts.map +1 -1
  1466. package/dist/src/utils/slippage-utils.d.ts.map +1 -1
  1467. package/dist/src/utils/string-patterns.d.ts +3 -3
  1468. package/dist/src/utils/string-patterns.d.ts.map +1 -1
  1469. package/dist/src/utils/swap-delta-calculator.d.ts +2 -2
  1470. package/dist/src/utils/swap-delta-calculator.d.ts.map +1 -1
  1471. package/dist/src/utils/tick-crossing-handler.d.ts.map +1 -1
  1472. package/dist/src/utils/token-format-converter.d.ts +1 -1
  1473. package/dist/src/utils/token-format-converter.d.ts.map +1 -1
  1474. package/dist/src/utils/token-stringification.d.ts.map +1 -1
  1475. package/dist/src/utils/tokenNormalizer.d.ts +1 -1
  1476. package/dist/src/utils/tokenNormalizer.d.ts.map +1 -1
  1477. package/dist/src/utils/trade-transformers.d.ts +1 -1
  1478. package/dist/src/utils/trade-transformers.d.ts.map +1 -1
  1479. package/dist/src/utils/validation-helpers.d.ts +5 -97
  1480. package/dist/src/utils/validation-helpers.d.ts.map +1 -1
  1481. package/dist/src/utils/validation-patterns.d.ts.map +1 -1
  1482. package/dist/src/utils/validation.d.ts +1 -1
  1483. package/dist/src/utils/validation.d.ts.map +1 -1
  1484. package/dist/src/utils/wallet.d.ts.map +1 -1
  1485. package/dist/src/utils/websocket-patterns.d.ts +1 -2
  1486. package/dist/src/utils/websocket-patterns.d.ts.map +1 -1
  1487. package/dist/src/utils/websocket-validators.d.ts +1 -1
  1488. package/dist/src/utils/websocket-validators.d.ts.map +1 -1
  1489. package/dist/src/wallet/ExternalWalletProvider.d.ts +109 -0
  1490. package/dist/src/wallet/ExternalWalletProvider.d.ts.map +1 -0
  1491. package/dist/src/wallet/GalaChainConnectProvider.d.ts +125 -0
  1492. package/dist/src/wallet/GalaChainConnectProvider.d.ts.map +1 -0
  1493. package/dist/src/wallet/GalaWalletProvider.d.ts +141 -0
  1494. package/dist/src/wallet/GalaWalletProvider.d.ts.map +1 -0
  1495. package/dist/src/wallet/PrivateKeyProvider.d.ts +90 -0
  1496. package/dist/src/wallet/PrivateKeyProvider.d.ts.map +1 -0
  1497. package/dist/src/wallet/detection.d.ts +107 -0
  1498. package/dist/src/wallet/detection.d.ts.map +1 -0
  1499. package/dist/src/wallet/index.d.ts +52 -0
  1500. package/dist/src/wallet/index.d.ts.map +1 -0
  1501. package/dist/src/wallet/types.d.ts +267 -0
  1502. package/dist/src/wallet/types.d.ts.map +1 -0
  1503. package/dist/src/wallet/utils.d.ts +117 -0
  1504. package/dist/src/wallet/utils.d.ts.map +1 -0
  1505. package/dist/test-constants.d.ts +29 -0
  1506. package/dist/test-constants.d.ts.map +1 -0
  1507. package/dist/types/ai-moderation.dto.d.ts +294 -0
  1508. package/dist/types/ai-moderation.dto.d.ts.map +1 -0
  1509. package/dist/types/api-key.dto.d.ts +373 -0
  1510. package/dist/types/api-key.dto.d.ts.map +1 -0
  1511. package/dist/types/backend-responses.d.ts +235 -0
  1512. package/dist/types/backend-responses.d.ts.map +1 -0
  1513. package/dist/types/ban.dto.d.ts +577 -0
  1514. package/dist/types/ban.dto.d.ts.map +1 -0
  1515. package/dist/types/burn.dto.d.ts +170 -0
  1516. package/dist/types/burn.dto.d.ts.map +1 -0
  1517. package/dist/types/cache-management.dto.d.ts +44 -0
  1518. package/dist/types/cache-management.dto.d.ts.map +1 -0
  1519. package/dist/types/chat-messages.dto.d.ts +193 -0
  1520. package/dist/types/chat-messages.dto.d.ts.map +1 -0
  1521. package/dist/types/client-config.dto.d.ts +43 -0
  1522. package/dist/types/client-config.dto.d.ts.map +1 -0
  1523. package/dist/types/comment.dto.d.ts +176 -0
  1524. package/dist/types/comment.dto.d.ts.map +1 -0
  1525. package/dist/types/comments.dto.d.ts +198 -0
  1526. package/dist/types/comments.dto.d.ts.map +1 -0
  1527. package/dist/types/common.d.ts +604 -0
  1528. package/dist/types/common.d.ts.map +1 -0
  1529. package/dist/types/composite-pool.dto.d.ts +101 -0
  1530. package/dist/types/composite-pool.dto.d.ts.map +1 -0
  1531. package/dist/types/constraints.d.ts +378 -0
  1532. package/dist/types/constraints.d.ts.map +1 -0
  1533. package/dist/types/content-flag.dto.d.ts +337 -0
  1534. package/dist/types/content-flag.dto.d.ts.map +1 -0
  1535. package/dist/types/content-reactions.dto.d.ts +132 -0
  1536. package/dist/types/content-reactions.dto.d.ts.map +1 -0
  1537. package/dist/types/dex-pool.dto.d.ts +214 -0
  1538. package/dist/types/dex-pool.dto.d.ts.map +1 -0
  1539. package/dist/types/dto.d.ts +183 -0
  1540. package/dist/types/dto.d.ts.map +1 -0
  1541. package/dist/types/engagement-stats.dto.d.ts +62 -0
  1542. package/dist/types/engagement-stats.dto.d.ts.map +1 -0
  1543. package/dist/types/events.dto.d.ts +80 -0
  1544. package/dist/types/events.dto.d.ts.map +1 -0
  1545. package/dist/types/galachain-api.types.d.ts +297 -0
  1546. package/dist/types/galachain-api.types.d.ts.map +1 -0
  1547. package/dist/types/global-feed.dto.d.ts +203 -0
  1548. package/dist/types/global-feed.dto.d.ts.map +1 -0
  1549. package/dist/types/gswap-responses.types.d.ts +369 -0
  1550. package/dist/types/gswap-responses.types.d.ts.map +1 -0
  1551. package/dist/types/gswap.dto.d.ts +448 -0
  1552. package/dist/types/gswap.dto.d.ts.map +1 -0
  1553. package/dist/types/holder.types.d.ts +106 -0
  1554. package/dist/types/holder.types.d.ts.map +1 -0
  1555. package/dist/types/launchpad.dto.d.ts +1264 -0
  1556. package/dist/types/launchpad.dto.d.ts.map +1 -0
  1557. package/dist/types/launchpad.validation.d.ts +43 -0
  1558. package/dist/types/launchpad.validation.d.ts.map +1 -0
  1559. package/dist/types/liquidity-monitor.dto.d.ts +177 -0
  1560. package/dist/types/liquidity-monitor.dto.d.ts.map +1 -0
  1561. package/dist/types/lock.dto.d.ts +261 -0
  1562. package/dist/types/lock.dto.d.ts.map +1 -0
  1563. package/dist/types/messages.dto.d.ts +386 -0
  1564. package/dist/types/messages.dto.d.ts.map +1 -0
  1565. package/dist/types/moderator.dto.d.ts +607 -0
  1566. package/dist/types/moderator.dto.d.ts.map +1 -0
  1567. package/dist/types/nft.dto.d.ts +155 -0
  1568. package/dist/types/nft.dto.d.ts.map +1 -0
  1569. package/dist/types/notification.dto.d.ts +92 -0
  1570. package/dist/types/notification.dto.d.ts.map +1 -0
  1571. package/dist/types/oembed.dto.d.ts +160 -0
  1572. package/dist/types/oembed.dto.d.ts.map +1 -0
  1573. package/dist/types/options.dto.d.ts +485 -0
  1574. package/dist/types/options.dto.d.ts.map +1 -0
  1575. package/dist/types/overseer.dto.d.ts +530 -0
  1576. package/dist/types/overseer.dto.d.ts.map +1 -0
  1577. package/dist/types/platform-config.dto.d.ts +89 -0
  1578. package/dist/types/platform-config.dto.d.ts.map +1 -0
  1579. package/dist/types/platform-stats.dto.d.ts +40 -0
  1580. package/dist/types/platform-stats.dto.d.ts.map +1 -0
  1581. package/dist/types/pool-state-delta.dto.d.ts +246 -0
  1582. package/dist/types/pool-state-delta.dto.d.ts.map +1 -0
  1583. package/dist/types/pool.dto.d.ts +111 -0
  1584. package/dist/types/pool.dto.d.ts.map +1 -0
  1585. package/dist/types/priceHistory.dto.d.ts +165 -0
  1586. package/dist/types/priceHistory.dto.d.ts.map +1 -0
  1587. package/dist/types/restricted-names.dto.d.ts +50 -0
  1588. package/dist/types/restricted-names.dto.d.ts.map +1 -0
  1589. package/dist/types/result.types.d.ts +104 -0
  1590. package/dist/types/result.types.d.ts.map +1 -0
  1591. package/dist/types/session-auth.dto.d.ts +99 -0
  1592. package/dist/types/session-auth.dto.d.ts.map +1 -0
  1593. package/dist/types/stream-chat.dto.d.ts +810 -0
  1594. package/dist/types/stream-chat.dto.d.ts.map +1 -0
  1595. package/dist/types/streaming-events.dto.d.ts +605 -0
  1596. package/dist/types/streaming-events.dto.d.ts.map +1 -0
  1597. package/dist/types/streaming.dto.d.ts +1178 -0
  1598. package/dist/types/streaming.dto.d.ts.map +1 -0
  1599. package/dist/types/swap-monitor.dto.d.ts +256 -0
  1600. package/dist/types/swap-monitor.dto.d.ts.map +1 -0
  1601. package/dist/types/token-ban.dto.d.ts +194 -0
  1602. package/dist/types/token-ban.dto.d.ts.map +1 -0
  1603. package/dist/types/token-config.dto.d.ts +117 -0
  1604. package/dist/types/token-config.dto.d.ts.map +1 -0
  1605. package/dist/types/token.types.d.ts +336 -0
  1606. package/dist/types/token.types.d.ts.map +1 -0
  1607. package/dist/types/trade.dto.d.ts +457 -0
  1608. package/dist/types/trade.dto.d.ts.map +1 -0
  1609. package/dist/types/trades-query.dto.d.ts +133 -0
  1610. package/dist/types/trades-query.dto.d.ts.map +1 -0
  1611. package/dist/types/transfer.dto.d.ts +156 -0
  1612. package/dist/types/transfer.dto.d.ts.map +1 -0
  1613. package/dist/types/user.dto.d.ts +880 -0
  1614. package/dist/types/user.dto.d.ts.map +1 -0
  1615. package/dist/types/websocket-admin.dto.d.ts +390 -0
  1616. package/dist/types/websocket-admin.dto.d.ts.map +1 -0
  1617. package/dist/types/websocket-data.types.d.ts +35 -0
  1618. package/dist/types/websocket-data.types.d.ts.map +1 -0
  1619. package/dist/types/websocket-events.dto.d.ts +472 -0
  1620. package/dist/types/websocket-events.dto.d.ts.map +1 -0
  1621. package/dist/types/websocket.types.d.ts +118 -0
  1622. package/dist/types/websocket.types.d.ts.map +1 -0
  1623. package/dist/types/weekly-challenge.dto.d.ts +130 -0
  1624. package/dist/types/weekly-challenge.dto.d.ts.map +1 -0
  1625. package/dist/types/wrappable-token.dto.d.ts +305 -0
  1626. package/dist/types/wrappable-token.dto.d.ts.map +1 -0
  1627. package/dist/utils/LiquidityEventExtractor.d.ts +106 -0
  1628. package/dist/utils/LiquidityEventExtractor.d.ts.map +1 -0
  1629. package/dist/utils/Logger.d.ts +136 -0
  1630. package/dist/utils/Logger.d.ts.map +1 -0
  1631. package/dist/utils/MonitoringMetrics.d.ts +151 -0
  1632. package/dist/utils/MonitoringMetrics.d.ts.map +1 -0
  1633. package/dist/utils/PoolKeyNormalizer.d.ts +135 -0
  1634. package/dist/utils/PoolKeyNormalizer.d.ts.map +1 -0
  1635. package/dist/utils/ReconnectionManager.d.ts +142 -0
  1636. package/dist/utils/ReconnectionManager.d.ts.map +1 -0
  1637. package/dist/utils/SignatureHelper.d.ts +140 -0
  1638. package/dist/utils/SignatureHelper.d.ts.map +1 -0
  1639. package/dist/utils/SwapEventExtractor.d.ts +152 -0
  1640. package/dist/utils/SwapEventExtractor.d.ts.map +1 -0
  1641. package/dist/utils/adapters.d.ts +111 -0
  1642. package/dist/utils/adapters.d.ts.map +1 -0
  1643. package/dist/utils/address-formatter.d.ts +318 -0
  1644. package/dist/utils/address-formatter.d.ts.map +1 -0
  1645. package/dist/utils/agent-config.d.ts +288 -0
  1646. package/dist/utils/agent-config.d.ts.map +1 -0
  1647. package/dist/utils/amount-validator.d.ts +268 -0
  1648. package/dist/utils/amount-validator.d.ts.map +1 -0
  1649. package/dist/utils/api-patterns.d.ts +347 -0
  1650. package/dist/utils/api-patterns.d.ts.map +1 -0
  1651. package/dist/utils/array-helpers.d.ts +115 -0
  1652. package/dist/utils/array-helpers.d.ts.map +1 -0
  1653. package/dist/utils/assetUrls.d.ts +450 -0
  1654. package/dist/utils/assetUrls.d.ts.map +1 -0
  1655. package/dist/utils/async-patterns.d.ts +272 -0
  1656. package/dist/utils/async-patterns.d.ts.map +1 -0
  1657. package/dist/utils/auto-pagination.d.ts +549 -0
  1658. package/dist/utils/auto-pagination.d.ts.map +1 -0
  1659. package/dist/utils/bignumber-helpers.d.ts +446 -0
  1660. package/dist/utils/bignumber-helpers.d.ts.map +1 -0
  1661. package/dist/utils/bignumber-pool-cache.d.ts +169 -0
  1662. package/dist/utils/bignumber-pool-cache.d.ts.map +1 -0
  1663. package/dist/utils/bondingCurveCalculations.d.ts +144 -0
  1664. package/dist/utils/bondingCurveCalculations.d.ts.map +1 -0
  1665. package/dist/utils/cacheWarmingHelpers.d.ts +110 -0
  1666. package/dist/utils/cacheWarmingHelpers.d.ts.map +1 -0
  1667. package/dist/utils/composite-pool-converter.d.ts +121 -0
  1668. package/dist/utils/composite-pool-converter.d.ts.map +1 -0
  1669. package/dist/utils/crypto-compat.d.ts +40 -0
  1670. package/dist/utils/crypto-compat.d.ts.map +1 -0
  1671. package/dist/utils/data-transform-patterns.d.ts +393 -0
  1672. package/dist/utils/data-transform-patterns.d.ts.map +1 -0
  1673. package/dist/utils/date-utils.d.ts +205 -0
  1674. package/dist/utils/date-utils.d.ts.map +1 -0
  1675. package/dist/utils/delimiter-parser.d.ts +139 -0
  1676. package/dist/utils/delimiter-parser.d.ts.map +1 -0
  1677. package/dist/utils/error-factories.d.ts +701 -0
  1678. package/dist/utils/error-factories.d.ts.map +1 -0
  1679. package/dist/utils/error-handling-patterns.d.ts +390 -0
  1680. package/dist/utils/error-handling-patterns.d.ts.map +1 -0
  1681. package/dist/utils/error-patterns.d.ts +360 -0
  1682. package/dist/utils/error-patterns.d.ts.map +1 -0
  1683. package/dist/utils/error-utils.d.ts +463 -0
  1684. package/dist/utils/error-utils.d.ts.map +1 -0
  1685. package/dist/utils/error-wrapper.d.ts +208 -0
  1686. package/dist/utils/error-wrapper.d.ts.map +1 -0
  1687. package/dist/utils/errors.d.ts +552 -0
  1688. package/dist/utils/errors.d.ts.map +1 -0
  1689. package/dist/utils/http-factory.d.ts +36 -0
  1690. package/dist/utils/http-factory.d.ts.map +1 -0
  1691. package/dist/utils/http.d.ts +97 -0
  1692. package/dist/utils/http.d.ts.map +1 -0
  1693. package/dist/utils/load-env.d.ts +31 -0
  1694. package/dist/utils/load-env.d.ts.map +1 -0
  1695. package/dist/utils/multipart-helpers.d.ts +38 -0
  1696. package/dist/utils/multipart-helpers.d.ts.map +1 -0
  1697. package/dist/utils/multipart.d.ts +63 -0
  1698. package/dist/utils/multipart.d.ts.map +1 -0
  1699. package/dist/utils/nft-helpers.d.ts +62 -0
  1700. package/dist/utils/nft-helpers.d.ts.map +1 -0
  1701. package/dist/utils/numeric-patterns.d.ts +289 -0
  1702. package/dist/utils/numeric-patterns.d.ts.map +1 -0
  1703. package/dist/utils/numeric-wrappers.d.ts +149 -0
  1704. package/dist/utils/numeric-wrappers.d.ts.map +1 -0
  1705. package/dist/utils/object-extractors.d.ts +115 -0
  1706. package/dist/utils/object-extractors.d.ts.map +1 -0
  1707. package/dist/utils/object-patterns.d.ts +81 -0
  1708. package/dist/utils/object-patterns.d.ts.map +1 -0
  1709. package/dist/utils/pagination-helpers.d.ts +161 -0
  1710. package/dist/utils/pagination-helpers.d.ts.map +1 -0
  1711. package/dist/utils/pagination-validation.d.ts +88 -0
  1712. package/dist/utils/pagination-validation.d.ts.map +1 -0
  1713. package/dist/utils/pool-pair-parser.d.ts +57 -0
  1714. package/dist/utils/pool-pair-parser.d.ts.map +1 -0
  1715. package/dist/utils/pool-state-validator.d.ts +207 -0
  1716. package/dist/utils/pool-state-validator.d.ts.map +1 -0
  1717. package/dist/utils/position-filters.d.ts +252 -0
  1718. package/dist/utils/position-filters.d.ts.map +1 -0
  1719. package/dist/utils/primitives.d.ts +76 -0
  1720. package/dist/utils/primitives.d.ts.map +1 -0
  1721. package/dist/utils/query-params.d.ts +89 -0
  1722. package/dist/utils/query-params.d.ts.map +1 -0
  1723. package/dist/utils/response-handlers.d.ts +225 -0
  1724. package/dist/utils/response-handlers.d.ts.map +1 -0
  1725. package/dist/utils/response-helpers.d.ts +28 -0
  1726. package/dist/utils/response-helpers.d.ts.map +1 -0
  1727. package/dist/utils/response-normalizers.d.ts +115 -0
  1728. package/dist/utils/response-normalizers.d.ts.map +1 -0
  1729. package/dist/utils/safe-parsers.d.ts +487 -0
  1730. package/dist/utils/safe-parsers.d.ts.map +1 -0
  1731. package/dist/utils/service-validators.d.ts +268 -0
  1732. package/dist/utils/service-validators.d.ts.map +1 -0
  1733. package/dist/utils/slippage-utils.d.ts +70 -0
  1734. package/dist/utils/slippage-utils.d.ts.map +1 -0
  1735. package/dist/utils/string-patterns.d.ts +404 -0
  1736. package/dist/utils/string-patterns.d.ts.map +1 -0
  1737. package/dist/utils/string-transforms.d.ts +89 -0
  1738. package/dist/utils/string-transforms.d.ts.map +1 -0
  1739. package/dist/utils/string-utils.d.ts +108 -0
  1740. package/dist/utils/string-utils.d.ts.map +1 -0
  1741. package/dist/utils/swap-delta-calculator.d.ts +231 -0
  1742. package/dist/utils/swap-delta-calculator.d.ts.map +1 -0
  1743. package/dist/utils/tick-crossing-handler.d.ts +250 -0
  1744. package/dist/utils/tick-crossing-handler.d.ts.map +1 -0
  1745. package/dist/utils/token-format-converter.d.ts +175 -0
  1746. package/dist/utils/token-format-converter.d.ts.map +1 -0
  1747. package/dist/utils/token-parser.d.ts +235 -0
  1748. package/dist/utils/token-parser.d.ts.map +1 -0
  1749. package/dist/utils/token-stringification.d.ts +168 -0
  1750. package/dist/utils/token-stringification.d.ts.map +1 -0
  1751. package/dist/utils/tokenNameNormalizer.d.ts +96 -0
  1752. package/dist/utils/tokenNameNormalizer.d.ts.map +1 -0
  1753. package/dist/utils/tokenNormalizer.d.ts +167 -0
  1754. package/dist/utils/tokenNormalizer.d.ts.map +1 -0
  1755. package/dist/utils/trade-transformers.d.ts +28 -0
  1756. package/dist/utils/trade-transformers.d.ts.map +1 -0
  1757. package/dist/utils/transfer-validation.d.ts +58 -0
  1758. package/dist/utils/transfer-validation.d.ts.map +1 -0
  1759. package/dist/utils/type-guard-factory.d.ts +260 -0
  1760. package/dist/utils/type-guard-factory.d.ts.map +1 -0
  1761. package/dist/utils/unique-key-generator.d.ts +148 -0
  1762. package/dist/utils/unique-key-generator.d.ts.map +1 -0
  1763. package/dist/utils/validation-helpers.d.ts +1074 -0
  1764. package/dist/utils/validation-helpers.d.ts.map +1 -0
  1765. package/dist/utils/validation-patterns.d.ts +768 -0
  1766. package/dist/utils/validation-patterns.d.ts.map +1 -0
  1767. package/dist/utils/validation.d.ts +140 -0
  1768. package/dist/utils/validation.d.ts.map +1 -0
  1769. package/dist/utils/wallet.d.ts +185 -0
  1770. package/dist/utils/wallet.d.ts.map +1 -0
  1771. package/dist/utils/websocket-errors.d.ts +30 -0
  1772. package/dist/utils/websocket-errors.d.ts.map +1 -0
  1773. package/dist/utils/websocket-patterns.d.ts +680 -0
  1774. package/dist/utils/websocket-patterns.d.ts.map +1 -0
  1775. package/dist/utils/websocket-validators.d.ts +30 -0
  1776. package/dist/utils/websocket-validators.d.ts.map +1 -0
  1777. package/dist/wallet/ExternalWalletProvider.d.ts +109 -0
  1778. package/dist/wallet/ExternalWalletProvider.d.ts.map +1 -0
  1779. package/dist/wallet/GalaChainConnectProvider.d.ts +125 -0
  1780. package/dist/wallet/GalaChainConnectProvider.d.ts.map +1 -0
  1781. package/dist/wallet/GalaWalletProvider.d.ts +141 -0
  1782. package/dist/wallet/GalaWalletProvider.d.ts.map +1 -0
  1783. package/dist/wallet/PrivateKeyProvider.d.ts +90 -0
  1784. package/dist/wallet/PrivateKeyProvider.d.ts.map +1 -0
  1785. package/dist/wallet/detection.d.ts +107 -0
  1786. package/dist/wallet/detection.d.ts.map +1 -0
  1787. package/dist/wallet/index.d.ts +52 -0
  1788. package/dist/wallet/index.d.ts.map +1 -0
  1789. package/dist/wallet/types.d.ts +267 -0
  1790. package/dist/wallet/types.d.ts.map +1 -0
  1791. package/dist/wallet/utils.d.ts +117 -0
  1792. package/dist/wallet/utils.d.ts.map +1 -0
  1793. package/dist/wallet.cjs +1 -0
  1794. package/dist/wallet.esm.js +1 -0
  1795. package/package.json +177 -41
  1796. package/dist/examples/utils/orchestrator-base.d.ts +0 -313
  1797. package/dist/examples/utils/orchestrator-base.d.ts.map +0 -1
  1798. package/dist/index.cjs.js +0 -1
  1799. package/dist/src/services/ChatMessagesService.d.ts +0 -152
  1800. package/dist/src/services/ChatMessagesService.d.ts.map +0 -1
  1801. package/dist/src/services/CommentService.d.ts +0 -119
  1802. package/dist/src/services/CommentService.d.ts.map +0 -1
  1803. package/dist/src/services/CommentsService.d.ts +0 -155
  1804. package/dist/src/services/CommentsService.d.ts.map +0 -1
  1805. package/dist/src/services/GalaChainGatewayClient.d.ts +0 -227
  1806. package/dist/src/services/GalaChainGatewayClient.d.ts.map +0 -1
@@ -0,0 +1,1207 @@
1
+ import type { TokenClassKey } from '../types/common';
2
+ import type { AvailableDexTokensResult, DexToken, ExecuteSwapParams, ExecuteSwapResult, FetchAvailableDexTokensOptions, GetLiquidityPositionsOptions, GetLiquidityPositionsResult, GSwapPosition, GSwapServiceConfig as BaseGSwapServiceConfig, PoolInfo, PoolPriceData, PoolSlot0Data, SwapQuoteParams, SwapQuoteResult, UserAsset } from '../types/gswap.dto';
3
+ import type { GSwapAddLiquidityResult, GSwapEstimateRemoveLiquidityResult } from '../types/gswap-responses.types';
4
+ import { LoggerBase } from './BaseService';
5
+ import type { DexQuoteService } from './DexQuoteService';
6
+ import type { WebSocketService } from './WebSocketService';
7
+ type GSwapServiceConfig = Omit<BaseGSwapServiceConfig, 'gatewayBaseUrl' | 'galaChainBaseUrl'>;
8
+ export declare class GSwapService extends LoggerBase {
9
+ private tradeClient;
10
+ private dexBackendClient;
11
+ private tokenConverter;
12
+ private webSocketService;
13
+ private dexQuoteService;
14
+ private getWalletAddress;
15
+ private bundlerBaseUrl;
16
+ private privateKey;
17
+ private pricingConcurrency;
18
+ constructor(config: GSwapServiceConfig, webSocketService: WebSocketService, dexQuoteService?: DexQuoteService);
19
+ /**
20
+ * Set the pricing concurrency level for liquidity position pricing operations
21
+ * This is set once at SDK initialization and applies to all pricing operations
22
+ * @param concurrency Number of concurrent pricing requests (default: 5, max recommended: 20)
23
+ */
24
+ setPricingConcurrency(concurrency: number): void;
25
+ /**
26
+ * Get swap quote for spending a known input amount (exact input swap quote)
27
+ *
28
+ * Calculates how much of the destination token you will receive when spending a specific amount
29
+ * of the source token. Uses dynamic fee tier discovery to find the best available liquidity pool,
30
+ * trying fee tiers in order of typical liquidity: 3000 (0.30%), 500 (0.05%), then 10000 (1.00%).
31
+ * All quotes are always fresh (never cached) to prevent MEV vulnerabilities in volatile markets.
32
+ *
33
+ * @param params - Quote request parameters
34
+ * @param params.fromToken - Source token identifier (pipe-delimited format: 'GALA|Unit|none|none')
35
+ * @param params.toToken - Destination token identifier (pipe-delimited format)
36
+ * @param params.amount - Input amount to spend (must be positive number string)
37
+ * @returns Promise<SwapQuoteResult> Quote with estimated output amount, fee tier, price impact, and execution price
38
+ * @throws {GSwapQuoteError} If DexQuoteService not configured or all fee tiers fail to provide a quote
39
+ * @since 4.0.4-beta.0
40
+ * @category Services
41
+ *
42
+ * @example Get quote for buying tokens with 100 GALA
43
+ * ```typescript
44
+ * const quote = await gswapService.getSwapQuoteExactInput({
45
+ * fromToken: 'GALA|Unit|none|none',
46
+ * toToken: 'Token|Unit|BENE|client:123',
47
+ * amount: '100'
48
+ * });
49
+ *
50
+ * console.log(`Spending ${quote.inputAmount} GALA`);
51
+ * console.log(`Receiving ~${quote.estimatedOutput} BENE tokens`);
52
+ * console.log(`Fee tier: ${quote.feeTier / 100}%`);
53
+ * console.log(`Price impact: ${(parseFloat(quote.priceImpact) * 100).toFixed(4)}%`);
54
+ * ```
55
+ */
56
+ getSwapQuoteExactInput(params: SwapQuoteParams): Promise<SwapQuoteResult>;
57
+ /**
58
+ * Get swap quote for receiving a known output amount (exact output swap quote)
59
+ *
60
+ * Calculates how much of the source token you need to spend to receive a specific amount
61
+ * of the destination token. Uses dynamic fee tier discovery to find the best available liquidity pool,
62
+ * trying fee tiers in order of typical liquidity: 3000 (0.30%), 500 (0.05%), then 10000 (1.00%).
63
+ * All quotes are always fresh (never cached) to prevent MEV vulnerabilities in volatile markets.
64
+ *
65
+ * @param params - Quote request parameters
66
+ * @param params.fromToken - Source token identifier (pipe-delimited format: 'GALA|Unit|none|none')
67
+ * @param params.toToken - Destination token identifier (pipe-delimited format)
68
+ * @param params.amount - Desired output amount to receive (must be positive number string)
69
+ * @returns Promise<SwapQuoteResult> Quote with required input amount, fee tier, price impact, and execution price
70
+ * @throws {GSwapQuoteError} If DexQuoteService not configured or all fee tiers fail to provide a quote
71
+ * @since 4.0.4-beta.0
72
+ * @category Services
73
+ *
74
+ * @example Get quote for receiving exactly 50 tokens
75
+ * ```typescript
76
+ * const quote = await gswapService.getSwapQuoteExactOutput({
77
+ * fromToken: 'GALA|Unit|none|none',
78
+ * toToken: 'GUSDC|Unit|none|none',
79
+ * amount: '50'
80
+ * });
81
+ *
82
+ * console.log(`Need to spend ${quote.inputAmount} GALA`);
83
+ * console.log(`To receive exactly ${quote.estimatedOutput} GUSDC`);
84
+ * console.log(`Fee tier: ${quote.feeTier / 100}%`);
85
+ * console.log(`Price impact: ${(parseFloat(quote.priceImpact) * 100).toFixed(4)}%`);
86
+ * ```
87
+ */
88
+ getSwapQuoteExactOutput(params: SwapQuoteParams): Promise<SwapQuoteResult>;
89
+ /**
90
+ * Execute a token swap with slippage protection on GalaSwap DEX
91
+ *
92
+ * Performs a direct swap transaction between two tokens using the specified fee tier pool.
93
+ * Automatically calculates slippage-adjusted minimum output to protect against price movement,
94
+ * submits the transaction via the bundler, and monitors confirmation via WebSocket. Always get
95
+ * a fresh quote before executing to ensure accurate pricing and appropriate fee tier selection.
96
+ *
97
+ * @param params - Swap execution parameters
98
+ * @param params.fromToken - Source token to swap from (pipe-delimited format: 'GALA|Unit|none|none')
99
+ * @param params.toToken - Destination token to swap to (pipe-delimited format)
100
+ * @param params.inputAmount - Amount of source token to spend (string number)
101
+ * @param params.estimatedOutput - Expected output amount from quote (used for slippage calculation)
102
+ * @param params.feeTier - Pool fee tier in basis points (500 = 0.05%, 3000 = 0.30%, 10000 = 1.00%)
103
+ * @param params.slippageTolerance - Maximum acceptable slippage (default: 0.01 = 1%)
104
+ * @returns Promise<ExecuteSwapResult> Transaction result with status, amounts, and monitoring details
105
+ * @throws {Error} If private key not available, wallet address missing, or transaction fails
106
+ * @since 4.0.4-beta.0
107
+ * @category Services
108
+ *
109
+ * @example Complete swap workflow with quote and execution
110
+ * ```typescript
111
+ * // Step 1: Get fresh quote
112
+ * const quote = await gswapService.getSwapQuoteExactInput({
113
+ * fromToken: 'GALA|Unit|none|none',
114
+ * toToken: 'GUSDC|Unit|none|none',
115
+ * amount: '100'
116
+ * });
117
+ *
118
+ * // Step 2: Execute swap with 1% slippage tolerance
119
+ * const result = await gswapService.executeSwap({
120
+ * fromToken: 'GALA|Unit|none|none',
121
+ * toToken: 'GUSDC|Unit|none|none',
122
+ * inputAmount: '100',
123
+ * estimatedOutput: quote.estimatedOutput,
124
+ * feeTier: quote.feeTier, // Use fee tier from quote
125
+ * slippageTolerance: 0.01 // 1% max slippage
126
+ * });
127
+ *
128
+ * console.log(`Swap ${result.status}: ${result.transactionId}`);
129
+ * console.log(`Spent ${result.inputAmount} → Received ${result.outputAmount}`);
130
+ * ```
131
+ */
132
+ executeSwap(params: ExecuteSwapParams): Promise<ExecuteSwapResult>;
133
+ /**
134
+ * Get user's token assets/balances with rich metadata
135
+ *
136
+ * Fetches all tokens held by a user from the DEX API via /user/token-list endpoint.
137
+ * Returns enriched data including image, name, description, verification status.
138
+ * Only returns tokens where balance > 0.
139
+ *
140
+ * @param walletAddress User's wallet address (e.g., "eth|0x1234...")
141
+ * @param page Page number (1-based, default: 1)
142
+ * @param limit Results per page (max 20, default: 20)
143
+ * @returns Array of user assets with balances and rich metadata
144
+ * @throws {GSwapAssetError} When the API call itself fails or wallet address is invalid
145
+ * @since v4.1.0 Now returns rich metadata (image, name, description, verified)
146
+ */
147
+ getUserAssets(walletAddress: string, page?: number, limit?: number): Promise<UserAsset[]>;
148
+ /**
149
+ * Get all user assets across all pages (auto-paginated with optimization)
150
+ *
151
+ * Fetches all tokens held by a user with automatic pagination.
152
+ * Optimization: Stops fetching when quantity=0 is encountered (results are ordered by quantity desc).
153
+ *
154
+ * @param walletAddress Wallet address to fetch assets for
155
+ * @returns All user assets with balances > 0
156
+ * @since v4.1.0 Now returns rich metadata and uses smart pagination optimization
157
+ */
158
+ getAllUserAssets(walletAddress: string): Promise<UserAsset[]>;
159
+ /**
160
+ * Fetch available DEX tokens (token discovery)
161
+ *
162
+ * Fetches all tokens available on the DEX without requiring a wallet address.
163
+ * Use for token discovery, listings, and market analysis.
164
+ *
165
+ * @param options Fetch options (search, limit, page)
166
+ * @returns Paginated result with token metadata
167
+ * @throws {GSwapAssetError} When the API call fails
168
+ * @since v4.1.0
169
+ */
170
+ fetchAvailableDexTokens(options?: FetchAvailableDexTokensOptions): Promise<AvailableDexTokensResult>;
171
+ /**
172
+ * Fetch all available DEX tokens (auto-paginated)
173
+ *
174
+ * Fetches ALL tokens available on the DEX with automatic pagination.
175
+ * Use for complete token listings and comprehensive market analysis.
176
+ *
177
+ * @param options Fetch options (search filter)
178
+ * @returns All available tokens on the DEX
179
+ * @throws {GSwapAssetError} When the API call fails
180
+ * @since v4.1.0
181
+ */
182
+ fetchAllAvailableDexTokens(options?: Omit<FetchAvailableDexTokensOptions, 'page' | 'limit'>): Promise<DexToken[]>;
183
+ /**
184
+ * Get pool information for token pair
185
+ * @param tokenA First token
186
+ * @param tokenB Second token
187
+ * @returns Pool information
188
+ */
189
+ getPoolInfo(tokenA: string, tokenB: string): Promise<PoolInfo>;
190
+ /**
191
+ * Get all liquidity positions for a wallet
192
+ * @param ownerAddress User's wallet address
193
+ * @param limit Maximum number of positions to return (default 100)
194
+ * @param bookmark Pagination bookmark
195
+ * @returns Array of liquidity positions with full type safety
196
+ */
197
+ /**
198
+ * Chunk array into smaller batches for concurrent processing
199
+ * @private
200
+ */
201
+ private chunkArray;
202
+ /**
203
+ * Fetch real-time pricing for liquidity positions
204
+ * Deduplicates pools and processes in chunks for optimal performance
205
+ * @private
206
+ */
207
+ private fetchPositionPrices;
208
+ /**
209
+ * Normalize GSwap API position response to match LiquidityPosition interface
210
+ * Handles different field naming conventions from the API
211
+ *
212
+ * @param rawPosition - Raw API response with varying field names (see RawPositionData docs)
213
+ * @param ownerAddress - Optional owner address to include in normalized result
214
+ */
215
+ private normalizePositionResponse;
216
+ /**
217
+ * Parse token string flexibly - supports both delimited and simple formats
218
+ * @param tokenString Token in format "GALA" or "GALA|Unit|none|none"
219
+ * @returns TokenClassKey object
220
+ */
221
+ private parseTokenFlexible;
222
+ /**
223
+ * Transform a raw token from API response to DexToken format
224
+ *
225
+ * Centralizes the transformation logic used by both getUserAssets and fetchAvailableDexTokens.
226
+ * Handles type coercion (decimals string to number, verify to verified).
227
+ *
228
+ * @param token Raw token from DEX Backend API
229
+ * @returns Transformed DexToken with proper types
230
+ * @since v4.1.0
231
+ */
232
+ private transformRawTokenToDexToken;
233
+ /**
234
+ * Transform a raw token from API response to UserAsset format
235
+ *
236
+ * Extends the base DexToken transformation with tokenId parsing and balance formatting.
237
+ * Returns null if the token cannot be processed (parsing errors).
238
+ *
239
+ * @param token Raw token from DEX Backend API
240
+ * @returns Transformed UserAsset or null if processing fails
241
+ * @since v4.1.0
242
+ */
243
+ private transformRawTokenToUserAsset;
244
+ /**
245
+ * Fetch user's liquidity positions with pagination and optional price enrichment
246
+ *
247
+ * Retrieves concentrated liquidity positions for a specific wallet address using bookmark-based
248
+ * cursor pagination. Supports optional real-time price enrichment to include current token prices
249
+ * and position value calculations. Use this method when you need manual pagination control or
250
+ * want to fetch positions incrementally.
251
+ *
252
+ * @param ownerAddress - Wallet address to query positions for (format: 'eth|0x...' or 'client|...')
253
+ * @param limit - Maximum positions per page (default: GSWAP_LIQUIDITY_POSITIONS_PAGE_SIZE)
254
+ * @param bookmark - Optional pagination cursor from previous result's nextBookmark field
255
+ * @param options - Optional configuration for price enrichment and additional data
256
+ * @param options.withPrices - If true, enriches positions with current token prices and USD values
257
+ * @returns Promise<GetLiquidityPositionsResult> Paginated positions with optional nextBookmark and prices
258
+ * @throws {GSwapPositionError} If API request fails or position normalization errors occur
259
+ * @since 4.0.4-beta.0
260
+ * @category Services
261
+ *
262
+ * @example Manual pagination without price enrichment
263
+ * ```typescript
264
+ * // Fetch first page
265
+ * const page1 = await gswapService.getUserLiquidityPositions(
266
+ * 'eth|0x1234...',
267
+ * 10
268
+ * );
269
+ *
270
+ * console.log(`Found ${page1.items.length} positions`);
271
+ *
272
+ * // Fetch next page if available
273
+ * if (page1.nextBookmark) {
274
+ * const page2 = await gswapService.getUserLiquidityPositions(
275
+ * 'eth|0x1234...',
276
+ * 10,
277
+ * page1.nextBookmark
278
+ * );
279
+ * }
280
+ * ```
281
+ *
282
+ * @example Fetch positions with real-time price enrichment
283
+ * ```typescript
284
+ * const positions = await gswapService.getUserLiquidityPositions(
285
+ * 'eth|0x1234...',
286
+ * 20,
287
+ * undefined,
288
+ * { withPrices: true }
289
+ * );
290
+ *
291
+ * // Prices map available at result.prices
292
+ * positions.items.forEach(pos => {
293
+ * const poolKey = `${pos.token0}/${pos.token1}`;
294
+ * const prices = positions.prices?.get(poolKey);
295
+ * if (prices) {
296
+ * console.log(`${poolKey}: Token0=$${prices.token0PriceUsd}, Token1=$${prices.token1PriceUsd}`);
297
+ * }
298
+ * });
299
+ * ```
300
+ */
301
+ getUserLiquidityPositions(ownerAddress: string, limit?: number, bookmark?: string, options?: GetLiquidityPositionsOptions): Promise<GetLiquidityPositionsResult>;
302
+ /**
303
+ * Fetch ALL user liquidity positions with automatic pagination and optional price enrichment
304
+ *
305
+ * Convenience method that automatically handles bookmark-based pagination to retrieve all
306
+ * concentrated liquidity positions for a wallet in a single call. Uses maximum page size
307
+ * internally for efficiency and combines results from all pages. Optionally enriches positions
308
+ * with real-time token prices and USD value calculations.
309
+ *
310
+ * @param ownerAddress - Wallet address to query positions for (format: 'eth|0x...' or 'client|...')
311
+ * @param options - Optional configuration for price enrichment and additional data
312
+ * @param options.withPrices - If true, enriches all positions with current token prices and USD values
313
+ * @returns Promise<GSwapPosition[] | GetLiquidityPositionsResult> All positions (array if no prices, result with prices if requested)
314
+ * @throws {GSwapPositionError} If API request fails or position normalization errors occur
315
+ * @since 4.0.4-beta.0
316
+ * @category Services
317
+ *
318
+ * @example Fetch all positions without prices (simple array)
319
+ * ```typescript
320
+ * const allPositions = await gswapService.getAllSwapUserLiquidityPositions(
321
+ * 'eth|0x1234...'
322
+ * );
323
+ *
324
+ * console.log(`Total positions: ${allPositions.length}`);
325
+ * allPositions.forEach(pos => {
326
+ * console.log(`Position ${pos.positionId}: ${pos.token0}/${pos.token1}`);
327
+ * console.log(` Liquidity: ${pos.liquidity}, Range: ${pos.tickLower}-${pos.tickUpper}`);
328
+ * });
329
+ * ```
330
+ *
331
+ * @example Fetch all positions with price enrichment (full result object)
332
+ * ```typescript
333
+ * const result = await gswapService.getAllSwapUserLiquidityPositions(
334
+ * 'eth|0x1234...',
335
+ * { withPrices: true }
336
+ * );
337
+ *
338
+ * // When withPrices=true, returns GetLiquidityPositionsResult with prices Map
339
+ * if ('prices' in result) {
340
+ * result.items.forEach(pos => {
341
+ * const poolKey = `${pos.token0}/${pos.token1}`;
342
+ * const prices = result.prices?.get(poolKey);
343
+ * if (prices) {
344
+ * console.log(`${poolKey}: $${prices.token0PriceUsd} / $${prices.token1PriceUsd}`);
345
+ * }
346
+ * });
347
+ * }
348
+ * ```
349
+ */
350
+ getAllSwapUserLiquidityPositions(ownerAddress: string, options?: GetLiquidityPositionsOptions): Promise<GSwapPosition[] | GetLiquidityPositionsResult>;
351
+ /**
352
+ * Fetch a specific liquidity position by its compound key (token pair, fee tier, and tick range)
353
+ *
354
+ * Retrieves detailed information about a single concentrated liquidity position using its
355
+ * compound key consisting of the token pair, fee tier, and tick boundaries. This method
356
+ * validates tick spacing for the given fee tier before making the API call to ensure the
357
+ * position parameters are valid for the specified pool.
358
+ *
359
+ * @param ownerAddress - Wallet address that owns the position (format: 'eth|0x...' or 'client|...')
360
+ * @param position - Compound key identifying the specific position
361
+ * @param position.token0 - First token identifier (pipe-delimited format: 'GALA|Unit|none|none')
362
+ * @param position.token1 - Second token identifier (pipe-delimited format)
363
+ * @param position.fee - Pool fee tier in basis points (500, 3000, or 10000)
364
+ * @param position.tickLower - Lower tick boundary of the position's price range
365
+ * @param position.tickUpper - Upper tick boundary of the position's price range
366
+ * @returns Promise<GSwapPosition> Complete position details with liquidity, amounts, and fees
367
+ * @throws {GSwapPositionError} If position not found, tick spacing invalid, or API request fails
368
+ * @since 4.0.4-beta.0
369
+ * @category Services
370
+ *
371
+ * @example Fetch position by compound key
372
+ * ```typescript
373
+ * const position = await gswapService.getLiquidityPosition(
374
+ * 'eth|0x1234...',
375
+ * {
376
+ * token0: 'GALA|Unit|none|none',
377
+ * token1: 'GUSDC|Unit|none|none',
378
+ * fee: 3000, // 0.30% fee tier
379
+ * tickLower: -276330,
380
+ * tickUpper: -276270
381
+ * }
382
+ * );
383
+ *
384
+ * console.log(`Position ID: ${position.positionId}`);
385
+ * console.log(`Liquidity: ${position.liquidity}`);
386
+ * console.log(`Token0 amount: ${position.amount0}`);
387
+ * console.log(`Token1 amount: ${position.amount1}`);
388
+ * console.log(`Uncollected fees: ${position.feeAmount0} / ${position.feeAmount1}`);
389
+ * ```
390
+ */
391
+ getLiquidityPosition(ownerAddress: string, position: {
392
+ token0: string;
393
+ token1: string;
394
+ fee: number;
395
+ tickLower: number;
396
+ tickUpper: number;
397
+ }): Promise<GSwapPosition>;
398
+ /**
399
+ * Fetch a liquidity position by its unique position ID with automatic retry logic
400
+ *
401
+ * Retrieves detailed information about a concentrated liquidity position using its unique position ID.
402
+ * Includes automatic retry logic (5 attempts with 2-second delays) for newly created positions that
403
+ * may not be immediately indexed. Optionally accepts compound key parameters (token pair, fee tier,
404
+ * tick range) for faster compound key lookup instead of iterating through all positions.
405
+ *
406
+ * @param ownerAddress - Wallet address that owns the position (format: 'eth|0x...' or 'client|...')
407
+ * @param positionId - Unique position UUID returned when position was created
408
+ * @param token0 - Optional first token for compound key lookup (faster than ID scan)
409
+ * @param token1 - Optional second token for compound key lookup (faster than ID scan)
410
+ * @param feeTier - Optional fee tier in basis points for compound key lookup (500, 3000, or 10000)
411
+ * @param tickLower - Optional lower tick boundary for compound key lookup
412
+ * @param tickUpper - Optional upper tick boundary for compound key lookup
413
+ * @returns Promise<GSwapPosition> Complete position details with liquidity, amounts, fees, and metadata
414
+ * @throws {GSwapPositionError} If position not found after retries or API request fails
415
+ * @since 4.0.4-beta.0
416
+ * @category Services
417
+ *
418
+ * @example Fetch position by ID only (with automatic retry)
419
+ * ```typescript
420
+ * const position = await gswapService.getLiquidityPositionById(
421
+ * 'eth|0x1234...',
422
+ * 'abc123-position-uuid'
423
+ * );
424
+ *
425
+ * console.log(`Found position: ${position.token0}/${position.token1}`);
426
+ * console.log(`Liquidity: ${position.liquidity}`);
427
+ * ```
428
+ *
429
+ * @example Fetch position by ID with compound key for faster lookup
430
+ * ```typescript
431
+ * // Providing compound key parameters enables direct lookup (much faster)
432
+ * const position = await gswapService.getLiquidityPositionById(
433
+ * 'eth|0x1234...',
434
+ * 'abc123-position-uuid',
435
+ * 'GALA|Unit|none|none',
436
+ * 'GUSDC|Unit|none|none',
437
+ * 3000, // 0.30% fee tier
438
+ * -276330, // tickLower
439
+ * -276270 // tickUpper
440
+ * );
441
+ *
442
+ * console.log(`Position ${position.positionId} found via compound key`);
443
+ * ```
444
+ */
445
+ getLiquidityPositionById(ownerAddress: string, positionId: string, token0?: string | Record<string, unknown>, token1?: string | Record<string, unknown>, feeTier?: number, tickLower?: number, tickUpper?: number): Promise<GSwapPosition>;
446
+ /**
447
+ * Fetch a single liquidity position using only the compound key
448
+ * Most efficient when you already have all position parameters
449
+ * @param params Position parameters - token0, token1, fee, tickLower, tickUpper, owner (ALL REQUIRED)
450
+ * @returns Detailed position information with full type safety
451
+ * @remarks
452
+ * - Does NOT use positionId (not needed or accepted)
453
+ * - Single backend request
454
+ * - Best for cases where caller has full position parameters
455
+ * - Requires: token0, token1, fee (500|3000|10000), tickLower, tickUpper, owner
456
+ */
457
+ fetchSwapPositionDirect(params: {
458
+ token0: string;
459
+ token1: string;
460
+ fee: number;
461
+ tickLower: number;
462
+ tickUpper: number;
463
+ owner: string;
464
+ }): Promise<GSwapPosition>;
465
+ /**
466
+ * Estimate token amounts that will be received when removing liquidity from a position
467
+ *
468
+ * Calculates the expected token0 and token1 amounts that will be returned when removing a
469
+ * specific amount of liquidity from a concentrated liquidity position. This is useful for
470
+ * previewing the outcome before executing the actual removal transaction. Validates tick
471
+ * spacing for the given fee tier before making the API call to ensure valid parameters.
472
+ *
473
+ * @param args - Liquidity removal estimation parameters
474
+ * @param args.token0 - First token identifier (pipe-delimited format: 'GALA|Unit|none|none')
475
+ * @param args.token1 - Second token identifier (pipe-delimited format)
476
+ * @param args.fee - Pool fee tier in basis points (500, 3000, or 10000)
477
+ * @param args.liquidity - Amount of liquidity to remove (string number from position.liquidity)
478
+ * @param args.tickLower - Lower tick boundary of the position
479
+ * @param args.tickUpper - Upper tick boundary of the position
480
+ * @param args.owner - Wallet address that owns the position (format: 'eth|0x...' or 'client|...')
481
+ * @returns Promise<GSwapEstimateRemoveLiquidityResult> Estimated token0 and token1 amounts to be received
482
+ * @throws {GSwapPositionError} If tick spacing invalid, parameters incorrect, or API request fails
483
+ * @since 4.0.4-beta.0
484
+ * @category Services
485
+ *
486
+ * @example Estimate removal before executing
487
+ * ```typescript
488
+ * // First, get the position details
489
+ * const position = await gswapService.getLiquidityPositionById(
490
+ * 'eth|0x1234...',
491
+ * 'position-uuid'
492
+ * );
493
+ *
494
+ * // Estimate what you'll receive from removing all liquidity
495
+ * const estimate = await gswapService.estimateRemoveLiquidity({
496
+ * token0: position.token0,
497
+ * token1: position.token1,
498
+ * fee: position.feeTier,
499
+ * liquidity: position.liquidity, // Remove all liquidity
500
+ * tickLower: position.tickLower,
501
+ * tickUpper: position.tickUpper,
502
+ * owner: 'eth|0x1234...'
503
+ * });
504
+ *
505
+ * console.log(`Removing liquidity will return:`);
506
+ * console.log(` Token0: ${estimate.amount0}`);
507
+ * console.log(` Token1: ${estimate.amount1}`);
508
+ *
509
+ * // Then execute actual removal if amounts look good
510
+ * const result = await gswapService.removeLiquidity({
511
+ * token0: position.token0,
512
+ * token1: position.token1,
513
+ * fee: position.feeTier,
514
+ * liquidity: position.liquidity,
515
+ * tickLower: position.tickLower,
516
+ * tickUpper: position.tickUpper
517
+ * });
518
+ * ```
519
+ */
520
+ estimateRemoveLiquidity(args: {
521
+ token0: string;
522
+ token1: string;
523
+ fee: number;
524
+ liquidity: string;
525
+ tickLower: number;
526
+ tickUpper: number;
527
+ owner: string;
528
+ }): Promise<GSwapEstimateRemoveLiquidityResult>;
529
+ /**
530
+ * Add concentrated liquidity to a DEX pool using user-friendly price ranges
531
+ *
532
+ * Creates a new liquidity position in a GalaSwap concentrated liquidity pool by specifying minimum
533
+ * and maximum prices instead of raw tick values. Automatically converts price ranges to tick boundaries
534
+ * using the pool's tick spacing, submits the transaction via bundler, and monitors confirmation via
535
+ * WebSocket. Returns a result object with transaction details and an optional wait() method for
536
+ * tracking on-chain confirmation.
537
+ *
538
+ * @param args - Liquidity addition parameters with price range
539
+ * @param args.token0 - First token identifier (pipe-delimited format: 'GALA|Unit|none|none')
540
+ * @param args.token1 - Second token identifier (pipe-delimited format)
541
+ * @param args.fee - Pool fee tier in basis points (500 = 0.05%, 3000 = 0.30%, 10000 = 1.00%)
542
+ * @param args.minPrice - Minimum price for the liquidity range (string number, token1 per token0)
543
+ * @param args.maxPrice - Maximum price for the liquidity range (string number, token1 per token0)
544
+ * @param args.amount0Desired - Desired amount of token0 to deposit (string number)
545
+ * @param args.amount1Desired - Desired amount of token1 to deposit (string number)
546
+ * @param args.amount0Min - Optional minimum amount0 to accept (default: '0')
547
+ * @param args.amount1Min - Optional minimum amount1 to accept (default: '0')
548
+ * @returns Promise<GSwapAddLiquidityResult> Transaction result with positionId, liquidity amounts, status, and wait() helper
549
+ * @throws {Error} If private key not available, wallet address missing, or transaction fails
550
+ * @since 4.0.4-beta.0
551
+ * @category Services
552
+ *
553
+ * @example Add liquidity with price range (user-friendly approach)
554
+ * ```typescript
555
+ * // Add liquidity to GALA/GUSDC pool with price range $0.025 to $0.035
556
+ * const result = await gswapService.addLiquidityByPrice({
557
+ * token0: 'GALA|Unit|none|none',
558
+ * token1: 'GUSDC|Unit|none|none',
559
+ * fee: 3000, // 0.30% fee tier
560
+ * minPrice: '0.025', // Minimum price: $0.025 per GALA
561
+ * maxPrice: '0.035', // Maximum price: $0.035 per GALA
562
+ * amount0Desired: '1000', // Deposit up to 1000 GALA
563
+ * amount1Desired: '30', // Deposit up to 30 GUSDC
564
+ * amount0Min: '900', // Accept minimum 900 GALA
565
+ * amount1Min: '25' // Accept minimum 25 GUSDC
566
+ * });
567
+ *
568
+ * console.log(`Position created: ${result.positionId}`);
569
+ * console.log(`Transaction: ${result.transactionId}`);
570
+ *
571
+ * // Wait for on-chain confirmation
572
+ * await result.wait?.();
573
+ * console.log(`Position confirmed with liquidity: ${result.liquidity}`);
574
+ * ```
575
+ */
576
+ addLiquidityByPrice(args: {
577
+ token0: string;
578
+ token1: string;
579
+ fee: number;
580
+ minPrice: string;
581
+ maxPrice: string;
582
+ amount0Desired: string;
583
+ amount1Desired: string;
584
+ amount0Min?: string;
585
+ amount1Min?: string;
586
+ }): Promise<GSwapAddLiquidityResult & {
587
+ timestamp?: Date;
588
+ wait?: (timeoutMs?: number) => Promise<void>;
589
+ }>;
590
+ /**
591
+ * Add concentrated liquidity to a DEX pool using precise tick boundaries (advanced)
592
+ *
593
+ * Creates a new liquidity position in a GalaSwap concentrated liquidity pool using raw tick
594
+ * boundaries instead of price ranges. This advanced method gives precise control over position
595
+ * range but requires understanding of Uniswap V3 tick mechanics and tick spacing constraints.
596
+ * Automatically connects WebSocket before transaction submission to prevent missed confirmations,
597
+ * then monitors position discovery with retry logic to handle indexing delays.
598
+ *
599
+ * @param args - Liquidity addition parameters with tick boundaries
600
+ * @param args.token0 - First token (pipe-delimited string or TokenClassKey object)
601
+ * @param args.token1 - Second token (pipe-delimited string or TokenClassKey object)
602
+ * @param args.fee - Pool fee tier in basis points (500 = 0.05%, 3000 = 0.30%, 10000 = 1.00%)
603
+ * @param args.tickLower - Lower tick boundary (must be multiple of tickSpacing, supports negative values)
604
+ * @param args.tickUpper - Upper tick boundary (must be multiple of tickSpacing)
605
+ * @param args.amount0Desired - Desired amount of token0 to deposit (string number)
606
+ * @param args.amount1Desired - Desired amount of token1 to deposit (string number)
607
+ * @param args.amount0Min - Optional minimum amount0 to accept (default: '0')
608
+ * @param args.amount1Min - Optional minimum amount1 to accept (default: '0')
609
+ * @returns Promise<GSwapAddLiquidityResult> Transaction result with positionId, liquidity amounts, status, and wait() helper
610
+ * @throws {Error} If private key not available, wallet address missing, tick spacing invalid, or transaction fails
611
+ * @since 4.0.4-beta.0
612
+ * @category Services
613
+ *
614
+ * @example Add liquidity with precise tick range (advanced users)
615
+ * ```typescript
616
+ * // Add liquidity to GALA/GUSDC pool with exact tick boundaries
617
+ * // Tick spacing for fee=3000 (0.30%) is 60, so ticks must be multiples of 60
618
+ * const result = await gswapService.addSwapLiquidityByTicks({
619
+ * token0: 'GALA|Unit|none|none',
620
+ * token1: 'GUSDC|Unit|none|none',
621
+ * fee: 3000, // 0.30% fee tier → tickSpacing=60
622
+ * tickLower: -276360, // Must be multiple of 60
623
+ * tickUpper: -276240, // Must be multiple of 60
624
+ * amount0Desired: '1000',
625
+ * amount1Desired: '30',
626
+ * amount0Min: '900',
627
+ * amount1Min: '25'
628
+ * });
629
+ *
630
+ * console.log(`Position ${result.positionId} created`);
631
+ * console.log(`Liquidity: ${result.liquidity}`);
632
+ *
633
+ * // Wait for on-chain confirmation
634
+ * await result.wait?.();
635
+ * console.log(`Position confirmed: ${result.status}`);
636
+ * ```
637
+ *
638
+ * @example Tick spacing constraints by fee tier
639
+ * ```typescript
640
+ * // Fee tier determines required tick spacing:
641
+ * // - Fee 500 (0.05%): tickSpacing = 10
642
+ * // - Fee 3000 (0.30%): tickSpacing = 60
643
+ * // - Fee 10000 (1.00%): tickSpacing = 200
644
+ *
645
+ * // Valid ticks for fee=3000: -276360, -276300, -276240, etc.
646
+ * // Invalid: -276350 (not multiple of 60)
647
+ * ```
648
+ */
649
+ addSwapLiquidityByTicks(args: {
650
+ token0: string | TokenClassKey;
651
+ token1: string | TokenClassKey;
652
+ fee: number;
653
+ tickLower: number;
654
+ tickUpper: number;
655
+ amount0Desired: string;
656
+ amount1Desired: string;
657
+ amount0Min?: string;
658
+ amount1Min?: string;
659
+ }): Promise<GSwapAddLiquidityResult & {
660
+ timestamp?: Date;
661
+ wait?: (timeoutMs?: number) => Promise<void>;
662
+ }>;
663
+ /**
664
+ * Monitor a bundler transaction with graceful fallback on timeout
665
+ *
666
+ * **Pattern Overview**
667
+ * This helper consolidates the common error handling pattern used by all bundler-direct
668
+ * operations (removeSwapLiquidity, collectSwapPositionFees, etc.):
669
+ *
670
+ * 1. Set up WebSocket listener BEFORE bundler submission (already done by caller)
671
+ * 2. Try to await transaction confirmation via WebSocket
672
+ * 3. If timeout occurs: Return partial result with status: 'SUBMITTED'
673
+ * 4. If successful: Return confirmed result with on-chain status
674
+ * 5. Both cases include a .wait() method for retry/manual monitoring
675
+ *
676
+ * **Why This Pattern Matters**
677
+ * - Prevents race conditions (listener active before transaction confirmation)
678
+ * - Handles network timeouts gracefully (users still get transaction ID)
679
+ * - Provides flexibility (users can call .wait() again if needed)
680
+ * - Consistent error handling across all bundler operations
681
+ *
682
+ * @param transactionId Transaction ID from bundler submission
683
+ * @param transactionPromise WebSocket monitoring promise (already created before bundler call)
684
+ * @param operationName Operation name for logging context (e.g., 'liquidity removal')
685
+ * @returns Bundler operation result with status and wait() method
686
+ * @private
687
+ */
688
+ private monitorBundlerTransaction;
689
+ /**
690
+ * Remove liquidity from an existing concentrated liquidity position (partial or complete)
691
+ *
692
+ * Withdraws liquidity from a GalaSwap concentrated liquidity position, returning the underlying
693
+ * token0 and token1 amounts to your wallet. Supports both partial removal (reduce position size)
694
+ * and complete removal (close position). Validates liquidity amount to prevent zero-value removals
695
+ * that would waste gas fees. Automatically connects WebSocket before transaction submission to
696
+ * monitor confirmation, with graceful timeout handling if monitoring fails.
697
+ *
698
+ * @param args - Liquidity removal parameters
699
+ * @param args.token0 - First token (pipe-delimited string or TokenClassKey object)
700
+ * @param args.token1 - Second token (pipe-delimited string or TokenClassKey object)
701
+ * @param args.fee - Pool fee tier in basis points (500 = 0.05%, 3000 = 0.30%, 10000 = 1.00%)
702
+ * @param args.tickLower - Lower tick boundary of the position
703
+ * @param args.tickUpper - Upper tick boundary of the position
704
+ * @param args.liquidity - Amount of liquidity to remove (must be > 0, use position.liquidity for full removal)
705
+ * @param args.amount0Min - Optional minimum token0 to accept for slippage protection (default: '0')
706
+ * @param args.amount1Min - Optional minimum token1 to accept for slippage protection (default: '0')
707
+ * @param args.positionId - Optional position ID for tracking and error messaging
708
+ * @returns Promise<GSwapAddLiquidityResult> Transaction result with transactionId, status, timestamp, and wait() helper
709
+ * @throws {Error} If private key not available, liquidity is zero, or transaction fails
710
+ * @since 4.0.4-beta.0
711
+ * @category Services
712
+ *
713
+ * @example Remove 50% of liquidity from a position (partial removal)
714
+ * ```typescript
715
+ * // Step 1: Get position details
716
+ * const positions = await gswapService.getUserLiquidityPositions('eth|0x1234...');
717
+ * const position = positions.items[0];
718
+ *
719
+ * // Step 2: Calculate 50% of liquidity to remove
720
+ * const halfLiquidity = (parseFloat(position.liquidity) * 0.5).toString();
721
+ *
722
+ * // Step 3: Remove partial liquidity
723
+ * const result = await gswapService.removeLiquidity({
724
+ * token0: position.token0,
725
+ * token1: position.token1,
726
+ * fee: position.feeTier,
727
+ * tickLower: position.tickLower,
728
+ * tickUpper: position.tickUpper,
729
+ * liquidity: halfLiquidity,
730
+ * amount0Min: '0', // Accept any amount (consider slippage for production)
731
+ * amount1Min: '0',
732
+ * positionId: position.positionId
733
+ * });
734
+ *
735
+ * console.log(`Removed half liquidity: ${result.transactionId}`);
736
+ * await result.wait?.();
737
+ * ```
738
+ *
739
+ * @example Remove all liquidity to close position (complete removal)
740
+ * ```typescript
741
+ * // Close position completely by removing all liquidity
742
+ * const result = await gswapService.removeLiquidity({
743
+ * token0: 'GALA|Unit|none|none',
744
+ * token1: 'GUSDC|Unit|none|none',
745
+ * fee: 3000,
746
+ * tickLower: -276360,
747
+ * tickUpper: -276240,
748
+ * liquidity: position.liquidity, // Remove ALL liquidity
749
+ * positionId: position.positionId
750
+ * });
751
+ *
752
+ * console.log(`Position closed: ${result.status}`);
753
+ * ```
754
+ */
755
+ removeLiquidity(args: {
756
+ token0: string | TokenClassKey;
757
+ token1: string | TokenClassKey;
758
+ fee: number;
759
+ tickLower: number;
760
+ tickUpper: number;
761
+ liquidity: string;
762
+ amount0Min?: string;
763
+ amount1Min?: string;
764
+ positionId?: string;
765
+ }): Promise<GSwapAddLiquidityResult>;
766
+ /**
767
+ * Collect accumulated trading fees from a concentrated liquidity position (partial or complete)
768
+ *
769
+ * Claims trading fees that have accumulated in your liquidity position without affecting the
770
+ * position's liquidity. Fees only accumulate when your position is in-range (current price within
771
+ * your tick boundaries) and trades execute in that range. Supports collecting all fees at once
772
+ * (default with '0' amounts) or specific amounts for capital management strategies. Automatically
773
+ * connects WebSocket before transaction submission to monitor confirmation.
774
+ *
775
+ * @param args - Fee collection parameters (supports two patterns: direct parameters or position lookup)
776
+ * @param args.token0 - First token (pipe-delimited string or TokenClassKey, required unless using ownerAddress pattern)
777
+ * @param args.token1 - Second token (pipe-delimited string or TokenClassKey, required unless using ownerAddress pattern)
778
+ * @param args.fee - Pool fee tier in basis points (500, 3000, or 10000, required unless using ownerAddress pattern)
779
+ * @param args.tickLower - Lower tick boundary of the position (required unless using ownerAddress pattern)
780
+ * @param args.tickUpper - Upper tick boundary of the position (required unless using ownerAddress pattern)
781
+ * @param args.amount0Requested - Optional token0 fee amount to collect (default: '0' = collect all)
782
+ * @param args.amount1Requested - Optional token1 fee amount to collect (default: '0' = collect all)
783
+ * @param args.positionId - Optional position ID for tracking and verification
784
+ * @param args.ownerAddress - Alternative pattern: fetch position details first using this address and positionId
785
+ * @param args.amount0Max - Alternative naming for amount0Requested (MCP tool compatibility)
786
+ * @param args.amount1Max - Alternative naming for amount1Requested (MCP tool compatibility)
787
+ * @returns Promise<GSwapAddLiquidityResult> Transaction result with transactionId, status, timestamp, and wait() helper
788
+ * @throws {Error} If private key not available, position not found, or transaction fails
789
+ * @since 4.0.4-beta.0
790
+ * @category Services
791
+ *
792
+ * @example Collect all accumulated fees from a position
793
+ * ```typescript
794
+ * // Step 1: Get position details to check accumulated fees
795
+ * const positions = await gswapService.getUserLiquidityPositions('eth|0x1234...');
796
+ * const position = positions.items[0];
797
+ *
798
+ * console.log(`Token0 fees: ${position.feeAmount0}`);
799
+ * console.log(`Token1 fees: ${position.feeAmount1}`);
800
+ *
801
+ * // Step 2: Collect all fees if there are any
802
+ * if (parseFloat(position.feeAmount0) > 0 || parseFloat(position.feeAmount1) > 0) {
803
+ * const result = await gswapService.collectPositionFees({
804
+ * token0: position.token0,
805
+ * token1: position.token1,
806
+ * fee: position.feeTier,
807
+ * tickLower: position.tickLower,
808
+ * tickUpper: position.tickUpper,
809
+ * amount0Requested: '0', // '0' means collect ALL token0 fees
810
+ * amount1Requested: '0', // '0' means collect ALL token1 fees
811
+ * positionId: position.positionId
812
+ * });
813
+ *
814
+ * console.log(`Fee collection submitted: ${result.transactionId}`);
815
+ * await result.wait?.();
816
+ * console.log('All fees collected successfully');
817
+ * }
818
+ * ```
819
+ *
820
+ * @example Collect fees using position lookup pattern (MCP tool compatible)
821
+ * ```typescript
822
+ * // Alternative pattern that fetches position details automatically
823
+ * const result = await gswapService.collectPositionFees({
824
+ * ownerAddress: 'eth|0x1234...',
825
+ * positionId: 'position-uuid',
826
+ * amount0Max: '0', // Collect all token0 fees (MCP naming)
827
+ * amount1Max: '0' // Collect all token1 fees (MCP naming)
828
+ * });
829
+ *
830
+ * console.log(`Fees collected: ${result.status}`);
831
+ * ```
832
+ */
833
+ collectPositionFees(args: {
834
+ token0?: string | TokenClassKey;
835
+ token1?: string | TokenClassKey;
836
+ fee?: number;
837
+ tickLower?: number;
838
+ tickUpper?: number;
839
+ amount0Requested?: string;
840
+ amount1Requested?: string;
841
+ positionId?: string;
842
+ ownerAddress?: string;
843
+ amount0Max?: string;
844
+ amount1Max?: string;
845
+ }): Promise<GSwapAddLiquidityResult>;
846
+ /**
847
+ * Get real-time pool state with liquidity depth and current price
848
+ * @param tokenA First token symbol (e.g., 'GALA')
849
+ * @param tokenB Second token symbol (e.g., 'GUSDC')
850
+ * @param feeTier Fee tier (500, 3000, or 10000 basis points)
851
+ * @returns Pool data with liquidity, current tick, and price
852
+ */
853
+ getPoolData(tokenA: string, tokenB: string, feeTier: number): Promise<{
854
+ tokenA: string;
855
+ tokenB: string;
856
+ feeTier: number;
857
+ liquidity: string;
858
+ sqrtPriceX96: string;
859
+ tick: number;
860
+ feeGrowthGlobal0X128: string;
861
+ feeGrowthGlobal1X128: string;
862
+ currentPrice: string;
863
+ }>;
864
+ /**
865
+ * Calculate current market price for a token pair from DEX pool
866
+ * @param tokenA First token symbol
867
+ * @param tokenB Second token symbol
868
+ * @param feeTier Fee tier (500, 3000, or 10000 basis points)
869
+ * @returns Current spot price without executing trade
870
+ */
871
+ calculateDexPoolSpotPrice(tokenA: string, tokenB: string, feeTier: number): Promise<{
872
+ tokenA: string;
873
+ tokenB: string;
874
+ feeTier: number;
875
+ price: string;
876
+ invertedPrice: string;
877
+ tick: number;
878
+ liquidity: string;
879
+ }>;
880
+ /**
881
+ * Calculate optimal token amounts for concentrated liquidity position
882
+ * @param tokenA First token symbol
883
+ * @param tokenB Second token symbol
884
+ * @param feeTier Fee tier (500, 3000, or 10000 basis points)
885
+ * @param desiredAmount0 Desired amount of token A
886
+ * @param desiredAmount1 Desired amount of token B
887
+ * @param tickLower Lower tick boundary
888
+ * @param tickUpper Upper tick boundary
889
+ * @returns Optimal amounts and utilization percentages
890
+ */
891
+ calculateOptimalPositionSize(tokenA: string, tokenB: string, feeTier: number, desiredAmount0: string, desiredAmount1: string, tickLower: number, tickUpper: number): Promise<{
892
+ amount0: string;
893
+ amount1: string;
894
+ liquidity: string;
895
+ ratio: string;
896
+ utilizationPercent: {
897
+ amount0: string;
898
+ amount1: string;
899
+ };
900
+ }>;
901
+ /**
902
+ * Validate liquidity position parameters before creation
903
+ * @param tokenA First token symbol
904
+ * @param tokenB Second token symbol
905
+ * @param feeTier Fee tier (500, 3000, or 10000 basis points)
906
+ * @param tickLower Lower tick boundary
907
+ * @param tickUpper Upper tick boundary
908
+ * @param amount0 Token A amount
909
+ * @param amount1 Token B amount
910
+ * @returns Validation result with errors and warnings
911
+ */
912
+ validatePositionParameters(tokenA: string, tokenB: string, feeTier: number, tickLower: number, tickUpper: number, amount0: string, amount1: string): Promise<{
913
+ valid: boolean;
914
+ errors: string[];
915
+ warnings: string[];
916
+ gasEstimate: number;
917
+ tickSpacing?: number;
918
+ currentTick?: number;
919
+ poolLiquidity?: string;
920
+ }>;
921
+ /**
922
+ * Convert human-readable price range to tick boundaries
923
+ * @param tokenA First token symbol
924
+ * @param tokenB Second token symbol
925
+ * @param minPrice Minimum price boundary
926
+ * @param maxPrice Maximum price boundary
927
+ * @param feeTier Fee tier (500, 3000, or 10000 basis points)
928
+ * @returns Calculated tick boundaries and price deviations
929
+ */
930
+ calculateTicksForPrice(tokenA: string, tokenB: string, minPrice: string, maxPrice: string, feeTier: number): {
931
+ tokenA: string;
932
+ tokenB: string;
933
+ feeTier: number;
934
+ tickLower: number;
935
+ tickUpper: number;
936
+ tickSpacing: number;
937
+ requestedMinPrice: string;
938
+ requestedMaxPrice: string;
939
+ actualMinPrice: string;
940
+ actualMaxPrice: string;
941
+ priceDeviation: {
942
+ minPriceDeviation: string;
943
+ maxPriceDeviation: string;
944
+ };
945
+ };
946
+ /**
947
+ * Convert tick boundaries back to human-readable prices
948
+ * @param tokenA First token symbol
949
+ * @param tokenB Second token symbol
950
+ * @param tickLower Lower tick boundary
951
+ * @param tickUpper Upper tick boundary
952
+ * @returns Price range and current price
953
+ */
954
+ calculatePriceForTicks(tokenA: string, tokenB: string, tickLower: number, tickUpper: number): Promise<{
955
+ tokenA: string;
956
+ tokenB: string;
957
+ tickLower: number;
958
+ tickUpper: number;
959
+ minPrice: string;
960
+ maxPrice: string;
961
+ currentPrice?: string;
962
+ priceRange?: string;
963
+ tickSpread?: number;
964
+ }>;
965
+ /**
966
+ * Calculate execution price (output per unit input)
967
+ */
968
+ private calculateExecutionPrice;
969
+ /**
970
+ * Get tick spacing for a given fee tier (Uniswap v3 standard)
971
+ * @private
972
+ */
973
+ private getTickSpacing;
974
+ /**
975
+ * Validate that tick values are valid multiples of the tick spacing for the given fee tier
976
+ * @param tickLower - Lower tick boundary
977
+ * @param tickUpper - Upper tick boundary
978
+ * @param feeTier - Fee tier (500, 3000, or 10000)
979
+ * @throws Error if ticks are not valid multiples of tick spacing
980
+ * @private
981
+ */
982
+ private validateTickSpacing;
983
+ /**
984
+ * Calculate price from sqrtPriceX96 format (Uniswap v3 standard)
985
+ * price = (sqrtPriceX96 / 2^96)^2
986
+ * @private
987
+ */
988
+ private calculatePriceFromSqrtPriceX96;
989
+ /**
990
+ * Calculate price from sqrtPrice in decimal format (GetSlot0 API)
991
+ * Different from sqrtPriceX96 - GetSlot0 returns already-decoded decimal
992
+ * Formula: price = sqrtPrice²
993
+ * @private
994
+ */
995
+ private calculatePriceFromSqrtPriceDecimal;
996
+ /**
997
+ * Get current pool state (slot0 data) for a token pair
998
+ * Fetches sqrtPrice, tick, and liquidity from GalaChain Gateway
999
+ * @param token0 First token symbol or TokenClassKey
1000
+ * Accepts: "GALA" (plain), "GALA|Unit|none|none" (pipe), "GALA$Unit$none$none" (dollar)
1001
+ * @param token1 Second token symbol or TokenClassKey
1002
+ * Accepts: "GALA" (plain), "GALA|Unit|none|none" (pipe), "GALA$Unit$none$none" (dollar)
1003
+ * @param fee Fee tier in basis points (500, 3000, 10000)
1004
+ * @returns PoolSlot0Data with current sqrtPrice, tick, liquidity, and feeGrowth
1005
+ */
1006
+ getPoolSlot0(token0: string | TokenClassKey, token1: string | TokenClassKey, fee: number): Promise<PoolSlot0Data>;
1007
+ /**
1008
+ * Get current price for a liquidity position's pool
1009
+ * Fetches slot0 data and calculates token0/token1 price ratio
1010
+ * @param position Position token pair and fee tier
1011
+ */
1012
+ getPositionCurrentPrice(position: {
1013
+ token0: string;
1014
+ token1: string;
1015
+ feeTier: number;
1016
+ }): Promise<PoolPriceData>;
1017
+ /**
1018
+ * Calculate liquidity from amount0 (Uniswap v3 math)
1019
+ * Uses @gala-chain/dex liquidity0() function for production-accurate calculation
1020
+ * @private
1021
+ */
1022
+ private _calculateLiquidityFromAmount0;
1023
+ /**
1024
+ * Calculate liquidity from amount1 (Uniswap v3 math)
1025
+ * Uses @gala-chain/dex liquidity1() function for production-accurate calculation
1026
+ * @private
1027
+ */
1028
+ private _calculateLiquidityFromAmount1;
1029
+ /**
1030
+ * Calculate amount0 from liquidity (Uniswap v3 math)
1031
+ * Uses @gala-chain/dex getAmount0Delta() function for production-accurate calculation
1032
+ * @private
1033
+ */
1034
+ private _calculateAmount0FromLiquidity;
1035
+ /**
1036
+ * Calculate amount1 from liquidity (Uniswap v3 math)
1037
+ * Uses @gala-chain/dex getAmount1Delta() function for production-accurate calculation
1038
+ * @private
1039
+ */
1040
+ private _calculateAmount1FromLiquidity;
1041
+ /**
1042
+ * Convert a token pair from Launchpad format to GSwap format
1043
+ *
1044
+ * Converts both tokens in a pair simultaneously for cleaner, more readable code
1045
+ * when working with token swaps and pool queries.
1046
+ *
1047
+ * @param token0 - First token in any supported format
1048
+ * @param token1 - Second token in any supported format
1049
+ * @returns Object with converted tokens as gswapToken0 and gswapToken1
1050
+ *
1051
+ * @private
1052
+ */
1053
+ private convertTokenPair;
1054
+ /**
1055
+ * Send AddLiquidity transaction directly to bundler (bypassing gswap-sdk)
1056
+ *
1057
+ * Creates a liquidity position by signing a DTO and posting it directly to the
1058
+ * GalaChain bundler. This method replaces the gswap-sdk wrapper with a direct
1059
+ * implementation following the same pattern as CreateSale.
1060
+ *
1061
+ * @param params - AddLiquidity parameters including token pair, fee, tick range, and amounts
1062
+ * @returns Transaction ID from bundler response
1063
+ * @throws Error if not in full-access mode or if bundler request fails
1064
+ *
1065
+ * @private
1066
+ */
1067
+ private sendAddLiquidityToBundler;
1068
+ /**
1069
+ * Send RemoveLiquidity transaction directly to bundler
1070
+ *
1071
+ * Bypasses GSwap SDK and posts signed EIP-712 RemoveLiquidity DTO directly to bundler.
1072
+ * Supports full tick ranges including negative values.
1073
+ *
1074
+ * @param tickLower Lower tick boundary (int256, supports negative)
1075
+ * @param tickUpper Upper tick boundary (int256, supports negative)
1076
+ * @param amount Liquidity amount to remove
1077
+ * @param token0 First token class key
1078
+ * @param token1 Second token class key
1079
+ * @param fee Fee tier (500, 3000, or 10000)
1080
+ * @param amount0Min Minimum amount0 to receive (slippage protection)
1081
+ * @param amount1Min Minimum amount1 to receive (slippage protection)
1082
+ * @param positionId Unique position identifier
1083
+ * @returns Transaction ID from bundler response
1084
+ *
1085
+ * @private
1086
+ * @throws Error if signing or bundler submission fails
1087
+ */
1088
+ private sendRemoveLiquidityToBundler;
1089
+ /**
1090
+ * Send CollectPositionFees transaction directly to bundler
1091
+ *
1092
+ * Bypasses GSwap SDK and posts signed EIP-712 CollectPositionFees DTO directly to bundler.
1093
+ * Collects accumulated trading fees from a liquidity position independently of the position itself.
1094
+ *
1095
+ * @param token0 First token class key
1096
+ * @param token1 Second token class key
1097
+ * @param fee Fee tier (500, 3000, or 10000)
1098
+ * @param amount0Requested Requested amount0 to collect (0 to collect all available)
1099
+ * @param amount1Requested Requested amount1 to collect (0 to collect all available)
1100
+ * @param tickLower Lower tick boundary (int256, supports negative)
1101
+ * @param tickUpper Upper tick boundary (int256, supports negative)
1102
+ * @param positionId Unique position identifier
1103
+ * @returns Transaction ID from bundler response
1104
+ *
1105
+ * @private
1106
+ * @throws Error if signing or bundler submission fails
1107
+ */
1108
+ private sendCollectPositionFeesToBundler;
1109
+ /**
1110
+ * Send Swap transaction directly to bundler
1111
+ *
1112
+ * Bypasses GSwap SDK and posts signed EIP-712 Swap DTO directly to bundler.
1113
+ * Implements exact input swapping (sell exact amount of input token, receive output token).
1114
+ *
1115
+ * @param fromToken Input token (token being sold) in GSwap format
1116
+ * @param toToken Output token (token being bought) in GSwap format
1117
+ * @param inputAmount Amount of input token to sell
1118
+ * @param minOutput Minimum amount of output token to receive (slippage protection)
1119
+ * @param feeTier Fee tier (500, 3000, or 10000)
1120
+ * @param walletAddress Wallet address executing the swap
1121
+ * @returns Transaction ID from bundler response
1122
+ *
1123
+ * @private
1124
+ * @throws Error if signing or bundler submission fails
1125
+ */
1126
+ private sendSwapToBundler;
1127
+ /**
1128
+ * Build strings instructions for AddLiquidity state locking
1129
+ *
1130
+ * Strings instructions are used by the bundler to lock the necessary state
1131
+ * fields during transaction execution. This ensures atomicity of the operation.
1132
+ *
1133
+ * @param token0 First token class key
1134
+ * @param token1 Second token class key
1135
+ * @param fee Fee tier (500, 3000, or 10000 basis points)
1136
+ * @param ownerAddress Wallet address creating the position
1137
+ * @returns Array of strings instructions for state locking
1138
+ *
1139
+ * @private
1140
+ */
1141
+ private buildLiquidityStringsInstructions;
1142
+ /**
1143
+ * Create error handler for withErrorHandling wrapper
1144
+ * Provides a reusable error handler that logs and throws GSwap-specific errors
1145
+ *
1146
+ * @param ErrorClass - Error constructor (GSwapQuoteError, GSwapAssetError, etc.)
1147
+ * @param additionalFields - Optional context for error message
1148
+ * @returns Function that logs and throws appropriate error
1149
+ *
1150
+ * @private
1151
+ */
1152
+ private createGSwapErrorHandler;
1153
+ /**
1154
+ * Handle GSwap SDK errors with consistent logging and error transformation
1155
+ *
1156
+ * Centralizes error handling for GSwap operations by:
1157
+ * 1. Logging the error with context
1158
+ * 2. Extracting error code from original error
1159
+ * 3. Creating typed GSwap error with standardized message
1160
+ *
1161
+ * @param logMessage - Message to log when error occurs
1162
+ * @param ErrorClass - Error constructor to throw (GSwapQuoteError, GSwapSwapError, etc.)
1163
+ * @param originalError - Original error from GSwap SDK
1164
+ * @param additionalFields - Optional additional context (e.g., { transactionHash: txHash })
1165
+ * @throws Throws instance of provided ErrorClass with formatted message
1166
+ *
1167
+ * @private
1168
+ */
1169
+ private handleGSwapError;
1170
+ /**
1171
+ * Extract error code from GSwap SDK error
1172
+ *
1173
+ * Maps GSwapSDKError instances to standard error codes for consistent
1174
+ * error handling across SDK operations. Preserves error code information
1175
+ * from the original GSwap SDK error.
1176
+ *
1177
+ * @param error - Error thrown by GSwap SDK operations
1178
+ * @returns Error code string if available, undefined otherwise
1179
+ *
1180
+ * @private
1181
+ */
1182
+ private extractGSwapErrorCode;
1183
+ /**
1184
+ * Ensure WebSocket connection is established before transaction monitoring
1185
+ *
1186
+ * Checks if WebSocketService is already connected, and connects if needed.
1187
+ * This prevents unnecessary connection attempts while ensuring transactions can be monitored.
1188
+ *
1189
+ * @private
1190
+ * @throws Error if connection fails
1191
+ */
1192
+ private ensureWebSocketConnected;
1193
+ /**
1194
+ * Calculate personal sign prefix for GalaChain compatibility
1195
+ *
1196
+ * Builds the prefix string required by GalaChain for EIP-712 signing.
1197
+ * This matches the format used in production working payloads.
1198
+ *
1199
+ * @param payload The payload being signed
1200
+ * @returns Prefix string for signing
1201
+ *
1202
+ * @private
1203
+ */
1204
+ private calculatePersonalSignPrefix;
1205
+ }
1206
+ export {};
1207
+ //# sourceMappingURL=GSwapService.d.ts.map