@lifi/widget 1.27.2 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/AppRoutes.js +15 -33
  2. package/README.md +1 -1
  3. package/cjs/AppRoutes.js +15 -33
  4. package/cjs/components/ContractComponent/ContractComponent.d.ts +3 -0
  5. package/cjs/components/ContractComponent/ContractComponent.js +14 -0
  6. package/cjs/components/ContractComponent/index.d.ts +1 -0
  7. package/cjs/components/ContractComponent/index.js +17 -0
  8. package/cjs/components/Header/NavigationHeader.js +10 -2
  9. package/cjs/components/Header/WalletHeader.js +1 -1
  10. package/cjs/components/NFT/NFT.d.ts +4 -0
  11. package/cjs/components/NFT/NFT.js +41 -0
  12. package/cjs/components/NFT/NFT.style.d.ts +16 -0
  13. package/cjs/components/NFT/NFT.style.js +11 -0
  14. package/cjs/components/NFT/index.d.ts +2 -0
  15. package/cjs/components/NFT/index.js +18 -0
  16. package/cjs/components/NFT/types.d.ts +15 -0
  17. package/cjs/components/NFT/types.js +2 -0
  18. package/cjs/components/Select.d.ts +1 -1
  19. package/cjs/components/SelectChainAndToken.js +12 -2
  20. package/cjs/components/SelectTokenButton/SelectTokenButton.js +5 -2
  21. package/cjs/components/StepActions/StepActions.d.ts +6 -7
  22. package/cjs/components/StepActions/StepActions.js +41 -12
  23. package/cjs/components/StepActions/types.d.ts +5 -0
  24. package/cjs/components/SwapInput/SwapInput.d.ts +2 -1
  25. package/cjs/components/SwapInput/SwapInput.js +15 -3
  26. package/cjs/components/SwapRouteCard/SwapRouteCard.js +3 -1
  27. package/cjs/components/Token/Token.d.ts +1 -1
  28. package/cjs/components/Token/Token.js +12 -12
  29. package/cjs/components/TokenAvatar/TokenAvatar.d.ts +5 -3
  30. package/cjs/components/TokenAvatar/TokenAvatar.js +10 -9
  31. package/cjs/components/TokenList/TokenList.style.js +6 -0
  32. package/cjs/components/TokenList/VirtualizedTokenList.js +4 -2
  33. package/cjs/config/version.d.ts +1 -1
  34. package/cjs/config/version.js +1 -1
  35. package/cjs/hooks/useSwapRoutes.d.ts +5 -2
  36. package/cjs/hooks/useSwapRoutes.js +64 -14
  37. package/cjs/hooks/useToken.d.ts +1 -1
  38. package/cjs/hooks/useTokenSearch.d.ts +1 -1
  39. package/cjs/i18n/de.json +214 -214
  40. package/cjs/i18n/en.json +218 -214
  41. package/cjs/i18n/es.json +191 -191
  42. package/cjs/i18n/fr.json +214 -214
  43. package/cjs/i18n/it.json +214 -214
  44. package/cjs/i18n/uk.json +214 -214
  45. package/cjs/i18n/zh.json +214 -214
  46. package/cjs/index.d.ts +2 -0
  47. package/cjs/index.js +4 -1
  48. package/cjs/pages/MainPage/MainPage.js +5 -1
  49. package/cjs/providers/SwapFormProvider/types.d.ts +10 -0
  50. package/cjs/providers/SwapFormProvider/types.js +5 -0
  51. package/cjs/stores/chains/useChainOrderStore.d.ts +1 -1
  52. package/cjs/stores/routes/useRouteExecutionStore.d.ts +1 -1
  53. package/cjs/stores/settings/useSettingsStore.d.ts +1 -1
  54. package/cjs/types/widget.d.ts +9 -4
  55. package/cjs/types/widget.js +2 -0
  56. package/components/ContractComponent/ContractComponent.d.ts +3 -0
  57. package/components/ContractComponent/ContractComponent.js +10 -0
  58. package/components/ContractComponent/index.d.ts +1 -0
  59. package/components/ContractComponent/index.js +1 -0
  60. package/components/Header/NavigationHeader.js +12 -4
  61. package/components/Header/WalletHeader.js +1 -1
  62. package/components/NFT/NFT.d.ts +4 -0
  63. package/components/NFT/NFT.js +37 -0
  64. package/components/NFT/NFT.style.d.ts +16 -0
  65. package/components/NFT/NFT.style.js +8 -0
  66. package/components/NFT/index.d.ts +2 -0
  67. package/components/NFT/index.js +2 -0
  68. package/components/NFT/types.d.ts +15 -0
  69. package/components/NFT/types.js +1 -0
  70. package/components/Select.d.ts +1 -1
  71. package/components/SelectChainAndToken.js +12 -2
  72. package/components/SelectTokenButton/SelectTokenButton.js +5 -2
  73. package/components/StepActions/StepActions.d.ts +6 -7
  74. package/components/StepActions/StepActions.js +40 -12
  75. package/components/StepActions/types.d.ts +5 -0
  76. package/components/SwapInput/SwapInput.d.ts +2 -1
  77. package/components/SwapInput/SwapInput.js +15 -3
  78. package/components/SwapRouteCard/SwapRouteCard.js +3 -1
  79. package/components/Token/Token.d.ts +1 -1
  80. package/components/Token/Token.js +13 -13
  81. package/components/TokenAvatar/TokenAvatar.d.ts +5 -3
  82. package/components/TokenAvatar/TokenAvatar.js +10 -9
  83. package/components/TokenList/TokenList.style.js +6 -0
  84. package/components/TokenList/VirtualizedTokenList.js +4 -2
  85. package/config/version.d.ts +1 -1
  86. package/config/version.js +1 -1
  87. package/hooks/useSwapRoutes.d.ts +5 -2
  88. package/hooks/useSwapRoutes.js +64 -14
  89. package/hooks/useToken.d.ts +1 -1
  90. package/hooks/useTokenSearch.d.ts +1 -1
  91. package/i18n/de.json +214 -214
  92. package/i18n/en.json +218 -214
  93. package/i18n/es.json +191 -191
  94. package/i18n/fr.json +214 -214
  95. package/i18n/it.json +214 -214
  96. package/i18n/uk.json +214 -214
  97. package/i18n/zh.json +214 -214
  98. package/index.d.ts +2 -0
  99. package/index.js +2 -0
  100. package/package.json +15 -13
  101. package/pages/MainPage/MainPage.js +5 -1
  102. package/providers/SwapFormProvider/types.d.ts +10 -0
  103. package/providers/SwapFormProvider/types.js +5 -0
  104. package/stores/chains/useChainOrderStore.d.ts +1 -1
  105. package/stores/routes/useRouteExecutionStore.d.ts +1 -1
  106. package/stores/settings/useSettingsStore.d.ts +1 -1
  107. package/tsconfig.cjs.tsbuildinfo +1 -1
  108. package/types/widget.d.ts +9 -4
  109. package/types/widget.js +2 -0
  110. package/cjs/fonts/Inter-Black.woff +0 -0
  111. package/cjs/fonts/Inter-Black.woff2 +0 -0
  112. package/cjs/fonts/Inter-BlackItalic.woff +0 -0
  113. package/cjs/fonts/Inter-BlackItalic.woff2 +0 -0
  114. package/cjs/fonts/Inter-Bold.woff +0 -0
  115. package/cjs/fonts/Inter-Bold.woff2 +0 -0
  116. package/cjs/fonts/Inter-BoldItalic.woff +0 -0
  117. package/cjs/fonts/Inter-BoldItalic.woff2 +0 -0
  118. package/cjs/fonts/Inter-ExtraBold.woff +0 -0
  119. package/cjs/fonts/Inter-ExtraBold.woff2 +0 -0
  120. package/cjs/fonts/Inter-ExtraBoldItalic.woff +0 -0
  121. package/cjs/fonts/Inter-ExtraBoldItalic.woff2 +0 -0
  122. package/cjs/fonts/Inter-ExtraLight.woff +0 -0
  123. package/cjs/fonts/Inter-ExtraLight.woff2 +0 -0
  124. package/cjs/fonts/Inter-ExtraLightItalic.woff +0 -0
  125. package/cjs/fonts/Inter-ExtraLightItalic.woff2 +0 -0
  126. package/cjs/fonts/Inter-Italic.woff +0 -0
  127. package/cjs/fonts/Inter-Italic.woff2 +0 -0
  128. package/cjs/fonts/Inter-Light.woff +0 -0
  129. package/cjs/fonts/Inter-Light.woff2 +0 -0
  130. package/cjs/fonts/Inter-LightItalic.woff +0 -0
  131. package/cjs/fonts/Inter-LightItalic.woff2 +0 -0
  132. package/cjs/fonts/Inter-Medium.woff +0 -0
  133. package/cjs/fonts/Inter-Medium.woff2 +0 -0
  134. package/cjs/fonts/Inter-MediumItalic.woff +0 -0
  135. package/cjs/fonts/Inter-MediumItalic.woff2 +0 -0
  136. package/cjs/fonts/Inter-Regular.woff +0 -0
  137. package/cjs/fonts/Inter-Regular.woff2 +0 -0
  138. package/cjs/fonts/Inter-SemiBold.woff +0 -0
  139. package/cjs/fonts/Inter-SemiBold.woff2 +0 -0
  140. package/cjs/fonts/Inter-SemiBoldItalic.woff +0 -0
  141. package/cjs/fonts/Inter-SemiBoldItalic.woff2 +0 -0
  142. package/cjs/fonts/Inter-Thin.woff +0 -0
  143. package/cjs/fonts/Inter-Thin.woff2 +0 -0
  144. package/cjs/fonts/Inter-ThinItalic.woff +0 -0
  145. package/cjs/fonts/Inter-ThinItalic.woff2 +0 -0
  146. package/cjs/fonts/Inter-italic.var.woff2 +0 -0
  147. package/cjs/fonts/Inter-roman.var.woff2 +0 -0
  148. package/cjs/fonts/Inter.var.woff2 +0 -0
  149. package/cjs/fonts/inter.css +0 -200
  150. package/fonts/Inter-Black.woff +0 -0
  151. package/fonts/Inter-Black.woff2 +0 -0
  152. package/fonts/Inter-BlackItalic.woff +0 -0
  153. package/fonts/Inter-BlackItalic.woff2 +0 -0
  154. package/fonts/Inter-Bold.woff +0 -0
  155. package/fonts/Inter-Bold.woff2 +0 -0
  156. package/fonts/Inter-BoldItalic.woff +0 -0
  157. package/fonts/Inter-BoldItalic.woff2 +0 -0
  158. package/fonts/Inter-ExtraBold.woff +0 -0
  159. package/fonts/Inter-ExtraBold.woff2 +0 -0
  160. package/fonts/Inter-ExtraBoldItalic.woff +0 -0
  161. package/fonts/Inter-ExtraBoldItalic.woff2 +0 -0
  162. package/fonts/Inter-ExtraLight.woff +0 -0
  163. package/fonts/Inter-ExtraLight.woff2 +0 -0
  164. package/fonts/Inter-ExtraLightItalic.woff +0 -0
  165. package/fonts/Inter-ExtraLightItalic.woff2 +0 -0
  166. package/fonts/Inter-Italic.woff +0 -0
  167. package/fonts/Inter-Italic.woff2 +0 -0
  168. package/fonts/Inter-Light.woff +0 -0
  169. package/fonts/Inter-Light.woff2 +0 -0
  170. package/fonts/Inter-LightItalic.woff +0 -0
  171. package/fonts/Inter-LightItalic.woff2 +0 -0
  172. package/fonts/Inter-Medium.woff +0 -0
  173. package/fonts/Inter-Medium.woff2 +0 -0
  174. package/fonts/Inter-MediumItalic.woff +0 -0
  175. package/fonts/Inter-MediumItalic.woff2 +0 -0
  176. package/fonts/Inter-Regular.woff +0 -0
  177. package/fonts/Inter-Regular.woff2 +0 -0
  178. package/fonts/Inter-SemiBold.woff +0 -0
  179. package/fonts/Inter-SemiBold.woff2 +0 -0
  180. package/fonts/Inter-SemiBoldItalic.woff +0 -0
  181. package/fonts/Inter-SemiBoldItalic.woff2 +0 -0
  182. package/fonts/Inter-Thin.woff +0 -0
  183. package/fonts/Inter-Thin.woff2 +0 -0
  184. package/fonts/Inter-ThinItalic.woff +0 -0
  185. package/fonts/Inter-ThinItalic.woff2 +0 -0
  186. package/fonts/Inter-italic.var.woff2 +0 -0
  187. package/fonts/Inter-roman.var.woff2 +0 -0
  188. package/fonts/Inter.var.woff2 +0 -0
  189. package/fonts/inter.css +0 -200
package/cjs/i18n/en.json CHANGED
@@ -1,223 +1,227 @@
1
1
  {
2
- "button": {
3
- "auto": "Auto",
4
- "cancel": "Cancel",
5
- "connectWallet": "Connect wallet",
6
- "contactSupport": "Contact support",
7
- "continue": "Continue",
8
- "copyAddress": "Copy address",
9
- "dark": "Dark",
10
- "delete": "Delete",
11
- "disconnectWallet": "Disconnect wallet",
12
- "done": "Done",
13
- "getGas": "Get gas",
14
- "hide": "Hide",
15
- "lifiSwap": "LI.FI Swap",
16
- "light": "Light",
17
- "max": "max",
18
- "ok": "Ok",
19
- "okay": "Okay",
20
- "removeSwap": "Remove swap",
21
- "restartSwap": "Restart swap",
22
- "reviewSwap": "Review swap",
23
- "seeDetails": "See details",
24
- "showAll": "Show all",
25
- "startGasSwap": "Start gas swap",
26
- "startSwap": "Start swap",
27
- "swap": "Swap",
28
- "tryAgain": "Try again"
29
- },
30
- "format": {
31
- "currency": "{{value, currency(currency: USD)}}",
32
- "number": "{{value, number(maximumFractionDigits: 4)}}"
33
- },
34
- "header": {
35
- "activeSwaps": "Active swaps",
36
- "from": "Swap from",
37
- "gas": "Gas",
38
- "gasSwap": "Gas swap",
39
- "routes": "You get",
40
- "selectChain": "Select chain",
41
- "selectWallet": "Select your wallet",
42
- "settings": "Settings",
43
- "swap": "Swap",
44
- "swapDetails": "Swap details",
45
- "swapHistory": "Swap history",
46
- "to": "Swap to",
47
- "walletConnected": "Wallet connected"
48
- },
49
- "language": {
50
- "name": "English",
51
- "title": "Language"
52
- },
53
- "settings": {
54
- "advancedPreferences": "Advanced preferences",
55
- "enabledBridges": "Enabled bridges",
56
- "enabledExchanges": "Enabled exchanges",
57
- "gasPrice": {
58
- "fast": "Fast",
59
- "normal": "Normal",
60
- "slow": "Slow",
61
- "title": "Gas price"
2
+ "button": {
3
+ "auto": "Auto",
4
+ "cancel": "Cancel",
5
+ "connectWallet": "Connect wallet",
6
+ "contactSupport": "Contact support",
7
+ "continue": "Continue",
8
+ "copyAddress": "Copy address",
9
+ "dark": "Dark",
10
+ "delete": "Delete",
11
+ "disconnectWallet": "Disconnect wallet",
12
+ "done": "Done",
13
+ "getGas": "Get gas",
14
+ "hide": "Hide",
15
+ "lifiSwap": "LI.FI Swap",
16
+ "light": "Light",
17
+ "max": "max",
18
+ "ok": "Ok",
19
+ "okay": "Okay",
20
+ "removeSwap": "Remove swap",
21
+ "restartSwap": "Restart swap",
22
+ "reviewSwap": "Review swap",
23
+ "seeDetails": "See details",
24
+ "showAll": "Show all",
25
+ "startGasSwap": "Start gas swap",
26
+ "startSwap": "Start swap",
27
+ "swap": "Swap",
28
+ "tryAgain": "Try again"
62
29
  },
63
- "resetToDefault": "Reset to default",
64
- "routePriority": "Route priority",
65
- "selectEnabledBridges": "Select enabled bridges",
66
- "selectEnabledExchanges": "Select enabled exchanges",
67
- "showDestinationWallet": "Show destination wallet",
68
- "slippage": "Slippage"
69
- },
70
- "swap": {
71
- "crossStepDetails": "Bridge from {{from}} to {{to}} via {{tool}}",
72
- "currentAmount": "Current amount",
73
- "error": {
74
- "message": {
75
- "slippageThreshold": "The slippage is larger than the defined threshold. Please request a new route to get a fresh quote.",
76
- "transactionFailed": "Please check the block explorer for more information.",
77
- "transactionNotSent": "Transaction was not sent. {{amount, number(maximumFractionDigits: 4)}} {{tokenSymbol}} on {{chainName}} remain in your wallet.",
78
- "transactionRejected": "Your signature is required to complete the transaction. {{amount, number(maximumFractionDigits: 4)}} {{tokenSymbol}} on {{chainName}} remain in your wallet.",
79
- "unknown": "Please try again or contact support."
80
- },
81
- "title": {
82
- "balanceIsTooLow": "The balance is too low",
83
- "chainSwitch": "Chain switch required",
84
- "failed": "Swap failed",
85
- "gasLimitIsTooLow": "The gas limit is too low",
86
- "slippageNotMet": "Slippage conditions not met",
87
- "transactionCanceled": "Transaction canceled",
88
- "transactionFailed": "Transaction failed",
89
- "transactionRejected": "Signature required",
90
- "transactionUnderpriced": "Transaction is underpriced",
91
- "transactionUnprepared": "Unable to prepare transaction",
92
- "unknown": "Something went wrong",
93
- "walletAddressInvalid": "Wallet address is invalid.",
94
- "walletEnsAddressInvalid": "Wallet address is invalid or network doesn't support ENS."
95
- }
30
+ "format": {
31
+ "currency": "{{value, currency(currency: USD)}}",
32
+ "number": "{{value, number(maximumFractionDigits: 9)}}"
96
33
  },
97
- "estimatedTime": "{{value}}m",
98
- "featuredTokens": "Featured tokens",
99
- "from": "From",
100
- "fromAmount": "You pay",
101
- "gasCost": "Gas cost",
102
- "gasFeeEstimated": "estimated gas fee",
103
- "gasFeePaid": "gas fee paid",
104
- "inProgress": "in progress",
105
- "info": {
106
- "message": {
107
- "emptyActiveSwaps": "Swaps in progress will appear here. Once completed, find them in swap history.",
108
- "emptySwapHistory": "Swap history is only stored locally and will be deleted if you clear your browser data.",
109
- "emptyTokenList": "We couldn't find tokens on {{chainName}} chain or you don't have any. Please try search again or choose another chain.",
110
- "routeNotFound": "Try another token combination."
111
- },
112
- "title": {
113
- "emptyActiveSwaps": "No active swaps",
114
- "emptySwapHistory": "No recent swaps",
115
- "routeNotFound": "No routes available"
116
- }
34
+ "header": {
35
+ "activeSwaps": "Active swaps",
36
+ "checkout": "Checkout",
37
+ "from": "Swap from",
38
+ "gas": "Gas",
39
+ "gasSwap": "Gas swap",
40
+ "routes": "You get",
41
+ "selectChain": "Select chain",
42
+ "selectWallet": "Select your wallet",
43
+ "settings": "Settings",
44
+ "swap": "Swap",
45
+ "swapDetails": "Swap details",
46
+ "swapHistory": "Swap history",
47
+ "to": "Swap to",
48
+ "walletConnected": "Wallet connected"
117
49
  },
118
- "onChain": "on {{chainName}}",
119
- "otherTokens": "Other tokens",
120
- "process": {
121
- "crossChain": {
122
- "actionRequired": "Please sign the transaction",
123
- "done": "Bridge transaction confirmed",
124
- "pending": "Waiting for bridge transaction",
125
- "started": "Preparing bridge transaction"
126
- },
127
- "receivingChain": {
128
- "done": "Bridge completed",
129
- "partial": "Bridge partially completed",
130
- "pending": "Waiting for destination chain",
131
- "refunded": "Bridge transaction refunded"
132
- },
133
- "swap": {
134
- "actionRequired": "Please sign the transaction",
135
- "done": "Swap completed",
136
- "pending": "Waiting for swap transaction",
137
- "started": "Preparing swap transaction"
138
- },
139
- "switchChain": {
140
- "actionRequired": "Chain switch required",
141
- "done": "Chain switched successfully"
142
- },
143
- "tokenAllowance": {
144
- "done": "Token allowance approved",
145
- "pending": "Waiting for token allowance",
146
- "started": "Setting token allowance"
147
- }
50
+ "language": {
51
+ "name": "English",
52
+ "title": "Language"
148
53
  },
149
- "quotedAmount": "Quoted amount",
150
- "rateChange": "Rate change",
151
- "receiving": "Receiving",
152
- "routes": "You get",
153
- "selectChain": "Chain",
154
- "selectChainAndToken": "Select chain and token",
155
- "selectToken": "Token",
156
- "sendToAddress": "Send to {{address}}",
157
- "sendToWallet": "Send to a different wallet",
158
- "sentToAddress": "Sent to {{address}}",
159
- "stepBridge": "Bridge",
160
- "stepSwap": "Swap",
161
- "stepSwapAndBridge": "Swap and bridge",
162
- "success": {
163
- "message": {
164
- "swapPartiallySuccessful": "We've tried to complete the swap, but {{tool}} ran out of liquidity for {{tokenSymbol}} token.",
165
- "swapSuccessful": "There are now {{amount, number(maximumFractionDigits: 4)}} {{tokenSymbol}} in {{walletAddress}} wallet on {{chainName}} chain."
166
- },
167
- "title": {
168
- "gasSwapSuccessful": "Gas swap successful",
169
- "refundIssued": "Refund issued",
170
- "swapPartiallySuccessful": "Swap partially successful",
171
- "swapSuccessful": "Swap successful"
172
- }
54
+ "settings": {
55
+ "advancedPreferences": "Advanced preferences",
56
+ "enabledBridges": "Enabled bridges",
57
+ "enabledExchanges": "Enabled exchanges",
58
+ "gasPrice": {
59
+ "fast": "Fast",
60
+ "normal": "Normal",
61
+ "slow": "Slow",
62
+ "title": "Gas price"
63
+ },
64
+ "resetToDefault": "Reset to default",
65
+ "routePriority": "Route priority",
66
+ "selectEnabledBridges": "Select enabled bridges",
67
+ "selectEnabledExchanges": "Select enabled exchanges",
68
+ "showDestinationWallet": "Show destination wallet",
69
+ "slippage": "Slippage"
173
70
  },
174
- "supportId": "Support ID",
175
- "swapStepDetails": "Swap on {{chain}} via {{tool}}",
176
- "swapping": "Swapping",
177
- "tags": {
178
- "ALTERNATIVE": "ALTERNATIVE",
179
- "CHEAPEST": "CHEAP",
180
- "FASTEST": "FAST",
181
- "RECOMMENDED": "RECOMMENDED",
182
- "SAFEST": "SAFE"
71
+ "swap": {
72
+ "crossStepDetails": "Bridge from {{from}} to {{to}} via {{tool}}",
73
+ "currentAmount": "Current amount",
74
+ "error": {
75
+ "message": {
76
+ "slippageThreshold": "The slippage is larger than the defined threshold. Please request a new route to get a fresh quote.",
77
+ "transactionFailed": "Please check the block explorer for more information.",
78
+ "transactionNotSent": "Transaction was not sent. {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} on {{chainName}} remain in your wallet.",
79
+ "transactionRejected": "Your signature is required to complete the transaction. {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} on {{chainName}} remain in your wallet.",
80
+ "unknown": "Please try again or contact support."
81
+ },
82
+ "title": {
83
+ "balanceIsTooLow": "The balance is too low",
84
+ "chainSwitch": "Chain switch required",
85
+ "failed": "Swap failed",
86
+ "gasLimitIsTooLow": "The gas limit is too low",
87
+ "slippageNotMet": "Slippage conditions not met",
88
+ "transactionCanceled": "Transaction canceled",
89
+ "transactionFailed": "Transaction failed",
90
+ "transactionRejected": "Signature required",
91
+ "transactionUnderpriced": "Transaction is underpriced",
92
+ "transactionUnprepared": "Unable to prepare transaction",
93
+ "unknown": "Something went wrong",
94
+ "walletAddressInvalid": "Wallet address is invalid.",
95
+ "walletEnsAddressInvalid": "Wallet address is invalid or network doesn't support ENS."
96
+ }
97
+ },
98
+ "estimatedTime": "{{value}}m",
99
+ "featuredTokens": "Featured tokens",
100
+ "from": "From",
101
+ "fromAmount": "You pay",
102
+ "gasCost": "Gas cost",
103
+ "gasFeeEstimated": "estimated gas fee",
104
+ "gasFeePaid": "gas fee paid",
105
+ "inProgress": "in progress",
106
+ "info": {
107
+ "message": {
108
+ "emptyActiveSwaps": "Swaps in progress will appear here. Once completed, find them in swap history.",
109
+ "emptySwapHistory": "Swap history is only stored locally and will be deleted if you clear your browser data.",
110
+ "emptyTokenList": "We couldn't find tokens on {{chainName}} chain or you don't have any. Please try search again or choose another chain.",
111
+ "routeNotFound": "Try another token combination."
112
+ },
113
+ "title": {
114
+ "emptyActiveSwaps": "No active swaps",
115
+ "emptySwapHistory": "No recent swaps",
116
+ "routeNotFound": "No routes available"
117
+ }
118
+ },
119
+ "nftStepDetails": "Purchase NFT via {{tool}}",
120
+ "onChain": "on {{chainName}}",
121
+ "otherTokens": "Other tokens",
122
+ "ownedBy": "Owned by",
123
+ "payWith": "Pay with",
124
+ "process": {
125
+ "crossChain": {
126
+ "actionRequired": "Please sign the transaction",
127
+ "done": "Bridge transaction confirmed",
128
+ "pending": "Waiting for bridge transaction",
129
+ "started": "Preparing bridge transaction"
130
+ },
131
+ "receivingChain": {
132
+ "done": "Bridge completed",
133
+ "partial": "Bridge partially completed",
134
+ "pending": "Waiting for destination chain",
135
+ "refunded": "Bridge transaction refunded"
136
+ },
137
+ "swap": {
138
+ "actionRequired": "Please sign the transaction",
139
+ "done": "Swap completed",
140
+ "pending": "Waiting for swap transaction",
141
+ "started": "Preparing swap transaction"
142
+ },
143
+ "switchChain": {
144
+ "actionRequired": "Chain switch required",
145
+ "done": "Chain switched successfully"
146
+ },
147
+ "tokenAllowance": {
148
+ "done": "Token allowance approved",
149
+ "pending": "Waiting for token allowance",
150
+ "started": "Setting token allowance"
151
+ }
152
+ },
153
+ "quotedAmount": "Quoted amount",
154
+ "rateChange": "Rate change",
155
+ "receiving": "Receiving",
156
+ "routes": "You get",
157
+ "selectChain": "Chain",
158
+ "selectChainAndToken": "Select chain and token",
159
+ "selectToken": "Token",
160
+ "sendToAddress": "Send to {{address}}",
161
+ "sendToWallet": "Send to a different wallet",
162
+ "sentToAddress": "Sent to {{address}}",
163
+ "stepBridge": "Bridge",
164
+ "stepSwap": "Swap",
165
+ "stepSwapAndBridge": "Swap and bridge",
166
+ "success": {
167
+ "message": {
168
+ "swapPartiallySuccessful": "We've tried to complete the swap, but {{tool}} ran out of liquidity for {{tokenSymbol}} token.",
169
+ "swapSuccessful": "There are now {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} in {{walletAddress}} wallet on {{chainName}} chain."
170
+ },
171
+ "title": {
172
+ "gasSwapSuccessful": "Gas swap successful",
173
+ "refundIssued": "Refund issued",
174
+ "swapPartiallySuccessful": "Swap partially successful",
175
+ "swapSuccessful": "Swap successful"
176
+ }
177
+ },
178
+ "supportId": "Support ID",
179
+ "swapStepDetails": "Swap on {{chain}} via {{tool}}",
180
+ "swapping": "Swapping",
181
+ "tags": {
182
+ "ALTERNATIVE": "ALTERNATIVE",
183
+ "CHEAPEST": "CHEAP",
184
+ "FASTEST": "FAST",
185
+ "RECOMMENDED": "RECOMMENDED",
186
+ "SAFEST": "SAFE"
187
+ },
188
+ "to": "To",
189
+ "tokenOnChain": "{{tokenSymbol}} on {{chainName}}",
190
+ "tokenOnChainAmount": "{{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} on {{chainName}}",
191
+ "tokenSearch": "Search your token",
192
+ "valueLoss": "Value loss",
193
+ "walletAddressOrEns": "Wallet address or ENS name",
194
+ "warning": {
195
+ "message": {
196
+ "deleteActiveSwaps": "Active swaps are only stored locally and can't be recovered if you delete them.",
197
+ "deleteSwapHistory": "Swap history is only stored locally and can't be recovered if you delete it.",
198
+ "highValueLoss": "The value of the received tokens is significantly lower than the swapped tokens and transaction cost.",
199
+ "insufficientFunds": "You don't have enough funds to execute the swap.",
200
+ "insufficientGas": "You need to add at least:",
201
+ "rateChanged": "The exchange rate has changed. By continuing the swap, you'll accept the new rate."
202
+ },
203
+ "title": {
204
+ "deleteActiveSwaps": "Delete all active swaps?",
205
+ "deleteSwap": "Delete this swap?",
206
+ "deleteSwapHistory": "Delete swap history?",
207
+ "highValueLoss": "High value loss",
208
+ "insufficientGas": "Insufficient gas",
209
+ "rateChanged": "Rate changed"
210
+ }
211
+ }
183
212
  },
184
- "to": "To",
185
- "tokenOnChain": "{{tokenSymbol}} on {{chainName}}",
186
- "tokenOnChainAmount": "{{amount, number(maximumFractionDigits: 4)}} {{tokenSymbol}} on {{chainName}}",
187
- "tokenSearch": "Search your token",
188
- "valueLoss": "Value loss",
189
- "walletAddressOrEns": "Wallet address or ENS name",
190
- "warning": {
191
- "message": {
192
- "deleteActiveSwaps": "Active swaps are only stored locally and can't be recovered if you delete them.",
193
- "deleteSwapHistory": "Swap history is only stored locally and can't be recovered if you delete it.",
194
- "highValueLoss": "The value of the received tokens is significantly lower than the swapped tokens and transaction cost.",
195
- "insufficientFunds": "You don't have enough funds to execute the swap.",
196
- "insufficientGas": "You need to add at least:",
197
- "rateChanged": "The exchange rate has changed. By continuing the swap, you'll accept the new rate."
198
- },
199
- "title": {
200
- "deleteActiveSwaps": "Delete all active swaps?",
201
- "deleteSwap": "Delete this swap?",
202
- "deleteSwapHistory": "Delete swap history?",
203
- "highValueLoss": "High value loss",
204
- "insufficientGas": "Insufficient gas",
205
- "rateChanged": "Rate changed"
206
- }
207
- }
208
- },
209
- "tooltip": {
210
- "estimatedNetworkFee": "Estimated network fee.",
211
- "estimatedTime": "Estimated swap execution time in minutes.",
212
- "notFound": {
213
- "text": "We couldn't find this page.",
214
- "title": "404"
213
+ "tooltip": {
214
+ "estimatedNetworkFee": "Estimated network fee.",
215
+ "estimatedTime": "Estimated swap execution time in minutes.",
216
+ "notFound": {
217
+ "text": "We couldn't find this page.",
218
+ "title": "404"
219
+ },
220
+ "numberOfSteps": "A number of swap steps. Each step can contain 1-2 transactions that require a signature.",
221
+ "progressToNextUpdate": "Displayed data will auto-refresh after {{value}} seconds. Click here to update manually.",
222
+ "settingsModified": "Settings (modified)"
215
223
  },
216
- "numberOfSteps": "A number of swap steps. Each step can contain 1-2 transactions that require a signature.",
217
- "progressToNextUpdate": "Displayed data will auto-refresh after {{value}} seconds. Click here to update manually.",
218
- "settingsModified": "Settings (modified)"
219
- },
220
- "wallet": {
221
- "extensionNotFound": "Please make sure that only the {{name}} browser extension is active before choosing this wallet."
222
- }
224
+ "wallet": {
225
+ "extensionNotFound": "Please make sure that only the {{name}} browser extension is active before choosing this wallet."
226
+ }
223
227
  }