pods-sdk 0.2.58

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 (194) hide show
  1. package/README.md +760 -0
  2. package/dist/api/actions.api.d.ts +433 -0
  3. package/dist/api/actions.api.d.ts.map +1 -0
  4. package/dist/api/history.api.d.ts +311 -0
  5. package/dist/api/history.api.d.ts.map +1 -0
  6. package/dist/api/tokens.api.d.ts +985 -0
  7. package/dist/api/tokens.api.d.ts.map +1 -0
  8. package/dist/components/earn/GroupedStrategyList.d.ts +21 -0
  9. package/dist/components/earn/GroupedStrategyList.d.ts.map +1 -0
  10. package/dist/components/earn/StrategyDetailsView.d.ts +14 -0
  11. package/dist/components/earn/StrategyDetailsView.d.ts.map +1 -0
  12. package/dist/components/earn/desktop/EarnPageDesktop.d.ts +13 -0
  13. package/dist/components/earn/desktop/EarnPageDesktop.d.ts.map +1 -0
  14. package/dist/components/earn/desktop/ExploreStrategiesGrid.d.ts +30 -0
  15. package/dist/components/earn/desktop/ExploreStrategiesGrid.d.ts.map +1 -0
  16. package/dist/components/earn/desktop/InvestedStrategiesSection.d.ts +22 -0
  17. package/dist/components/earn/desktop/InvestedStrategiesSection.d.ts.map +1 -0
  18. package/dist/components/earn/desktop/InvestmentSummaryDesktop.d.ts +27 -0
  19. package/dist/components/earn/desktop/InvestmentSummaryDesktop.d.ts.map +1 -0
  20. package/dist/components/earn/desktop/RecentTransactions.d.ts +32 -0
  21. package/dist/components/earn/desktop/RecentTransactions.d.ts.map +1 -0
  22. package/dist/components/earn/desktop/StrategyGridCard.d.ts +35 -0
  23. package/dist/components/earn/desktop/StrategyGridCard.d.ts.map +1 -0
  24. package/dist/constants/analytics.d.ts +92 -0
  25. package/dist/constants/analytics.d.ts.map +1 -0
  26. package/dist/constants/error-monitoring.d.ts +2 -0
  27. package/dist/constants/error-monitoring.d.ts.map +1 -0
  28. package/dist/domain/swap/deriveAmountInForSwap.d.ts +11 -0
  29. package/dist/domain/swap/deriveAmountInForSwap.d.ts.map +1 -0
  30. package/dist/domain/swap/deriveTokenPriceUSD.d.ts +10 -0
  31. package/dist/domain/swap/deriveTokenPriceUSD.d.ts.map +1 -0
  32. package/dist/domain/swap/getAmountInUSD.d.ts +12 -0
  33. package/dist/domain/swap/getAmountInUSD.d.ts.map +1 -0
  34. package/dist/domain/swap/getQuoteOutputUI.d.ts +14 -0
  35. package/dist/domain/swap/getQuoteOutputUI.d.ts.map +1 -0
  36. package/dist/domain/swap/getQuoteOutputUSD.d.ts +12 -0
  37. package/dist/domain/swap/getQuoteOutputUSD.d.ts.map +1 -0
  38. package/dist/domain/swap/index.d.ts +11 -0
  39. package/dist/domain/swap/index.d.ts.map +1 -0
  40. package/dist/domain/swap/isPositiveNumberString.d.ts +5 -0
  41. package/dist/domain/swap/isPositiveNumberString.d.ts.map +1 -0
  42. package/dist/domain/swap/isQuoteMatchingInput.d.ts +24 -0
  43. package/dist/domain/swap/isQuoteMatchingInput.d.ts.map +1 -0
  44. package/dist/domain/swap/normalizeSwapAddress.d.ts +6 -0
  45. package/dist/domain/swap/normalizeSwapAddress.d.ts.map +1 -0
  46. package/dist/domain/swap/resolveEffectivePrice.d.ts +14 -0
  47. package/dist/domain/swap/resolveEffectivePrice.d.ts.map +1 -0
  48. package/dist/domain/swap/resolveInputAmountBase.d.ts +11 -0
  49. package/dist/domain/swap/resolveInputAmountBase.d.ts.map +1 -0
  50. package/dist/hooks/useAnalytics.d.ts +9 -0
  51. package/dist/hooks/useAnalytics.d.ts.map +1 -0
  52. package/dist/hooks/useDimensions.d.ts +15 -0
  53. package/dist/hooks/useDimensions.d.ts.map +1 -0
  54. package/dist/hooks/useGlobalCurrency.d.ts +17 -0
  55. package/dist/hooks/useGlobalCurrency.d.ts.map +1 -0
  56. package/dist/hooks/useGlobalHistory.d.ts +22 -0
  57. package/dist/hooks/useGlobalHistory.d.ts.map +1 -0
  58. package/dist/hooks/useGroupedStrategies.d.ts +4 -0
  59. package/dist/hooks/useGroupedStrategies.d.ts.map +1 -0
  60. package/dist/hooks/useI18n.d.ts +12 -0
  61. package/dist/hooks/useI18n.d.ts.map +1 -0
  62. package/dist/hooks/useStrategyTokens.d.ts +15 -0
  63. package/dist/hooks/useStrategyTokens.d.ts.map +1 -0
  64. package/dist/hooks/useSwapFlowLogic.d.ts +198 -0
  65. package/dist/hooks/useSwapFlowLogic.d.ts.map +1 -0
  66. package/dist/hooks/useTokenGroups.d.ts +14 -0
  67. package/dist/hooks/useTokenGroups.d.ts.map +1 -0
  68. package/dist/i18n/index.d.ts +13 -0
  69. package/dist/i18n/index.d.ts.map +1 -0
  70. package/dist/i18n/messages.d.ts +307 -0
  71. package/dist/i18n/messages.d.ts.map +1 -0
  72. package/dist/pages/SwapFlow/SwapFormContext.d.ts +6 -0
  73. package/dist/pages/SwapFlow/SwapFormContext.d.ts.map +1 -0
  74. package/dist/pages/SwapFlow/SwapHistoryScreen.d.ts +4 -0
  75. package/dist/pages/SwapFlow/SwapHistoryScreen.d.ts.map +1 -0
  76. package/dist/pages/TransactionProcessingDetails/StepDisplay.d.ts +10 -0
  77. package/dist/pages/TransactionProcessingDetails/StepDisplay.d.ts.map +1 -0
  78. package/dist/pages/TransactionProcessingDetails/StepStatusIcon.d.ts +11 -0
  79. package/dist/pages/TransactionProcessingDetails/StepStatusIcon.d.ts.map +1 -0
  80. package/dist/pages/TransactionProcessingDetails/StepStatusText.d.ts +10 -0
  81. package/dist/pages/TransactionProcessingDetails/StepStatusText.d.ts.map +1 -0
  82. package/dist/pages/TransactionProcessingDetails/index.d.ts +4 -0
  83. package/dist/pages/TransactionProcessingDetails/index.d.ts.map +1 -0
  84. package/dist/pages/TransactionProcessingDetails.d.ts +22 -0
  85. package/dist/pages/TransactionProcessingDetails.d.ts.map +1 -0
  86. package/dist/pages/TransactionStepValue.d.ts +12 -0
  87. package/dist/pages/TransactionStepValue.d.ts.map +1 -0
  88. package/dist/services/analyticsService.d.ts +11 -0
  89. package/dist/services/analyticsService.d.ts.map +1 -0
  90. package/dist/services/errorMonitoringService.d.ts +17 -0
  91. package/dist/services/errorMonitoringService.d.ts.map +1 -0
  92. package/dist/services/scrubPii.d.ts +3 -0
  93. package/dist/services/scrubPii.d.ts.map +1 -0
  94. package/dist/test-utils/grouped-strategies-dummy.d.ts +6 -0
  95. package/dist/test-utils/grouped-strategies-dummy.d.ts.map +1 -0
  96. package/dist/test-utils/history-dummy.d.ts +34 -0
  97. package/dist/test-utils/history-dummy.d.ts.map +1 -0
  98. package/dist/test-utils/investment-summary-dummy.d.ts +17 -0
  99. package/dist/test-utils/investment-summary-dummy.d.ts.map +1 -0
  100. package/dist/test-utils/strategies-dummy.d.ts +8 -0
  101. package/dist/test-utils/strategies-dummy.d.ts.map +1 -0
  102. package/dist/test-utils/strategies-with-apy-dummy.d.ts +32 -0
  103. package/dist/test-utils/strategies-with-apy-dummy.d.ts.map +1 -0
  104. package/dist/test-utils/swap-dummy.d.ts +35 -0
  105. package/dist/test-utils/swap-dummy.d.ts.map +1 -0
  106. package/dist/test-utils/swap-form-view-dummy.d.ts +21 -0
  107. package/dist/test-utils/swap-form-view-dummy.d.ts.map +1 -0
  108. package/dist/types/analytics.d.ts +17 -0
  109. package/dist/types/analytics.d.ts.map +1 -0
  110. package/dist/types/currency.d.ts +2 -0
  111. package/dist/types/currency.d.ts.map +1 -0
  112. package/dist/types/dimensions.d.ts +7 -0
  113. package/dist/types/dimensions.d.ts.map +1 -0
  114. package/dist/types/grouped-strategies.d.ts +42 -0
  115. package/dist/types/grouped-strategies.d.ts.map +1 -0
  116. package/dist/types/sdk-error-context.d.ts +10 -0
  117. package/dist/types/sdk-error-context.d.ts.map +1 -0
  118. package/dist/types/strategy-with-apy.d.ts +8 -0
  119. package/dist/types/strategy-with-apy.d.ts.map +1 -0
  120. package/dist/types/tokengroups.d.ts +47 -0
  121. package/dist/types/tokengroups.d.ts.map +1 -0
  122. package/dist/types/transaction.d.ts +14 -0
  123. package/dist/types/transaction.d.ts.map +1 -0
  124. package/dist/ui/action-sheet/ChooseAStrategyActionsheetView.d.ts +14 -0
  125. package/dist/ui/action-sheet/ChooseAStrategyActionsheetView.d.ts.map +1 -0
  126. package/dist/ui/action-sheet/ChooseWithdrawAssetActionsheet.d.ts +16 -0
  127. package/dist/ui/action-sheet/ChooseWithdrawAssetActionsheet.d.ts.map +1 -0
  128. package/dist/ui/chip/Chip.d.ts +30 -0
  129. package/dist/ui/chip/Chip.d.ts.map +1 -0
  130. package/dist/ui/chip/ChipGroup.d.ts +43 -0
  131. package/dist/ui/chip/ChipGroup.d.ts.map +1 -0
  132. package/dist/ui/chip/index.d.ts +5 -0
  133. package/dist/ui/chip/index.d.ts.map +1 -0
  134. package/dist/ui/group-label/GroupLabel.d.ts +17 -0
  135. package/dist/ui/group-label/GroupLabel.d.ts.map +1 -0
  136. package/dist/ui/group-label/index.d.ts +3 -0
  137. package/dist/ui/group-label/index.d.ts.map +1 -0
  138. package/dist/ui/loading/LoadingDots.d.ts +11 -0
  139. package/dist/ui/loading/LoadingDots.d.ts.map +1 -0
  140. package/dist/ui/loading/index.d.ts +2 -0
  141. package/dist/ui/loading/index.d.ts.map +1 -0
  142. package/dist/ui/swap-form/SwapAdvancedSettings.d.ts +9 -0
  143. package/dist/ui/swap-form/SwapAdvancedSettings.d.ts.map +1 -0
  144. package/dist/ui/swap-form/SwapAmountInputView.d.ts +11 -0
  145. package/dist/ui/swap-form/SwapAmountInputView.d.ts.map +1 -0
  146. package/dist/ui/swap-form/SwapNetworkSelectorView.d.ts +10 -0
  147. package/dist/ui/swap-form/SwapNetworkSelectorView.d.ts.map +1 -0
  148. package/dist/ui/swap-form/SwapOutputAmountView.d.ts +8 -0
  149. package/dist/ui/swap-form/SwapOutputAmountView.d.ts.map +1 -0
  150. package/dist/ui/swap-form/SwapQuoteBlockchainCostsView.d.ts +9 -0
  151. package/dist/ui/swap-form/SwapQuoteBlockchainCostsView.d.ts.map +1 -0
  152. package/dist/ui/swap-form/SwapQuoteErrorsView.d.ts +7 -0
  153. package/dist/ui/swap-form/SwapQuoteErrorsView.d.ts.map +1 -0
  154. package/dist/ui/swap-form/SwapQuoteHeaderView.d.ts +7 -0
  155. package/dist/ui/swap-form/SwapQuoteHeaderView.d.ts.map +1 -0
  156. package/dist/ui/swap-form/SwapSlippageToleranceButtonsView.d.ts +7 -0
  157. package/dist/ui/swap-form/SwapSlippageToleranceButtonsView.d.ts.map +1 -0
  158. package/dist/ui/swap-form/SwapTokenSelectorView.d.ts +11 -0
  159. package/dist/ui/swap-form/SwapTokenSelectorView.d.ts.map +1 -0
  160. package/dist/ui/swap-form/SwapTransactionDetails.d.ts +6 -0
  161. package/dist/ui/swap-form/SwapTransactionDetails.d.ts.map +1 -0
  162. package/dist/ui/transaction-screen/history/HistoryDepositDetailsView.d.ts +25 -0
  163. package/dist/ui/transaction-screen/history/HistoryDepositDetailsView.d.ts.map +1 -0
  164. package/dist/ui/transaction-screen/history/HistoryDetailsNotFound.d.ts +5 -0
  165. package/dist/ui/transaction-screen/history/HistoryDetailsNotFound.d.ts.map +1 -0
  166. package/dist/ui/transaction-screen/history/HistorySwapDetailsScreen.d.ts +8 -0
  167. package/dist/ui/transaction-screen/history/HistorySwapDetailsScreen.d.ts.map +1 -0
  168. package/dist/ui/transaction-screen/history/HistoryWithdrawDetailsView.d.ts +5 -0
  169. package/dist/ui/transaction-screen/history/HistoryWithdrawDetailsView.d.ts.map +1 -0
  170. package/dist/ui/transaction-screen/swap/SwapCrossChainProcessingScreen.d.ts +3 -0
  171. package/dist/ui/transaction-screen/swap/SwapCrossChainProcessingScreen.d.ts.map +1 -0
  172. package/dist/ui/transaction-screen/withdraw/WithdrawSuccess.d.ts +24 -0
  173. package/dist/ui/transaction-screen/withdraw/WithdrawSuccess.d.ts.map +1 -0
  174. package/dist/utils/addressUtils.d.ts +7 -0
  175. package/dist/utils/addressUtils.d.ts.map +1 -0
  176. package/dist/utils/analytics.d.ts +5 -0
  177. package/dist/utils/analytics.d.ts.map +1 -0
  178. package/dist/utils/currency.d.ts +11 -0
  179. package/dist/utils/currency.d.ts.map +1 -0
  180. package/dist/utils/errorMapping.d.ts +19 -0
  181. package/dist/utils/errorMapping.d.ts.map +1 -0
  182. package/dist/utils/filterStrategies.d.ts +21 -0
  183. package/dist/utils/filterStrategies.d.ts.map +1 -0
  184. package/dist/utils/fontLoader.d.ts +9 -0
  185. package/dist/utils/fontLoader.d.ts.map +1 -0
  186. package/dist/utils/historyMappers.d.ts +71 -0
  187. package/dist/utils/historyMappers.d.ts.map +1 -0
  188. package/dist/utils/strategyCategories.d.ts +25 -0
  189. package/dist/utils/strategyCategories.d.ts.map +1 -0
  190. package/dist/utils/tokenSorting.d.ts +30 -0
  191. package/dist/utils/tokenSorting.d.ts.map +1 -0
  192. package/dist/utils/tokengroups.d.ts +11 -0
  193. package/dist/utils/tokengroups.d.ts.map +1 -0
  194. package/package.json +132 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwapHistoryScreen.d.ts","sourceRoot":"","sources":["../../../src/pages/SwapFlow/SwapHistoryScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAoBrC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { TransactionStep } from '../../types/transaction';
2
+ interface StepDisplayProps {
3
+ step: TransactionStep;
4
+ }
5
+ /**
6
+ * Renders a single processing step with icon, label, and status
7
+ */
8
+ export declare function StepDisplay({ step }: StepDisplayProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=StepDisplay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepDisplay.d.ts","sourceRoot":"","sources":["../../../src/pages/TransactionProcessingDetails/StepDisplay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG1D,UAAU,gBAAgB;IACxB,IAAI,EAAE,eAAe,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,EAAE,gBAAgB,2CAmBrD"}
@@ -0,0 +1,11 @@
1
+ import { TransactionStepStatus } from '../../types/transaction';
2
+ interface StepStatusIconProps {
3
+ status: TransactionStepStatus;
4
+ }
5
+ /**
6
+ * Renders a step status icon based on the step status
7
+ * Only three icon types: success (checkmark), timer (clock), and error (alert)
8
+ */
9
+ export declare function StepStatusIcon({ status }: StepStatusIconProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=StepStatusIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepStatusIcon.d.ts","sourceRoot":"","sources":["../../../src/pages/TransactionProcessingDetails/StepStatusIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,UAAU,mBAAmB;IAC3B,MAAM,EAAE,qBAAqB,CAAC;CAC/B;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,mBAAmB,2CAqB7D"}
@@ -0,0 +1,10 @@
1
+ import { TransactionStep } from '../../types/transaction';
2
+ interface StepStatusTextProps {
3
+ step: TransactionStep;
4
+ }
5
+ /**
6
+ * Renders the status text and optional explorer link for a step
7
+ */
8
+ export declare function StepStatusText({ step }: StepStatusTextProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=StepStatusText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepStatusText.d.ts","sourceRoot":"","sources":["../../../src/pages/TransactionProcessingDetails/StepStatusText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG1D,UAAU,mBAAmB;IAC3B,IAAI,EAAE,eAAe,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,EAAE,mBAAmB,2CA+C3D"}
@@ -0,0 +1,4 @@
1
+ export { StepStatusIcon } from './StepStatusIcon';
2
+ export { StepStatusText } from './StepStatusText';
3
+ export { StepDisplay } from './StepDisplay';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/TransactionProcessingDetails/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Transaction Processing Details Component
3
+ *
4
+ * Displays a visual breakdown of transaction processing steps with status icons,
5
+ * vertical connectors, and explorer links for deposit/withdraw flows.
6
+ */
7
+ import { TransactionStep } from '../types/transaction';
8
+ interface TransactionProcessingDetailsProps {
9
+ /** Array of transaction steps to display */
10
+ steps: TransactionStep[];
11
+ /** Optional CSS class name */
12
+ className?: string;
13
+ /** Whether the details section is open by default */
14
+ defaultOpen?: boolean;
15
+ }
16
+ /**
17
+ * Displays transaction processing steps with visual breakdown using vertical connectors
18
+ * Similar to SwapProcessingDetails but designed for deposit/withdraw flows
19
+ */
20
+ export declare function TransactionProcessingDetails({ steps, className, defaultOpen, }: TransactionProcessingDetailsProps): import("react/jsx-runtime").JSX.Element | null;
21
+ export {};
22
+ //# sourceMappingURL=TransactionProcessingDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionProcessingDetails.d.ts","sourceRoot":"","sources":["../../src/pages/TransactionProcessingDetails.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAIvD,UAAU,iCAAiC;IACzC,4CAA4C;IAC5C,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,KAAK,EACL,SAAkE,EAClE,WAAkB,GACnB,EAAE,iCAAiC,kDA+CnC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export type TransactionStepStatus = 'completed' | 'processing' | 'awaiting' | 'error';
3
+ export interface TransactionStepValueProps {
4
+ status: TransactionStepStatus;
5
+ statusText?: string;
6
+ explorerUrl?: string;
7
+ }
8
+ /**
9
+ * Renders the value part (icon + status text) for a transaction step in SummaryDetails
10
+ */
11
+ export declare const TransactionStepValue: React.FC<TransactionStepValueProps>;
12
+ //# sourceMappingURL=TransactionStepValue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionStepValue.d.ts","sourceRoot":"","sources":["../../src/pages/TransactionStepValue.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,qBAAqB,GAAG,WAAW,GAAG,YAAY,GAAG,UAAU,GAAG,OAAO,CAAC;AAEtF,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,qBAAqB,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAsGpE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { AnalyticsRequestParams } from '../types/analytics';
2
+ /**
3
+ * Send analytics event directly to PostHog.
4
+ *
5
+ * @param eventName - Event name (e.g. 'dashboard_page_viewed')
6
+ * @param userId - User ID
7
+ * @param smartAccountAddress - Smart account address
8
+ * @param requestParams - Specific event parameters (optional)
9
+ */
10
+ export declare function trackEvent(eventName: string, userId: string, smartAccountAddress: string, requestParams?: AnalyticsRequestParams): Promise<void>;
11
+ //# sourceMappingURL=analyticsService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analyticsService.d.ts","sourceRoot":"","sources":["../../src/services/analyticsService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,sBAAsB,EAAE,MAAM,oBAAoB,CAAA;AAS1F;;;;;;;GAOG;AACH,wBAAsB,UAAU,CAC9B,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,mBAAmB,EAAE,MAAM,EAC3B,aAAa,CAAC,EAAE,sBAAsB,GACrC,OAAO,CAAC,IAAI,CAAC,CA4Bf"}
@@ -0,0 +1,17 @@
1
+ import type { SdkErrorContext } from '../types/sdk-error-context';
2
+ /**
3
+ * Capture an error in the SDK's isolated Sentry instance.
4
+ * This does NOT interfere with the host app's Sentry.
5
+ */
6
+ export declare function captureSdkError(error: unknown, context?: SdkErrorContext): void;
7
+ /**
8
+ * Set the SDK Sentry user context (wallet address only, no PII).
9
+ */
10
+ export declare function setSdkUser(user: {
11
+ id: string;
12
+ }): void;
13
+ /**
14
+ * Clear the SDK Sentry user context.
15
+ */
16
+ export declare function clearSdkUser(): void;
17
+ //# sourceMappingURL=errorMonitoringService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errorMonitoringService.d.ts","sourceRoot":"","sources":["../../src/services/errorMonitoringService.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAuBjE;;;GAGG;AACH,wBAAgB,eAAe,CAAE,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI,CAmBhF;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAE,IAAI,EAAE;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAEtD;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAK,IAAI,CAEpC"}
@@ -0,0 +1,3 @@
1
+ import type { ErrorEvent } from '@sentry/browser';
2
+ export declare function beforeSend(event: ErrorEvent): ErrorEvent | null;
3
+ //# sourceMappingURL=scrubPii.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scrubPii.d.ts","sourceRoot":"","sources":["../../src/services/scrubPii.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AA4BjD,wBAAgB,UAAU,CAAE,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,IAAI,CA2BhE"}
@@ -0,0 +1,6 @@
1
+ import { GroupedStrategies } from '../types/grouped-strategies';
2
+ /**
3
+ * Mock data for GroupedStrategies
4
+ */
5
+ export declare const mockGroupedStrategies: GroupedStrategies;
6
+ //# sourceMappingURL=grouped-strategies-dummy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grouped-strategies-dummy.d.ts","sourceRoot":"","sources":["../../src/test-utils/grouped-strategies-dummy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAmFhE;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,iBAMnC,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { HistoryItem } from '../state/features/history/types';
2
+ /**
3
+ * Mock data for History items
4
+ * Used in stories and tests
5
+ */
6
+ export declare const mockHistoryItems: HistoryItem[];
7
+ /**
8
+ * Mock data for HistoryDepositDetailsView stories
9
+ */
10
+ export declare const mockHistoryDepositDetails: import('../ui/transaction-screen/history/HistoryDepositDetailsView').HistoryDetailsViewProps;
11
+ export declare const mockHistoryDepositDetailsWithFlow: import('../ui/transaction-screen/history/HistoryDepositDetailsView').HistoryDetailsViewProps;
12
+ export declare const mockHistoryWithdrawDetails: import('../ui/transaction-screen/history/HistoryDepositDetailsView').HistoryDetailsViewProps;
13
+ /**
14
+ * Mock data for loading state
15
+ */
16
+ export declare const mockHistoryLoading: {
17
+ items: HistoryItem[];
18
+ isLoading: boolean;
19
+ };
20
+ /**
21
+ * Mock data for error state
22
+ */
23
+ export declare const mockHistoryError: {
24
+ items: HistoryItem[];
25
+ isLoading: boolean;
26
+ };
27
+ /**
28
+ * Mock data for empty state
29
+ */
30
+ export declare const mockHistoryEmpty: {
31
+ items: HistoryItem[];
32
+ isLoading: boolean;
33
+ };
34
+ //# sourceMappingURL=history-dummy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"history-dummy.d.ts","sourceRoot":"","sources":["../../src/test-utils/history-dummy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,WAAW,EAoHzC,CAAC;AAEF;;GAEG;AAEH,eAAO,MAAM,yBAAyB,EAAE,OAAO,4DAA4D,EAAE,uBAa5G,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,OAAO,4DAA4D,EAAE,uBAepH,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,OAAO,4DAA4D,EAAE,uBAa7G,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB;WAChB,WAAW,EAAE;;CAE3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB;WACd,WAAW,EAAE;;CAE3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB;WACd,WAAW,EAAE;;CAE3B,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Mock data for Investment Summary
3
+ * Used in stories and tests
4
+ */
5
+ export declare const mockInvestmentSummary: {
6
+ totalInvested: number;
7
+ totalEarned: number;
8
+ };
9
+ export declare const mockInvestmentSummaryNegative: {
10
+ totalInvested: number;
11
+ totalEarned: number;
12
+ };
13
+ export declare const mockInvestmentSummaryZero: {
14
+ totalInvested: number;
15
+ totalEarned: number;
16
+ };
17
+ //# sourceMappingURL=investment-summary-dummy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"investment-summary-dummy.d.ts","sourceRoot":"","sources":["../../src/test-utils/investment-summary-dummy.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;CAGjC,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;CAGzC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;CAGrC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Strategy } from '../types/api';
2
+ /**
3
+ * Base mock data for Strategy objects
4
+ * Used as foundation for other mock data files
5
+ * When Strategy type changes, update here and all dependent files will benefit
6
+ */
7
+ export declare const mockStrategyBase: Omit<Strategy, 'apy' | 'inceptionApy' | 'avgApy'>[];
8
+ //# sourceMappingURL=strategies-dummy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strategies-dummy.d.ts","sourceRoot":"","sources":["../../src/test-utils/strategies-dummy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC;;;;GAIG;AAEH,eAAO,MAAM,gBAAgB,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,cAAc,GAAG,QAAQ,CAAC,EAyO/E,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { StrategyWithApy } from '../types/strategy-with-apy';
2
+ /**
3
+ * Mock data for strategies with APY
4
+ * Reuses base strategy data from strategies-dummy.ts
5
+ * Used in stories and tests
6
+ */
7
+ export declare const mockStrategiesWithApy: StrategyWithApy[];
8
+ /**
9
+ * Mock data for loading state
10
+ */
11
+ export declare const mockStrategiesWithApyLoading: {
12
+ strategies: StrategyWithApy[];
13
+ isLoading: boolean;
14
+ error: Error | null;
15
+ };
16
+ /**
17
+ * Mock data for error state
18
+ */
19
+ export declare const mockStrategiesWithApyError: {
20
+ strategies: StrategyWithApy[];
21
+ isLoading: boolean;
22
+ error: Error | null;
23
+ };
24
+ /**
25
+ * Mock data for empty state
26
+ */
27
+ export declare const mockStrategiesWithApyEmpty: {
28
+ strategies: StrategyWithApy[];
29
+ isLoading: boolean;
30
+ error: Error | null;
31
+ };
32
+ //# sourceMappingURL=strategies-with-apy-dummy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strategies-with-apy-dummy.d.ts","sourceRoot":"","sources":["../../src/test-utils/strategies-with-apy-dummy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAiB7D;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,eAAe,EAGhD,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,4BAA4B;gBACrB,eAAe,EAAE;;WAEpB,KAAK,GAAG,IAAI;CAC5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B;gBACnB,eAAe,EAAE;;WAEe,KAAK,GAAG,IAAI;CAC/D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B;gBACnB,eAAe,EAAE;;WAEpB,KAAK,GAAG,IAAI;CAC5B,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { SwapQuoteResponse, SwapBytecodeResponse } from '../types/api';
2
+ /**
3
+ * Mock swap data for unit tests.
4
+ */
5
+ /** Valid USDC → USDT quote on Polygon */
6
+ export declare const mockSwapQuote: SwapQuoteResponse;
7
+ /** Cross-chain quote: Polygon → Arbitrum */
8
+ export declare const mockSwapQuoteCrossChain: SwapQuoteResponse;
9
+ /** Quote with native token (zero address) */
10
+ export declare const mockSwapQuoteNativeToken: SwapQuoteResponse;
11
+ /** Bytecode with valid transactionData */
12
+ export declare const mockSwapBytecode: SwapBytecodeResponse;
13
+ /** Bytecode with empty transactionData */
14
+ export declare const mockSwapBytecodeEmpty: SwapBytecodeResponse;
15
+ /** Valid form values for swap */
16
+ export declare const mockSwapFormValues: {
17
+ amountHumanized: string;
18
+ fromTokenAddress: string;
19
+ toTokenAddress: string;
20
+ fromChainId: number;
21
+ toChainId: number;
22
+ slippageBps: number;
23
+ };
24
+ /** Wallet tokens with balance for swap tests */
25
+ export declare const mockWalletTokensForSwap: {
26
+ address: string;
27
+ chainId: number;
28
+ symbol: string;
29
+ decimals: number;
30
+ amountBase: string;
31
+ amountHumanized: string;
32
+ amountUI: string;
33
+ amountInUSD: string;
34
+ }[];
35
+ //# sourceMappingURL=swap-dummy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swap-dummy.d.ts","sourceRoot":"","sources":["../../src/test-utils/swap-dummy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEvE;;GAEG;AAEH,yCAAyC;AACzC,eAAO,MAAM,aAAa,EAAE,iBA2B3B,CAAC;AAEF,4CAA4C;AAC5C,eAAO,MAAM,uBAAuB,EAAE,iBAyBrC,CAAC;AAEF,6CAA6C;AAC7C,eAAO,MAAM,wBAAwB,EAAE,iBAyBtC,CAAC;AAEF,0CAA0C;AAC1C,eAAO,MAAM,gBAAgB,EAAE,oBAW9B,CAAC;AAEF,0CAA0C;AAC1C,eAAO,MAAM,qBAAqB,EAAE,oBAGnC,CAAC;AAEF,iCAAiC;AACjC,eAAO,MAAM,kBAAkB;;;;;;;CAO9B,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,uBAAuB;;;;;;;;;GA+BnC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { SwapAdvancedSettingsProps } from '../ui/swap-form/SwapAdvancedSettings';
2
+ import type { SwapSlippageToleranceButtonsViewProps } from '../ui/swap-form/SwapSlippageToleranceButtonsView';
3
+ import type { SwapNetworkSelectorViewProps } from '../ui/swap-form/SwapNetworkSelectorView';
4
+ import type { SwapTokenSelectorViewProps } from '../ui/swap-form/SwapTokenSelectorView';
5
+ import type { SwapQuoteBlockchainCostsViewProps } from '../ui/swap-form/SwapQuoteBlockchainCostsView';
6
+ import type { SwapQuoteErrorsViewProps } from '../ui/swap-form/SwapQuoteErrorsView';
7
+ import type { SwapQuoteHeaderViewProps } from '../ui/swap-form/SwapQuoteHeaderView';
8
+ import type { SwapOutputAmountViewProps } from '../ui/swap-form/SwapOutputAmountView';
9
+ import type { SwapAmountInputViewProps } from '../ui/swap-form/SwapAmountInputView';
10
+ import type { SwapSwitchTokensButtonProps } from '../ui/swap-form/SwapSwitchTokensButton';
11
+ export declare const mockSwapAdvancedSettings: SwapAdvancedSettingsProps;
12
+ export declare const mockSwapSlippageToleranceButtons: SwapSlippageToleranceButtonsViewProps;
13
+ export declare const mockSwapNetworkSelector: SwapNetworkSelectorViewProps;
14
+ export declare const mockSwapTokenSelector: SwapTokenSelectorViewProps;
15
+ export declare const mockSwapQuoteBlockchainCosts: SwapQuoteBlockchainCostsViewProps;
16
+ export declare const mockSwapQuoteErrors: SwapQuoteErrorsViewProps;
17
+ export declare const mockSwapQuoteHeader: SwapQuoteHeaderViewProps;
18
+ export declare const mockSwapOutputAmount: SwapOutputAmountViewProps;
19
+ export declare const mockSwapAmountInput: SwapAmountInputViewProps;
20
+ export declare const mockSwapSwitchTokensButton: SwapSwitchTokensButtonProps;
21
+ //# sourceMappingURL=swap-form-view-dummy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swap-form-view-dummy.d.ts","sourceRoot":"","sources":["../../src/test-utils/swap-form-view-dummy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,kDAAkD,CAAC;AAC9G,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AACtG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AAE1F,eAAO,MAAM,wBAAwB,EAAE,yBAKtC,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,qCAG9C,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,4BAKrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,0BAGnC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,iCAK1C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,wBAGjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,wBAEjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,yBAGlC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,wBAIjC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,2BAExC,CAAC"}
@@ -0,0 +1,17 @@
1
+ export type DeviceType = 'mobile' | 'desktop' | 'tablet';
2
+ export interface AnalyticsRequestParams {
3
+ chain_id?: number;
4
+ token_symbol?: string;
5
+ amount?: number;
6
+ amount_usd?: number;
7
+ [key: string]: unknown;
8
+ }
9
+ export interface AnalyticsEventProperties {
10
+ user_id: string;
11
+ smart_account_address: string;
12
+ device_type: DeviceType;
13
+ browser: string;
14
+ os: string;
15
+ request_params?: AnalyticsRequestParams;
16
+ }
17
+ //# sourceMappingURL=analytics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../src/types/analytics.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAA;AAExD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAA;IACf,qBAAqB,EAAE,MAAM,CAAA;IAC7B,WAAW,EAAE,UAAU,CAAA;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,MAAM,CAAA;IACV,cAAc,CAAC,EAAE,sBAAsB,CAAA;CACxC"}
@@ -0,0 +1,2 @@
1
+ export type Currency = 'BRL' | 'USD';
2
+ //# sourceMappingURL=currency.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"currency.d.ts","sourceRoot":"","sources":["../../src/types/currency.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAA"}
@@ -0,0 +1,7 @@
1
+ export interface Dimensions {
2
+ isMobile: boolean;
3
+ isTablet: boolean;
4
+ isDesktop: boolean;
5
+ isLargeScreen: boolean;
6
+ }
7
+ //# sourceMappingURL=dimensions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dimensions.d.ts","sourceRoot":"","sources":["../../src/types/dimensions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;CACxB"}
@@ -0,0 +1,42 @@
1
+ import { WalletPosition, WalletPositionsResponse } from './api';
2
+ import { StrategyWithApy } from './strategy-with-apy';
3
+ /**
4
+ * Input parameters for useGroupedStrategies hook
5
+ */
6
+ export interface UseGroupedStrategiesParams {
7
+ positions: WalletPositionsResponse;
8
+ strategies: StrategyWithApy[];
9
+ mostUsedSymbols: string[];
10
+ isLoading?: boolean;
11
+ }
12
+ /**
13
+ * Result of the grouping logic (pure data, no loading/error states)
14
+ */
15
+ export interface GroupedStrategiesResult {
16
+ /**
17
+ * Strategies where the user has an active position (balance > $0.01)
18
+ */
19
+ invested: WalletPosition[];
20
+ /**
21
+ * Strategies matching "most used" symbols (excluding invested)
22
+ */
23
+ mostUsed: StrategyWithApy[];
24
+ /**
25
+ * All other strategies (excluding invested and most used)
26
+ */
27
+ allOthers: StrategyWithApy[];
28
+ }
29
+ /**
30
+ * @deprecated Use GroupedStrategiesResult instead. This type is kept for backwards compatibility.
31
+ */
32
+ export interface GroupedStrategies extends GroupedStrategiesResult {
33
+ /**
34
+ * Loading state
35
+ */
36
+ isLoading: boolean;
37
+ /**
38
+ * Error state
39
+ */
40
+ error: Error | null;
41
+ }
42
+ //# sourceMappingURL=grouped-strategies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grouped-strategies.d.ts","sourceRoot":"","sources":["../../src/types/grouped-strategies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,uBAAuB,CAAC;IACnC,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B;;OAEG;IACH,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B;;OAEG;IACH,SAAS,EAAE,eAAe,EAAE,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,uBAAuB;IAChE;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB"}
@@ -0,0 +1,10 @@
1
+ export interface SdkErrorContext {
2
+ txType?: string;
3
+ clientTxId?: string;
4
+ errorCode?: string;
5
+ chainId?: number;
6
+ url?: string;
7
+ status?: number;
8
+ extra?: Record<string, unknown>;
9
+ }
10
+ //# sourceMappingURL=sdk-error-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdk-error-context.d.ts","sourceRoot":"","sources":["../../src/types/sdk-error-context.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAChC"}
@@ -0,0 +1,8 @@
1
+ import { Strategy } from './api';
2
+ export type StrategyWithApy = Strategy & {
3
+ apyFormatted: string;
4
+ apy: number;
5
+ inceptionApy: number;
6
+ avgApy: number;
7
+ };
8
+ //# sourceMappingURL=strategy-with-apy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strategy-with-apy.d.ts","sourceRoot":"","sources":["../../src/types/strategy-with-apy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Token group types for prioritizing tokens in asset lists.
3
+ */
4
+ /**
5
+ * Token from the API response.
6
+ */
7
+ export interface ApiToken {
8
+ _id: string;
9
+ symbol: string;
10
+ name: string;
11
+ address: string;
12
+ decimals: number;
13
+ chainId: number;
14
+ logoURI: string;
15
+ tokenGroups: string[];
16
+ }
17
+ /**
18
+ * Represents a named group of tokens for prioritization/categorization.
19
+ * Structure matches MongoDB collection `tokengroups`.
20
+ */
21
+ export interface TokenGroup {
22
+ _id: string;
23
+ tokenGroupName: string;
24
+ symbol: string;
25
+ category: string[];
26
+ tokens: string[];
27
+ deletedAt: string | null;
28
+ createdAt: string;
29
+ updatedAt: string;
30
+ }
31
+ /**
32
+ * API response structure from /tokens?enhanced=true
33
+ */
34
+ export interface TokensEnhancedResponse {
35
+ data: {
36
+ tokens: ApiToken[];
37
+ tokenGroups: TokenGroup[];
38
+ };
39
+ }
40
+ /**
41
+ * Processed data from the tokengroups API query.
42
+ */
43
+ export interface TokenGroupsData {
44
+ tokens: ApiToken[];
45
+ tokenGroups: TokenGroup[];
46
+ }
47
+ //# sourceMappingURL=tokengroups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokengroups.d.ts","sourceRoot":"","sources":["../../src/types/tokengroups.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE;QACJ,MAAM,EAAE,QAAQ,EAAE,CAAC;QACnB,WAAW,EAAE,UAAU,EAAE,CAAC;KAC3B,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B"}
@@ -0,0 +1,14 @@
1
+ export type TransactionStepStatus = 'completed' | 'processing' | 'failed';
2
+ export interface TransactionStep {
3
+ /** Step label/title */
4
+ label: string;
5
+ /** Current status of the step */
6
+ status?: TransactionStepStatus;
7
+ /** Optional status text override (e.g., "Processando...") - can be string or React node */
8
+ statusText?: React.ReactNode;
9
+ /** Optional explorer URL for this step */
10
+ explorerUrl?: string;
11
+ /** Optional static value (for info-only steps like "Tempo estimado") */
12
+ value?: string;
13
+ }
14
+ //# sourceMappingURL=transaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src/types/transaction.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,WAAW,GAAG,YAAY,GAAG,QAAQ,CAAA;AAEzE,MAAM,WAAW,eAAe;IAC9B,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,MAAM,CAAC,EAAE,qBAAqB,CAAA;IAC9B,2FAA2F;IAC3F,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC5B,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ export interface ChooseAStrategyActionsheetViewProps {
3
+ isOpen: boolean;
4
+ currentActionSheetId: string | null;
5
+ assetName: string;
6
+ apy: string;
7
+ logoUrl: string;
8
+ strategyId: string;
9
+ riskLevel: 'low' | 'medium' | 'high';
10
+ onStrategyClick: () => void;
11
+ onClose: () => void;
12
+ }
13
+ export declare const ChooseAStrategyActionsheetView: React.FC<ChooseAStrategyActionsheetViewProps>;
14
+ //# sourceMappingURL=ChooseAStrategyActionsheetView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChooseAStrategyActionsheetView.d.ts","sourceRoot":"","sources":["../../../src/ui/action-sheet/ChooseAStrategyActionsheetView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,MAAM,WAAW,mCAAmC;IAClD,MAAM,EAAE,OAAO,CAAC;IAChB,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IACrC,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAAE,CAAC,mCAAmC,CA8DxF,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { TokenData } from '../../hooks/useGetTokenData';
2
+ export interface ChooseWithdrawAssetActionsheetProps {
3
+ onAssetSelected: (token: TokenData) => void;
4
+ autoFocus?: boolean;
5
+ chainId?: number | string;
6
+ actionSheetId?: string;
7
+ /** Optional: Strategy ID to filter tokens specifically for this strategy */
8
+ strategyId?: string;
9
+ }
10
+ /**
11
+ * ChooseWithdrawAssetActionsheet
12
+ * - Intended for withdraw “toToken” selection
13
+ * - Does NOT show wallet balances (user is choosing what they will receive)
14
+ */
15
+ export declare const ChooseWithdrawAssetActionsheet: ({ onAssetSelected, autoFocus, chainId, actionSheetId, strategyId, }: ChooseWithdrawAssetActionsheetProps) => import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=ChooseWithdrawAssetActionsheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChooseWithdrawAssetActionsheet.d.ts","sourceRoot":"","sources":["../../../src/ui/action-sheet/ChooseWithdrawAssetActionsheet.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAQxD,MAAM,WAAW,mCAAmC;IAClD,eAAe,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,GAAI,qEAM5C,mCAAmC,4CAkJrC,CAAC"}
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ export interface ChipProps {
3
+ /**
4
+ * The label text displayed in the chip
5
+ */
6
+ label: string;
7
+ /**
8
+ * Whether the chip is currently selected
9
+ */
10
+ selected?: boolean;
11
+ /**
12
+ * Click handler for chip selection
13
+ */
14
+ onClick?: () => void;
15
+ /**
16
+ * Additional CSS class names
17
+ */
18
+ className?: string;
19
+ }
20
+ /**
21
+ * Chip - A selectable filter chip component
22
+ *
23
+ * Used for filtering strategies by category (e.g., Stablecoins, Crypto/Staking, BTC)
24
+ *
25
+ * @example
26
+ * <Chip label="Stablecoins" selected={selected === 'stablecoins'} onClick={() => setSelected('stablecoins')} />
27
+ */
28
+ export declare const Chip: React.FC<ChipProps>;
29
+ export default Chip;
30
+ //# sourceMappingURL=Chip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/ui/chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0BpC,CAAC;AAEF,eAAe,IAAI,CAAC"}