@rango-dev/widget-embedded 0.1.10-next.69
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/CHANGELOG.md +12 -0
- package/package.json +29 -0
- package/public/index.html +11 -0
- package/readme.md +2 -0
- package/src/App.tsx +78 -0
- package/src/app.css +28 -0
- package/src/components/AppRouter.tsx +15 -0
- package/src/components/AppRoutes.tsx +32 -0
- package/src/components/BottomLogo.tsx +44 -0
- package/src/components/Footer.tsx +8 -0
- package/src/components/Header.tsx +25 -0
- package/src/components/HeaderButtons.tsx +34 -0
- package/src/components/Layout.tsx +55 -0
- package/src/components/SwitchFromAndTo.tsx +30 -0
- package/src/components/TokenInfo.tsx +218 -0
- package/src/components/UpdateUrl.tsx +85 -0
- package/src/constants/errors.ts +3 -0
- package/src/constants/navigationRoutes.ts +14 -0
- package/src/constants/numbers.ts +3 -0
- package/src/constants/searchParams.ts +7 -0
- package/src/globalStyles.ts +16 -0
- package/src/hooks/useBestRoute.ts +70 -0
- package/src/hooks/useConfirmSwap.ts +234 -0
- package/src/hooks/useTheme.ts +37 -0
- package/src/index.tsx +12 -0
- package/src/mockData/pendingSwap.ts +607 -0
- package/src/pages/ConfirmSwapPage.tsx +24 -0
- package/src/pages/ConfirmWalletsPage.tsx +51 -0
- package/src/pages/HistoryPage.tsx +793 -0
- package/src/pages/Home.tsx +176 -0
- package/src/pages/LiquiditySourcesPage.tsx +49 -0
- package/src/pages/SelectChainPage.tsx +62 -0
- package/src/pages/SelectTokenPage.tsx +84 -0
- package/src/pages/SettingsPage.tsx +60 -0
- package/src/pages/SwapDetailsPage.tsx +9 -0
- package/src/pages/WalletsPage.tsx +61 -0
- package/src/services/httpService.ts +3 -0
- package/src/store/bestRoute.ts +82 -0
- package/src/store/meta.ts +35 -0
- package/src/store/selectors.ts +19 -0
- package/src/store/settings.ts +72 -0
- package/src/store/wallets.ts +144 -0
- package/src/utils/common.ts +3 -0
- package/src/utils/numbers.ts +94 -0
- package/src/utils/routing.ts +108 -0
- package/src/utils/swap.ts +155 -0
- package/src/utils/wallets.ts +345 -0
|
@@ -0,0 +1,793 @@
|
|
|
1
|
+
import { History } from '@rango-dev/ui';
|
|
2
|
+
import { PendingSwap } from '@rango-dev/ui/dist/containers/History/types';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { useNavigate } from 'react-router-dom';
|
|
5
|
+
import { navigationRoutes } from '../constants/navigationRoutes';
|
|
6
|
+
|
|
7
|
+
export const pendingSwap: PendingSwap[] = [
|
|
8
|
+
{
|
|
9
|
+
creationTime: '1673164511955',
|
|
10
|
+
finishTime: '1673164550137',
|
|
11
|
+
requestId: '51e211d9-d61c-45d2-a4d4-1f9f7f90ee85',
|
|
12
|
+
inputAmount: '1',
|
|
13
|
+
wallets: {
|
|
14
|
+
OSMOSIS: {
|
|
15
|
+
walletType: 'keplr',
|
|
16
|
+
address: 'osmo1unf2rcytjxfpz8x8ar63h4qeftadptg5t0nqcl',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
status: 'running',
|
|
20
|
+
isPaused: false,
|
|
21
|
+
extraMessage: null,
|
|
22
|
+
extraMessageSeverity: 'info',
|
|
23
|
+
extraMessageDetail: '',
|
|
24
|
+
extraMessageErrorCode: null,
|
|
25
|
+
networkStatusExtraMessage: null,
|
|
26
|
+
networkStatusExtraMessageDetail: null,
|
|
27
|
+
lastNotificationTime: null,
|
|
28
|
+
settings: {
|
|
29
|
+
slippage: '1.0',
|
|
30
|
+
disabledSwappersIds: [],
|
|
31
|
+
disabledSwappersGroups: [],
|
|
32
|
+
},
|
|
33
|
+
simulationResult: {
|
|
34
|
+
outputAmount: '1.540670',
|
|
35
|
+
swaps: [
|
|
36
|
+
{
|
|
37
|
+
swapperId: 'Osmosis',
|
|
38
|
+
swapperType: 'DEX',
|
|
39
|
+
swapperLogo: '',
|
|
40
|
+
result: null,
|
|
41
|
+
from: {
|
|
42
|
+
symbol: 'JUNO',
|
|
43
|
+
logo: 'https://api.rango.exchange/tokens/COSMOS/JUNO.png',
|
|
44
|
+
address: 'ibc/46b44899322f3cd854d2d46deef881958467cdd4b3b10086da49296bbed94bed',
|
|
45
|
+
blockchain: 'OSMOSIS',
|
|
46
|
+
blockchainlogo: '',
|
|
47
|
+
decimals: 6,
|
|
48
|
+
usdPrice: 1.1091996179668873,
|
|
49
|
+
},
|
|
50
|
+
to: {
|
|
51
|
+
symbol: 'OSMO',
|
|
52
|
+
logo: 'https://api.rango.exchange/i/mJQPS2',
|
|
53
|
+
address: null,
|
|
54
|
+
blockchain: 'OSMOSIS',
|
|
55
|
+
decimals: 6,
|
|
56
|
+
blockchainlogo: '',
|
|
57
|
+
usdPrice: 0.7192435454440882,
|
|
58
|
+
},
|
|
59
|
+
fromAmount: '1.000000',
|
|
60
|
+
fromAmountPrecision: null,
|
|
61
|
+
fromAmountMinValue: null,
|
|
62
|
+
fromAmountMaxValue: null,
|
|
63
|
+
fromAmountRestrictionType: null,
|
|
64
|
+
toAmount: '1.540670',
|
|
65
|
+
fee: [
|
|
66
|
+
{
|
|
67
|
+
asset: {
|
|
68
|
+
blockchain: 'OSMOSIS',
|
|
69
|
+
symbol: 'OSMO',
|
|
70
|
+
address: null,
|
|
71
|
+
},
|
|
72
|
+
expenseType: 'FROM_SOURCE_WALLET',
|
|
73
|
+
amount: '0',
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
estimatedTimeInSeconds: 45,
|
|
77
|
+
swapChainType: 'INTRA_CHAIN',
|
|
78
|
+
routes: [
|
|
79
|
+
{
|
|
80
|
+
nodes: [
|
|
81
|
+
{
|
|
82
|
+
nodes: [
|
|
83
|
+
{
|
|
84
|
+
marketName: 'pool#498',
|
|
85
|
+
marketId: null,
|
|
86
|
+
percent: 1,
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
from: 'JUNO',
|
|
90
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/JUNO.png',
|
|
91
|
+
fromAddress:
|
|
92
|
+
'ibc/46b44899322f3cd854d2d46deef881958467cdd4b3b10086da49296bbed94bed',
|
|
93
|
+
fromBlockchain: 'OSMOSIS',
|
|
94
|
+
to: 'ATOM',
|
|
95
|
+
toLogo: 'https://api.rango.exchange/tokens/COSMOS/ATOM.png',
|
|
96
|
+
toAddress: 'ibc/27394fb092d2eccd56123c74f36e4c1f926001ceada9ca97ea622b25f41e5eb2',
|
|
97
|
+
toBlockchain: 'OSMOSIS',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
nodes: [
|
|
101
|
+
{
|
|
102
|
+
marketName: 'pool#8',
|
|
103
|
+
marketId: null,
|
|
104
|
+
percent: 1,
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
from: 'ATOM',
|
|
108
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/ATOM.png',
|
|
109
|
+
fromAddress:
|
|
110
|
+
'ibc/27394fb092d2eccd56123c74f36e4c1f926001ceada9ca97ea622b25f41e5eb2',
|
|
111
|
+
fromBlockchain: 'OSMOSIS',
|
|
112
|
+
to: 'IRIS',
|
|
113
|
+
toLogo: 'https://api.rango.exchange/tokens/COSMOS/IRIS.png',
|
|
114
|
+
toAddress: 'ibc/7c4d60aa95e5a7558b0a364860979ca34b7ff8aaf255b87af9e879374470cec0',
|
|
115
|
+
toBlockchain: 'OSMOSIS',
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
nodes: [
|
|
119
|
+
{
|
|
120
|
+
marketName: 'pool#7',
|
|
121
|
+
marketId: null,
|
|
122
|
+
percent: 1,
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
from: 'IRIS',
|
|
126
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/IRIS.png',
|
|
127
|
+
fromAddress:
|
|
128
|
+
'ibc/7c4d60aa95e5a7558b0a364860979ca34b7ff8aaf255b87af9e879374470cec0',
|
|
129
|
+
fromBlockchain: 'OSMOSIS',
|
|
130
|
+
to: 'OSMO',
|
|
131
|
+
toLogo: 'https://api.rango.exchange/tokens/COSMOS/OSMO.png',
|
|
132
|
+
toAddress: null,
|
|
133
|
+
toBlockchain: 'OSMOSIS',
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
recommendedSlippage: null,
|
|
139
|
+
timeStat: {
|
|
140
|
+
min: 6,
|
|
141
|
+
avg: 40,
|
|
142
|
+
max: 241,
|
|
143
|
+
},
|
|
144
|
+
includesDestinationTx: false,
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
},
|
|
148
|
+
validateBalanceOrFee: true,
|
|
149
|
+
steps: [
|
|
150
|
+
{
|
|
151
|
+
id: 1,
|
|
152
|
+
fromBlockchain: 'OSMOSIS',
|
|
153
|
+
fromSymbol: 'JUNO',
|
|
154
|
+
fromSymbolAddress: 'ibc/46b44899322f3cd854d2d46deef881958467cdd4b3b10086da49296bbed94bed',
|
|
155
|
+
fromDecimals: 6,
|
|
156
|
+
fromAmountPrecision: null,
|
|
157
|
+
fromAmountMinValue: null,
|
|
158
|
+
fromAmountMaxValue: null,
|
|
159
|
+
toBlockchainLogo: 'https://api.rango.exchange/swappers/osmosis.png',
|
|
160
|
+
fromBlockchainLogo: 'https://api.rango.exchange/swappers/osmosis.png',
|
|
161
|
+
toBlockchain: 'OSMOSIS',
|
|
162
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/JUNO.png',
|
|
163
|
+
toSymbol: 'OSMO',
|
|
164
|
+
toSymbolAddress: null,
|
|
165
|
+
toDecimals: 6,
|
|
166
|
+
toLogo: 'https://api.rango.exchange/i/mJQPS2',
|
|
167
|
+
startTransactionTime: 1673164519916,
|
|
168
|
+
swapperId: 'Osmosis',
|
|
169
|
+
expectedOutputAmountHumanReadable: '1.540670',
|
|
170
|
+
outputAmount: '1.540658',
|
|
171
|
+
status: 'running',
|
|
172
|
+
networkStatus: null,
|
|
173
|
+
executedTransactionId: '0f8f17eecc863c2d6be65ef52cfe3128ff3cd7baeddf133160bea8ccdfbf876b',
|
|
174
|
+
explorerUrl: [
|
|
175
|
+
{
|
|
176
|
+
url: 'https://www.mintscan.io/osmosis/txs/0f8f17eecc863c2d6be65ef52cfe3128ff3cd7baeddf133160bea8ccdfbf876b',
|
|
177
|
+
description: null,
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
cosmosTransaction: {
|
|
181
|
+
type: 'COSMOS',
|
|
182
|
+
fromWalletAddress: 'osmo1unf2rcytjxfpz8x8ar63h4qeftadptg5t0nqcl',
|
|
183
|
+
blockChain: 'OSMOSIS',
|
|
184
|
+
data: {
|
|
185
|
+
chainId: 'osmosis-1',
|
|
186
|
+
account_number: 102721,
|
|
187
|
+
sequence: '308',
|
|
188
|
+
msgs: [
|
|
189
|
+
{
|
|
190
|
+
__type: 'OsmosisSwapMessage',
|
|
191
|
+
type: 'osmosis/gamm/swap-exact-amount-in',
|
|
192
|
+
value: {
|
|
193
|
+
sender: 'osmo1unf2rcytjxfpz8x8ar63h4qeftadptg5t0nqcl',
|
|
194
|
+
routes: [
|
|
195
|
+
{
|
|
196
|
+
pool_id: '498',
|
|
197
|
+
token_out_denom:
|
|
198
|
+
'ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2',
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
pool_id: '8',
|
|
202
|
+
token_out_denom:
|
|
203
|
+
'ibc/7C4D60AA95E5A7558B0A364860979CA34B7FF8AAF255B87AF9E879374470CEC0',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
pool_id: '7',
|
|
207
|
+
token_out_denom: 'uosmo',
|
|
208
|
+
},
|
|
209
|
+
],
|
|
210
|
+
token_in: {
|
|
211
|
+
denom: 'ibc/46B44899322F3CD854D2D46DEEF881958467CDD4B3B10086DA49296BBED94BED',
|
|
212
|
+
amount: '1000000',
|
|
213
|
+
},
|
|
214
|
+
token_out_min_amount: '1525264',
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
],
|
|
218
|
+
protoMsgs: [
|
|
219
|
+
{
|
|
220
|
+
type_url: '/osmosis.gamm.v1beta1.MsgSwapExactAmountIn',
|
|
221
|
+
value: [
|
|
222
|
+
10, 43, 111, 115, 109, 111, 49, 117, 110, 102, 50, 114, 99, 121, 116, 106, 120,
|
|
223
|
+
102, 112, 122, 56, 120, 56, 97, 114, 54, 51, 104, 52, 113, 101, 102, 116, 97, 100,
|
|
224
|
+
112, 116, 103, 53, 116, 48, 110, 113, 99, 108, 18, 73, 8, -14, 3, 18, 68, 105, 98,
|
|
225
|
+
99, 47, 50, 55, 51, 57, 52, 70, 66, 48, 57, 50, 68, 50, 69, 67, 67, 68, 53, 54,
|
|
226
|
+
49, 50, 51, 67, 55, 52, 70, 51, 54, 69, 52, 67, 49, 70, 57, 50, 54, 48, 48, 49,
|
|
227
|
+
67, 69, 65, 68, 65, 57, 67, 65, 57, 55, 69, 65, 54, 50, 50, 66, 50, 53, 70, 52,
|
|
228
|
+
49, 69, 53, 69, 66, 50, 18, 72, 8, 8, 18, 68, 105, 98, 99, 47, 55, 67, 52, 68, 54,
|
|
229
|
+
48, 65, 65, 57, 53, 69, 53, 65, 55, 53, 53, 56, 66, 48, 65, 51, 54, 52, 56, 54,
|
|
230
|
+
48, 57, 55, 57, 67, 65, 51, 52, 66, 55, 70, 70, 56, 65, 65, 70, 50, 53, 53, 66,
|
|
231
|
+
56, 55, 65, 70, 57, 69, 56, 55, 57, 51, 55, 52, 52, 55, 48, 67, 69, 67, 48, 18, 9,
|
|
232
|
+
8, 7, 18, 5, 117, 111, 115, 109, 111, 26, 79, 10, 68, 105, 98, 99, 47, 52, 54, 66,
|
|
233
|
+
52, 52, 56, 57, 57, 51, 50, 50, 70, 51, 67, 68, 56, 53, 52, 68, 50, 68, 52, 54,
|
|
234
|
+
68, 69, 69, 70, 56, 56, 49, 57, 53, 56, 52, 54, 55, 67, 68, 68, 52, 66, 51, 66,
|
|
235
|
+
49, 48, 48, 56, 54, 68, 65, 52, 57, 50, 57, 54, 66, 66, 69, 68, 57, 52, 66, 69,
|
|
236
|
+
68, 18, 7, 49, 48, 48, 48, 48, 48, 48, 34, 7, 49, 53, 50, 53, 50, 54, 52,
|
|
237
|
+
],
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
memo: '',
|
|
241
|
+
source: null,
|
|
242
|
+
fee: {
|
|
243
|
+
gas: '900000',
|
|
244
|
+
amount: [
|
|
245
|
+
{
|
|
246
|
+
denom: 'uosmo',
|
|
247
|
+
amount: '0',
|
|
248
|
+
},
|
|
249
|
+
],
|
|
250
|
+
},
|
|
251
|
+
signType: 'AMINO',
|
|
252
|
+
rpcUrl: null,
|
|
253
|
+
},
|
|
254
|
+
rawTransfer: null,
|
|
255
|
+
},
|
|
256
|
+
solanaTransaction: null,
|
|
257
|
+
evmTransaction: null,
|
|
258
|
+
evmApprovalTransaction: null,
|
|
259
|
+
transferTransaction: null,
|
|
260
|
+
diagnosisUrl: null,
|
|
261
|
+
internalSteps: null,
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
creationTime: '1673164511955',
|
|
267
|
+
finishTime: '1673164550137',
|
|
268
|
+
requestId: '51e211d9-d61c-45d2-a4d4-1f9f7f90ee85',
|
|
269
|
+
inputAmount: '1',
|
|
270
|
+
wallets: {
|
|
271
|
+
OSMOSIS: {
|
|
272
|
+
walletType: 'keplr',
|
|
273
|
+
address: 'osmo1unf2rcytjxfpz8x8ar63h4qeftadptg5t0nqcl',
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
status: 'failed',
|
|
277
|
+
isPaused: false,
|
|
278
|
+
extraMessage: null,
|
|
279
|
+
extraMessageSeverity: 'info',
|
|
280
|
+
extraMessageDetail: '',
|
|
281
|
+
extraMessageErrorCode: null,
|
|
282
|
+
networkStatusExtraMessage: null,
|
|
283
|
+
networkStatusExtraMessageDetail: null,
|
|
284
|
+
lastNotificationTime: null,
|
|
285
|
+
settings: {
|
|
286
|
+
slippage: '1.0',
|
|
287
|
+
disabledSwappersIds: [],
|
|
288
|
+
disabledSwappersGroups: [],
|
|
289
|
+
},
|
|
290
|
+
simulationResult: {
|
|
291
|
+
outputAmount: '1.540670',
|
|
292
|
+
swaps: [
|
|
293
|
+
{
|
|
294
|
+
swapperId: 'Osmosis',
|
|
295
|
+
swapperLogo: '',
|
|
296
|
+
result: null,
|
|
297
|
+
swapperType: 'DEX',
|
|
298
|
+
from: {
|
|
299
|
+
symbol: 'JUNO',
|
|
300
|
+
logo: 'https://api.rango.exchange/tokens/COSMOS/JUNO.png',
|
|
301
|
+
address: 'ibc/46b44899322f3cd854d2d46deef881958467cdd4b3b10086da49296bbed94bed',
|
|
302
|
+
blockchain: 'OSMOSIS',
|
|
303
|
+
blockchainlogo: '',
|
|
304
|
+
decimals: 6,
|
|
305
|
+
usdPrice: 1.1091996179668873,
|
|
306
|
+
},
|
|
307
|
+
to: {
|
|
308
|
+
symbol: 'OSMO',
|
|
309
|
+
logo: 'https://api.rango.exchange/i/mJQPS2',
|
|
310
|
+
address: null,
|
|
311
|
+
blockchain: 'OSMOSIS',
|
|
312
|
+
decimals: 6,
|
|
313
|
+
blockchainlogo: '',
|
|
314
|
+
usdPrice: 0.7192435454440882,
|
|
315
|
+
},
|
|
316
|
+
fromAmount: '1.000000',
|
|
317
|
+
fromAmountPrecision: null,
|
|
318
|
+
fromAmountMinValue: null,
|
|
319
|
+
fromAmountMaxValue: null,
|
|
320
|
+
fromAmountRestrictionType: null,
|
|
321
|
+
toAmount: '1.540670',
|
|
322
|
+
fee: [
|
|
323
|
+
{
|
|
324
|
+
asset: {
|
|
325
|
+
blockchain: 'OSMOSIS',
|
|
326
|
+
symbol: 'OSMO',
|
|
327
|
+
address: null,
|
|
328
|
+
},
|
|
329
|
+
expenseType: 'FROM_SOURCE_WALLET',
|
|
330
|
+
amount: '0',
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
estimatedTimeInSeconds: 45,
|
|
334
|
+
swapChainType: 'INTRA_CHAIN',
|
|
335
|
+
routes: [
|
|
336
|
+
{
|
|
337
|
+
nodes: [
|
|
338
|
+
{
|
|
339
|
+
nodes: [
|
|
340
|
+
{
|
|
341
|
+
marketName: 'pool#498',
|
|
342
|
+
marketId: null,
|
|
343
|
+
percent: 1,
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
from: 'JUNO',
|
|
347
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/JUNO.png',
|
|
348
|
+
fromAddress:
|
|
349
|
+
'ibc/46b44899322f3cd854d2d46deef881958467cdd4b3b10086da49296bbed94bed',
|
|
350
|
+
fromBlockchain: 'OSMOSIS',
|
|
351
|
+
to: 'ATOM',
|
|
352
|
+
toLogo: 'https://api.rango.exchange/tokens/COSMOS/ATOM.png',
|
|
353
|
+
toAddress: 'ibc/27394fb092d2eccd56123c74f36e4c1f926001ceada9ca97ea622b25f41e5eb2',
|
|
354
|
+
toBlockchain: 'OSMOSIS',
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
nodes: [
|
|
358
|
+
{
|
|
359
|
+
marketName: 'pool#8',
|
|
360
|
+
marketId: null,
|
|
361
|
+
percent: 1,
|
|
362
|
+
},
|
|
363
|
+
],
|
|
364
|
+
from: 'ATOM',
|
|
365
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/ATOM.png',
|
|
366
|
+
fromAddress:
|
|
367
|
+
'ibc/27394fb092d2eccd56123c74f36e4c1f926001ceada9ca97ea622b25f41e5eb2',
|
|
368
|
+
fromBlockchain: 'OSMOSIS',
|
|
369
|
+
to: 'IRIS',
|
|
370
|
+
toLogo: 'https://api.rango.exchange/tokens/COSMOS/IRIS.png',
|
|
371
|
+
toAddress: 'ibc/7c4d60aa95e5a7558b0a364860979ca34b7ff8aaf255b87af9e879374470cec0',
|
|
372
|
+
toBlockchain: 'OSMOSIS',
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
nodes: [
|
|
376
|
+
{
|
|
377
|
+
marketName: 'pool#7',
|
|
378
|
+
marketId: null,
|
|
379
|
+
percent: 1,
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
from: 'IRIS',
|
|
383
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/IRIS.png',
|
|
384
|
+
fromAddress:
|
|
385
|
+
'ibc/7c4d60aa95e5a7558b0a364860979ca34b7ff8aaf255b87af9e879374470cec0',
|
|
386
|
+
fromBlockchain: 'OSMOSIS',
|
|
387
|
+
to: 'OSMO',
|
|
388
|
+
toLogo: 'https://api.rango.exchange/tokens/COSMOS/OSMO.png',
|
|
389
|
+
toAddress: null,
|
|
390
|
+
toBlockchain: 'OSMOSIS',
|
|
391
|
+
},
|
|
392
|
+
],
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
recommendedSlippage: null,
|
|
396
|
+
timeStat: {
|
|
397
|
+
min: 6,
|
|
398
|
+
avg: 40,
|
|
399
|
+
max: 241,
|
|
400
|
+
},
|
|
401
|
+
includesDestinationTx: false,
|
|
402
|
+
},
|
|
403
|
+
],
|
|
404
|
+
},
|
|
405
|
+
validateBalanceOrFee: true,
|
|
406
|
+
steps: [
|
|
407
|
+
{
|
|
408
|
+
id: 1,
|
|
409
|
+
fromBlockchain: 'OSMOSIS',
|
|
410
|
+
fromSymbol: 'JUNO',
|
|
411
|
+
fromSymbolAddress: 'ibc/46b44899322f3cd854d2d46deef881958467cdd4b3b10086da49296bbed94bed',
|
|
412
|
+
fromDecimals: 6,
|
|
413
|
+
fromAmountPrecision: null,
|
|
414
|
+
fromAmountMinValue: null,
|
|
415
|
+
fromAmountMaxValue: null,
|
|
416
|
+
toBlockchainLogo: 'https://api.rango.exchange/swappers/osmosis.png',
|
|
417
|
+
fromBlockchainLogo: 'https://api.rango.exchange/swappers/osmosis.png',
|
|
418
|
+
toBlockchain: 'OSMOSIS',
|
|
419
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/JUNO.png',
|
|
420
|
+
toSymbol: 'OSMO',
|
|
421
|
+
toSymbolAddress: null,
|
|
422
|
+
toDecimals: 6,
|
|
423
|
+
toLogo: 'https://api.rango.exchange/i/mJQPS2',
|
|
424
|
+
startTransactionTime: 1673164519916,
|
|
425
|
+
swapperId: 'Osmosis',
|
|
426
|
+
expectedOutputAmountHumanReadable: '1.540670',
|
|
427
|
+
outputAmount: '1.540658',
|
|
428
|
+
status: 'failed',
|
|
429
|
+
networkStatus: null,
|
|
430
|
+
executedTransactionId: '0f8f17eecc863c2d6be65ef52cfe3128ff3cd7baeddf133160bea8ccdfbf876b',
|
|
431
|
+
explorerUrl: [
|
|
432
|
+
{
|
|
433
|
+
url: 'https://www.mintscan.io/osmosis/txs/0f8f17eecc863c2d6be65ef52cfe3128ff3cd7baeddf133160bea8ccdfbf876b',
|
|
434
|
+
description: null,
|
|
435
|
+
},
|
|
436
|
+
],
|
|
437
|
+
cosmosTransaction: {
|
|
438
|
+
type: 'COSMOS',
|
|
439
|
+
fromWalletAddress: 'osmo1unf2rcytjxfpz8x8ar63h4qeftadptg5t0nqcl',
|
|
440
|
+
blockChain: 'OSMOSIS',
|
|
441
|
+
data: {
|
|
442
|
+
chainId: 'osmosis-1',
|
|
443
|
+
account_number: 102721,
|
|
444
|
+
sequence: '308',
|
|
445
|
+
msgs: [
|
|
446
|
+
{
|
|
447
|
+
__type: 'OsmosisSwapMessage',
|
|
448
|
+
type: 'osmosis/gamm/swap-exact-amount-in',
|
|
449
|
+
value: {
|
|
450
|
+
sender: 'osmo1unf2rcytjxfpz8x8ar63h4qeftadptg5t0nqcl',
|
|
451
|
+
routes: [
|
|
452
|
+
{
|
|
453
|
+
pool_id: '498',
|
|
454
|
+
token_out_denom:
|
|
455
|
+
'ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2',
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
pool_id: '8',
|
|
459
|
+
token_out_denom:
|
|
460
|
+
'ibc/7C4D60AA95E5A7558B0A364860979CA34B7FF8AAF255B87AF9E879374470CEC0',
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
pool_id: '7',
|
|
464
|
+
token_out_denom: 'uosmo',
|
|
465
|
+
},
|
|
466
|
+
],
|
|
467
|
+
token_in: {
|
|
468
|
+
denom: 'ibc/46B44899322F3CD854D2D46DEEF881958467CDD4B3B10086DA49296BBED94BED',
|
|
469
|
+
amount: '1000000',
|
|
470
|
+
},
|
|
471
|
+
token_out_min_amount: '1525264',
|
|
472
|
+
},
|
|
473
|
+
},
|
|
474
|
+
],
|
|
475
|
+
protoMsgs: [
|
|
476
|
+
{
|
|
477
|
+
type_url: '/osmosis.gamm.v1beta1.MsgSwapExactAmountIn',
|
|
478
|
+
value: [
|
|
479
|
+
10, 43, 111, 115, 109, 111, 49, 117, 110, 102, 50, 114, 99, 121, 116, 106, 120,
|
|
480
|
+
102, 112, 122, 56, 120, 56, 97, 114, 54, 51, 104, 52, 113, 101, 102, 116, 97, 100,
|
|
481
|
+
112, 116, 103, 53, 116, 48, 110, 113, 99, 108, 18, 73, 8, -14, 3, 18, 68, 105, 98,
|
|
482
|
+
99, 47, 50, 55, 51, 57, 52, 70, 66, 48, 57, 50, 68, 50, 69, 67, 67, 68, 53, 54,
|
|
483
|
+
49, 50, 51, 67, 55, 52, 70, 51, 54, 69, 52, 67, 49, 70, 57, 50, 54, 48, 48, 49,
|
|
484
|
+
67, 69, 65, 68, 65, 57, 67, 65, 57, 55, 69, 65, 54, 50, 50, 66, 50, 53, 70, 52,
|
|
485
|
+
49, 69, 53, 69, 66, 50, 18, 72, 8, 8, 18, 68, 105, 98, 99, 47, 55, 67, 52, 68, 54,
|
|
486
|
+
48, 65, 65, 57, 53, 69, 53, 65, 55, 53, 53, 56, 66, 48, 65, 51, 54, 52, 56, 54,
|
|
487
|
+
48, 57, 55, 57, 67, 65, 51, 52, 66, 55, 70, 70, 56, 65, 65, 70, 50, 53, 53, 66,
|
|
488
|
+
56, 55, 65, 70, 57, 69, 56, 55, 57, 51, 55, 52, 52, 55, 48, 67, 69, 67, 48, 18, 9,
|
|
489
|
+
8, 7, 18, 5, 117, 111, 115, 109, 111, 26, 79, 10, 68, 105, 98, 99, 47, 52, 54, 66,
|
|
490
|
+
52, 52, 56, 57, 57, 51, 50, 50, 70, 51, 67, 68, 56, 53, 52, 68, 50, 68, 52, 54,
|
|
491
|
+
68, 69, 69, 70, 56, 56, 49, 57, 53, 56, 52, 54, 55, 67, 68, 68, 52, 66, 51, 66,
|
|
492
|
+
49, 48, 48, 56, 54, 68, 65, 52, 57, 50, 57, 54, 66, 66, 69, 68, 57, 52, 66, 69,
|
|
493
|
+
68, 18, 7, 49, 48, 48, 48, 48, 48, 48, 34, 7, 49, 53, 50, 53, 50, 54, 52,
|
|
494
|
+
],
|
|
495
|
+
},
|
|
496
|
+
],
|
|
497
|
+
memo: '',
|
|
498
|
+
source: null,
|
|
499
|
+
fee: {
|
|
500
|
+
gas: '900000',
|
|
501
|
+
amount: [
|
|
502
|
+
{
|
|
503
|
+
denom: 'uosmo',
|
|
504
|
+
amount: '0',
|
|
505
|
+
},
|
|
506
|
+
],
|
|
507
|
+
},
|
|
508
|
+
signType: 'AMINO',
|
|
509
|
+
rpcUrl: null,
|
|
510
|
+
},
|
|
511
|
+
rawTransfer: null,
|
|
512
|
+
},
|
|
513
|
+
solanaTransaction: null,
|
|
514
|
+
evmTransaction: null,
|
|
515
|
+
evmApprovalTransaction: null,
|
|
516
|
+
transferTransaction: null,
|
|
517
|
+
diagnosisUrl: null,
|
|
518
|
+
internalSteps: null,
|
|
519
|
+
},
|
|
520
|
+
],
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
creationTime: '1673164511955',
|
|
524
|
+
finishTime: '1673164550137',
|
|
525
|
+
requestId: '51e211d9-d61c-45d2-a4d4-1f9f7f90ee85',
|
|
526
|
+
inputAmount: '1',
|
|
527
|
+
wallets: {
|
|
528
|
+
OSMOSIS: {
|
|
529
|
+
walletType: 'keplr',
|
|
530
|
+
address: 'osmo1unf2rcytjxfpz8x8ar63h4qeftadptg5t0nqcl',
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
status: 'success',
|
|
534
|
+
isPaused: false,
|
|
535
|
+
extraMessage: null,
|
|
536
|
+
extraMessageSeverity: 'info',
|
|
537
|
+
extraMessageDetail: '',
|
|
538
|
+
extraMessageErrorCode: null,
|
|
539
|
+
networkStatusExtraMessage: null,
|
|
540
|
+
networkStatusExtraMessageDetail: null,
|
|
541
|
+
lastNotificationTime: null,
|
|
542
|
+
settings: {
|
|
543
|
+
slippage: '1.0',
|
|
544
|
+
disabledSwappersIds: [],
|
|
545
|
+
disabledSwappersGroups: [],
|
|
546
|
+
},
|
|
547
|
+
simulationResult: {
|
|
548
|
+
outputAmount: '1.540670',
|
|
549
|
+
swaps: [
|
|
550
|
+
{
|
|
551
|
+
result: null,
|
|
552
|
+
swapperId: 'Osmosis',
|
|
553
|
+
swapperType: 'DEX',
|
|
554
|
+
swapperLogo: '',
|
|
555
|
+
|
|
556
|
+
from: {
|
|
557
|
+
symbol: 'JUNO',
|
|
558
|
+
logo: 'https://api.rango.exchange/tokens/COSMOS/JUNO.png',
|
|
559
|
+
address: 'ibc/46b44899322f3cd854d2d46deef881958467cdd4b3b10086da49296bbed94bed',
|
|
560
|
+
blockchain: 'OSMOSIS',
|
|
561
|
+
blockchainlogo: '',
|
|
562
|
+
decimals: 6,
|
|
563
|
+
usdPrice: 1.1091996179668873,
|
|
564
|
+
},
|
|
565
|
+
to: {
|
|
566
|
+
symbol: 'OSMO',
|
|
567
|
+
logo: 'https://api.rango.exchange/i/mJQPS2',
|
|
568
|
+
address: null,
|
|
569
|
+
blockchain: 'OSMOSIS',
|
|
570
|
+
decimals: 6,
|
|
571
|
+
blockchainlogo: '',
|
|
572
|
+
usdPrice: 0.7192435454440882,
|
|
573
|
+
},
|
|
574
|
+
fromAmount: '1.000000',
|
|
575
|
+
fromAmountPrecision: null,
|
|
576
|
+
fromAmountMinValue: null,
|
|
577
|
+
fromAmountMaxValue: null,
|
|
578
|
+
fromAmountRestrictionType: null,
|
|
579
|
+
toAmount: '1.540670',
|
|
580
|
+
fee: [
|
|
581
|
+
{
|
|
582
|
+
asset: {
|
|
583
|
+
blockchain: 'OSMOSIS',
|
|
584
|
+
symbol: 'OSMO',
|
|
585
|
+
address: null,
|
|
586
|
+
},
|
|
587
|
+
expenseType: 'FROM_SOURCE_WALLET',
|
|
588
|
+
amount: '0',
|
|
589
|
+
},
|
|
590
|
+
],
|
|
591
|
+
estimatedTimeInSeconds: 45,
|
|
592
|
+
swapChainType: 'INTRA_CHAIN',
|
|
593
|
+
routes: [
|
|
594
|
+
{
|
|
595
|
+
nodes: [
|
|
596
|
+
{
|
|
597
|
+
nodes: [
|
|
598
|
+
{
|
|
599
|
+
marketName: 'pool#498',
|
|
600
|
+
marketId: null,
|
|
601
|
+
percent: 1,
|
|
602
|
+
},
|
|
603
|
+
],
|
|
604
|
+
from: 'JUNO',
|
|
605
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/JUNO.png',
|
|
606
|
+
fromAddress:
|
|
607
|
+
'ibc/46b44899322f3cd854d2d46deef881958467cdd4b3b10086da49296bbed94bed',
|
|
608
|
+
fromBlockchain: 'OSMOSIS',
|
|
609
|
+
to: 'ATOM',
|
|
610
|
+
toLogo: 'https://api.rango.exchange/tokens/COSMOS/ATOM.png',
|
|
611
|
+
toAddress: 'ibc/27394fb092d2eccd56123c74f36e4c1f926001ceada9ca97ea622b25f41e5eb2',
|
|
612
|
+
toBlockchain: 'OSMOSIS',
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
nodes: [
|
|
616
|
+
{
|
|
617
|
+
marketName: 'pool#8',
|
|
618
|
+
marketId: null,
|
|
619
|
+
percent: 1,
|
|
620
|
+
},
|
|
621
|
+
],
|
|
622
|
+
from: 'ATOM',
|
|
623
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/ATOM.png',
|
|
624
|
+
fromAddress:
|
|
625
|
+
'ibc/27394fb092d2eccd56123c74f36e4c1f926001ceada9ca97ea622b25f41e5eb2',
|
|
626
|
+
fromBlockchain: 'OSMOSIS',
|
|
627
|
+
to: 'IRIS',
|
|
628
|
+
toLogo: 'https://api.rango.exchange/tokens/COSMOS/IRIS.png',
|
|
629
|
+
toAddress: 'ibc/7c4d60aa95e5a7558b0a364860979ca34b7ff8aaf255b87af9e879374470cec0',
|
|
630
|
+
toBlockchain: 'OSMOSIS',
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
nodes: [
|
|
634
|
+
{
|
|
635
|
+
marketName: 'pool#7',
|
|
636
|
+
marketId: null,
|
|
637
|
+
percent: 1,
|
|
638
|
+
},
|
|
639
|
+
],
|
|
640
|
+
from: 'IRIS',
|
|
641
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/IRIS.png',
|
|
642
|
+
fromAddress:
|
|
643
|
+
'ibc/7c4d60aa95e5a7558b0a364860979ca34b7ff8aaf255b87af9e879374470cec0',
|
|
644
|
+
fromBlockchain: 'OSMOSIS',
|
|
645
|
+
to: 'OSMO',
|
|
646
|
+
toLogo: 'https://api.rango.exchange/tokens/COSMOS/OSMO.png',
|
|
647
|
+
toAddress: null,
|
|
648
|
+
toBlockchain: 'OSMOSIS',
|
|
649
|
+
},
|
|
650
|
+
],
|
|
651
|
+
},
|
|
652
|
+
],
|
|
653
|
+
recommendedSlippage: null,
|
|
654
|
+
timeStat: {
|
|
655
|
+
min: 6,
|
|
656
|
+
avg: 40,
|
|
657
|
+
max: 241,
|
|
658
|
+
},
|
|
659
|
+
includesDestinationTx: false,
|
|
660
|
+
},
|
|
661
|
+
],
|
|
662
|
+
},
|
|
663
|
+
validateBalanceOrFee: true,
|
|
664
|
+
steps: [
|
|
665
|
+
{
|
|
666
|
+
id: 1,
|
|
667
|
+
fromBlockchain: 'OSMOSIS',
|
|
668
|
+
fromSymbol: 'JUNO',
|
|
669
|
+
fromSymbolAddress: 'ibc/46b44899322f3cd854d2d46deef881958467cdd4b3b10086da49296bbed94bed',
|
|
670
|
+
fromDecimals: 6,
|
|
671
|
+
fromAmountPrecision: null,
|
|
672
|
+
fromAmountMinValue: null,
|
|
673
|
+
fromAmountMaxValue: null,
|
|
674
|
+
toBlockchainLogo: 'https://api.rango.exchange/swappers/osmosis.png',
|
|
675
|
+
fromBlockchainLogo: 'https://api.rango.exchange/swappers/osmosis.png',
|
|
676
|
+
toBlockchain: 'OSMOSIS',
|
|
677
|
+
fromLogo: 'https://api.rango.exchange/tokens/COSMOS/JUNO.png',
|
|
678
|
+
toSymbol: 'OSMO',
|
|
679
|
+
toSymbolAddress: null,
|
|
680
|
+
toDecimals: 6,
|
|
681
|
+
toLogo: 'https://api.rango.exchange/i/mJQPS2',
|
|
682
|
+
startTransactionTime: 1673164519916,
|
|
683
|
+
swapperId: 'Osmosis',
|
|
684
|
+
expectedOutputAmountHumanReadable: '1.540670',
|
|
685
|
+
outputAmount: '1.540658',
|
|
686
|
+
status: 'success',
|
|
687
|
+
networkStatus: null,
|
|
688
|
+
executedTransactionId: '0f8f17eecc863c2d6be65ef52cfe3128ff3cd7baeddf133160bea8ccdfbf876b',
|
|
689
|
+
explorerUrl: [
|
|
690
|
+
{
|
|
691
|
+
url: 'https://www.mintscan.io/osmosis/txs/0f8f17eecc863c2d6be65ef52cfe3128ff3cd7baeddf133160bea8ccdfbf876b',
|
|
692
|
+
description: null,
|
|
693
|
+
},
|
|
694
|
+
],
|
|
695
|
+
cosmosTransaction: {
|
|
696
|
+
type: 'COSMOS',
|
|
697
|
+
fromWalletAddress: 'osmo1unf2rcytjxfpz8x8ar63h4qeftadptg5t0nqcl',
|
|
698
|
+
blockChain: 'OSMOSIS',
|
|
699
|
+
data: {
|
|
700
|
+
chainId: 'osmosis-1',
|
|
701
|
+
account_number: 102721,
|
|
702
|
+
sequence: '308',
|
|
703
|
+
msgs: [
|
|
704
|
+
{
|
|
705
|
+
__type: 'OsmosisSwapMessage',
|
|
706
|
+
type: 'osmosis/gamm/swap-exact-amount-in',
|
|
707
|
+
value: {
|
|
708
|
+
sender: 'osmo1unf2rcytjxfpz8x8ar63h4qeftadptg5t0nqcl',
|
|
709
|
+
routes: [
|
|
710
|
+
{
|
|
711
|
+
pool_id: '498',
|
|
712
|
+
token_out_denom:
|
|
713
|
+
'ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2',
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
pool_id: '8',
|
|
717
|
+
token_out_denom:
|
|
718
|
+
'ibc/7C4D60AA95E5A7558B0A364860979CA34B7FF8AAF255B87AF9E879374470CEC0',
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
pool_id: '7',
|
|
722
|
+
token_out_denom: 'uosmo',
|
|
723
|
+
},
|
|
724
|
+
],
|
|
725
|
+
token_in: {
|
|
726
|
+
denom: 'ibc/46B44899322F3CD854D2D46DEEF881958467CDD4B3B10086DA49296BBED94BED',
|
|
727
|
+
amount: '1000000',
|
|
728
|
+
},
|
|
729
|
+
token_out_min_amount: '1525264',
|
|
730
|
+
},
|
|
731
|
+
},
|
|
732
|
+
],
|
|
733
|
+
protoMsgs: [
|
|
734
|
+
{
|
|
735
|
+
type_url: '/osmosis.gamm.v1beta1.MsgSwapExactAmountIn',
|
|
736
|
+
value: [
|
|
737
|
+
10, 43, 111, 115, 109, 111, 49, 117, 110, 102, 50, 114, 99, 121, 116, 106, 120,
|
|
738
|
+
102, 112, 122, 56, 120, 56, 97, 114, 54, 51, 104, 52, 113, 101, 102, 116, 97, 100,
|
|
739
|
+
112, 116, 103, 53, 116, 48, 110, 113, 99, 108, 18, 73, 8, -14, 3, 18, 68, 105, 98,
|
|
740
|
+
99, 47, 50, 55, 51, 57, 52, 70, 66, 48, 57, 50, 68, 50, 69, 67, 67, 68, 53, 54,
|
|
741
|
+
49, 50, 51, 67, 55, 52, 70, 51, 54, 69, 52, 67, 49, 70, 57, 50, 54, 48, 48, 49,
|
|
742
|
+
67, 69, 65, 68, 65, 57, 67, 65, 57, 55, 69, 65, 54, 50, 50, 66, 50, 53, 70, 52,
|
|
743
|
+
49, 69, 53, 69, 66, 50, 18, 72, 8, 8, 18, 68, 105, 98, 99, 47, 55, 67, 52, 68, 54,
|
|
744
|
+
48, 65, 65, 57, 53, 69, 53, 65, 55, 53, 53, 56, 66, 48, 65, 51, 54, 52, 56, 54,
|
|
745
|
+
48, 57, 55, 57, 67, 65, 51, 52, 66, 55, 70, 70, 56, 65, 65, 70, 50, 53, 53, 66,
|
|
746
|
+
56, 55, 65, 70, 57, 69, 56, 55, 57, 51, 55, 52, 52, 55, 48, 67, 69, 67, 48, 18, 9,
|
|
747
|
+
8, 7, 18, 5, 117, 111, 115, 109, 111, 26, 79, 10, 68, 105, 98, 99, 47, 52, 54, 66,
|
|
748
|
+
52, 52, 56, 57, 57, 51, 50, 50, 70, 51, 67, 68, 56, 53, 52, 68, 50, 68, 52, 54,
|
|
749
|
+
68, 69, 69, 70, 56, 56, 49, 57, 53, 56, 52, 54, 55, 67, 68, 68, 52, 66, 51, 66,
|
|
750
|
+
49, 48, 48, 56, 54, 68, 65, 52, 57, 50, 57, 54, 66, 66, 69, 68, 57, 52, 66, 69,
|
|
751
|
+
68, 18, 7, 49, 48, 48, 48, 48, 48, 48, 34, 7, 49, 53, 50, 53, 50, 54, 52,
|
|
752
|
+
],
|
|
753
|
+
},
|
|
754
|
+
],
|
|
755
|
+
memo: '',
|
|
756
|
+
source: null,
|
|
757
|
+
fee: {
|
|
758
|
+
gas: '900000',
|
|
759
|
+
amount: [
|
|
760
|
+
{
|
|
761
|
+
denom: 'uosmo',
|
|
762
|
+
amount: '0',
|
|
763
|
+
},
|
|
764
|
+
],
|
|
765
|
+
},
|
|
766
|
+
signType: 'AMINO',
|
|
767
|
+
rpcUrl: null,
|
|
768
|
+
},
|
|
769
|
+
rawTransfer: null,
|
|
770
|
+
},
|
|
771
|
+
solanaTransaction: null,
|
|
772
|
+
evmTransaction: null,
|
|
773
|
+
evmApprovalTransaction: null,
|
|
774
|
+
transferTransaction: null,
|
|
775
|
+
diagnosisUrl: null,
|
|
776
|
+
internalSteps: null,
|
|
777
|
+
},
|
|
778
|
+
],
|
|
779
|
+
},
|
|
780
|
+
];
|
|
781
|
+
|
|
782
|
+
export function HistoryPage() {
|
|
783
|
+
const navigate = useNavigate();
|
|
784
|
+
return (
|
|
785
|
+
<History
|
|
786
|
+
list={pendingSwap}
|
|
787
|
+
onSwapClick={() => navigate(navigationRoutes.swapDetails)}
|
|
788
|
+
onBack={() => {
|
|
789
|
+
navigate(-1);
|
|
790
|
+
}}
|
|
791
|
+
/>
|
|
792
|
+
);
|
|
793
|
+
}
|