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.
- package/README.md +760 -0
- package/dist/api/actions.api.d.ts +433 -0
- package/dist/api/actions.api.d.ts.map +1 -0
- package/dist/api/history.api.d.ts +311 -0
- package/dist/api/history.api.d.ts.map +1 -0
- package/dist/api/tokens.api.d.ts +985 -0
- package/dist/api/tokens.api.d.ts.map +1 -0
- package/dist/components/earn/GroupedStrategyList.d.ts +21 -0
- package/dist/components/earn/GroupedStrategyList.d.ts.map +1 -0
- package/dist/components/earn/StrategyDetailsView.d.ts +14 -0
- package/dist/components/earn/StrategyDetailsView.d.ts.map +1 -0
- package/dist/components/earn/desktop/EarnPageDesktop.d.ts +13 -0
- package/dist/components/earn/desktop/EarnPageDesktop.d.ts.map +1 -0
- package/dist/components/earn/desktop/ExploreStrategiesGrid.d.ts +30 -0
- package/dist/components/earn/desktop/ExploreStrategiesGrid.d.ts.map +1 -0
- package/dist/components/earn/desktop/InvestedStrategiesSection.d.ts +22 -0
- package/dist/components/earn/desktop/InvestedStrategiesSection.d.ts.map +1 -0
- package/dist/components/earn/desktop/InvestmentSummaryDesktop.d.ts +27 -0
- package/dist/components/earn/desktop/InvestmentSummaryDesktop.d.ts.map +1 -0
- package/dist/components/earn/desktop/RecentTransactions.d.ts +32 -0
- package/dist/components/earn/desktop/RecentTransactions.d.ts.map +1 -0
- package/dist/components/earn/desktop/StrategyGridCard.d.ts +35 -0
- package/dist/components/earn/desktop/StrategyGridCard.d.ts.map +1 -0
- package/dist/constants/analytics.d.ts +92 -0
- package/dist/constants/analytics.d.ts.map +1 -0
- package/dist/constants/error-monitoring.d.ts +2 -0
- package/dist/constants/error-monitoring.d.ts.map +1 -0
- package/dist/domain/swap/deriveAmountInForSwap.d.ts +11 -0
- package/dist/domain/swap/deriveAmountInForSwap.d.ts.map +1 -0
- package/dist/domain/swap/deriveTokenPriceUSD.d.ts +10 -0
- package/dist/domain/swap/deriveTokenPriceUSD.d.ts.map +1 -0
- package/dist/domain/swap/getAmountInUSD.d.ts +12 -0
- package/dist/domain/swap/getAmountInUSD.d.ts.map +1 -0
- package/dist/domain/swap/getQuoteOutputUI.d.ts +14 -0
- package/dist/domain/swap/getQuoteOutputUI.d.ts.map +1 -0
- package/dist/domain/swap/getQuoteOutputUSD.d.ts +12 -0
- package/dist/domain/swap/getQuoteOutputUSD.d.ts.map +1 -0
- package/dist/domain/swap/index.d.ts +11 -0
- package/dist/domain/swap/index.d.ts.map +1 -0
- package/dist/domain/swap/isPositiveNumberString.d.ts +5 -0
- package/dist/domain/swap/isPositiveNumberString.d.ts.map +1 -0
- package/dist/domain/swap/isQuoteMatchingInput.d.ts +24 -0
- package/dist/domain/swap/isQuoteMatchingInput.d.ts.map +1 -0
- package/dist/domain/swap/normalizeSwapAddress.d.ts +6 -0
- package/dist/domain/swap/normalizeSwapAddress.d.ts.map +1 -0
- package/dist/domain/swap/resolveEffectivePrice.d.ts +14 -0
- package/dist/domain/swap/resolveEffectivePrice.d.ts.map +1 -0
- package/dist/domain/swap/resolveInputAmountBase.d.ts +11 -0
- package/dist/domain/swap/resolveInputAmountBase.d.ts.map +1 -0
- package/dist/hooks/useAnalytics.d.ts +9 -0
- package/dist/hooks/useAnalytics.d.ts.map +1 -0
- package/dist/hooks/useDimensions.d.ts +15 -0
- package/dist/hooks/useDimensions.d.ts.map +1 -0
- package/dist/hooks/useGlobalCurrency.d.ts +17 -0
- package/dist/hooks/useGlobalCurrency.d.ts.map +1 -0
- package/dist/hooks/useGlobalHistory.d.ts +22 -0
- package/dist/hooks/useGlobalHistory.d.ts.map +1 -0
- package/dist/hooks/useGroupedStrategies.d.ts +4 -0
- package/dist/hooks/useGroupedStrategies.d.ts.map +1 -0
- package/dist/hooks/useI18n.d.ts +12 -0
- package/dist/hooks/useI18n.d.ts.map +1 -0
- package/dist/hooks/useStrategyTokens.d.ts +15 -0
- package/dist/hooks/useStrategyTokens.d.ts.map +1 -0
- package/dist/hooks/useSwapFlowLogic.d.ts +198 -0
- package/dist/hooks/useSwapFlowLogic.d.ts.map +1 -0
- package/dist/hooks/useTokenGroups.d.ts +14 -0
- package/dist/hooks/useTokenGroups.d.ts.map +1 -0
- package/dist/i18n/index.d.ts +13 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/messages.d.ts +307 -0
- package/dist/i18n/messages.d.ts.map +1 -0
- package/dist/pages/SwapFlow/SwapFormContext.d.ts +6 -0
- package/dist/pages/SwapFlow/SwapFormContext.d.ts.map +1 -0
- package/dist/pages/SwapFlow/SwapHistoryScreen.d.ts +4 -0
- package/dist/pages/SwapFlow/SwapHistoryScreen.d.ts.map +1 -0
- package/dist/pages/TransactionProcessingDetails/StepDisplay.d.ts +10 -0
- package/dist/pages/TransactionProcessingDetails/StepDisplay.d.ts.map +1 -0
- package/dist/pages/TransactionProcessingDetails/StepStatusIcon.d.ts +11 -0
- package/dist/pages/TransactionProcessingDetails/StepStatusIcon.d.ts.map +1 -0
- package/dist/pages/TransactionProcessingDetails/StepStatusText.d.ts +10 -0
- package/dist/pages/TransactionProcessingDetails/StepStatusText.d.ts.map +1 -0
- package/dist/pages/TransactionProcessingDetails/index.d.ts +4 -0
- package/dist/pages/TransactionProcessingDetails/index.d.ts.map +1 -0
- package/dist/pages/TransactionProcessingDetails.d.ts +22 -0
- package/dist/pages/TransactionProcessingDetails.d.ts.map +1 -0
- package/dist/pages/TransactionStepValue.d.ts +12 -0
- package/dist/pages/TransactionStepValue.d.ts.map +1 -0
- package/dist/services/analyticsService.d.ts +11 -0
- package/dist/services/analyticsService.d.ts.map +1 -0
- package/dist/services/errorMonitoringService.d.ts +17 -0
- package/dist/services/errorMonitoringService.d.ts.map +1 -0
- package/dist/services/scrubPii.d.ts +3 -0
- package/dist/services/scrubPii.d.ts.map +1 -0
- package/dist/test-utils/grouped-strategies-dummy.d.ts +6 -0
- package/dist/test-utils/grouped-strategies-dummy.d.ts.map +1 -0
- package/dist/test-utils/history-dummy.d.ts +34 -0
- package/dist/test-utils/history-dummy.d.ts.map +1 -0
- package/dist/test-utils/investment-summary-dummy.d.ts +17 -0
- package/dist/test-utils/investment-summary-dummy.d.ts.map +1 -0
- package/dist/test-utils/strategies-dummy.d.ts +8 -0
- package/dist/test-utils/strategies-dummy.d.ts.map +1 -0
- package/dist/test-utils/strategies-with-apy-dummy.d.ts +32 -0
- package/dist/test-utils/strategies-with-apy-dummy.d.ts.map +1 -0
- package/dist/test-utils/swap-dummy.d.ts +35 -0
- package/dist/test-utils/swap-dummy.d.ts.map +1 -0
- package/dist/test-utils/swap-form-view-dummy.d.ts +21 -0
- package/dist/test-utils/swap-form-view-dummy.d.ts.map +1 -0
- package/dist/types/analytics.d.ts +17 -0
- package/dist/types/analytics.d.ts.map +1 -0
- package/dist/types/currency.d.ts +2 -0
- package/dist/types/currency.d.ts.map +1 -0
- package/dist/types/dimensions.d.ts +7 -0
- package/dist/types/dimensions.d.ts.map +1 -0
- package/dist/types/grouped-strategies.d.ts +42 -0
- package/dist/types/grouped-strategies.d.ts.map +1 -0
- package/dist/types/sdk-error-context.d.ts +10 -0
- package/dist/types/sdk-error-context.d.ts.map +1 -0
- package/dist/types/strategy-with-apy.d.ts +8 -0
- package/dist/types/strategy-with-apy.d.ts.map +1 -0
- package/dist/types/tokengroups.d.ts +47 -0
- package/dist/types/tokengroups.d.ts.map +1 -0
- package/dist/types/transaction.d.ts +14 -0
- package/dist/types/transaction.d.ts.map +1 -0
- package/dist/ui/action-sheet/ChooseAStrategyActionsheetView.d.ts +14 -0
- package/dist/ui/action-sheet/ChooseAStrategyActionsheetView.d.ts.map +1 -0
- package/dist/ui/action-sheet/ChooseWithdrawAssetActionsheet.d.ts +16 -0
- package/dist/ui/action-sheet/ChooseWithdrawAssetActionsheet.d.ts.map +1 -0
- package/dist/ui/chip/Chip.d.ts +30 -0
- package/dist/ui/chip/Chip.d.ts.map +1 -0
- package/dist/ui/chip/ChipGroup.d.ts +43 -0
- package/dist/ui/chip/ChipGroup.d.ts.map +1 -0
- package/dist/ui/chip/index.d.ts +5 -0
- package/dist/ui/chip/index.d.ts.map +1 -0
- package/dist/ui/group-label/GroupLabel.d.ts +17 -0
- package/dist/ui/group-label/GroupLabel.d.ts.map +1 -0
- package/dist/ui/group-label/index.d.ts +3 -0
- package/dist/ui/group-label/index.d.ts.map +1 -0
- package/dist/ui/loading/LoadingDots.d.ts +11 -0
- package/dist/ui/loading/LoadingDots.d.ts.map +1 -0
- package/dist/ui/loading/index.d.ts +2 -0
- package/dist/ui/loading/index.d.ts.map +1 -0
- package/dist/ui/swap-form/SwapAdvancedSettings.d.ts +9 -0
- package/dist/ui/swap-form/SwapAdvancedSettings.d.ts.map +1 -0
- package/dist/ui/swap-form/SwapAmountInputView.d.ts +11 -0
- package/dist/ui/swap-form/SwapAmountInputView.d.ts.map +1 -0
- package/dist/ui/swap-form/SwapNetworkSelectorView.d.ts +10 -0
- package/dist/ui/swap-form/SwapNetworkSelectorView.d.ts.map +1 -0
- package/dist/ui/swap-form/SwapOutputAmountView.d.ts +8 -0
- package/dist/ui/swap-form/SwapOutputAmountView.d.ts.map +1 -0
- package/dist/ui/swap-form/SwapQuoteBlockchainCostsView.d.ts +9 -0
- package/dist/ui/swap-form/SwapQuoteBlockchainCostsView.d.ts.map +1 -0
- package/dist/ui/swap-form/SwapQuoteErrorsView.d.ts +7 -0
- package/dist/ui/swap-form/SwapQuoteErrorsView.d.ts.map +1 -0
- package/dist/ui/swap-form/SwapQuoteHeaderView.d.ts +7 -0
- package/dist/ui/swap-form/SwapQuoteHeaderView.d.ts.map +1 -0
- package/dist/ui/swap-form/SwapSlippageToleranceButtonsView.d.ts +7 -0
- package/dist/ui/swap-form/SwapSlippageToleranceButtonsView.d.ts.map +1 -0
- package/dist/ui/swap-form/SwapTokenSelectorView.d.ts +11 -0
- package/dist/ui/swap-form/SwapTokenSelectorView.d.ts.map +1 -0
- package/dist/ui/swap-form/SwapTransactionDetails.d.ts +6 -0
- package/dist/ui/swap-form/SwapTransactionDetails.d.ts.map +1 -0
- package/dist/ui/transaction-screen/history/HistoryDepositDetailsView.d.ts +25 -0
- package/dist/ui/transaction-screen/history/HistoryDepositDetailsView.d.ts.map +1 -0
- package/dist/ui/transaction-screen/history/HistoryDetailsNotFound.d.ts +5 -0
- package/dist/ui/transaction-screen/history/HistoryDetailsNotFound.d.ts.map +1 -0
- package/dist/ui/transaction-screen/history/HistorySwapDetailsScreen.d.ts +8 -0
- package/dist/ui/transaction-screen/history/HistorySwapDetailsScreen.d.ts.map +1 -0
- package/dist/ui/transaction-screen/history/HistoryWithdrawDetailsView.d.ts +5 -0
- package/dist/ui/transaction-screen/history/HistoryWithdrawDetailsView.d.ts.map +1 -0
- package/dist/ui/transaction-screen/swap/SwapCrossChainProcessingScreen.d.ts +3 -0
- package/dist/ui/transaction-screen/swap/SwapCrossChainProcessingScreen.d.ts.map +1 -0
- package/dist/ui/transaction-screen/withdraw/WithdrawSuccess.d.ts +24 -0
- package/dist/ui/transaction-screen/withdraw/WithdrawSuccess.d.ts.map +1 -0
- package/dist/utils/addressUtils.d.ts +7 -0
- package/dist/utils/addressUtils.d.ts.map +1 -0
- package/dist/utils/analytics.d.ts +5 -0
- package/dist/utils/analytics.d.ts.map +1 -0
- package/dist/utils/currency.d.ts +11 -0
- package/dist/utils/currency.d.ts.map +1 -0
- package/dist/utils/errorMapping.d.ts +19 -0
- package/dist/utils/errorMapping.d.ts.map +1 -0
- package/dist/utils/filterStrategies.d.ts +21 -0
- package/dist/utils/filterStrategies.d.ts.map +1 -0
- package/dist/utils/fontLoader.d.ts +9 -0
- package/dist/utils/fontLoader.d.ts.map +1 -0
- package/dist/utils/historyMappers.d.ts +71 -0
- package/dist/utils/historyMappers.d.ts.map +1 -0
- package/dist/utils/strategyCategories.d.ts +25 -0
- package/dist/utils/strategyCategories.d.ts.map +1 -0
- package/dist/utils/tokenSorting.d.ts +30 -0
- package/dist/utils/tokenSorting.d.ts.map +1 -0
- package/dist/utils/tokengroups.d.ts +11 -0
- package/dist/utils/tokengroups.d.ts.map +1 -0
- package/package.json +132 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { UseGroupedStrategiesParams, GroupedStrategiesResult } from '../types/grouped-strategies';
|
|
2
|
+
export declare const useGroupedStrategies: ({ positions, strategies, mostUsedSymbols, isLoading, }: UseGroupedStrategiesParams) => GroupedStrategiesResult;
|
|
3
|
+
export default useGroupedStrategies;
|
|
4
|
+
//# sourceMappingURL=useGroupedStrategies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGroupedStrategies.d.ts","sourceRoot":"","sources":["../../src/hooks/useGroupedStrategies.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAiClG,eAAO,MAAM,oBAAoB,GAAI,wDAKlC,0BAA0B,KAAG,uBA6C/B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type DeframeLanguage, type TranslationKey, type TranslationVariables } from '../i18n';
|
|
2
|
+
interface I18nResult {
|
|
3
|
+
language: DeframeLanguage;
|
|
4
|
+
locale: string;
|
|
5
|
+
t: (key: TranslationKey, vars?: TranslationVariables) => string;
|
|
6
|
+
formatNumber: (value: number, options?: Intl.NumberFormatOptions) => string;
|
|
7
|
+
formatDate: (value: string | Date, options?: Intl.DateTimeFormatOptions) => string;
|
|
8
|
+
formatDateTime: (value: string | Date, options?: Intl.DateTimeFormatOptions) => string;
|
|
9
|
+
}
|
|
10
|
+
export declare function useI18n(): I18nResult;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=useI18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../src/hooks/useI18n.ts"],"names":[],"mappings":"AAGA,OAAO,EAIL,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAC1B,MAAM,SAAS,CAAC;AAEjB,UAAU,UAAU;IAClB,QAAQ,EAAE,eAAe,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,EAAE,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,oBAAoB,KAAK,MAAM,CAAC;IAChE,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,mBAAmB,KAAK,MAAM,CAAC;IAC5E,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,qBAAqB,KAAK,MAAM,CAAC;IACnF,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,qBAAqB,KAAK,MAAM,CAAC;CACxF;AAED,wBAAgB,OAAO,IAAI,UAAU,CA2DpC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hook to fetch strategy token addresses from GET /strategies/tokens
|
|
3
|
+
* Returns a Set of token addresses for blacklisting in swap
|
|
4
|
+
*
|
|
5
|
+
* @returns React Query hook result with token addresses as a Set
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* const { tokenAddresses, isLoading, error } = useStrategyTokens();
|
|
9
|
+
*/
|
|
10
|
+
export declare const useStrategyTokens: () => {
|
|
11
|
+
tokenAddresses: Set<string>;
|
|
12
|
+
isLoading: boolean;
|
|
13
|
+
error: Error | undefined;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=useStrategyTokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStrategyTokens.d.ts","sourceRoot":"","sources":["../../src/hooks/useStrategyTokens.ts"],"names":[],"mappings":"AAOA;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB;;;;CAuB7B,CAAC"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { IngestActionRequest } from '../api/actions.api';
|
|
4
|
+
declare const swapSchema: z.ZodObject<{
|
|
5
|
+
amountHumanized: z.ZodOptional<z.ZodString>;
|
|
6
|
+
fromTokenAddress: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
7
|
+
toTokenAddress: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
8
|
+
fromChainId: z.ZodNumber;
|
|
9
|
+
toChainId: z.ZodNumber;
|
|
10
|
+
slippageBps: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export type SwapFormValues = z.infer<typeof swapSchema>;
|
|
13
|
+
type SwapSelectorSide = 'from' | 'to';
|
|
14
|
+
export interface UseSwapFlowLogicProps {
|
|
15
|
+
initialFromTokenAddress?: string;
|
|
16
|
+
initialFromChainId?: number;
|
|
17
|
+
initialToTokenAddress?: string;
|
|
18
|
+
initialToChainId?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare function useSwapFlowLogic(props: UseSwapFlowLogicProps): {
|
|
21
|
+
formMethods: import("react-hook-form").UseFormReturn<{
|
|
22
|
+
fromChainId: number;
|
|
23
|
+
toChainId: number;
|
|
24
|
+
slippageBps: number;
|
|
25
|
+
amountHumanized?: string | undefined;
|
|
26
|
+
fromTokenAddress?: string | undefined;
|
|
27
|
+
toTokenAddress?: string | undefined;
|
|
28
|
+
}, any, {
|
|
29
|
+
fromChainId: number;
|
|
30
|
+
toChainId: number;
|
|
31
|
+
slippageBps: number;
|
|
32
|
+
amountHumanized?: string | undefined;
|
|
33
|
+
fromTokenAddress?: string | undefined;
|
|
34
|
+
toTokenAddress?: string | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
formRef: React.RefObject<HTMLFormElement | null>;
|
|
37
|
+
submitForm: () => void;
|
|
38
|
+
handleSubmit: import("react-hook-form").UseFormHandleSubmit<{
|
|
39
|
+
fromChainId: number;
|
|
40
|
+
toChainId: number;
|
|
41
|
+
slippageBps: number;
|
|
42
|
+
amountHumanized?: string | undefined;
|
|
43
|
+
fromTokenAddress?: string | undefined;
|
|
44
|
+
toTokenAddress?: string | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
fromChainId: number;
|
|
47
|
+
toChainId: number;
|
|
48
|
+
slippageBps: number;
|
|
49
|
+
amountHumanized?: string | undefined;
|
|
50
|
+
fromTokenAddress?: string | undefined;
|
|
51
|
+
toTokenAddress?: string | undefined;
|
|
52
|
+
}>;
|
|
53
|
+
formValues: {
|
|
54
|
+
fromChainId: number;
|
|
55
|
+
toChainId: number;
|
|
56
|
+
slippageBps: number;
|
|
57
|
+
amountHumanized?: string | undefined;
|
|
58
|
+
fromTokenAddress?: string | undefined;
|
|
59
|
+
toTokenAddress?: string | undefined;
|
|
60
|
+
};
|
|
61
|
+
fromToken: import("../domain").TokenData | undefined;
|
|
62
|
+
toToken: import("../domain").TokenData | undefined;
|
|
63
|
+
fromTokenBalance: import("..").BalanceDomain | undefined;
|
|
64
|
+
toTokenBalance: import("..").BalanceDomain | undefined;
|
|
65
|
+
quoteOutputUI: string;
|
|
66
|
+
quoteOutputUSD: string;
|
|
67
|
+
amountInUsd: string;
|
|
68
|
+
slippageFormatted: string;
|
|
69
|
+
swapQuote: import("../types/api").SwapQuoteResponse;
|
|
70
|
+
swapBytecode: import("../types/api").SwapBytecodeResponse;
|
|
71
|
+
isTxProcessing: boolean;
|
|
72
|
+
isTxSuccess: boolean;
|
|
73
|
+
isSignatureError: boolean;
|
|
74
|
+
isTxError: boolean;
|
|
75
|
+
currentClientTxId: string | null;
|
|
76
|
+
isCrossChainSwap: boolean;
|
|
77
|
+
crossChainDestinationConfirmed: boolean;
|
|
78
|
+
isConfigOpen: boolean;
|
|
79
|
+
setIsConfigOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
80
|
+
handleAssetSelected: (side: SwapSelectorSide, token: {
|
|
81
|
+
address: string;
|
|
82
|
+
chainId: number;
|
|
83
|
+
decimals: number;
|
|
84
|
+
}) => void;
|
|
85
|
+
handleNetworkSelected: (side: SwapSelectorSide, chainId: string) => void;
|
|
86
|
+
handlePercentageClick: (basisPoints: number) => void;
|
|
87
|
+
handleSwitchSides: () => void;
|
|
88
|
+
handleFormSubmit: (values: SwapFormValues) => void;
|
|
89
|
+
handleQuoteExpire: () => void;
|
|
90
|
+
availableChainsForFromToken: number[];
|
|
91
|
+
availableChainsForToToken: number[];
|
|
92
|
+
onRouteChangeRequest: (params: {
|
|
93
|
+
route: string;
|
|
94
|
+
params?: Record<string, string>;
|
|
95
|
+
}) => void;
|
|
96
|
+
dispatch: import("@reduxjs/toolkit").ThunkDispatch<{
|
|
97
|
+
config: import("../state").ConfigState;
|
|
98
|
+
connection: import("../state").ConnectionState;
|
|
99
|
+
ui: import("../state/features/ui").UiState;
|
|
100
|
+
portfolio: import("../state").PortfolioState;
|
|
101
|
+
tx: import("@reduxjs/toolkit").EntityState<import("../state").TxInfo, string>;
|
|
102
|
+
strategies: import("../state/features/strategies/slice").StrategiesState;
|
|
103
|
+
history: import("../state/features/history").HistoryState;
|
|
104
|
+
strategiesApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
105
|
+
getStrategies: import("@reduxjs/toolkit/query").QueryDefinition<void | {
|
|
106
|
+
page?: number;
|
|
107
|
+
limit?: number;
|
|
108
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
109
|
+
code?: string;
|
|
110
|
+
}>, "Strategy" | "StrategyDetail" | "Bytecode", import("..").StrategiesResponse, "strategiesApi", unknown>;
|
|
111
|
+
getStrategyById: import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
112
|
+
code?: string;
|
|
113
|
+
}>, "Strategy" | "StrategyDetail" | "Bytecode", import("../types/api").StrategyWithoutWalletData, "strategiesApi", unknown>;
|
|
114
|
+
getStrategyWithWallet: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
115
|
+
id: string;
|
|
116
|
+
wallet: string;
|
|
117
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
118
|
+
code?: string;
|
|
119
|
+
}>, "Strategy" | "StrategyDetail" | "Bytecode", import("..").StrategyWithWalletData, "strategiesApi", unknown>;
|
|
120
|
+
getStrategyTokens: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
121
|
+
code?: string;
|
|
122
|
+
}>, "Strategy" | "StrategyDetail" | "Bytecode", Record<string, string>, "strategiesApi", unknown>;
|
|
123
|
+
}, "Strategy" | "StrategyDetail" | "Bytecode", "strategiesApi">;
|
|
124
|
+
portfolioApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
125
|
+
getWalletPositions: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
126
|
+
wallet: string;
|
|
127
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
128
|
+
code?: string;
|
|
129
|
+
}>, "Portfolio", import("..").WalletPositionsResponse, "portfolioApi", unknown>;
|
|
130
|
+
}, "Portfolio", "portfolioApi">;
|
|
131
|
+
balancesApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
132
|
+
getBalances: import("@reduxjs/toolkit/query").QueryDefinition<import("../api/balances.api").GetBalancesParams, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
133
|
+
code?: string;
|
|
134
|
+
}>, "Balances", import("..").WalletBalancesDomain, "balancesApi", unknown>;
|
|
135
|
+
}, "Balances", "balancesApi">;
|
|
136
|
+
bytecodeApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
137
|
+
getStrategyBytecodeDirect: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
138
|
+
id: string;
|
|
139
|
+
} & import("..").GetBytecodeParams, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
140
|
+
code?: string;
|
|
141
|
+
}>, "Bytecode", import("..").BytecodeResponse, "bytecodeApi", unknown>;
|
|
142
|
+
getStrategyBytecodeSameChain: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
143
|
+
id: string;
|
|
144
|
+
} & import("..").GetBytecodeParams, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
145
|
+
code?: string;
|
|
146
|
+
}>, "Bytecode", import("..").BytecodeResponse, "bytecodeApi", unknown>;
|
|
147
|
+
getStrategyBytecodeCrossChain: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
148
|
+
id: string;
|
|
149
|
+
} & import("..").GetBytecodeParams, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
150
|
+
code?: string;
|
|
151
|
+
}>, "Bytecode", import("..").BytecodeResponse, "bytecodeApi", unknown>;
|
|
152
|
+
}, "Bytecode", "bytecodeApi">;
|
|
153
|
+
swapApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
154
|
+
getSwapQuote: import("@reduxjs/toolkit/query").QueryDefinition<import("../api/swap.api").GetSwapQuoteParams, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
155
|
+
code?: string;
|
|
156
|
+
}>, "Swap", import("../types/api").SwapQuoteResponse, "swapApi", unknown>;
|
|
157
|
+
getSwapBytecode: import("@reduxjs/toolkit/query").QueryDefinition<import("../api/swap.api").GetSwapBytecodeParams, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
158
|
+
code?: string;
|
|
159
|
+
}>, "Swap", import("../types/api").SwapBytecodeResponse, "swapApi", unknown>;
|
|
160
|
+
}, "Swap", "swapApi">;
|
|
161
|
+
actionsApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
162
|
+
ingestAction: import("@reduxjs/toolkit/query").MutationDefinition<IngestActionRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
163
|
+
code?: string;
|
|
164
|
+
}>, never, import("../api/actions.api").IngestActionResponse, "actionsApi", unknown>;
|
|
165
|
+
getActionById: import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
166
|
+
code?: string;
|
|
167
|
+
}>, never, import("../api/actions.api").ActionResponse, "actionsApi", unknown>;
|
|
168
|
+
}, never, "actionsApi">;
|
|
169
|
+
tokensApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
170
|
+
getTokenByAddress: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
171
|
+
address: string;
|
|
172
|
+
chainId: number;
|
|
173
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
174
|
+
code?: string;
|
|
175
|
+
}>, "Token" | "TokenGroups", import("../api/tokens.api").TokenWithPrice | null, "tokensApi", unknown>;
|
|
176
|
+
getTokensByAddresses: import("@reduxjs/toolkit/query").QueryDefinition<import("../api/tokens.api").GetTokensByAddressesParams, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
177
|
+
code?: string;
|
|
178
|
+
}>, "Token" | "TokenGroups", import("../api/tokens.api").TokenWithPrice[], "tokensApi", unknown>;
|
|
179
|
+
getTokens: import("@reduxjs/toolkit/query").QueryDefinition<import("../api/tokens.api").GetTokensParams, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
180
|
+
code?: string;
|
|
181
|
+
}>, "Token" | "TokenGroups", import("../api/tokens.api").TokensResponse, "tokensApi", unknown>;
|
|
182
|
+
getTokenGroups: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
183
|
+
code?: string;
|
|
184
|
+
}>, "Token" | "TokenGroups", import("../types/tokengroups").TokenGroupsData, "tokensApi", unknown>;
|
|
185
|
+
}, "Token" | "TokenGroups", "tokensApi">;
|
|
186
|
+
historyApi: import("@reduxjs/toolkit/query").CombinedState<{
|
|
187
|
+
getHistory: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
188
|
+
wallet: string;
|
|
189
|
+
page?: number;
|
|
190
|
+
limit?: number;
|
|
191
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError & {
|
|
192
|
+
code?: string;
|
|
193
|
+
}>, never, import("../api/history.api").HistoryResponse, "historyApi", unknown>;
|
|
194
|
+
}, never, "historyApi">;
|
|
195
|
+
}, undefined, import("@reduxjs/toolkit").UnknownAction> & import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").UnknownAction>;
|
|
196
|
+
};
|
|
197
|
+
export {};
|
|
198
|
+
//# sourceMappingURL=useSwapFlowLogic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSwapFlowLogic.d.ts","sourceRoot":"","sources":["../../src/hooks/useSwapFlowLogic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,OAAO,EAAE,mBAAmB,EAAsD,MAAM,oBAAoB,CAAC;AAe7G,QAAA,MAAM,UAAU;;;;;;;iBAOd,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAExD,KAAK,gBAAgB,GAAG,MAAM,GAAG,IAAI,CAAC;AAEtC,MAAM,WAAW,qBAAqB;IACpC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAmLxB,gBAAgB,SAAS;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE;kCAa7E,gBAAgB,WAAW,MAAM;yCAoB1B,MAAM;;+BAqFhB,cAAc;;;;;;cAzJlC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwahB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TokenGroup } from '../types/tokengroups';
|
|
2
|
+
interface UseTokenGroupsResult {
|
|
3
|
+
tokenGroups: TokenGroup[];
|
|
4
|
+
mostUsedSymbols: string[];
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
isError: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Hook to fetch and access token groups for token prioritization.
|
|
10
|
+
* Resolves token ObjectIds to symbols for use in sorting.
|
|
11
|
+
*/
|
|
12
|
+
export declare const useTokenGroups: () => UseTokenGroupsResult;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=useTokenGroups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTokenGroups.d.ts","sourceRoot":"","sources":["../../src/hooks/useTokenGroups.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGlD,UAAU,oBAAoB;IAC5B,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,QAAO,oBA4BjC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DEFAULT_LANGUAGE, LANGUAGE_TO_LOCALE, MESSAGES_BY_LANGUAGE, type DeframeLanguage, type DeframeLocale, type TranslationKey } from './messages';
|
|
2
|
+
export type TranslationVariables = Record<string, string | number | null | undefined>;
|
|
3
|
+
export type TranslationOverrides = Partial<Record<DeframeLanguage, Partial<Record<TranslationKey, string>>>>;
|
|
4
|
+
export interface TranslateOptions {
|
|
5
|
+
language?: DeframeLanguage;
|
|
6
|
+
overrides?: TranslationOverrides;
|
|
7
|
+
vars?: TranslationVariables;
|
|
8
|
+
}
|
|
9
|
+
export declare function resolveLocale(language?: DeframeLanguage): DeframeLocale;
|
|
10
|
+
export declare function translate(key: TranslationKey, options?: TranslateOptions): string;
|
|
11
|
+
export type { DeframeLanguage, DeframeLocale, TranslationKey };
|
|
12
|
+
export { DEFAULT_LANGUAGE, LANGUAGE_TO_LOCALE, MESSAGES_BY_LANGUAGE };
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,cAAc,EACpB,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;AAEtF,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC,CACjE,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,IAAI,CAAC,EAAE,oBAAoB,CAAC;CAC7B;AAYD,wBAAgB,aAAa,CAAC,QAAQ,CAAC,EAAE,eAAe,GAAG,aAAa,CAEvE;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAMjF;AAED,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
export type DeframeLanguage = 'PT' | 'EN';
|
|
2
|
+
export type DeframeLocale = 'pt-BR' | 'en-US';
|
|
3
|
+
export declare const DEFAULT_LANGUAGE: DeframeLanguage;
|
|
4
|
+
export declare const LANGUAGE_TO_LOCALE: Record<DeframeLanguage, DeframeLocale>;
|
|
5
|
+
export declare const ptMessages: {
|
|
6
|
+
readonly 'common.back': "Voltar";
|
|
7
|
+
readonly 'common.close': "Fechar";
|
|
8
|
+
readonly 'common.retry': "Tentar novamente";
|
|
9
|
+
readonly 'common.load_more': "Carregar mais";
|
|
10
|
+
readonly 'common.view_all': "Ver todas";
|
|
11
|
+
readonly 'common.details': "Detalhes";
|
|
12
|
+
readonly 'common.transaction_details': "Detalhes da transação";
|
|
13
|
+
readonly 'common.status': "Status";
|
|
14
|
+
readonly 'common.date': "Data";
|
|
15
|
+
readonly 'common.transaction': "Transação";
|
|
16
|
+
readonly 'common.transaction_id': "ID da transação";
|
|
17
|
+
readonly 'common.search': "Buscar";
|
|
18
|
+
readonly 'common.search_try_another_term': "Tente outro termo de busca";
|
|
19
|
+
readonly 'common.error': "Erro";
|
|
20
|
+
readonly 'common.loading': "Carregando";
|
|
21
|
+
readonly 'common.loading_tokens': "Carregando tokens";
|
|
22
|
+
readonly 'common.searching_tokens': "Buscando tokens";
|
|
23
|
+
readonly 'common.processing': "Processando";
|
|
24
|
+
readonly 'common.success': "Sucesso!";
|
|
25
|
+
readonly 'common.not_available': "Indisponível";
|
|
26
|
+
readonly 'common.expand': "Expandir";
|
|
27
|
+
readonly 'common.collapse': "Recolher";
|
|
28
|
+
readonly 'common.max': "Max";
|
|
29
|
+
readonly 'common.explore_more': "Explorar mais";
|
|
30
|
+
readonly 'common.activity_history': "Histórico de atividades";
|
|
31
|
+
readonly 'common.select_token': "Selecionar token";
|
|
32
|
+
readonly 'common.select_network': "Selecionar rede";
|
|
33
|
+
readonly 'common.cancel': "Cancelar";
|
|
34
|
+
readonly 'common.completed': "Completo";
|
|
35
|
+
readonly 'common.failed': "Falhou";
|
|
36
|
+
readonly 'common.awaiting': "Aguardando";
|
|
37
|
+
readonly 'common.processing_ellipsis': "Processando...";
|
|
38
|
+
readonly 'common.not_started': "Não iniciado...";
|
|
39
|
+
readonly 'common.confirming': "Confirmando";
|
|
40
|
+
readonly 'common.estimated_time': "Tempo estimado";
|
|
41
|
+
readonly 'common.view_on_explorer': "Ver no Explorer";
|
|
42
|
+
readonly 'common.view_history': "Ver histórico";
|
|
43
|
+
readonly 'common.apy': "APY";
|
|
44
|
+
readonly 'common.seconds_short': "s";
|
|
45
|
+
readonly 'widget.earn.tab.overview': "Visão Geral";
|
|
46
|
+
readonly 'widget.earn.tab.explore': "Explorar";
|
|
47
|
+
readonly 'widget.earn.tab.history': "Histórico";
|
|
48
|
+
readonly 'widget.earn.total_invested': "Total investido";
|
|
49
|
+
readonly 'widget.earn.earnings': "Ganhos";
|
|
50
|
+
readonly 'widget.earn.total_return': "Total de retorno";
|
|
51
|
+
readonly 'widget.earn.where_you_invest': "Onde você já investe";
|
|
52
|
+
readonly 'widget.earn.best_performance': "Melhores performances";
|
|
53
|
+
readonly 'widget.earn.all_strategies': "Todas as estratégias";
|
|
54
|
+
readonly 'widget.earn.recent_transactions': "Transações recentes";
|
|
55
|
+
readonly 'widget.earn.investment_info': "Informações do Investimento";
|
|
56
|
+
readonly 'widget.earn.past_activities': "Atividades passadas";
|
|
57
|
+
readonly 'widget.earn.your_investments': "Seus Investimentos";
|
|
58
|
+
readonly 'widget.earn.overview_description': "Visão geral dos seus investimentos";
|
|
59
|
+
readonly 'widget.earn.absolute_yield': "Rendimento absoluto";
|
|
60
|
+
readonly 'widget.earn.avg_annual_returns': "Retornos anuais médios";
|
|
61
|
+
readonly 'widget.earn.last_investment': "Último investimento";
|
|
62
|
+
readonly 'widget.earn.explore_strategies': "Explore as estratégias";
|
|
63
|
+
readonly 'widget.earn.avg_apy': "APY médio";
|
|
64
|
+
readonly 'widget.swap.title': "Trocar ativos";
|
|
65
|
+
readonly 'widget.swap.subtitle': "Selecione tokens, redes e um valor para iniciar a troca";
|
|
66
|
+
readonly 'widget.swap.history_aria': "Histórico";
|
|
67
|
+
readonly 'widget.swap.history_not_available_title': "Histórico não disponível";
|
|
68
|
+
readonly 'widget.swap.history_not_available_description': "Este SwapWidget não possui uma tela de histórico/overview. Você pode voltar para a troca ou usar o histórico do app host.";
|
|
69
|
+
readonly 'widget.swap.back_to_swap': "Voltar para a troca";
|
|
70
|
+
readonly 'widget.swap.switch_tokens_aria': "Trocar tokens";
|
|
71
|
+
readonly 'widget.swap.amount_to_swap_aria': "Valor para troca";
|
|
72
|
+
readonly 'empty.history.title': "Nenhuma transação ainda";
|
|
73
|
+
readonly 'empty.history.description': "Assim que você começar a movimentar fundos, seu histórico de transações aparecerá aqui.";
|
|
74
|
+
readonly 'empty.search.title': "Nenhum resultado";
|
|
75
|
+
readonly 'actionsheet.choose_network': "Escolha uma rede";
|
|
76
|
+
readonly 'actionsheet.choose_asset': "Escolha um ativo";
|
|
77
|
+
readonly 'actionsheet.choose_withdraw_asset': "Escolha como quer sacar";
|
|
78
|
+
readonly 'actionsheet.search_by_name': "Pesquisar por nome";
|
|
79
|
+
readonly 'actionsheet.withdraw_receive_currency': "Selecione a moeda que você quer receber";
|
|
80
|
+
readonly 'history.deposit': "Depósito {{symbol}}";
|
|
81
|
+
readonly 'history.withdraw': "Retirada {{symbol}}";
|
|
82
|
+
readonly 'history.swap': "Swap {{symbolIn}} → {{symbolOut}}";
|
|
83
|
+
readonly 'history.swap_short': "Troca";
|
|
84
|
+
readonly 'history.investment': "Investimento";
|
|
85
|
+
readonly 'history.on_network': "Na rede {{network}}";
|
|
86
|
+
readonly 'history.transaction_not_found': "Transação não encontrada";
|
|
87
|
+
readonly 'history.details_unavailable': "Detalhes indisponíveis";
|
|
88
|
+
readonly 'history.you_sent': "Você enviou";
|
|
89
|
+
readonly 'history.you_received': "Você recebeu";
|
|
90
|
+
readonly 'history.currency': "Moeda";
|
|
91
|
+
readonly 'history.total_amount': "Valor total";
|
|
92
|
+
readonly 'history.operation_cost': "Custo de operação";
|
|
93
|
+
readonly 'history.operation_cost_sponsored': "Patrocinado pela Cryptocontrol";
|
|
94
|
+
readonly 'history.protocol': "Protocolo";
|
|
95
|
+
readonly 'history.view_on_explorer': "Ver no explorer";
|
|
96
|
+
readonly 'history.status_success': "Sucesso";
|
|
97
|
+
readonly 'history.status_failed': "Falhou";
|
|
98
|
+
readonly 'history.status_pending': "Pendente";
|
|
99
|
+
readonly 'history.investment_deposit': "Investimento - Depósito";
|
|
100
|
+
readonly 'history.investment_withdraw': "Investimento - Retirada";
|
|
101
|
+
readonly 'history.route': "Rota";
|
|
102
|
+
readonly 'history.network': "Rede";
|
|
103
|
+
readonly 'strategy.not_found': "Estratégia não encontrada";
|
|
104
|
+
readonly 'strategy.creation_date': "Data de criação";
|
|
105
|
+
readonly 'strategy.risk': "Risco";
|
|
106
|
+
readonly 'strategy.volatility': "Volatilidade";
|
|
107
|
+
readonly 'strategy.liquidity': "Liquidez";
|
|
108
|
+
readonly 'strategy.liquidity_immediate': "Imediato";
|
|
109
|
+
readonly 'strategy.info': "Informações da Estratégia";
|
|
110
|
+
readonly 'strategy.deposit': "Depósito";
|
|
111
|
+
readonly 'strategy.withdraw': "Sacar";
|
|
112
|
+
readonly 'strategy.withdraw_title': "Sacar";
|
|
113
|
+
readonly 'strategy.deposit_title': "Depósito";
|
|
114
|
+
readonly 'strategy.crosschain_withdraw_not_supported': "Saques entre redes ainda não são suportados";
|
|
115
|
+
readonly 'strategy.crosschain_deposit_not_supported': "Depósitos entre redes ainda não são suportados";
|
|
116
|
+
readonly 'strategy.transaction_error': "Erro na transação";
|
|
117
|
+
readonly 'strategy.yield': "Rendimento {{assetName}}";
|
|
118
|
+
readonly 'strategy.choose_amount_before_withdraw': "Escolha o valor e confirme os detalhes antes de sacar";
|
|
119
|
+
readonly 'strategy.choose_amount_before_deposit': "Escolha o valor e confirme os detalhes antes de depositar";
|
|
120
|
+
readonly 'strategy.deposit_completed': "Depósito concluído {{txHash}}";
|
|
121
|
+
readonly 'strategy.withdraw_from_vault': "Sacar do Cofre";
|
|
122
|
+
readonly 'strategy.pay_on': "Pagar em";
|
|
123
|
+
readonly 'strategy.receive_on': "Receber em";
|
|
124
|
+
readonly 'strategy.total_available': "Total disponível";
|
|
125
|
+
readonly 'strategy.no_balance_swap_prompt': "Ops, parece que você não tem saldo nesse token, gostaria de fazer um swap?";
|
|
126
|
+
readonly 'strategy.go_to_swap': "Ir para Swap";
|
|
127
|
+
readonly 'strategy.withdraw_completed': "Saque concluído {{txHash}}";
|
|
128
|
+
readonly 'strategy.you_will_burn': "Você vai queimar";
|
|
129
|
+
readonly 'strategy.shares': "ações";
|
|
130
|
+
readonly 'strategy.you_will_receive_estimated': "Receberá (estimado):";
|
|
131
|
+
readonly 'strategy.total_fees': "Taxas totais";
|
|
132
|
+
readonly 'strategy.estimated_time': "Tempo estimado";
|
|
133
|
+
readonly 'badge.low_risk': "Baixo Risco";
|
|
134
|
+
readonly 'badge.medium_risk': "Médio Risco";
|
|
135
|
+
readonly 'badge.high_risk': "Alto Risco";
|
|
136
|
+
readonly 'tx_screen.confirm_withdraw': "Confirmar saque";
|
|
137
|
+
readonly 'tx_screen.confirm_deposit': "Confirmar depósito";
|
|
138
|
+
readonly 'tx_screen.withdraw_in_progress': "Saque em andamento";
|
|
139
|
+
readonly 'tx_screen.deposit_in_progress': "Depósito em andamento";
|
|
140
|
+
readonly 'tx_screen.swap_in_progress': "Troca em andamento";
|
|
141
|
+
readonly 'tx_screen.details': "Detalhes";
|
|
142
|
+
readonly 'tx_screen.amount': "Valor";
|
|
143
|
+
readonly 'tx_screen.deposit_processing_description_prefix': "Você já pode ver este investimento no";
|
|
144
|
+
readonly 'tx_screen.withdraw_processing_description_prefix': "Você já pode acompanhar esta transação. Confira o";
|
|
145
|
+
readonly 'tx_screen.withdraw_processing_description_suffix': "para detalhes";
|
|
146
|
+
readonly 'tx_screen.swap_processing_description_prefix': "Você pode acompanhar esta transação no";
|
|
147
|
+
readonly 'tx_screen.deposit_success_description_prefix': "Você depositou";
|
|
148
|
+
readonly 'tx_screen.deposit_success_description_suffix': "e agora você pode ver este investimento";
|
|
149
|
+
readonly 'tx_screen.deposit_success_description_link': "na sua conta.";
|
|
150
|
+
readonly 'tx_screen.withdraw_success_description_prefix': "Você sacou";
|
|
151
|
+
readonly 'tx_screen.withdraw_success_description_suffix': "os fundos foram entregues para sua";
|
|
152
|
+
readonly 'tx_screen.withdraw_success_description_link': "carteira.";
|
|
153
|
+
readonly 'tx_screen.swap_success_description_prefix': "Você trocou";
|
|
154
|
+
readonly 'tx_screen.swap_success_description_middle': "por";
|
|
155
|
+
readonly 'tx_screen.swap_success_description_suffix': "e agora você pode ver esta transação";
|
|
156
|
+
readonly 'tx_screen.swap_success_description_link': "na sua carteira.";
|
|
157
|
+
readonly 'tx_screen.start_new_swap': "Iniciar nova troca";
|
|
158
|
+
readonly 'tx_screen.crosschain_finalizing_title': "Finalizando troca cross-chain";
|
|
159
|
+
readonly 'tx_screen.crosschain_waiting_destination_title': "Aguardando confirmação na rede de destino";
|
|
160
|
+
readonly 'tx_screen.crosschain_confirming_origin_title': "Confirmando transação na rede de origem";
|
|
161
|
+
readonly 'tx_screen.crosschain_finalizing_description': "A última confirmação está sendo processada. Isso pode levar alguns instantes.";
|
|
162
|
+
readonly 'tx_screen.crosschain_confirmed_origin_description': "A transação foi confirmada em {{origin}}. Agora estamos aguardando a confirmação em {{destination}}.";
|
|
163
|
+
readonly 'tx_screen.crosschain_confirming_origin_description': "Estamos confirmando sua transação em {{origin}}.";
|
|
164
|
+
readonly 'tx_screen.crosschain_view_history': "Ver histórico";
|
|
165
|
+
readonly 'tx_step.approve_token': "Aprovar {{symbol}}";
|
|
166
|
+
readonly 'tx_step.sending_funds': "Enviando fundos";
|
|
167
|
+
readonly 'tx_step.deposit_to_vault': "Depositar no Cofre";
|
|
168
|
+
readonly 'tx_step.withdraw_completed': "Retirada concluída";
|
|
169
|
+
readonly 'tx_step.bridge_transaction': "Transação ponte";
|
|
170
|
+
readonly 'tx_step.complete_swap': "Completar troca";
|
|
171
|
+
readonly 'tx_step.signature_pending': "Assinatura pendente";
|
|
172
|
+
readonly 'tx_step.failed_on_blockchain': "Falhou na blockchain";
|
|
173
|
+
readonly 'tx_step.confirm_on_chain': "Confirmar em {{chain}}";
|
|
174
|
+
readonly 'tx_step.process_bridge': "Processar ponte";
|
|
175
|
+
readonly 'tx_detail.bridge': "Ponte";
|
|
176
|
+
readonly 'tx_detail.sender': "Remetente";
|
|
177
|
+
readonly 'tx_detail.from_network': "Da rede";
|
|
178
|
+
readonly 'tx_detail.to_network': "Para rede";
|
|
179
|
+
readonly 'tx_detail.from_token': "Token de origem";
|
|
180
|
+
readonly 'tx_detail.input_amount': "Valor de entrada";
|
|
181
|
+
readonly 'tx_detail.estimated_output': "Saída estimada";
|
|
182
|
+
readonly 'tx_detail.minimum_output': "Saída mínima";
|
|
183
|
+
readonly 'swap.settings': "Configurações";
|
|
184
|
+
readonly 'swap.exchange_rate': "Taxa de câmbio";
|
|
185
|
+
readonly 'swap.blockchain_costs': "Custos da blockchain";
|
|
186
|
+
readonly 'swap.network_gas': "Gas da rede";
|
|
187
|
+
readonly 'swap.protocol_fee': "Taxa do protocolo";
|
|
188
|
+
readonly 'swap.quote_error': "Falha ao buscar cotação. Por favor, tente novamente.";
|
|
189
|
+
readonly 'swap.bytecode_error': "Falha ao preparar a transação. Por favor, tente novamente.";
|
|
190
|
+
readonly 'swap.searching_quote': "Buscando";
|
|
191
|
+
readonly 'swap.loading_quote': "Carregando cotação...";
|
|
192
|
+
readonly 'swap.quote_id': "Quote ID";
|
|
193
|
+
readonly 'swap.slippage': "Slippage";
|
|
194
|
+
readonly 'swap.eta': "ETA";
|
|
195
|
+
readonly 'swap.eta_cross_chain': "5 minutos";
|
|
196
|
+
readonly 'swap.eta_same_chain': "5 segundos";
|
|
197
|
+
readonly 'swap.balance': "Saldo";
|
|
198
|
+
readonly 'swap.processing_transaction': "Processando transação";
|
|
199
|
+
readonly 'swap.preparing_transaction': "Preparando transação";
|
|
200
|
+
readonly 'swap.preparing_swap': "Preparando troca";
|
|
201
|
+
readonly 'swap.to_label': "Para";
|
|
202
|
+
readonly 'swap.slippage_tolerance': "Tolerância de slippage";
|
|
203
|
+
readonly 'swap.slippage_max_variation': "máx. {{slippage}} de variação";
|
|
204
|
+
readonly 'search.placeholder_strategies_assets': "Pesquisar estratégias ou ativos";
|
|
205
|
+
readonly 'error.generic.title': "Algo está errado do nosso lado";
|
|
206
|
+
readonly 'error.generic.description': "Estamos com problemas para carregar os dados de Earn agora. Nossa equipe está trabalhando nisso — verifique status.deframe.com para atualizações.";
|
|
207
|
+
readonly 'error.generic.description_prefix': "Estamos com problemas para carregar os dados de Earn agora. Nossa equipe está trabalhando nisso — verifique";
|
|
208
|
+
readonly 'error.generic.description_suffix': "para atualizações.";
|
|
209
|
+
readonly 'validation.PROCESSING': "Processando";
|
|
210
|
+
readonly 'validation.NO_WALLET': "Conectar carteira";
|
|
211
|
+
readonly 'validation.NO_STRATEGY': "Selecionar estratégia";
|
|
212
|
+
readonly 'validation.NO_TOKEN': "Selecionar ativo";
|
|
213
|
+
readonly 'validation.NO_CHAIN': "Selecionar rede";
|
|
214
|
+
readonly 'validation.NO_AMOUNT': "Inserir valor";
|
|
215
|
+
readonly 'validation.AMOUNT_BELOW_MINIMUM': "Valor mínimo {{amount}}";
|
|
216
|
+
readonly 'validation.INVALID_AMOUNT': "Valor inválido";
|
|
217
|
+
readonly 'validation.INVALID_TOKEN': "Endereço do token inválido";
|
|
218
|
+
readonly 'validation.INVALID_TO_TOKEN': "Selecione um ativo de destino";
|
|
219
|
+
readonly 'validation.INVALID_FROM_TOKEN': "Token de origem inválido";
|
|
220
|
+
readonly 'validation.INVALID_CHAIN': "Chain ID inválido";
|
|
221
|
+
readonly 'validation.CHAIN_MISMATCH': "Trocar para a rede correta";
|
|
222
|
+
readonly 'validation.INSUFFICIENT_BALANCE': "Saldo insuficiente";
|
|
223
|
+
readonly 'validation.QUOTE_ERROR': "Erro ao obter cotação";
|
|
224
|
+
readonly 'validation.FETCHING_QUOTE': "Buscando quote";
|
|
225
|
+
readonly 'validation.NO_QUOTE': "Calculando";
|
|
226
|
+
readonly 'validation.VALID_DEPOSIT': "Depósito";
|
|
227
|
+
readonly 'validation.VALID_WITHDRAW': "Sacar";
|
|
228
|
+
readonly 'validation.VALID_SWAP': "Trocar";
|
|
229
|
+
readonly 'tx_status.BUILDING_BYTECODE': "Construindo transação";
|
|
230
|
+
readonly 'tx_status.BYTECODE_READY': "Bytecode preparado";
|
|
231
|
+
readonly 'tx_status.BYTECODE_SENT_HOST': "Enviado para o aplicativo pai";
|
|
232
|
+
readonly 'tx_status.HOST_ACK': "Aplicativo pai confirmou";
|
|
233
|
+
readonly 'tx_status.WAITING_HOST_SIGNATURE': "Aguardando assinatura da carteira";
|
|
234
|
+
readonly 'tx_status.TX_SUBMITTED': "Enviado para a rede";
|
|
235
|
+
readonly 'tx_status.CONFIRMED': "Confirmado na blockchain";
|
|
236
|
+
readonly 'tx_status.FINALIZED': "Finalizado";
|
|
237
|
+
readonly 'tx_status.SIGNATURE_DECLINED': "Assinatura recusada";
|
|
238
|
+
readonly 'tx_status.SIGNATURE_ERROR': "Erro na assinatura";
|
|
239
|
+
readonly 'tx_status.TX_DROPPED': "Transação descartada";
|
|
240
|
+
readonly 'tx_status.ONCHAIN_REVERTED': "Revertido na blockchain";
|
|
241
|
+
readonly 'tx_status.TIMEOUT': "Tempo esgotado";
|
|
242
|
+
readonly 'tx_status.SIGNED': "Assinado";
|
|
243
|
+
readonly 'tx_status.WAITING_HOST_PROPAGATION': "Aguardando propagação do host";
|
|
244
|
+
readonly 'tx_status.TX_REPLACED': "Transação substituída";
|
|
245
|
+
readonly 'tx_error.UNKNOWN.title': "Transação falhou";
|
|
246
|
+
readonly 'tx_error.UNKNOWN.description': "Um erro inesperado ocorreu. Por favor, tente novamente.";
|
|
247
|
+
readonly 'tx_error.NETWORK_ERROR.title': "Erro de rede";
|
|
248
|
+
readonly 'tx_error.NETWORK_ERROR.description': "Ocorreu um erro de rede. Por favor, verifique sua conexão e tente novamente.";
|
|
249
|
+
readonly 'tx_error.TIMEOUT.title': "Tempo esgotado";
|
|
250
|
+
readonly 'tx_error.TIMEOUT.description': "A transação demorou muito para confirmar. Por favor, tente novamente.";
|
|
251
|
+
readonly 'tx_error.USER_REJECTED.title': "Assinatura recusada";
|
|
252
|
+
readonly 'tx_error.USER_REJECTED.description': "Você recusou a transação na sua carteira. Por favor, tente novamente para prosseguir.";
|
|
253
|
+
readonly 'tx_error.SIGNATURE_DECLINED.title': "Assinatura recusada";
|
|
254
|
+
readonly 'tx_error.SIGNATURE_DECLINED.description': "Você recusou a transação na sua carteira. Por favor, tente novamente para prosseguir.";
|
|
255
|
+
readonly 'tx_error.SIGNATURE_NOT_COMPLETED.title': "Assinatura não concluída";
|
|
256
|
+
readonly 'tx_error.SIGNATURE_NOT_COMPLETED.description': "Você não confirmou a transação na sua carteira. Por favor, tente novamente para prosseguir.";
|
|
257
|
+
readonly 'tx_error.CHAIN_MISMATCH.title': "Rede incorreta";
|
|
258
|
+
readonly 'tx_error.CHAIN_MISMATCH.description': "Por favor, mude para a rede correta na sua carteira e tente novamente.";
|
|
259
|
+
readonly 'tx_error.CHAIN_MISMATCH.description_with_chain': "Por favor, mude para a rede {{chainName}} na sua carteira e tente novamente.";
|
|
260
|
+
readonly 'tx_error.WALLET_DISCONNECTED.title': "Carteira não conectada";
|
|
261
|
+
readonly 'tx_error.WALLET_DISCONNECTED.description': "Por favor, conecte sua carteira e tente novamente.";
|
|
262
|
+
readonly 'tx_error.INSUFFICIENT_FUNDS.title': "Fundos insuficientes";
|
|
263
|
+
readonly 'tx_error.INSUFFICIENT_FUNDS.description': "Você não tem saldo suficiente para completar esta transação.";
|
|
264
|
+
readonly 'tx_error.TX_DROPPED.title': "Transação descartada";
|
|
265
|
+
readonly 'tx_error.TX_DROPPED.description': "A transação foi descartada do mempool. Isso pode acontecer devido a congestionamento da rede ou se foi substituída.";
|
|
266
|
+
readonly 'tx_error.ONCHAIN_REVERTED.title': "Transação revertida";
|
|
267
|
+
readonly 'tx_error.ONCHAIN_REVERTED.description': "A transação foi revertida na cadeia. Isso pode ser devido a gás insuficiente, slippage ou condições do contrato.";
|
|
268
|
+
readonly 'tx_error.TX_REPLACED.title': "Transação substituída";
|
|
269
|
+
readonly 'tx_error.TX_REPLACED.description': "A transação foi substituída por uma nova. Por favor, verifique o status da última transação.";
|
|
270
|
+
readonly 'tx_error.RPC_ERROR.title': "Erro de transação";
|
|
271
|
+
readonly 'tx_error.RPC_ERROR.description': "Ocorreu um erro na transação. Por favor, tente novamente.";
|
|
272
|
+
readonly 'tx_error.QUOTE_FAILED.title': "Cotação falhou";
|
|
273
|
+
readonly 'tx_error.QUOTE_FAILED.description': "Não foi possível obter uma cotação para esta transação. Por favor, tente novamente ou ajuste o valor.";
|
|
274
|
+
readonly 'tx_error.BACKEND_UNAVAILABLE.title': "Serviço indisponível";
|
|
275
|
+
readonly 'tx_error.BACKEND_UNAVAILABLE.description': "O serviço está temporariamente indisponível. Por favor, tente novamente em alguns instantes.";
|
|
276
|
+
readonly 'tx_error.HTTP_400.title': "Requisição inválida";
|
|
277
|
+
readonly 'tx_error.HTTP_400.description': "Os dados enviados são inválidos. Por favor, verifique os valores e tente novamente.";
|
|
278
|
+
readonly 'tx_error.HTTP_401.title': "Não autorizado";
|
|
279
|
+
readonly 'tx_error.HTTP_401.description': "Sua sessão expirou. Por favor, reconecte sua carteira e tente novamente.";
|
|
280
|
+
readonly 'tx_error.HTTP_403.title': "Acesso negado";
|
|
281
|
+
readonly 'tx_error.HTTP_403.description': "Você não tem permissão para realizar esta ação.";
|
|
282
|
+
readonly 'tx_error.HTTP_404.title': "Recurso não encontrado";
|
|
283
|
+
readonly 'tx_error.HTTP_404.description': "O recurso solicitado não foi encontrado. Por favor, tente novamente.";
|
|
284
|
+
readonly 'tx_error.HTTP_422.title': "Não foi possível processar";
|
|
285
|
+
readonly 'tx_error.HTTP_422.description': "O valor mínimo precisa ser 2 dólares. Por favor, tente novamente.";
|
|
286
|
+
readonly 'tx_error.HTTP_429.title': "Muitas requisições";
|
|
287
|
+
readonly 'tx_error.HTTP_429.description': "Você fez muitas requisições. Por favor, aguarde um momento e tente novamente.";
|
|
288
|
+
readonly 'tx_error.HTTP_500.title': "Erro no servidor";
|
|
289
|
+
readonly 'tx_error.HTTP_500.description': "Ocorreu um erro interno no servidor. Nossa equipe foi notificada. Por favor, tente novamente em alguns instantes.";
|
|
290
|
+
readonly 'tx_error.HTTP_502.title': "Serviço indisponível";
|
|
291
|
+
readonly 'tx_error.HTTP_502.description': "O servidor está temporariamente indisponível. Por favor, tente novamente em alguns instantes.";
|
|
292
|
+
readonly 'tx_error.HTTP_503.title': "Serviço em manutenção";
|
|
293
|
+
readonly 'tx_error.HTTP_503.description': "O serviço está em manutenção. Por favor, tente novamente em alguns instantes.";
|
|
294
|
+
readonly 'tx_error.HTTP_504.title': "Tempo de resposta esgotado";
|
|
295
|
+
readonly 'tx_error.HTTP_504.description': "O servidor demorou muito para responder. Por favor, tente novamente.";
|
|
296
|
+
readonly 'strategy_category.all': "Todas";
|
|
297
|
+
readonly 'strategy_category.stablecoin': "Stablecoins";
|
|
298
|
+
readonly 'strategy_category.staking': "Crypto";
|
|
299
|
+
readonly 'strategy_category.btc': "BTC";
|
|
300
|
+
readonly 'strategy_category.rwa': "RWA";
|
|
301
|
+
};
|
|
302
|
+
export type TranslationKey = keyof typeof ptMessages;
|
|
303
|
+
export declare const enMessages: {
|
|
304
|
+
[K in TranslationKey]: string;
|
|
305
|
+
};
|
|
306
|
+
export declare const MESSAGES_BY_LANGUAGE: Record<DeframeLanguage, Record<TranslationKey, string>>;
|
|
307
|
+
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/i18n/messages.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,CAAC;AAE1C,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,OAAO,CAAC;AAE9C,eAAO,MAAM,gBAAgB,EAAE,eAAsB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,eAAe,EAAE,aAAa,CAGrE,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyTb,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,UAAU,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE;KAAG,CAAC,IAAI,cAAc,GAAG,MAAM;CAyTvD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAGxF,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface SwapFormContextValue {
|
|
2
|
+
submitForm: () => void;
|
|
3
|
+
}
|
|
4
|
+
export declare const SwapFormContext: import("react").Context<SwapFormContextValue | null>;
|
|
5
|
+
export declare const useSwapFormContext: () => SwapFormContextValue;
|
|
6
|
+
//# sourceMappingURL=SwapFormContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwapFormContext.d.ts","sourceRoot":"","sources":["../../../src/pages/SwapFlow/SwapFormContext.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,eAAe,sDAAmD,CAAC;AAEhF,eAAO,MAAM,kBAAkB,4BAM9B,CAAC"}
|