@metamask-previews/assets-controllers 56.0.0-preview-c7dcfd5a → 56.0.0-preview-9d7b1fa6

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 (42) hide show
  1. package/CHANGELOG.md +0 -5
  2. package/dist/DeFiPositionsController/DeFiPositionsController.cjs +79 -0
  3. package/dist/DeFiPositionsController/DeFiPositionsController.cjs.map +1 -0
  4. package/dist/DeFiPositionsController/DeFiPositionsController.d.cts +55 -0
  5. package/dist/DeFiPositionsController/DeFiPositionsController.d.cts.map +1 -0
  6. package/dist/DeFiPositionsController/DeFiPositionsController.d.mts +55 -0
  7. package/dist/DeFiPositionsController/DeFiPositionsController.d.mts.map +1 -0
  8. package/dist/DeFiPositionsController/DeFiPositionsController.mjs +74 -0
  9. package/dist/DeFiPositionsController/DeFiPositionsController.mjs.map +1 -0
  10. package/dist/DeFiPositionsController/fetch-positions.cjs +22 -0
  11. package/dist/DeFiPositionsController/fetch-positions.cjs.map +1 -0
  12. package/dist/DeFiPositionsController/fetch-positions.d.cts +59 -0
  13. package/dist/DeFiPositionsController/fetch-positions.d.cts.map +1 -0
  14. package/dist/DeFiPositionsController/fetch-positions.d.mts +59 -0
  15. package/dist/DeFiPositionsController/fetch-positions.d.mts.map +1 -0
  16. package/dist/DeFiPositionsController/fetch-positions.mjs +18 -0
  17. package/dist/DeFiPositionsController/fetch-positions.mjs.map +1 -0
  18. package/dist/DeFiPositionsController/group-positions.cjs +97 -0
  19. package/dist/DeFiPositionsController/group-positions.cjs.map +1 -0
  20. package/dist/DeFiPositionsController/group-positions.d.cts +36 -0
  21. package/dist/DeFiPositionsController/group-positions.d.cts.map +1 -0
  22. package/dist/DeFiPositionsController/group-positions.d.mts +36 -0
  23. package/dist/DeFiPositionsController/group-positions.d.mts.map +1 -0
  24. package/dist/DeFiPositionsController/group-positions.mjs +94 -0
  25. package/dist/DeFiPositionsController/group-positions.mjs.map +1 -0
  26. package/dist/DeFiPositionsController/mocks/mock-responses.cjs +600 -0
  27. package/dist/DeFiPositionsController/mocks/mock-responses.cjs.map +1 -0
  28. package/dist/DeFiPositionsController/mocks/mock-responses.d.cts +22 -0
  29. package/dist/DeFiPositionsController/mocks/mock-responses.d.cts.map +1 -0
  30. package/dist/DeFiPositionsController/mocks/mock-responses.d.mts +22 -0
  31. package/dist/DeFiPositionsController/mocks/mock-responses.d.mts.map +1 -0
  32. package/dist/DeFiPositionsController/mocks/mock-responses.mjs +597 -0
  33. package/dist/DeFiPositionsController/mocks/mock-responses.mjs.map +1 -0
  34. package/dist/index.cjs +3 -1
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/index.d.cts +3 -0
  37. package/dist/index.d.cts.map +1 -1
  38. package/dist/index.d.mts +3 -0
  39. package/dist/index.d.mts.map +1 -1
  40. package/dist/index.mjs +1 -0
  41. package/dist/index.mjs.map +1 -1
  42. package/package.json +7 -7
@@ -0,0 +1,600 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MOCK_DEFI_RESPONSE_COMPLEX = exports.MOCK_DEFI_RESPONSE_BORROW = exports.MOCK_DEFI_RESPONSE_NO_PRICES = exports.MOCK_DEFI_RESPONSE_FAILED_ENTRY = exports.MOCK_DEFI_RESPONSE_MULTI_CHAIN = void 0;
4
+ /**
5
+ * Entries are from different chains
6
+ */
7
+ exports.MOCK_DEFI_RESPONSE_MULTI_CHAIN = [
8
+ {
9
+ protocolId: 'aave-v3',
10
+ name: 'Aave v3 AToken',
11
+ description: 'Aave v3 defi adapter for yield-generating token',
12
+ siteUrl: 'https://aave.com/',
13
+ iconUrl: 'https://cryptologos.cc/logos/aave-aave-logo.png',
14
+ positionType: 'supply',
15
+ chainId: 1,
16
+ productId: 'a-token',
17
+ chainName: 'ethereum',
18
+ metadata: {
19
+ groupPositions: true,
20
+ },
21
+ success: true,
22
+ tokens: [
23
+ {
24
+ address: '0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8',
25
+ name: 'Aave Ethereum WETH',
26
+ symbol: 'aEthWETH',
27
+ decimals: 18,
28
+ balanceRaw: '5000000000000000000',
29
+ balance: 5,
30
+ type: 'protocol',
31
+ tokens: [
32
+ {
33
+ address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
34
+ name: 'Wrapped Ether',
35
+ symbol: 'WETH',
36
+ decimals: 18,
37
+ type: 'underlying',
38
+ balanceRaw: '5000000000000000000',
39
+ balance: 5,
40
+ price: 1000,
41
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
42
+ },
43
+ ],
44
+ },
45
+ ],
46
+ },
47
+ {
48
+ protocolId: 'aave-v3',
49
+ name: 'Aave v3 AToken',
50
+ description: 'Aave v3 defi adapter for yield-generating token',
51
+ siteUrl: 'https://aave.com/',
52
+ iconUrl: 'https://cryptologos.cc/logos/aave-aave-logo.png',
53
+ positionType: 'supply',
54
+ chainId: 8453,
55
+ productId: 'a-token',
56
+ chainName: 'base',
57
+ metadata: {
58
+ groupPositions: true,
59
+ },
60
+ success: true,
61
+ tokens: [
62
+ {
63
+ address: '0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8',
64
+ name: 'Aave Ethereum WETH',
65
+ symbol: 'aEthWETH',
66
+ decimals: 18,
67
+ balanceRaw: '5000000000000000000',
68
+ balance: 5,
69
+ type: 'protocol',
70
+ tokens: [
71
+ {
72
+ address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
73
+ name: 'Wrapped Ether',
74
+ symbol: 'WETH',
75
+ decimals: 18,
76
+ type: 'underlying',
77
+ balanceRaw: '5000000000000000000',
78
+ balance: 5,
79
+ price: 1000,
80
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
81
+ },
82
+ ],
83
+ },
84
+ ],
85
+ },
86
+ ];
87
+ /**
88
+ * The first entry is a failed entry
89
+ */
90
+ exports.MOCK_DEFI_RESPONSE_FAILED_ENTRY = [
91
+ {
92
+ protocolId: 'aave-v3',
93
+ name: 'Aave v3 VariableDebtToken',
94
+ description: 'Aave v3 defi adapter for variable interest-accruing token',
95
+ siteUrl: 'https://aave.com/',
96
+ iconUrl: 'https://cryptologos.cc/logos/aave-aave-logo.png',
97
+ positionType: 'borrow',
98
+ chainId: 1,
99
+ productId: 'variable-debt-token',
100
+ chainName: 'ethereum',
101
+ metadata: {
102
+ groupPositions: true,
103
+ },
104
+ success: false,
105
+ error: {
106
+ message: 'Failed to fetch positions',
107
+ },
108
+ },
109
+ {
110
+ protocolId: 'aave-v3',
111
+ name: 'Aave v3 AToken',
112
+ description: 'Aave v3 defi adapter for yield-generating token',
113
+ siteUrl: 'https://aave.com/',
114
+ iconUrl: 'https://cryptologos.cc/logos/aave-aave-logo.png',
115
+ positionType: 'supply',
116
+ chainId: 1,
117
+ productId: 'a-token',
118
+ chainName: 'ethereum',
119
+ metadata: {
120
+ groupPositions: true,
121
+ },
122
+ success: true,
123
+ tokens: [
124
+ {
125
+ address: '0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8',
126
+ name: 'Aave Ethereum WETH',
127
+ symbol: 'aEthWETH',
128
+ decimals: 18,
129
+ balanceRaw: '5000000000000000000',
130
+ balance: 5,
131
+ type: 'protocol',
132
+ tokens: [
133
+ {
134
+ address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
135
+ name: 'Wrapped Ether',
136
+ symbol: 'WETH',
137
+ decimals: 18,
138
+ type: 'underlying',
139
+ balanceRaw: '5000000000000000000',
140
+ balance: 5,
141
+ price: 1000,
142
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
143
+ },
144
+ ],
145
+ },
146
+ ],
147
+ },
148
+ ];
149
+ /**
150
+ * The second entry has no price
151
+ */
152
+ exports.MOCK_DEFI_RESPONSE_NO_PRICES = [
153
+ {
154
+ protocolId: 'aave-v3',
155
+ name: 'Aave v3 AToken',
156
+ description: 'Aave v3 defi adapter for yield-generating token',
157
+ siteUrl: 'https://aave.com/',
158
+ iconUrl: 'https://cryptologos.cc/logos/aave-aave-logo.png',
159
+ positionType: 'supply',
160
+ chainId: 1,
161
+ productId: 'a-token',
162
+ chainName: 'ethereum',
163
+ metadata: {
164
+ groupPositions: true,
165
+ },
166
+ success: true,
167
+ tokens: [
168
+ {
169
+ address: '0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8',
170
+ name: 'Aave Ethereum WETH',
171
+ symbol: 'aEthWETH',
172
+ decimals: 18,
173
+ balanceRaw: '40000000000000000',
174
+ balance: 0.04,
175
+ type: 'protocol',
176
+ tokens: [
177
+ {
178
+ address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
179
+ name: 'Wrapped Ether',
180
+ symbol: 'WETH',
181
+ decimals: 18,
182
+ type: 'underlying',
183
+ balanceRaw: '40000000000000000',
184
+ balance: 0.04,
185
+ price: 1000,
186
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
187
+ },
188
+ ],
189
+ },
190
+ {
191
+ address: '0x5Ee5bf7ae06D1Be5997A1A72006FE6C607eC6DE8',
192
+ name: 'Aave Ethereum WBTC',
193
+ symbol: 'aEthWBTC',
194
+ decimals: 8,
195
+ balanceRaw: '300000000',
196
+ balance: 3,
197
+ type: 'protocol',
198
+ tokens: [
199
+ {
200
+ address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
201
+ name: 'Wrapped BTC',
202
+ symbol: 'WBTC',
203
+ decimals: 8,
204
+ type: 'underlying',
205
+ balanceRaw: '300000000',
206
+ balance: 3,
207
+ price: undefined,
208
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo.png',
209
+ },
210
+ ],
211
+ },
212
+ ],
213
+ },
214
+ ];
215
+ /**
216
+ * The second entry is a borrow position
217
+ */
218
+ exports.MOCK_DEFI_RESPONSE_BORROW = [
219
+ {
220
+ protocolId: 'aave-v3',
221
+ name: 'Aave v3 AToken',
222
+ description: 'Aave v3 defi adapter for yield-generating token',
223
+ siteUrl: 'https://aave.com/',
224
+ iconUrl: 'https://cryptologos.cc/logos/aave-aave-logo.png',
225
+ positionType: 'supply',
226
+ chainId: 1,
227
+ productId: 'a-token',
228
+ chainName: 'ethereum',
229
+ metadata: {
230
+ groupPositions: true,
231
+ },
232
+ success: true,
233
+ tokens: [
234
+ {
235
+ address: '0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8',
236
+ name: 'Aave Ethereum WETH',
237
+ symbol: 'aEthWETH',
238
+ decimals: 18,
239
+ balanceRaw: '40000000000000000',
240
+ balance: 0.04,
241
+ type: 'protocol',
242
+ tokens: [
243
+ {
244
+ address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
245
+ name: 'Wrapped Ether',
246
+ symbol: 'WETH',
247
+ decimals: 18,
248
+ type: 'underlying',
249
+ balanceRaw: '40000000000000000',
250
+ balance: 0.04,
251
+ price: 1000,
252
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
253
+ },
254
+ ],
255
+ },
256
+ {
257
+ address: '0x5Ee5bf7ae06D1Be5997A1A72006FE6C607eC6DE8',
258
+ name: 'Aave Ethereum WBTC',
259
+ symbol: 'aEthWBTC',
260
+ decimals: 8,
261
+ balanceRaw: '300000000',
262
+ balance: 3,
263
+ type: 'protocol',
264
+ tokens: [
265
+ {
266
+ address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
267
+ name: 'Wrapped BTC',
268
+ symbol: 'WBTC',
269
+ decimals: 8,
270
+ type: 'underlying',
271
+ balanceRaw: '300000000',
272
+ balance: 3,
273
+ price: 500,
274
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo.png',
275
+ },
276
+ ],
277
+ },
278
+ ],
279
+ },
280
+ {
281
+ protocolId: 'aave-v3',
282
+ name: 'Aave v3 VariableDebtToken',
283
+ description: 'Aave v3 defi adapter for variable interest-accruing token',
284
+ siteUrl: 'https://aave.com/',
285
+ iconUrl: 'https://cryptologos.cc/logos/aave-aave-logo.png',
286
+ positionType: 'borrow',
287
+ chainId: 1,
288
+ productId: 'variable-debt-token',
289
+ chainName: 'ethereum',
290
+ metadata: {
291
+ groupPositions: true,
292
+ },
293
+ success: true,
294
+ tokens: [
295
+ {
296
+ address: '0x6df1C1E379bC5a00a7b4C6e67A203333772f45A8',
297
+ name: 'Aave Ethereum Variable Debt USDT',
298
+ symbol: 'variableDebtEthUSDT',
299
+ decimals: 6,
300
+ balanceRaw: '1000000000',
301
+ type: 'protocol',
302
+ tokens: [
303
+ {
304
+ address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
305
+ name: 'Tether USD',
306
+ symbol: 'USDT',
307
+ decimals: 6,
308
+ type: 'underlying',
309
+ balanceRaw: '1000000000',
310
+ balance: 1000,
311
+ price: 1,
312
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png',
313
+ },
314
+ ],
315
+ balance: 1000,
316
+ },
317
+ ],
318
+ },
319
+ ];
320
+ /**
321
+ * Complex mock with multiple chains, failed entries, borrow positions, etc.
322
+ */
323
+ exports.MOCK_DEFI_RESPONSE_COMPLEX = [
324
+ {
325
+ protocolId: 'aave-v3',
326
+ name: 'Aave v3 AToken',
327
+ description: 'Aave v3 defi adapter for yield-generating token',
328
+ siteUrl: 'https://aave.com/',
329
+ iconUrl: 'https://cryptologos.cc/logos/aave-aave-logo.png',
330
+ positionType: 'supply',
331
+ chainId: 1,
332
+ productId: 'a-token',
333
+ chainName: 'ethereum',
334
+ metadata: {
335
+ groupPositions: true,
336
+ },
337
+ success: true,
338
+ tokens: [
339
+ {
340
+ address: '0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8',
341
+ name: 'Aave Ethereum WETH',
342
+ symbol: 'aEthWETH',
343
+ decimals: 18,
344
+ balanceRaw: '40000000000000000',
345
+ balance: 0.04,
346
+ type: 'protocol',
347
+ tokens: [
348
+ {
349
+ address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
350
+ name: 'Wrapped Ether',
351
+ symbol: 'WETH',
352
+ decimals: 18,
353
+ type: 'underlying',
354
+ balanceRaw: '40000000000000000',
355
+ balance: 0.04,
356
+ price: 1000,
357
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
358
+ },
359
+ ],
360
+ },
361
+ {
362
+ address: '0x5Ee5bf7ae06D1Be5997A1A72006FE6C607eC6DE8',
363
+ name: 'Aave Ethereum WBTC',
364
+ symbol: 'aEthWBTC',
365
+ decimals: 8,
366
+ balanceRaw: '300000000',
367
+ balance: 3,
368
+ type: 'protocol',
369
+ tokens: [
370
+ {
371
+ address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
372
+ name: 'Wrapped BTC',
373
+ symbol: 'WBTC',
374
+ decimals: 8,
375
+ type: 'underlying',
376
+ balanceRaw: '300000000',
377
+ balance: 3,
378
+ price: 500,
379
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo.png',
380
+ },
381
+ ],
382
+ },
383
+ ],
384
+ },
385
+ {
386
+ protocolId: 'aave-v3',
387
+ name: 'Aave v3 VariableDebtToken',
388
+ description: 'Aave v3 defi adapter for variable interest-accruing token',
389
+ siteUrl: 'https://aave.com/',
390
+ iconUrl: 'https://cryptologos.cc/logos/aave-aave-logo.png',
391
+ positionType: 'borrow',
392
+ chainId: 1,
393
+ productId: 'variable-debt-token',
394
+ chainName: 'ethereum',
395
+ metadata: {
396
+ groupPositions: true,
397
+ },
398
+ success: true,
399
+ tokens: [
400
+ {
401
+ address: '0x6df1C1E379bC5a00a7b4C6e67A203333772f45A8',
402
+ name: 'Aave Ethereum Variable Debt USDT',
403
+ symbol: 'variableDebtEthUSDT',
404
+ decimals: 6,
405
+ balanceRaw: '1000000000',
406
+ type: 'protocol',
407
+ tokens: [
408
+ {
409
+ address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
410
+ name: 'Tether USD',
411
+ symbol: 'USDT',
412
+ decimals: 6,
413
+ type: 'underlying',
414
+ balanceRaw: '1000000000',
415
+ balance: 1000,
416
+ price: 1,
417
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png',
418
+ },
419
+ ],
420
+ balance: 1000,
421
+ },
422
+ ],
423
+ },
424
+ {
425
+ protocolId: 'lido',
426
+ name: 'Lido wstEth',
427
+ description: 'Lido defi adapter for wstEth',
428
+ siteUrl: 'https://stake.lido.fi/wrap',
429
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84/logo.png',
430
+ positionType: 'stake',
431
+ chainId: 1,
432
+ productId: 'wst-eth',
433
+ chainName: 'ethereum',
434
+ success: true,
435
+ tokens: [
436
+ {
437
+ address: '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0',
438
+ name: 'Wrapped liquid staked Ether 2.0',
439
+ symbol: 'wstETH',
440
+ decimals: 18,
441
+ balanceRaw: '800000000000000000000',
442
+ balance: 800,
443
+ type: 'protocol',
444
+ tokens: [
445
+ {
446
+ address: '0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84',
447
+ name: 'Liquid staked Ether 2.0',
448
+ symbol: 'stETH',
449
+ decimals: 18,
450
+ type: 'underlying',
451
+ balanceRaw: '1000000000000000000',
452
+ balance: 10,
453
+ price: 2000,
454
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84/logo.png',
455
+ tokens: [
456
+ {
457
+ address: '0x0000000000000000000000000000000000000000',
458
+ name: 'Ethereum',
459
+ symbol: 'ETH',
460
+ decimals: 18,
461
+ type: 'underlying',
462
+ balanceRaw: '1000000000000000000',
463
+ balance: 10,
464
+ price: 2000,
465
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/info/logo.png',
466
+ },
467
+ ],
468
+ },
469
+ ],
470
+ },
471
+ ],
472
+ },
473
+ {
474
+ protocolId: 'uniswap-v3',
475
+ name: 'UniswapV3',
476
+ description: 'UniswapV3 defi adapter',
477
+ siteUrl: 'https://uniswap.org/',
478
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984/logo.png',
479
+ positionType: 'supply',
480
+ chainId: 8453,
481
+ productId: 'pool',
482
+ chainName: 'base',
483
+ success: true,
484
+ tokens: [
485
+ {
486
+ address: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
487
+ tokenId: '940758',
488
+ name: 'GASP / USDT - 0.3%',
489
+ symbol: 'GASP / USDT - 0.3%',
490
+ decimals: 18,
491
+ balanceRaw: '1000000000000000000',
492
+ balance: 1,
493
+ type: 'protocol',
494
+ tokens: [
495
+ {
496
+ address: '0x736ECc5237B31eDec6f1aB9a396FaE2416b1d96E',
497
+ name: 'GASP',
498
+ symbol: 'GASP',
499
+ decimals: 18,
500
+ balanceRaw: '100000000000000000000',
501
+ type: 'underlying',
502
+ balance: 100,
503
+ price: 0.1,
504
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x736ECc5237B31eDec6f1aB9a396FaE2416b1d96E/logo.png',
505
+ },
506
+ {
507
+ address: '0x736ECc5237B31eDec6f1aB9a396FaE2416b1d96E',
508
+ name: 'GASP',
509
+ symbol: 'GASP',
510
+ decimals: 18,
511
+ balanceRaw: '10000000000000000000',
512
+ type: 'underlying-claimable',
513
+ balance: 10,
514
+ price: 0.1,
515
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x736ECc5237B31eDec6f1aB9a396FaE2416b1d96E/logo.png',
516
+ },
517
+ {
518
+ address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
519
+ name: 'Tether USD',
520
+ symbol: 'USDT',
521
+ decimals: 6,
522
+ balanceRaw: '500000000',
523
+ type: 'underlying',
524
+ balance: 500,
525
+ price: 1,
526
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png',
527
+ },
528
+ {
529
+ address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
530
+ name: 'Tether USD',
531
+ symbol: 'USDT',
532
+ decimals: 6,
533
+ balanceRaw: '2000000',
534
+ type: 'underlying-claimable',
535
+ balance: 2,
536
+ price: 1,
537
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png',
538
+ },
539
+ ],
540
+ },
541
+ {
542
+ address: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
543
+ tokenId: '940760',
544
+ name: 'GASP / USDT - 0.3%',
545
+ symbol: 'GASP / USDT - 0.3%',
546
+ decimals: 18,
547
+ balanceRaw: '2000000000000000000',
548
+ balance: 2,
549
+ type: 'protocol',
550
+ tokens: [
551
+ {
552
+ address: '0x736ECc5237B31eDec6f1aB9a396FaE2416b1d96E',
553
+ name: 'GASP',
554
+ symbol: 'GASP',
555
+ decimals: 18,
556
+ balanceRaw: '90000000000000000000000',
557
+ type: 'underlying',
558
+ balance: 90000,
559
+ price: 0.1,
560
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x736ECc5237B31eDec6f1aB9a396FaE2416b1d96E/logo.png',
561
+ },
562
+ {
563
+ address: '0x736ECc5237B31eDec6f1aB9a396FaE2416b1d96E',
564
+ name: 'GASP',
565
+ symbol: 'GASP',
566
+ decimals: 18,
567
+ balanceRaw: '50000000000000000000',
568
+ type: 'underlying-claimable',
569
+ balance: 50,
570
+ price: 0.1,
571
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x736ECc5237B31eDec6f1aB9a396FaE2416b1d96E/logo.png',
572
+ },
573
+ {
574
+ address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
575
+ name: 'Tether USD',
576
+ symbol: 'USDT',
577
+ decimals: 6,
578
+ balanceRaw: '60000000',
579
+ type: 'underlying',
580
+ balance: 60,
581
+ price: 1,
582
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png',
583
+ },
584
+ {
585
+ address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
586
+ name: 'Tether USD',
587
+ symbol: 'USDT',
588
+ decimals: 6,
589
+ balanceRaw: '2000000',
590
+ type: 'underlying-claimable',
591
+ balance: 2,
592
+ price: 1,
593
+ iconUrl: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png',
594
+ },
595
+ ],
596
+ },
597
+ ],
598
+ },
599
+ ];
600
+ //# sourceMappingURL=mock-responses.cjs.map