@0xtorch/core 0.0.32 → 0.0.33

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 (110) hide show
  1. package/_cjs/actions/schemas/action.js.map +1 -1
  2. package/_esm/actions/schemas/action.js.map +1 -1
  3. package/_types/actions/schemas/action.d.ts +103 -80694
  4. package/_types/actions/schemas/action.d.ts.map +1 -1
  5. package/_types/actions/schemas/borrow/borrow.d.ts +3523 -342
  6. package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
  7. package/_types/actions/schemas/crossActionBundle.d.ts +6773 -1121
  8. package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
  9. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +3528 -347
  10. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
  11. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +3525 -344
  12. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
  13. package/_types/actions/schemas/crossReplace/crossReplace.d.ts +2862 -389
  14. package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
  15. package/_types/actions/schemas/crossTrade/crossTrade.d.ts +2862 -389
  16. package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
  17. package/_types/actions/schemas/default/accountAction.d.ts +387 -375
  18. package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
  19. package/_types/actions/schemas/default/normalAction.d.ts +382 -369
  20. package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
  21. package/_types/actions/schemas/default/transfer.d.ts +2932 -1323
  22. package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
  23. package/_types/actions/schemas/deposit/addLiquidity.d.ts +4667 -774
  24. package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
  25. package/_types/actions/schemas/deposit/deposit.d.ts +3526 -345
  26. package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
  27. package/_types/actions/schemas/deposit/depositWithBond.d.ts +4667 -774
  28. package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
  29. package/_types/actions/schemas/deposit/stake.d.ts +3526 -345
  30. package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
  31. package/_types/actions/schemas/fee/fee.d.ts +3510 -331
  32. package/_types/actions/schemas/fee/fee.d.ts.map +1 -1
  33. package/_types/actions/schemas/fee/transactionFee.d.ts +3038 -215
  34. package/_types/actions/schemas/fee/transactionFee.d.ts.map +1 -1
  35. package/_types/actions/schemas/ignore/approve.d.ts +2485 -18
  36. package/_types/actions/schemas/ignore/approve.d.ts.map +1 -1
  37. package/_types/actions/schemas/ignore/failTx.d.ts +2485 -18
  38. package/_types/actions/schemas/ignore/failTx.d.ts.map +1 -1
  39. package/_types/actions/schemas/ignore/ignore.d.ts +136 -130
  40. package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
  41. package/_types/actions/schemas/ignore/move.d.ts +136 -130
  42. package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
  43. package/_types/actions/schemas/ignore/receiveFromCex.d.ts +3518 -339
  44. package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
  45. package/_types/actions/schemas/ignore/revoke.d.ts +2485 -18
  46. package/_types/actions/schemas/ignore/revoke.d.ts.map +1 -1
  47. package/_types/actions/schemas/ignore/sendToCex.d.ts +3521 -342
  48. package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
  49. package/_types/actions/schemas/ignore/spam.d.ts +4663 -772
  50. package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
  51. package/_types/actions/schemas/income/atomicArbitrage.d.ts +3559 -380
  52. package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
  53. package/_types/actions/schemas/income/freeMintNft.d.ts +3014 -191
  54. package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -1
  55. package/_types/actions/schemas/income/income.d.ts +2682 -213
  56. package/_types/actions/schemas/income/income.d.ts.map +1 -1
  57. package/_types/actions/schemas/income/nftRoyalty.d.ts +1629 -39
  58. package/_types/actions/schemas/income/nftRoyalty.d.ts.map +1 -1
  59. package/_types/actions/schemas/income/swapIncome.d.ts +1636 -46
  60. package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
  61. package/_types/actions/schemas/reduce/reduce.d.ts +1636 -46
  62. package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
  63. package/_types/actions/schemas/repayment/repayment.d.ts +3526 -345
  64. package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
  65. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +4667 -774
  66. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
  67. package/_types/actions/schemas/replace/replace.d.ts +4663 -772
  68. package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
  69. package/_types/actions/schemas/replace/swapNft.d.ts +3510 -331
  70. package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -1
  71. package/_types/actions/schemas/replace/unwrap.d.ts +3559 -380
  72. package/_types/actions/schemas/replace/unwrap.d.ts.map +1 -1
  73. package/_types/actions/schemas/replace/wrap.d.ts +3559 -380
  74. package/_types/actions/schemas/replace/wrap.d.ts.map +1 -1
  75. package/_types/actions/schemas/trade/buyCrypto.d.ts +3506 -327
  76. package/_types/actions/schemas/trade/buyCrypto.d.ts.map +1 -1
  77. package/_types/actions/schemas/trade/buyNft.d.ts +4144 -609
  78. package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
  79. package/_types/actions/schemas/trade/mintNft.d.ts +4144 -609
  80. package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
  81. package/_types/actions/schemas/trade/sellCrypto.d.ts +3514 -335
  82. package/_types/actions/schemas/trade/sellCrypto.d.ts.map +1 -1
  83. package/_types/actions/schemas/trade/sellNft.d.ts +4144 -609
  84. package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
  85. package/_types/actions/schemas/trade/trade.d.ts +2854 -383
  86. package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
  87. package/_types/actions/schemas/transfer/swapTransfer.d.ts +1636 -46
  88. package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
  89. package/_types/actions/schemas/transfer/transfer.d.ts +1388 -148
  90. package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
  91. package/_types/actions/schemas/valuedown/valuedown.d.ts +2756 -287
  92. package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
  93. package/_types/actions/schemas/valueup/valueup.d.ts +2761 -292
  94. package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
  95. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +4667 -774
  96. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
  97. package/_types/actions/schemas/withdraw/unstake.d.ts +3523 -342
  98. package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
  99. package/_types/actions/schemas/withdraw/withdraw.d.ts +3523 -342
  100. package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
  101. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +4667 -774
  102. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
  103. package/_types/apps/schemas.d.ts +3 -3
  104. package/_types/assets/schemas/asset.d.ts +3 -3
  105. package/_types/assets/schemas/nft.d.ts +3 -3
  106. package/actions/schemas/action.ts +92 -2
  107. package/package.json +2 -2
  108. package/.DS_Store +0 -0
  109. package/actions/.DS_Store +0 -0
  110. package/assets/.DS_Store +0 -0
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod';
2
- export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
3
- type: z.ZodLiteral<"LoanNormalAction">;
4
- timestamp: z.ZodNumber;
2
+ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ type: z.ZodLiteral<"NormalAction">;
4
+ action: z.ZodUnion<[z.ZodLiteral<"add-liquidity">, z.ZodLiteral<"approve">, z.ZodLiteral<"atomic-arbitrage">, z.ZodLiteral<"borrow">, z.ZodLiteral<"bridge-from">, z.ZodLiteral<"bridge-to">, z.ZodLiteral<"buy-nft">, z.ZodLiteral<"buy-crypto">, z.ZodLiteral<"cross-replace">, z.ZodLiteral<"cross-trade">, z.ZodLiteral<"deposit">, z.ZodLiteral<"deposit-with-bond">, z.ZodLiteral<"fail-tx">, z.ZodLiteral<"fee">, z.ZodLiteral<"free-mint-nft">, z.ZodLiteral<"mint-nft">, z.ZodLiteral<"remove-liquidity">, z.ZodLiteral<"repayment">, z.ZodLiteral<"repayment-with-debt">, z.ZodLiteral<"revoke">, z.ZodLiteral<"sell-crypto">, z.ZodLiteral<"spam">, z.ZodLiteral<"stake">, z.ZodLiteral<"swap-nft">, z.ZodLiteral<"trade">, z.ZodLiteral<"transaction-fee">, z.ZodLiteral<"transfer">, z.ZodLiteral<"unstake">, z.ZodLiteral<"unwrap">, z.ZodLiteral<"valuedown">, z.ZodLiteral<"valueup">, z.ZodLiteral<"withdraw">, z.ZodLiteral<"withdraw-with-bond">, z.ZodLiteral<"wrap">]>;
5
5
  evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
6
+ timestamp: z.ZodNumber;
6
7
  comment: z.ZodOptional<z.ZodString>;
7
8
  app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
8
9
  id: z.ZodString;
@@ -15,16 +16,16 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
15
16
  id: string;
16
17
  name: string;
17
18
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
19
+ icon?: string | undefined;
18
20
  description?: string | undefined;
19
21
  website?: string | undefined;
20
- icon?: string | undefined;
21
22
  }, {
22
23
  id: string;
23
24
  name: string;
24
25
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
26
+ icon?: string | undefined;
25
27
  description?: string | undefined;
26
28
  website?: string | undefined;
27
- icon?: string | undefined;
28
29
  }>, {
29
30
  description: string | undefined;
30
31
  website: string | undefined;
@@ -36,58 +37,14 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
36
37
  id: string;
37
38
  name: string;
38
39
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
40
+ icon?: string | undefined;
39
41
  description?: string | undefined;
40
42
  website?: string | undefined;
41
- icon?: string | undefined;
42
43
  }>>;
43
- loanId: z.ZodString;
44
- action: z.ZodLiteral<"borrow">;
45
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
46
- price: z.ZodOptional<z.ZodObject<{
47
- cryptoCurrencyId: z.ZodString;
48
- fiatCurrencyId: z.ZodString;
49
- price: z.ZodObject<{
50
- value: z.ZodBigInt;
51
- decimals: z.ZodNumber;
52
- }, "strip", z.ZodTypeAny, {
53
- value: bigint;
54
- decimals: number;
55
- }, {
56
- value: bigint;
57
- decimals: number;
58
- }>;
59
- timestamp: z.ZodNumber;
60
- }, "strip", z.ZodTypeAny, {
61
- cryptoCurrencyId: string;
62
- fiatCurrencyId: string;
63
- price: {
64
- value: bigint;
65
- decimals: number;
66
- };
67
- timestamp: number;
68
- }, {
69
- cryptoCurrencyId: string;
70
- fiatCurrencyId: string;
71
- price: {
72
- value: bigint;
73
- decimals: number;
74
- };
75
- timestamp: number;
76
- }>>;
44
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
77
45
  from: z.ZodOptional<z.ZodString>;
78
46
  to: z.ZodOptional<z.ZodString>;
79
- amount: z.ZodObject<{
80
- value: z.ZodBigInt;
81
- decimals: z.ZodNumber;
82
- }, "strip", z.ZodTypeAny, {
83
- value: bigint;
84
- decimals: number;
85
- }, {
86
- value: bigint;
87
- decimals: number;
88
- }>;
89
- direction: z.ZodLiteral<"in">;
90
- asset: z.ZodEffects<z.ZodObject<{
47
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
91
48
  type: z.ZodLiteral<"CryptoCurrency">;
92
49
  id: z.ZodString;
93
50
  name: z.ZodString;
@@ -192,8 +149,121 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
192
149
  updatedAt: number;
193
150
  icon?: string | undefined;
194
151
  priceDatasourceId?: string | undefined;
152
+ }>, z.ZodEffects<z.ZodObject<{
153
+ type: z.ZodLiteral<"FiatCurrency">;
154
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
155
+ name: z.ZodString;
156
+ symbol: z.ZodString;
157
+ icon: z.ZodOptional<z.ZodString>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ symbol: string;
160
+ type: "FiatCurrency";
161
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
162
+ name: string;
163
+ icon?: string | undefined;
164
+ }, {
165
+ symbol: string;
166
+ type: "FiatCurrency";
167
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
168
+ name: string;
169
+ icon?: string | undefined;
170
+ }>, {
171
+ icon: string | undefined;
172
+ symbol: string;
173
+ type: "FiatCurrency";
174
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
175
+ name: string;
176
+ }, {
177
+ symbol: string;
178
+ type: "FiatCurrency";
179
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
180
+ name: string;
181
+ icon?: string | undefined;
182
+ }>, z.ZodEffects<z.ZodObject<{
183
+ type: z.ZodLiteral<"Nft">;
184
+ id: z.ZodString;
185
+ name: z.ZodOptional<z.ZodString>;
186
+ symbol: z.ZodOptional<z.ZodString>;
187
+ image: z.ZodOptional<z.ZodString>;
188
+ metadata: z.ZodOptional<z.ZodString>;
189
+ updatedAt: z.ZodNumber;
190
+ }, "strip", z.ZodTypeAny, {
191
+ type: "Nft";
192
+ id: string;
193
+ updatedAt: number;
194
+ symbol?: string | undefined;
195
+ name?: string | undefined;
196
+ image?: string | undefined;
197
+ metadata?: string | undefined;
198
+ }, {
199
+ type: "Nft";
200
+ id: string;
201
+ updatedAt: number;
202
+ symbol?: string | undefined;
203
+ name?: string | undefined;
204
+ image?: string | undefined;
205
+ metadata?: string | undefined;
206
+ }>, {
207
+ name: string | undefined;
208
+ symbol: string | undefined;
209
+ image: string | undefined;
210
+ metadata: string | undefined;
211
+ type: "Nft";
212
+ id: string;
213
+ updatedAt: number;
214
+ }, {
215
+ type: "Nft";
216
+ id: string;
217
+ updatedAt: number;
218
+ symbol?: string | undefined;
219
+ name?: string | undefined;
220
+ image?: string | undefined;
221
+ metadata?: string | undefined;
222
+ }>]>;
223
+ amount: z.ZodObject<{
224
+ value: z.ZodBigInt;
225
+ decimals: z.ZodNumber;
226
+ }, "strip", z.ZodTypeAny, {
227
+ value: bigint;
228
+ decimals: number;
229
+ }, {
230
+ value: bigint;
231
+ decimals: number;
195
232
  }>;
196
- }, "strip", z.ZodTypeAny, {
233
+ price: z.ZodOptional<z.ZodObject<{
234
+ cryptoCurrencyId: z.ZodString;
235
+ fiatCurrencyId: z.ZodString;
236
+ price: z.ZodObject<{
237
+ value: z.ZodBigInt;
238
+ decimals: z.ZodNumber;
239
+ }, "strip", z.ZodTypeAny, {
240
+ value: bigint;
241
+ decimals: number;
242
+ }, {
243
+ value: bigint;
244
+ decimals: number;
245
+ }>;
246
+ timestamp: z.ZodNumber;
247
+ }, "strip", z.ZodTypeAny, {
248
+ cryptoCurrencyId: string;
249
+ fiatCurrencyId: string;
250
+ price: {
251
+ value: bigint;
252
+ decimals: number;
253
+ };
254
+ timestamp: number;
255
+ }, {
256
+ cryptoCurrencyId: string;
257
+ fiatCurrencyId: string;
258
+ price: {
259
+ value: bigint;
260
+ decimals: number;
261
+ };
262
+ timestamp: number;
263
+ }>>;
264
+ }, {
265
+ direction: z.ZodLiteral<"in">;
266
+ }>, "strip", z.ZodTypeAny, {
197
267
  asset: {
198
268
  icon: string | undefined;
199
269
  priceDatasourceId: string | undefined;
@@ -209,6 +279,20 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
209
279
  } | undefined;
210
280
  };
211
281
  updatedAt: number;
282
+ } | {
283
+ icon: string | undefined;
284
+ symbol: string;
285
+ type: "FiatCurrency";
286
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
287
+ name: string;
288
+ } | {
289
+ name: string | undefined;
290
+ symbol: string | undefined;
291
+ image: string | undefined;
292
+ metadata: string | undefined;
293
+ type: "Nft";
294
+ id: string;
295
+ updatedAt: number;
212
296
  };
213
297
  amount: {
214
298
  value: bigint;
@@ -242,6 +326,20 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
242
326
  updatedAt: number;
243
327
  icon?: string | undefined;
244
328
  priceDatasourceId?: string | undefined;
329
+ } | {
330
+ symbol: string;
331
+ type: "FiatCurrency";
332
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
333
+ name: string;
334
+ icon?: string | undefined;
335
+ } | {
336
+ type: "Nft";
337
+ id: string;
338
+ updatedAt: number;
339
+ symbol?: string | undefined;
340
+ name?: string | undefined;
341
+ image?: string | undefined;
342
+ metadata?: string | undefined;
245
343
  };
246
344
  amount: {
247
345
  value: bigint;
@@ -286,6 +384,20 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
286
384
  } | undefined;
287
385
  };
288
386
  updatedAt: number;
387
+ } | {
388
+ icon: string | undefined;
389
+ symbol: string;
390
+ type: "FiatCurrency";
391
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
392
+ name: string;
393
+ } | {
394
+ name: string | undefined;
395
+ symbol: string | undefined;
396
+ image: string | undefined;
397
+ metadata: string | undefined;
398
+ type: "Nft";
399
+ id: string;
400
+ updatedAt: number;
289
401
  };
290
402
  amount: {
291
403
  value: bigint;
@@ -308,6 +420,20 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
308
420
  updatedAt: number;
309
421
  icon?: string | undefined;
310
422
  priceDatasourceId?: string | undefined;
423
+ } | {
424
+ symbol: string;
425
+ type: "FiatCurrency";
426
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
427
+ name: string;
428
+ icon?: string | undefined;
429
+ } | {
430
+ type: "Nft";
431
+ id: string;
432
+ updatedAt: number;
433
+ symbol?: string | undefined;
434
+ name?: string | undefined;
435
+ image?: string | undefined;
436
+ metadata?: string | undefined;
311
437
  };
312
438
  amount: {
313
439
  value: bigint;
@@ -325,52 +451,145 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
325
451
  } | undefined;
326
452
  from?: string | undefined;
327
453
  to?: string | undefined;
328
- }>, z.ZodEffects<z.ZodObject<{
329
- price: z.ZodOptional<z.ZodObject<{
330
- cryptoCurrencyId: z.ZodString;
331
- fiatCurrencyId: z.ZodString;
332
- price: z.ZodObject<{
333
- value: z.ZodBigInt;
334
- decimals: z.ZodNumber;
454
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
455
+ from: z.ZodOptional<z.ZodString>;
456
+ to: z.ZodOptional<z.ZodString>;
457
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
458
+ type: z.ZodLiteral<"CryptoCurrency">;
459
+ id: z.ZodString;
460
+ name: z.ZodString;
461
+ symbol: z.ZodString;
462
+ icon: z.ZodOptional<z.ZodString>;
463
+ market: z.ZodEffects<z.ZodObject<{
464
+ coingeckoId: z.ZodOptional<z.ZodString>;
465
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
466
+ value: z.ZodBigInt;
467
+ decimals: z.ZodNumber;
468
+ }, "strip", z.ZodTypeAny, {
469
+ value: bigint;
470
+ decimals: number;
471
+ }, {
472
+ value: bigint;
473
+ decimals: number;
474
+ }>>;
335
475
  }, "strip", z.ZodTypeAny, {
336
- value: bigint;
337
- decimals: number;
476
+ coingeckoId?: string | undefined;
477
+ marketCapUsd?: {
478
+ value: bigint;
479
+ decimals: number;
480
+ } | undefined;
338
481
  }, {
339
- value: bigint;
340
- decimals: number;
482
+ coingeckoId?: string | undefined;
483
+ marketCapUsd?: {
484
+ value: bigint;
485
+ decimals: number;
486
+ } | undefined;
487
+ }>, {
488
+ coingeckoId: string | undefined;
489
+ marketCapUsd: {
490
+ value: bigint;
491
+ decimals: number;
492
+ } | undefined;
493
+ }, {
494
+ coingeckoId?: string | undefined;
495
+ marketCapUsd?: {
496
+ value: bigint;
497
+ decimals: number;
498
+ } | undefined;
341
499
  }>;
342
- timestamp: z.ZodNumber;
500
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
501
+ updatedAt: z.ZodNumber;
343
502
  }, "strip", z.ZodTypeAny, {
344
- cryptoCurrencyId: string;
345
- fiatCurrencyId: string;
346
- price: {
347
- value: bigint;
348
- decimals: number;
349
- };
350
- timestamp: number;
503
+ symbol: string;
504
+ type: "CryptoCurrency";
505
+ id: string;
506
+ name: string;
507
+ market: {
508
+ coingeckoId: string | undefined;
509
+ marketCapUsd: {
510
+ value: bigint;
511
+ decimals: number;
512
+ } | undefined;
513
+ };
514
+ updatedAt: number;
515
+ icon?: string | undefined;
516
+ priceDatasourceId?: string | undefined;
351
517
  }, {
352
- cryptoCurrencyId: string;
353
- fiatCurrencyId: string;
354
- price: {
355
- value: bigint;
356
- decimals: number;
518
+ symbol: string;
519
+ type: "CryptoCurrency";
520
+ id: string;
521
+ name: string;
522
+ market: {
523
+ coingeckoId?: string | undefined;
524
+ marketCapUsd?: {
525
+ value: bigint;
526
+ decimals: number;
527
+ } | undefined;
357
528
  };
358
- timestamp: number;
359
- }>>;
360
- from: z.ZodOptional<z.ZodString>;
361
- to: z.ZodOptional<z.ZodString>;
362
- amount: z.ZodObject<{
363
- value: z.ZodBigInt;
364
- decimals: z.ZodNumber;
529
+ updatedAt: number;
530
+ icon?: string | undefined;
531
+ priceDatasourceId?: string | undefined;
532
+ }>, {
533
+ icon: string | undefined;
534
+ priceDatasourceId: string | undefined;
535
+ symbol: string;
536
+ type: "CryptoCurrency";
537
+ id: string;
538
+ name: string;
539
+ market: {
540
+ coingeckoId: string | undefined;
541
+ marketCapUsd: {
542
+ value: bigint;
543
+ decimals: number;
544
+ } | undefined;
545
+ };
546
+ updatedAt: number;
547
+ }, {
548
+ symbol: string;
549
+ type: "CryptoCurrency";
550
+ id: string;
551
+ name: string;
552
+ market: {
553
+ coingeckoId?: string | undefined;
554
+ marketCapUsd?: {
555
+ value: bigint;
556
+ decimals: number;
557
+ } | undefined;
558
+ };
559
+ updatedAt: number;
560
+ icon?: string | undefined;
561
+ priceDatasourceId?: string | undefined;
562
+ }>, z.ZodEffects<z.ZodObject<{
563
+ type: z.ZodLiteral<"FiatCurrency">;
564
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
565
+ name: z.ZodString;
566
+ symbol: z.ZodString;
567
+ icon: z.ZodOptional<z.ZodString>;
365
568
  }, "strip", z.ZodTypeAny, {
366
- value: bigint;
367
- decimals: number;
569
+ symbol: string;
570
+ type: "FiatCurrency";
571
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
572
+ name: string;
573
+ icon?: string | undefined;
368
574
  }, {
369
- value: bigint;
370
- decimals: number;
371
- }>;
372
- direction: z.ZodLiteral<"in">;
373
- asset: z.ZodEffects<z.ZodObject<{
575
+ symbol: string;
576
+ type: "FiatCurrency";
577
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
578
+ name: string;
579
+ icon?: string | undefined;
580
+ }>, {
581
+ icon: string | undefined;
582
+ symbol: string;
583
+ type: "FiatCurrency";
584
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
585
+ name: string;
586
+ }, {
587
+ symbol: string;
588
+ type: "FiatCurrency";
589
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
590
+ name: string;
591
+ icon?: string | undefined;
592
+ }>, z.ZodEffects<z.ZodObject<{
374
593
  type: z.ZodLiteral<"Nft">;
375
594
  id: z.ZodString;
376
595
  name: z.ZodOptional<z.ZodString>;
@@ -382,16 +601,16 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
382
601
  type: "Nft";
383
602
  id: string;
384
603
  updatedAt: number;
385
- name?: string | undefined;
386
604
  symbol?: string | undefined;
605
+ name?: string | undefined;
387
606
  image?: string | undefined;
388
607
  metadata?: string | undefined;
389
608
  }, {
390
609
  type: "Nft";
391
610
  id: string;
392
611
  updatedAt: number;
393
- name?: string | undefined;
394
612
  symbol?: string | undefined;
613
+ name?: string | undefined;
395
614
  image?: string | undefined;
396
615
  metadata?: string | undefined;
397
616
  }>, {
@@ -406,13 +625,77 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
406
625
  type: "Nft";
407
626
  id: string;
408
627
  updatedAt: number;
409
- name?: string | undefined;
410
628
  symbol?: string | undefined;
629
+ name?: string | undefined;
411
630
  image?: string | undefined;
412
631
  metadata?: string | undefined;
632
+ }>]>;
633
+ amount: z.ZodObject<{
634
+ value: z.ZodBigInt;
635
+ decimals: z.ZodNumber;
636
+ }, "strip", z.ZodTypeAny, {
637
+ value: bigint;
638
+ decimals: number;
639
+ }, {
640
+ value: bigint;
641
+ decimals: number;
413
642
  }>;
414
- }, "strip", z.ZodTypeAny, {
643
+ price: z.ZodOptional<z.ZodObject<{
644
+ cryptoCurrencyId: z.ZodString;
645
+ fiatCurrencyId: z.ZodString;
646
+ price: z.ZodObject<{
647
+ value: z.ZodBigInt;
648
+ decimals: z.ZodNumber;
649
+ }, "strip", z.ZodTypeAny, {
650
+ value: bigint;
651
+ decimals: number;
652
+ }, {
653
+ value: bigint;
654
+ decimals: number;
655
+ }>;
656
+ timestamp: z.ZodNumber;
657
+ }, "strip", z.ZodTypeAny, {
658
+ cryptoCurrencyId: string;
659
+ fiatCurrencyId: string;
660
+ price: {
661
+ value: bigint;
662
+ decimals: number;
663
+ };
664
+ timestamp: number;
665
+ }, {
666
+ cryptoCurrencyId: string;
667
+ fiatCurrencyId: string;
668
+ price: {
669
+ value: bigint;
670
+ decimals: number;
671
+ };
672
+ timestamp: number;
673
+ }>>;
674
+ }, {
675
+ direction: z.ZodLiteral<"out">;
676
+ }>, "strip", z.ZodTypeAny, {
415
677
  asset: {
678
+ icon: string | undefined;
679
+ priceDatasourceId: string | undefined;
680
+ symbol: string;
681
+ type: "CryptoCurrency";
682
+ id: string;
683
+ name: string;
684
+ market: {
685
+ coingeckoId: string | undefined;
686
+ marketCapUsd: {
687
+ value: bigint;
688
+ decimals: number;
689
+ } | undefined;
690
+ };
691
+ updatedAt: number;
692
+ } | {
693
+ icon: string | undefined;
694
+ symbol: string;
695
+ type: "FiatCurrency";
696
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
697
+ name: string;
698
+ } | {
416
699
  name: string | undefined;
417
700
  symbol: string | undefined;
418
701
  image: string | undefined;
@@ -425,7 +708,7 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
425
708
  value: bigint;
426
709
  decimals: number;
427
710
  };
428
- direction: "in";
711
+ direction: "out";
429
712
  price?: {
430
713
  cryptoCurrencyId: string;
431
714
  fiatCurrencyId: string;
@@ -439,11 +722,32 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
439
722
  to?: string | undefined;
440
723
  }, {
441
724
  asset: {
725
+ symbol: string;
726
+ type: "CryptoCurrency";
727
+ id: string;
728
+ name: string;
729
+ market: {
730
+ coingeckoId?: string | undefined;
731
+ marketCapUsd?: {
732
+ value: bigint;
733
+ decimals: number;
734
+ } | undefined;
735
+ };
736
+ updatedAt: number;
737
+ icon?: string | undefined;
738
+ priceDatasourceId?: string | undefined;
739
+ } | {
740
+ symbol: string;
741
+ type: "FiatCurrency";
742
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
743
+ name: string;
744
+ icon?: string | undefined;
745
+ } | {
442
746
  type: "Nft";
443
747
  id: string;
444
748
  updatedAt: number;
445
- name?: string | undefined;
446
749
  symbol?: string | undefined;
750
+ name?: string | undefined;
447
751
  image?: string | undefined;
448
752
  metadata?: string | undefined;
449
753
  };
@@ -451,7 +755,7 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
451
755
  value: bigint;
452
756
  decimals: number;
453
757
  };
454
- direction: "in";
758
+ direction: "out";
455
759
  price?: {
456
760
  cryptoCurrencyId: string;
457
761
  fiatCurrencyId: string;
@@ -476,6 +780,27 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
476
780
  timestamp: number;
477
781
  } | undefined;
478
782
  asset: {
783
+ icon: string | undefined;
784
+ priceDatasourceId: string | undefined;
785
+ symbol: string;
786
+ type: "CryptoCurrency";
787
+ id: string;
788
+ name: string;
789
+ market: {
790
+ coingeckoId: string | undefined;
791
+ marketCapUsd: {
792
+ value: bigint;
793
+ decimals: number;
794
+ } | undefined;
795
+ };
796
+ updatedAt: number;
797
+ } | {
798
+ icon: string | undefined;
799
+ symbol: string;
800
+ type: "FiatCurrency";
801
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
802
+ name: string;
803
+ } | {
479
804
  name: string | undefined;
480
805
  symbol: string | undefined;
481
806
  image: string | undefined;
@@ -488,14 +813,35 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
488
813
  value: bigint;
489
814
  decimals: number;
490
815
  };
491
- direction: "in";
816
+ direction: "out";
492
817
  }, {
493
818
  asset: {
819
+ symbol: string;
820
+ type: "CryptoCurrency";
821
+ id: string;
822
+ name: string;
823
+ market: {
824
+ coingeckoId?: string | undefined;
825
+ marketCapUsd?: {
826
+ value: bigint;
827
+ decimals: number;
828
+ } | undefined;
829
+ };
830
+ updatedAt: number;
831
+ icon?: string | undefined;
832
+ priceDatasourceId?: string | undefined;
833
+ } | {
834
+ symbol: string;
835
+ type: "FiatCurrency";
836
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
837
+ name: string;
838
+ icon?: string | undefined;
839
+ } | {
494
840
  type: "Nft";
495
841
  id: string;
496
842
  updatedAt: number;
497
- name?: string | undefined;
498
843
  symbol?: string | undefined;
844
+ name?: string | undefined;
499
845
  image?: string | undefined;
500
846
  metadata?: string | undefined;
501
847
  };
@@ -503,7 +849,7 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
503
849
  value: bigint;
504
850
  decimals: number;
505
851
  };
506
- direction: "in";
852
+ direction: "out";
507
853
  price?: {
508
854
  cryptoCurrencyId: string;
509
855
  fiatCurrencyId: string;
@@ -515,46 +861,2323 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
515
861
  } | undefined;
516
862
  from?: string | undefined;
517
863
  to?: string | undefined;
518
- }>]>, "many">;
519
- }, "strip", z.ZodTypeAny, {
520
- type: "LoanNormalAction";
521
- timestamp: number;
522
- action: "borrow";
523
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
524
- transfers: ({
525
- from: string | undefined;
526
- to: string | undefined;
527
- price: {
528
- cryptoCurrencyId: string;
529
- fiatCurrencyId: string;
530
- price: {
531
- value: bigint;
532
- decimals: number;
533
- };
534
- timestamp: number;
535
- } | undefined;
536
- asset: {
537
- icon: string | undefined;
538
- priceDatasourceId: string | undefined;
539
- symbol: string;
540
- type: "CryptoCurrency";
541
- id: string;
542
- name: string;
543
- market: {
544
- coingeckoId: string | undefined;
545
- marketCapUsd: {
546
- value: bigint;
547
- decimals: number;
548
- } | undefined;
549
- };
550
- updatedAt: number;
551
- };
552
- amount: {
553
- value: bigint;
554
- decimals: number;
555
- };
556
- direction: "in";
557
- } | {
864
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
865
+ from: z.ZodOptional<z.ZodString>;
866
+ to: z.ZodOptional<z.ZodString>;
867
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
868
+ type: z.ZodLiteral<"CryptoCurrency">;
869
+ id: z.ZodString;
870
+ name: z.ZodString;
871
+ symbol: z.ZodString;
872
+ icon: z.ZodOptional<z.ZodString>;
873
+ market: z.ZodEffects<z.ZodObject<{
874
+ coingeckoId: z.ZodOptional<z.ZodString>;
875
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
876
+ value: z.ZodBigInt;
877
+ decimals: z.ZodNumber;
878
+ }, "strip", z.ZodTypeAny, {
879
+ value: bigint;
880
+ decimals: number;
881
+ }, {
882
+ value: bigint;
883
+ decimals: number;
884
+ }>>;
885
+ }, "strip", z.ZodTypeAny, {
886
+ coingeckoId?: string | undefined;
887
+ marketCapUsd?: {
888
+ value: bigint;
889
+ decimals: number;
890
+ } | undefined;
891
+ }, {
892
+ coingeckoId?: string | undefined;
893
+ marketCapUsd?: {
894
+ value: bigint;
895
+ decimals: number;
896
+ } | undefined;
897
+ }>, {
898
+ coingeckoId: string | undefined;
899
+ marketCapUsd: {
900
+ value: bigint;
901
+ decimals: number;
902
+ } | undefined;
903
+ }, {
904
+ coingeckoId?: string | undefined;
905
+ marketCapUsd?: {
906
+ value: bigint;
907
+ decimals: number;
908
+ } | undefined;
909
+ }>;
910
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
911
+ updatedAt: z.ZodNumber;
912
+ }, "strip", z.ZodTypeAny, {
913
+ symbol: string;
914
+ type: "CryptoCurrency";
915
+ id: string;
916
+ name: string;
917
+ market: {
918
+ coingeckoId: string | undefined;
919
+ marketCapUsd: {
920
+ value: bigint;
921
+ decimals: number;
922
+ } | undefined;
923
+ };
924
+ updatedAt: number;
925
+ icon?: string | undefined;
926
+ priceDatasourceId?: string | undefined;
927
+ }, {
928
+ symbol: string;
929
+ type: "CryptoCurrency";
930
+ id: string;
931
+ name: string;
932
+ market: {
933
+ coingeckoId?: string | undefined;
934
+ marketCapUsd?: {
935
+ value: bigint;
936
+ decimals: number;
937
+ } | undefined;
938
+ };
939
+ updatedAt: number;
940
+ icon?: string | undefined;
941
+ priceDatasourceId?: string | undefined;
942
+ }>, {
943
+ icon: string | undefined;
944
+ priceDatasourceId: string | undefined;
945
+ symbol: string;
946
+ type: "CryptoCurrency";
947
+ id: string;
948
+ name: string;
949
+ market: {
950
+ coingeckoId: string | undefined;
951
+ marketCapUsd: {
952
+ value: bigint;
953
+ decimals: number;
954
+ } | undefined;
955
+ };
956
+ updatedAt: number;
957
+ }, {
958
+ symbol: string;
959
+ type: "CryptoCurrency";
960
+ id: string;
961
+ name: string;
962
+ market: {
963
+ coingeckoId?: string | undefined;
964
+ marketCapUsd?: {
965
+ value: bigint;
966
+ decimals: number;
967
+ } | undefined;
968
+ };
969
+ updatedAt: number;
970
+ icon?: string | undefined;
971
+ priceDatasourceId?: string | undefined;
972
+ }>, z.ZodEffects<z.ZodObject<{
973
+ type: z.ZodLiteral<"FiatCurrency">;
974
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
975
+ name: z.ZodString;
976
+ symbol: z.ZodString;
977
+ icon: z.ZodOptional<z.ZodString>;
978
+ }, "strip", z.ZodTypeAny, {
979
+ symbol: string;
980
+ type: "FiatCurrency";
981
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
982
+ name: string;
983
+ icon?: string | undefined;
984
+ }, {
985
+ symbol: string;
986
+ type: "FiatCurrency";
987
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
988
+ name: string;
989
+ icon?: string | undefined;
990
+ }>, {
991
+ icon: string | undefined;
992
+ symbol: string;
993
+ type: "FiatCurrency";
994
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
995
+ name: string;
996
+ }, {
997
+ symbol: string;
998
+ type: "FiatCurrency";
999
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1000
+ name: string;
1001
+ icon?: string | undefined;
1002
+ }>, z.ZodEffects<z.ZodObject<{
1003
+ type: z.ZodLiteral<"Nft">;
1004
+ id: z.ZodString;
1005
+ name: z.ZodOptional<z.ZodString>;
1006
+ symbol: z.ZodOptional<z.ZodString>;
1007
+ image: z.ZodOptional<z.ZodString>;
1008
+ metadata: z.ZodOptional<z.ZodString>;
1009
+ updatedAt: z.ZodNumber;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ type: "Nft";
1012
+ id: string;
1013
+ updatedAt: number;
1014
+ symbol?: string | undefined;
1015
+ name?: string | undefined;
1016
+ image?: string | undefined;
1017
+ metadata?: string | undefined;
1018
+ }, {
1019
+ type: "Nft";
1020
+ id: string;
1021
+ updatedAt: number;
1022
+ symbol?: string | undefined;
1023
+ name?: string | undefined;
1024
+ image?: string | undefined;
1025
+ metadata?: string | undefined;
1026
+ }>, {
1027
+ name: string | undefined;
1028
+ symbol: string | undefined;
1029
+ image: string | undefined;
1030
+ metadata: string | undefined;
1031
+ type: "Nft";
1032
+ id: string;
1033
+ updatedAt: number;
1034
+ }, {
1035
+ type: "Nft";
1036
+ id: string;
1037
+ updatedAt: number;
1038
+ symbol?: string | undefined;
1039
+ name?: string | undefined;
1040
+ image?: string | undefined;
1041
+ metadata?: string | undefined;
1042
+ }>]>;
1043
+ amount: z.ZodObject<{
1044
+ value: z.ZodBigInt;
1045
+ decimals: z.ZodNumber;
1046
+ }, "strip", z.ZodTypeAny, {
1047
+ value: bigint;
1048
+ decimals: number;
1049
+ }, {
1050
+ value: bigint;
1051
+ decimals: number;
1052
+ }>;
1053
+ price: z.ZodOptional<z.ZodObject<{
1054
+ cryptoCurrencyId: z.ZodString;
1055
+ fiatCurrencyId: z.ZodString;
1056
+ price: z.ZodObject<{
1057
+ value: z.ZodBigInt;
1058
+ decimals: z.ZodNumber;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ value: bigint;
1061
+ decimals: number;
1062
+ }, {
1063
+ value: bigint;
1064
+ decimals: number;
1065
+ }>;
1066
+ timestamp: z.ZodNumber;
1067
+ }, "strip", z.ZodTypeAny, {
1068
+ cryptoCurrencyId: string;
1069
+ fiatCurrencyId: string;
1070
+ price: {
1071
+ value: bigint;
1072
+ decimals: number;
1073
+ };
1074
+ timestamp: number;
1075
+ }, {
1076
+ cryptoCurrencyId: string;
1077
+ fiatCurrencyId: string;
1078
+ price: {
1079
+ value: bigint;
1080
+ decimals: number;
1081
+ };
1082
+ timestamp: number;
1083
+ }>>;
1084
+ }, {
1085
+ direction: z.ZodLiteral<"none">;
1086
+ }>, "strip", z.ZodTypeAny, {
1087
+ asset: {
1088
+ icon: string | undefined;
1089
+ priceDatasourceId: string | undefined;
1090
+ symbol: string;
1091
+ type: "CryptoCurrency";
1092
+ id: string;
1093
+ name: string;
1094
+ market: {
1095
+ coingeckoId: string | undefined;
1096
+ marketCapUsd: {
1097
+ value: bigint;
1098
+ decimals: number;
1099
+ } | undefined;
1100
+ };
1101
+ updatedAt: number;
1102
+ } | {
1103
+ icon: string | undefined;
1104
+ symbol: string;
1105
+ type: "FiatCurrency";
1106
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1107
+ name: string;
1108
+ } | {
1109
+ name: string | undefined;
1110
+ symbol: string | undefined;
1111
+ image: string | undefined;
1112
+ metadata: string | undefined;
1113
+ type: "Nft";
1114
+ id: string;
1115
+ updatedAt: number;
1116
+ };
1117
+ amount: {
1118
+ value: bigint;
1119
+ decimals: number;
1120
+ };
1121
+ direction: "none";
1122
+ price?: {
1123
+ cryptoCurrencyId: string;
1124
+ fiatCurrencyId: string;
1125
+ price: {
1126
+ value: bigint;
1127
+ decimals: number;
1128
+ };
1129
+ timestamp: number;
1130
+ } | undefined;
1131
+ from?: string | undefined;
1132
+ to?: string | undefined;
1133
+ }, {
1134
+ asset: {
1135
+ symbol: string;
1136
+ type: "CryptoCurrency";
1137
+ id: string;
1138
+ name: string;
1139
+ market: {
1140
+ coingeckoId?: string | undefined;
1141
+ marketCapUsd?: {
1142
+ value: bigint;
1143
+ decimals: number;
1144
+ } | undefined;
1145
+ };
1146
+ updatedAt: number;
1147
+ icon?: string | undefined;
1148
+ priceDatasourceId?: string | undefined;
1149
+ } | {
1150
+ symbol: string;
1151
+ type: "FiatCurrency";
1152
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1153
+ name: string;
1154
+ icon?: string | undefined;
1155
+ } | {
1156
+ type: "Nft";
1157
+ id: string;
1158
+ updatedAt: number;
1159
+ symbol?: string | undefined;
1160
+ name?: string | undefined;
1161
+ image?: string | undefined;
1162
+ metadata?: string | undefined;
1163
+ };
1164
+ amount: {
1165
+ value: bigint;
1166
+ decimals: number;
1167
+ };
1168
+ direction: "none";
1169
+ price?: {
1170
+ cryptoCurrencyId: string;
1171
+ fiatCurrencyId: string;
1172
+ price: {
1173
+ value: bigint;
1174
+ decimals: number;
1175
+ };
1176
+ timestamp: number;
1177
+ } | undefined;
1178
+ from?: string | undefined;
1179
+ to?: string | undefined;
1180
+ }>, {
1181
+ from: string | undefined;
1182
+ to: string | undefined;
1183
+ price: {
1184
+ cryptoCurrencyId: string;
1185
+ fiatCurrencyId: string;
1186
+ price: {
1187
+ value: bigint;
1188
+ decimals: number;
1189
+ };
1190
+ timestamp: number;
1191
+ } | undefined;
1192
+ asset: {
1193
+ icon: string | undefined;
1194
+ priceDatasourceId: string | undefined;
1195
+ symbol: string;
1196
+ type: "CryptoCurrency";
1197
+ id: string;
1198
+ name: string;
1199
+ market: {
1200
+ coingeckoId: string | undefined;
1201
+ marketCapUsd: {
1202
+ value: bigint;
1203
+ decimals: number;
1204
+ } | undefined;
1205
+ };
1206
+ updatedAt: number;
1207
+ } | {
1208
+ icon: string | undefined;
1209
+ symbol: string;
1210
+ type: "FiatCurrency";
1211
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1212
+ name: string;
1213
+ } | {
1214
+ name: string | undefined;
1215
+ symbol: string | undefined;
1216
+ image: string | undefined;
1217
+ metadata: string | undefined;
1218
+ type: "Nft";
1219
+ id: string;
1220
+ updatedAt: number;
1221
+ };
1222
+ amount: {
1223
+ value: bigint;
1224
+ decimals: number;
1225
+ };
1226
+ direction: "none";
1227
+ }, {
1228
+ asset: {
1229
+ symbol: string;
1230
+ type: "CryptoCurrency";
1231
+ id: string;
1232
+ name: string;
1233
+ market: {
1234
+ coingeckoId?: string | undefined;
1235
+ marketCapUsd?: {
1236
+ value: bigint;
1237
+ decimals: number;
1238
+ } | undefined;
1239
+ };
1240
+ updatedAt: number;
1241
+ icon?: string | undefined;
1242
+ priceDatasourceId?: string | undefined;
1243
+ } | {
1244
+ symbol: string;
1245
+ type: "FiatCurrency";
1246
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1247
+ name: string;
1248
+ icon?: string | undefined;
1249
+ } | {
1250
+ type: "Nft";
1251
+ id: string;
1252
+ updatedAt: number;
1253
+ symbol?: string | undefined;
1254
+ name?: string | undefined;
1255
+ image?: string | undefined;
1256
+ metadata?: string | undefined;
1257
+ };
1258
+ amount: {
1259
+ value: bigint;
1260
+ decimals: number;
1261
+ };
1262
+ direction: "none";
1263
+ price?: {
1264
+ cryptoCurrencyId: string;
1265
+ fiatCurrencyId: string;
1266
+ price: {
1267
+ value: bigint;
1268
+ decimals: number;
1269
+ };
1270
+ timestamp: number;
1271
+ } | undefined;
1272
+ from?: string | undefined;
1273
+ to?: string | undefined;
1274
+ }>]>, "many">;
1275
+ }, {
1276
+ type: z.ZodLiteral<"LoanNormalAction">;
1277
+ loanId: z.ZodString;
1278
+ }>, {
1279
+ action: z.ZodLiteral<"borrow">;
1280
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1281
+ from: z.ZodOptional<z.ZodString>;
1282
+ to: z.ZodOptional<z.ZodString>;
1283
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1284
+ type: z.ZodLiteral<"CryptoCurrency">;
1285
+ id: z.ZodString;
1286
+ name: z.ZodString;
1287
+ symbol: z.ZodString;
1288
+ icon: z.ZodOptional<z.ZodString>;
1289
+ market: z.ZodEffects<z.ZodObject<{
1290
+ coingeckoId: z.ZodOptional<z.ZodString>;
1291
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1292
+ value: z.ZodBigInt;
1293
+ decimals: z.ZodNumber;
1294
+ }, "strip", z.ZodTypeAny, {
1295
+ value: bigint;
1296
+ decimals: number;
1297
+ }, {
1298
+ value: bigint;
1299
+ decimals: number;
1300
+ }>>;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ coingeckoId?: string | undefined;
1303
+ marketCapUsd?: {
1304
+ value: bigint;
1305
+ decimals: number;
1306
+ } | undefined;
1307
+ }, {
1308
+ coingeckoId?: string | undefined;
1309
+ marketCapUsd?: {
1310
+ value: bigint;
1311
+ decimals: number;
1312
+ } | undefined;
1313
+ }>, {
1314
+ coingeckoId: string | undefined;
1315
+ marketCapUsd: {
1316
+ value: bigint;
1317
+ decimals: number;
1318
+ } | undefined;
1319
+ }, {
1320
+ coingeckoId?: string | undefined;
1321
+ marketCapUsd?: {
1322
+ value: bigint;
1323
+ decimals: number;
1324
+ } | undefined;
1325
+ }>;
1326
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1327
+ updatedAt: z.ZodNumber;
1328
+ }, "strip", z.ZodTypeAny, {
1329
+ symbol: string;
1330
+ type: "CryptoCurrency";
1331
+ id: string;
1332
+ name: string;
1333
+ market: {
1334
+ coingeckoId: string | undefined;
1335
+ marketCapUsd: {
1336
+ value: bigint;
1337
+ decimals: number;
1338
+ } | undefined;
1339
+ };
1340
+ updatedAt: number;
1341
+ icon?: string | undefined;
1342
+ priceDatasourceId?: string | undefined;
1343
+ }, {
1344
+ symbol: string;
1345
+ type: "CryptoCurrency";
1346
+ id: string;
1347
+ name: string;
1348
+ market: {
1349
+ coingeckoId?: string | undefined;
1350
+ marketCapUsd?: {
1351
+ value: bigint;
1352
+ decimals: number;
1353
+ } | undefined;
1354
+ };
1355
+ updatedAt: number;
1356
+ icon?: string | undefined;
1357
+ priceDatasourceId?: string | undefined;
1358
+ }>, {
1359
+ icon: string | undefined;
1360
+ priceDatasourceId: string | undefined;
1361
+ symbol: string;
1362
+ type: "CryptoCurrency";
1363
+ id: string;
1364
+ name: string;
1365
+ market: {
1366
+ coingeckoId: string | undefined;
1367
+ marketCapUsd: {
1368
+ value: bigint;
1369
+ decimals: number;
1370
+ } | undefined;
1371
+ };
1372
+ updatedAt: number;
1373
+ }, {
1374
+ symbol: string;
1375
+ type: "CryptoCurrency";
1376
+ id: string;
1377
+ name: string;
1378
+ market: {
1379
+ coingeckoId?: string | undefined;
1380
+ marketCapUsd?: {
1381
+ value: bigint;
1382
+ decimals: number;
1383
+ } | undefined;
1384
+ };
1385
+ updatedAt: number;
1386
+ icon?: string | undefined;
1387
+ priceDatasourceId?: string | undefined;
1388
+ }>, z.ZodEffects<z.ZodObject<{
1389
+ type: z.ZodLiteral<"FiatCurrency">;
1390
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
1391
+ name: z.ZodString;
1392
+ symbol: z.ZodString;
1393
+ icon: z.ZodOptional<z.ZodString>;
1394
+ }, "strip", z.ZodTypeAny, {
1395
+ symbol: string;
1396
+ type: "FiatCurrency";
1397
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1398
+ name: string;
1399
+ icon?: string | undefined;
1400
+ }, {
1401
+ symbol: string;
1402
+ type: "FiatCurrency";
1403
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1404
+ name: string;
1405
+ icon?: string | undefined;
1406
+ }>, {
1407
+ icon: string | undefined;
1408
+ symbol: string;
1409
+ type: "FiatCurrency";
1410
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1411
+ name: string;
1412
+ }, {
1413
+ symbol: string;
1414
+ type: "FiatCurrency";
1415
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1416
+ name: string;
1417
+ icon?: string | undefined;
1418
+ }>, z.ZodEffects<z.ZodObject<{
1419
+ type: z.ZodLiteral<"Nft">;
1420
+ id: z.ZodString;
1421
+ name: z.ZodOptional<z.ZodString>;
1422
+ symbol: z.ZodOptional<z.ZodString>;
1423
+ image: z.ZodOptional<z.ZodString>;
1424
+ metadata: z.ZodOptional<z.ZodString>;
1425
+ updatedAt: z.ZodNumber;
1426
+ }, "strip", z.ZodTypeAny, {
1427
+ type: "Nft";
1428
+ id: string;
1429
+ updatedAt: number;
1430
+ symbol?: string | undefined;
1431
+ name?: string | undefined;
1432
+ image?: string | undefined;
1433
+ metadata?: string | undefined;
1434
+ }, {
1435
+ type: "Nft";
1436
+ id: string;
1437
+ updatedAt: number;
1438
+ symbol?: string | undefined;
1439
+ name?: string | undefined;
1440
+ image?: string | undefined;
1441
+ metadata?: string | undefined;
1442
+ }>, {
1443
+ name: string | undefined;
1444
+ symbol: string | undefined;
1445
+ image: string | undefined;
1446
+ metadata: string | undefined;
1447
+ type: "Nft";
1448
+ id: string;
1449
+ updatedAt: number;
1450
+ }, {
1451
+ type: "Nft";
1452
+ id: string;
1453
+ updatedAt: number;
1454
+ symbol?: string | undefined;
1455
+ name?: string | undefined;
1456
+ image?: string | undefined;
1457
+ metadata?: string | undefined;
1458
+ }>]>;
1459
+ amount: z.ZodObject<{
1460
+ value: z.ZodBigInt;
1461
+ decimals: z.ZodNumber;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ value: bigint;
1464
+ decimals: number;
1465
+ }, {
1466
+ value: bigint;
1467
+ decimals: number;
1468
+ }>;
1469
+ price: z.ZodOptional<z.ZodObject<{
1470
+ cryptoCurrencyId: z.ZodString;
1471
+ fiatCurrencyId: z.ZodString;
1472
+ price: z.ZodObject<{
1473
+ value: z.ZodBigInt;
1474
+ decimals: z.ZodNumber;
1475
+ }, "strip", z.ZodTypeAny, {
1476
+ value: bigint;
1477
+ decimals: number;
1478
+ }, {
1479
+ value: bigint;
1480
+ decimals: number;
1481
+ }>;
1482
+ timestamp: z.ZodNumber;
1483
+ }, "strip", z.ZodTypeAny, {
1484
+ cryptoCurrencyId: string;
1485
+ fiatCurrencyId: string;
1486
+ price: {
1487
+ value: bigint;
1488
+ decimals: number;
1489
+ };
1490
+ timestamp: number;
1491
+ }, {
1492
+ cryptoCurrencyId: string;
1493
+ fiatCurrencyId: string;
1494
+ price: {
1495
+ value: bigint;
1496
+ decimals: number;
1497
+ };
1498
+ timestamp: number;
1499
+ }>>;
1500
+ }, {
1501
+ direction: z.ZodLiteral<"in">;
1502
+ }>, {
1503
+ asset: z.ZodEffects<z.ZodObject<{
1504
+ type: z.ZodLiteral<"CryptoCurrency">;
1505
+ id: z.ZodString;
1506
+ name: z.ZodString;
1507
+ symbol: z.ZodString;
1508
+ icon: z.ZodOptional<z.ZodString>;
1509
+ market: z.ZodEffects<z.ZodObject<{
1510
+ coingeckoId: z.ZodOptional<z.ZodString>;
1511
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1512
+ value: z.ZodBigInt;
1513
+ decimals: z.ZodNumber;
1514
+ }, "strip", z.ZodTypeAny, {
1515
+ value: bigint;
1516
+ decimals: number;
1517
+ }, {
1518
+ value: bigint;
1519
+ decimals: number;
1520
+ }>>;
1521
+ }, "strip", z.ZodTypeAny, {
1522
+ coingeckoId?: string | undefined;
1523
+ marketCapUsd?: {
1524
+ value: bigint;
1525
+ decimals: number;
1526
+ } | undefined;
1527
+ }, {
1528
+ coingeckoId?: string | undefined;
1529
+ marketCapUsd?: {
1530
+ value: bigint;
1531
+ decimals: number;
1532
+ } | undefined;
1533
+ }>, {
1534
+ coingeckoId: string | undefined;
1535
+ marketCapUsd: {
1536
+ value: bigint;
1537
+ decimals: number;
1538
+ } | undefined;
1539
+ }, {
1540
+ coingeckoId?: string | undefined;
1541
+ marketCapUsd?: {
1542
+ value: bigint;
1543
+ decimals: number;
1544
+ } | undefined;
1545
+ }>;
1546
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1547
+ updatedAt: z.ZodNumber;
1548
+ }, "strip", z.ZodTypeAny, {
1549
+ symbol: string;
1550
+ type: "CryptoCurrency";
1551
+ id: string;
1552
+ name: string;
1553
+ market: {
1554
+ coingeckoId: string | undefined;
1555
+ marketCapUsd: {
1556
+ value: bigint;
1557
+ decimals: number;
1558
+ } | undefined;
1559
+ };
1560
+ updatedAt: number;
1561
+ icon?: string | undefined;
1562
+ priceDatasourceId?: string | undefined;
1563
+ }, {
1564
+ symbol: string;
1565
+ type: "CryptoCurrency";
1566
+ id: string;
1567
+ name: string;
1568
+ market: {
1569
+ coingeckoId?: string | undefined;
1570
+ marketCapUsd?: {
1571
+ value: bigint;
1572
+ decimals: number;
1573
+ } | undefined;
1574
+ };
1575
+ updatedAt: number;
1576
+ icon?: string | undefined;
1577
+ priceDatasourceId?: string | undefined;
1578
+ }>, {
1579
+ icon: string | undefined;
1580
+ priceDatasourceId: string | undefined;
1581
+ symbol: string;
1582
+ type: "CryptoCurrency";
1583
+ id: string;
1584
+ name: string;
1585
+ market: {
1586
+ coingeckoId: string | undefined;
1587
+ marketCapUsd: {
1588
+ value: bigint;
1589
+ decimals: number;
1590
+ } | undefined;
1591
+ };
1592
+ updatedAt: number;
1593
+ }, {
1594
+ symbol: string;
1595
+ type: "CryptoCurrency";
1596
+ id: string;
1597
+ name: string;
1598
+ market: {
1599
+ coingeckoId?: string | undefined;
1600
+ marketCapUsd?: {
1601
+ value: bigint;
1602
+ decimals: number;
1603
+ } | undefined;
1604
+ };
1605
+ updatedAt: number;
1606
+ icon?: string | undefined;
1607
+ priceDatasourceId?: string | undefined;
1608
+ }>;
1609
+ }>, "strip", z.ZodTypeAny, {
1610
+ asset: {
1611
+ icon: string | undefined;
1612
+ priceDatasourceId: string | undefined;
1613
+ symbol: string;
1614
+ type: "CryptoCurrency";
1615
+ id: string;
1616
+ name: string;
1617
+ market: {
1618
+ coingeckoId: string | undefined;
1619
+ marketCapUsd: {
1620
+ value: bigint;
1621
+ decimals: number;
1622
+ } | undefined;
1623
+ };
1624
+ updatedAt: number;
1625
+ };
1626
+ amount: {
1627
+ value: bigint;
1628
+ decimals: number;
1629
+ };
1630
+ direction: "in";
1631
+ price?: {
1632
+ cryptoCurrencyId: string;
1633
+ fiatCurrencyId: string;
1634
+ price: {
1635
+ value: bigint;
1636
+ decimals: number;
1637
+ };
1638
+ timestamp: number;
1639
+ } | undefined;
1640
+ from?: string | undefined;
1641
+ to?: string | undefined;
1642
+ }, {
1643
+ asset: {
1644
+ symbol: string;
1645
+ type: "CryptoCurrency";
1646
+ id: string;
1647
+ name: string;
1648
+ market: {
1649
+ coingeckoId?: string | undefined;
1650
+ marketCapUsd?: {
1651
+ value: bigint;
1652
+ decimals: number;
1653
+ } | undefined;
1654
+ };
1655
+ updatedAt: number;
1656
+ icon?: string | undefined;
1657
+ priceDatasourceId?: string | undefined;
1658
+ };
1659
+ amount: {
1660
+ value: bigint;
1661
+ decimals: number;
1662
+ };
1663
+ direction: "in";
1664
+ price?: {
1665
+ cryptoCurrencyId: string;
1666
+ fiatCurrencyId: string;
1667
+ price: {
1668
+ value: bigint;
1669
+ decimals: number;
1670
+ };
1671
+ timestamp: number;
1672
+ } | undefined;
1673
+ from?: string | undefined;
1674
+ to?: string | undefined;
1675
+ }>, {
1676
+ from: string | undefined;
1677
+ to: string | undefined;
1678
+ price: {
1679
+ cryptoCurrencyId: string;
1680
+ fiatCurrencyId: string;
1681
+ price: {
1682
+ value: bigint;
1683
+ decimals: number;
1684
+ };
1685
+ timestamp: number;
1686
+ } | undefined;
1687
+ asset: {
1688
+ icon: string | undefined;
1689
+ priceDatasourceId: string | undefined;
1690
+ symbol: string;
1691
+ type: "CryptoCurrency";
1692
+ id: string;
1693
+ name: string;
1694
+ market: {
1695
+ coingeckoId: string | undefined;
1696
+ marketCapUsd: {
1697
+ value: bigint;
1698
+ decimals: number;
1699
+ } | undefined;
1700
+ };
1701
+ updatedAt: number;
1702
+ };
1703
+ amount: {
1704
+ value: bigint;
1705
+ decimals: number;
1706
+ };
1707
+ direction: "in";
1708
+ }, {
1709
+ asset: {
1710
+ symbol: string;
1711
+ type: "CryptoCurrency";
1712
+ id: string;
1713
+ name: string;
1714
+ market: {
1715
+ coingeckoId?: string | undefined;
1716
+ marketCapUsd?: {
1717
+ value: bigint;
1718
+ decimals: number;
1719
+ } | undefined;
1720
+ };
1721
+ updatedAt: number;
1722
+ icon?: string | undefined;
1723
+ priceDatasourceId?: string | undefined;
1724
+ };
1725
+ amount: {
1726
+ value: bigint;
1727
+ decimals: number;
1728
+ };
1729
+ direction: "in";
1730
+ price?: {
1731
+ cryptoCurrencyId: string;
1732
+ fiatCurrencyId: string;
1733
+ price: {
1734
+ value: bigint;
1735
+ decimals: number;
1736
+ };
1737
+ timestamp: number;
1738
+ } | undefined;
1739
+ from?: string | undefined;
1740
+ to?: string | undefined;
1741
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1742
+ from: z.ZodOptional<z.ZodString>;
1743
+ to: z.ZodOptional<z.ZodString>;
1744
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1745
+ type: z.ZodLiteral<"CryptoCurrency">;
1746
+ id: z.ZodString;
1747
+ name: z.ZodString;
1748
+ symbol: z.ZodString;
1749
+ icon: z.ZodOptional<z.ZodString>;
1750
+ market: z.ZodEffects<z.ZodObject<{
1751
+ coingeckoId: z.ZodOptional<z.ZodString>;
1752
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1753
+ value: z.ZodBigInt;
1754
+ decimals: z.ZodNumber;
1755
+ }, "strip", z.ZodTypeAny, {
1756
+ value: bigint;
1757
+ decimals: number;
1758
+ }, {
1759
+ value: bigint;
1760
+ decimals: number;
1761
+ }>>;
1762
+ }, "strip", z.ZodTypeAny, {
1763
+ coingeckoId?: string | undefined;
1764
+ marketCapUsd?: {
1765
+ value: bigint;
1766
+ decimals: number;
1767
+ } | undefined;
1768
+ }, {
1769
+ coingeckoId?: string | undefined;
1770
+ marketCapUsd?: {
1771
+ value: bigint;
1772
+ decimals: number;
1773
+ } | undefined;
1774
+ }>, {
1775
+ coingeckoId: string | undefined;
1776
+ marketCapUsd: {
1777
+ value: bigint;
1778
+ decimals: number;
1779
+ } | undefined;
1780
+ }, {
1781
+ coingeckoId?: string | undefined;
1782
+ marketCapUsd?: {
1783
+ value: bigint;
1784
+ decimals: number;
1785
+ } | undefined;
1786
+ }>;
1787
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1788
+ updatedAt: z.ZodNumber;
1789
+ }, "strip", z.ZodTypeAny, {
1790
+ symbol: string;
1791
+ type: "CryptoCurrency";
1792
+ id: string;
1793
+ name: string;
1794
+ market: {
1795
+ coingeckoId: string | undefined;
1796
+ marketCapUsd: {
1797
+ value: bigint;
1798
+ decimals: number;
1799
+ } | undefined;
1800
+ };
1801
+ updatedAt: number;
1802
+ icon?: string | undefined;
1803
+ priceDatasourceId?: string | undefined;
1804
+ }, {
1805
+ symbol: string;
1806
+ type: "CryptoCurrency";
1807
+ id: string;
1808
+ name: string;
1809
+ market: {
1810
+ coingeckoId?: string | undefined;
1811
+ marketCapUsd?: {
1812
+ value: bigint;
1813
+ decimals: number;
1814
+ } | undefined;
1815
+ };
1816
+ updatedAt: number;
1817
+ icon?: string | undefined;
1818
+ priceDatasourceId?: string | undefined;
1819
+ }>, {
1820
+ icon: string | undefined;
1821
+ priceDatasourceId: string | undefined;
1822
+ symbol: string;
1823
+ type: "CryptoCurrency";
1824
+ id: string;
1825
+ name: string;
1826
+ market: {
1827
+ coingeckoId: string | undefined;
1828
+ marketCapUsd: {
1829
+ value: bigint;
1830
+ decimals: number;
1831
+ } | undefined;
1832
+ };
1833
+ updatedAt: number;
1834
+ }, {
1835
+ symbol: string;
1836
+ type: "CryptoCurrency";
1837
+ id: string;
1838
+ name: string;
1839
+ market: {
1840
+ coingeckoId?: string | undefined;
1841
+ marketCapUsd?: {
1842
+ value: bigint;
1843
+ decimals: number;
1844
+ } | undefined;
1845
+ };
1846
+ updatedAt: number;
1847
+ icon?: string | undefined;
1848
+ priceDatasourceId?: string | undefined;
1849
+ }>, z.ZodEffects<z.ZodObject<{
1850
+ type: z.ZodLiteral<"FiatCurrency">;
1851
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
1852
+ name: z.ZodString;
1853
+ symbol: z.ZodString;
1854
+ icon: z.ZodOptional<z.ZodString>;
1855
+ }, "strip", z.ZodTypeAny, {
1856
+ symbol: string;
1857
+ type: "FiatCurrency";
1858
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1859
+ name: string;
1860
+ icon?: string | undefined;
1861
+ }, {
1862
+ symbol: string;
1863
+ type: "FiatCurrency";
1864
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1865
+ name: string;
1866
+ icon?: string | undefined;
1867
+ }>, {
1868
+ icon: string | undefined;
1869
+ symbol: string;
1870
+ type: "FiatCurrency";
1871
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1872
+ name: string;
1873
+ }, {
1874
+ symbol: string;
1875
+ type: "FiatCurrency";
1876
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1877
+ name: string;
1878
+ icon?: string | undefined;
1879
+ }>, z.ZodEffects<z.ZodObject<{
1880
+ type: z.ZodLiteral<"Nft">;
1881
+ id: z.ZodString;
1882
+ name: z.ZodOptional<z.ZodString>;
1883
+ symbol: z.ZodOptional<z.ZodString>;
1884
+ image: z.ZodOptional<z.ZodString>;
1885
+ metadata: z.ZodOptional<z.ZodString>;
1886
+ updatedAt: z.ZodNumber;
1887
+ }, "strip", z.ZodTypeAny, {
1888
+ type: "Nft";
1889
+ id: string;
1890
+ updatedAt: number;
1891
+ symbol?: string | undefined;
1892
+ name?: string | undefined;
1893
+ image?: string | undefined;
1894
+ metadata?: string | undefined;
1895
+ }, {
1896
+ type: "Nft";
1897
+ id: string;
1898
+ updatedAt: number;
1899
+ symbol?: string | undefined;
1900
+ name?: string | undefined;
1901
+ image?: string | undefined;
1902
+ metadata?: string | undefined;
1903
+ }>, {
1904
+ name: string | undefined;
1905
+ symbol: string | undefined;
1906
+ image: string | undefined;
1907
+ metadata: string | undefined;
1908
+ type: "Nft";
1909
+ id: string;
1910
+ updatedAt: number;
1911
+ }, {
1912
+ type: "Nft";
1913
+ id: string;
1914
+ updatedAt: number;
1915
+ symbol?: string | undefined;
1916
+ name?: string | undefined;
1917
+ image?: string | undefined;
1918
+ metadata?: string | undefined;
1919
+ }>]>;
1920
+ amount: z.ZodObject<{
1921
+ value: z.ZodBigInt;
1922
+ decimals: z.ZodNumber;
1923
+ }, "strip", z.ZodTypeAny, {
1924
+ value: bigint;
1925
+ decimals: number;
1926
+ }, {
1927
+ value: bigint;
1928
+ decimals: number;
1929
+ }>;
1930
+ price: z.ZodOptional<z.ZodObject<{
1931
+ cryptoCurrencyId: z.ZodString;
1932
+ fiatCurrencyId: z.ZodString;
1933
+ price: z.ZodObject<{
1934
+ value: z.ZodBigInt;
1935
+ decimals: z.ZodNumber;
1936
+ }, "strip", z.ZodTypeAny, {
1937
+ value: bigint;
1938
+ decimals: number;
1939
+ }, {
1940
+ value: bigint;
1941
+ decimals: number;
1942
+ }>;
1943
+ timestamp: z.ZodNumber;
1944
+ }, "strip", z.ZodTypeAny, {
1945
+ cryptoCurrencyId: string;
1946
+ fiatCurrencyId: string;
1947
+ price: {
1948
+ value: bigint;
1949
+ decimals: number;
1950
+ };
1951
+ timestamp: number;
1952
+ }, {
1953
+ cryptoCurrencyId: string;
1954
+ fiatCurrencyId: string;
1955
+ price: {
1956
+ value: bigint;
1957
+ decimals: number;
1958
+ };
1959
+ timestamp: number;
1960
+ }>>;
1961
+ }, {
1962
+ direction: z.ZodLiteral<"in">;
1963
+ }>, {
1964
+ asset: z.ZodEffects<z.ZodObject<{
1965
+ type: z.ZodLiteral<"Nft">;
1966
+ id: z.ZodString;
1967
+ name: z.ZodOptional<z.ZodString>;
1968
+ symbol: z.ZodOptional<z.ZodString>;
1969
+ image: z.ZodOptional<z.ZodString>;
1970
+ metadata: z.ZodOptional<z.ZodString>;
1971
+ updatedAt: z.ZodNumber;
1972
+ }, "strip", z.ZodTypeAny, {
1973
+ type: "Nft";
1974
+ id: string;
1975
+ updatedAt: number;
1976
+ symbol?: string | undefined;
1977
+ name?: string | undefined;
1978
+ image?: string | undefined;
1979
+ metadata?: string | undefined;
1980
+ }, {
1981
+ type: "Nft";
1982
+ id: string;
1983
+ updatedAt: number;
1984
+ symbol?: string | undefined;
1985
+ name?: string | undefined;
1986
+ image?: string | undefined;
1987
+ metadata?: string | undefined;
1988
+ }>, {
1989
+ name: string | undefined;
1990
+ symbol: string | undefined;
1991
+ image: string | undefined;
1992
+ metadata: string | undefined;
1993
+ type: "Nft";
1994
+ id: string;
1995
+ updatedAt: number;
1996
+ }, {
1997
+ type: "Nft";
1998
+ id: string;
1999
+ updatedAt: number;
2000
+ symbol?: string | undefined;
2001
+ name?: string | undefined;
2002
+ image?: string | undefined;
2003
+ metadata?: string | undefined;
2004
+ }>;
2005
+ }>, "strip", z.ZodTypeAny, {
2006
+ asset: {
2007
+ name: string | undefined;
2008
+ symbol: string | undefined;
2009
+ image: string | undefined;
2010
+ metadata: string | undefined;
2011
+ type: "Nft";
2012
+ id: string;
2013
+ updatedAt: number;
2014
+ };
2015
+ amount: {
2016
+ value: bigint;
2017
+ decimals: number;
2018
+ };
2019
+ direction: "in";
2020
+ price?: {
2021
+ cryptoCurrencyId: string;
2022
+ fiatCurrencyId: string;
2023
+ price: {
2024
+ value: bigint;
2025
+ decimals: number;
2026
+ };
2027
+ timestamp: number;
2028
+ } | undefined;
2029
+ from?: string | undefined;
2030
+ to?: string | undefined;
2031
+ }, {
2032
+ asset: {
2033
+ type: "Nft";
2034
+ id: string;
2035
+ updatedAt: number;
2036
+ symbol?: string | undefined;
2037
+ name?: string | undefined;
2038
+ image?: string | undefined;
2039
+ metadata?: string | undefined;
2040
+ };
2041
+ amount: {
2042
+ value: bigint;
2043
+ decimals: number;
2044
+ };
2045
+ direction: "in";
2046
+ price?: {
2047
+ cryptoCurrencyId: string;
2048
+ fiatCurrencyId: string;
2049
+ price: {
2050
+ value: bigint;
2051
+ decimals: number;
2052
+ };
2053
+ timestamp: number;
2054
+ } | undefined;
2055
+ from?: string | undefined;
2056
+ to?: string | undefined;
2057
+ }>, {
2058
+ from: string | undefined;
2059
+ to: string | undefined;
2060
+ price: {
2061
+ cryptoCurrencyId: string;
2062
+ fiatCurrencyId: string;
2063
+ price: {
2064
+ value: bigint;
2065
+ decimals: number;
2066
+ };
2067
+ timestamp: number;
2068
+ } | undefined;
2069
+ asset: {
2070
+ name: string | undefined;
2071
+ symbol: string | undefined;
2072
+ image: string | undefined;
2073
+ metadata: string | undefined;
2074
+ type: "Nft";
2075
+ id: string;
2076
+ updatedAt: number;
2077
+ };
2078
+ amount: {
2079
+ value: bigint;
2080
+ decimals: number;
2081
+ };
2082
+ direction: "in";
2083
+ }, {
2084
+ asset: {
2085
+ type: "Nft";
2086
+ id: string;
2087
+ updatedAt: number;
2088
+ symbol?: string | undefined;
2089
+ name?: string | undefined;
2090
+ image?: string | undefined;
2091
+ metadata?: string | undefined;
2092
+ };
2093
+ amount: {
2094
+ value: bigint;
2095
+ decimals: number;
2096
+ };
2097
+ direction: "in";
2098
+ price?: {
2099
+ cryptoCurrencyId: string;
2100
+ fiatCurrencyId: string;
2101
+ price: {
2102
+ value: bigint;
2103
+ decimals: number;
2104
+ };
2105
+ timestamp: number;
2106
+ } | undefined;
2107
+ from?: string | undefined;
2108
+ to?: string | undefined;
2109
+ }>]>, "many">;
2110
+ }>, "strip", z.ZodTypeAny, {
2111
+ type: "LoanNormalAction";
2112
+ timestamp: number;
2113
+ action: "borrow";
2114
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2115
+ transfers: ({
2116
+ from: string | undefined;
2117
+ to: string | undefined;
2118
+ price: {
2119
+ cryptoCurrencyId: string;
2120
+ fiatCurrencyId: string;
2121
+ price: {
2122
+ value: bigint;
2123
+ decimals: number;
2124
+ };
2125
+ timestamp: number;
2126
+ } | undefined;
2127
+ asset: {
2128
+ icon: string | undefined;
2129
+ priceDatasourceId: string | undefined;
2130
+ symbol: string;
2131
+ type: "CryptoCurrency";
2132
+ id: string;
2133
+ name: string;
2134
+ market: {
2135
+ coingeckoId: string | undefined;
2136
+ marketCapUsd: {
2137
+ value: bigint;
2138
+ decimals: number;
2139
+ } | undefined;
2140
+ };
2141
+ updatedAt: number;
2142
+ };
2143
+ amount: {
2144
+ value: bigint;
2145
+ decimals: number;
2146
+ };
2147
+ direction: "in";
2148
+ } | {
2149
+ from: string | undefined;
2150
+ to: string | undefined;
2151
+ price: {
2152
+ cryptoCurrencyId: string;
2153
+ fiatCurrencyId: string;
2154
+ price: {
2155
+ value: bigint;
2156
+ decimals: number;
2157
+ };
2158
+ timestamp: number;
2159
+ } | undefined;
2160
+ asset: {
2161
+ name: string | undefined;
2162
+ symbol: string | undefined;
2163
+ image: string | undefined;
2164
+ metadata: string | undefined;
2165
+ type: "Nft";
2166
+ id: string;
2167
+ updatedAt: number;
2168
+ };
2169
+ amount: {
2170
+ value: bigint;
2171
+ decimals: number;
2172
+ };
2173
+ direction: "in";
2174
+ })[];
2175
+ loanId: string;
2176
+ comment?: string | undefined;
2177
+ app?: {
2178
+ description: string | undefined;
2179
+ website: string | undefined;
2180
+ icon: string | undefined;
2181
+ id: string;
2182
+ name: string;
2183
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2184
+ } | undefined;
2185
+ }, {
2186
+ type: "LoanNormalAction";
2187
+ timestamp: number;
2188
+ action: "borrow";
2189
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2190
+ transfers: ({
2191
+ asset: {
2192
+ symbol: string;
2193
+ type: "CryptoCurrency";
2194
+ id: string;
2195
+ name: string;
2196
+ market: {
2197
+ coingeckoId?: string | undefined;
2198
+ marketCapUsd?: {
2199
+ value: bigint;
2200
+ decimals: number;
2201
+ } | undefined;
2202
+ };
2203
+ updatedAt: number;
2204
+ icon?: string | undefined;
2205
+ priceDatasourceId?: string | undefined;
2206
+ };
2207
+ amount: {
2208
+ value: bigint;
2209
+ decimals: number;
2210
+ };
2211
+ direction: "in";
2212
+ price?: {
2213
+ cryptoCurrencyId: string;
2214
+ fiatCurrencyId: string;
2215
+ price: {
2216
+ value: bigint;
2217
+ decimals: number;
2218
+ };
2219
+ timestamp: number;
2220
+ } | undefined;
2221
+ from?: string | undefined;
2222
+ to?: string | undefined;
2223
+ } | {
2224
+ asset: {
2225
+ type: "Nft";
2226
+ id: string;
2227
+ updatedAt: number;
2228
+ symbol?: string | undefined;
2229
+ name?: string | undefined;
2230
+ image?: string | undefined;
2231
+ metadata?: string | undefined;
2232
+ };
2233
+ amount: {
2234
+ value: bigint;
2235
+ decimals: number;
2236
+ };
2237
+ direction: "in";
2238
+ price?: {
2239
+ cryptoCurrencyId: string;
2240
+ fiatCurrencyId: string;
2241
+ price: {
2242
+ value: bigint;
2243
+ decimals: number;
2244
+ };
2245
+ timestamp: number;
2246
+ } | undefined;
2247
+ from?: string | undefined;
2248
+ to?: string | undefined;
2249
+ })[];
2250
+ loanId: string;
2251
+ comment?: string | undefined;
2252
+ app?: {
2253
+ id: string;
2254
+ name: string;
2255
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2256
+ icon?: string | undefined;
2257
+ description?: string | undefined;
2258
+ website?: string | undefined;
2259
+ } | undefined;
2260
+ }>, {
2261
+ comment: string | undefined;
2262
+ app: {
2263
+ description: string | undefined;
2264
+ website: string | undefined;
2265
+ icon: string | undefined;
2266
+ id: string;
2267
+ name: string;
2268
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2269
+ } | undefined;
2270
+ type: "LoanNormalAction";
2271
+ timestamp: number;
2272
+ action: "borrow";
2273
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2274
+ transfers: ({
2275
+ from: string | undefined;
2276
+ to: string | undefined;
2277
+ price: {
2278
+ cryptoCurrencyId: string;
2279
+ fiatCurrencyId: string;
2280
+ price: {
2281
+ value: bigint;
2282
+ decimals: number;
2283
+ };
2284
+ timestamp: number;
2285
+ } | undefined;
2286
+ asset: {
2287
+ icon: string | undefined;
2288
+ priceDatasourceId: string | undefined;
2289
+ symbol: string;
2290
+ type: "CryptoCurrency";
2291
+ id: string;
2292
+ name: string;
2293
+ market: {
2294
+ coingeckoId: string | undefined;
2295
+ marketCapUsd: {
2296
+ value: bigint;
2297
+ decimals: number;
2298
+ } | undefined;
2299
+ };
2300
+ updatedAt: number;
2301
+ };
2302
+ amount: {
2303
+ value: bigint;
2304
+ decimals: number;
2305
+ };
2306
+ direction: "in";
2307
+ } | {
2308
+ from: string | undefined;
2309
+ to: string | undefined;
2310
+ price: {
2311
+ cryptoCurrencyId: string;
2312
+ fiatCurrencyId: string;
2313
+ price: {
2314
+ value: bigint;
2315
+ decimals: number;
2316
+ };
2317
+ timestamp: number;
2318
+ } | undefined;
2319
+ asset: {
2320
+ name: string | undefined;
2321
+ symbol: string | undefined;
2322
+ image: string | undefined;
2323
+ metadata: string | undefined;
2324
+ type: "Nft";
2325
+ id: string;
2326
+ updatedAt: number;
2327
+ };
2328
+ amount: {
2329
+ value: bigint;
2330
+ decimals: number;
2331
+ };
2332
+ direction: "in";
2333
+ })[];
2334
+ loanId: string;
2335
+ }, {
2336
+ type: "LoanNormalAction";
2337
+ timestamp: number;
2338
+ action: "borrow";
2339
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2340
+ transfers: ({
2341
+ asset: {
2342
+ symbol: string;
2343
+ type: "CryptoCurrency";
2344
+ id: string;
2345
+ name: string;
2346
+ market: {
2347
+ coingeckoId?: string | undefined;
2348
+ marketCapUsd?: {
2349
+ value: bigint;
2350
+ decimals: number;
2351
+ } | undefined;
2352
+ };
2353
+ updatedAt: number;
2354
+ icon?: string | undefined;
2355
+ priceDatasourceId?: string | undefined;
2356
+ };
2357
+ amount: {
2358
+ value: bigint;
2359
+ decimals: number;
2360
+ };
2361
+ direction: "in";
2362
+ price?: {
2363
+ cryptoCurrencyId: string;
2364
+ fiatCurrencyId: string;
2365
+ price: {
2366
+ value: bigint;
2367
+ decimals: number;
2368
+ };
2369
+ timestamp: number;
2370
+ } | undefined;
2371
+ from?: string | undefined;
2372
+ to?: string | undefined;
2373
+ } | {
2374
+ asset: {
2375
+ type: "Nft";
2376
+ id: string;
2377
+ updatedAt: number;
2378
+ symbol?: string | undefined;
2379
+ name?: string | undefined;
2380
+ image?: string | undefined;
2381
+ metadata?: string | undefined;
2382
+ };
2383
+ amount: {
2384
+ value: bigint;
2385
+ decimals: number;
2386
+ };
2387
+ direction: "in";
2388
+ price?: {
2389
+ cryptoCurrencyId: string;
2390
+ fiatCurrencyId: string;
2391
+ price: {
2392
+ value: bigint;
2393
+ decimals: number;
2394
+ };
2395
+ timestamp: number;
2396
+ } | undefined;
2397
+ from?: string | undefined;
2398
+ to?: string | undefined;
2399
+ })[];
2400
+ loanId: string;
2401
+ comment?: string | undefined;
2402
+ app?: {
2403
+ id: string;
2404
+ name: string;
2405
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2406
+ icon?: string | undefined;
2407
+ description?: string | undefined;
2408
+ website?: string | undefined;
2409
+ } | undefined;
2410
+ }>;
2411
+ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2412
+ action: z.ZodUnion<[z.ZodLiteral<"add-liquidity">, z.ZodLiteral<"approve">, z.ZodLiteral<"atomic-arbitrage">, z.ZodLiteral<"borrow">, z.ZodLiteral<"bridge-from">, z.ZodLiteral<"bridge-to">, z.ZodLiteral<"buy-nft">, z.ZodLiteral<"buy-crypto">, z.ZodLiteral<"cross-replace">, z.ZodLiteral<"cross-trade">, z.ZodLiteral<"deposit">, z.ZodLiteral<"deposit-with-bond">, z.ZodLiteral<"fail-tx">, z.ZodLiteral<"fee">, z.ZodLiteral<"free-mint-nft">, z.ZodLiteral<"ignore">, z.ZodLiteral<"income">, z.ZodLiteral<"mint-nft">, z.ZodLiteral<"move">, z.ZodLiteral<"nft-royalty">, z.ZodLiteral<"receive-from-cex">, z.ZodLiteral<"reduce">, z.ZodLiteral<"remove-liquidity">, z.ZodLiteral<"repayment">, z.ZodLiteral<"repayment-with-debt">, z.ZodLiteral<"revoke">, z.ZodLiteral<"sell-crypto">, z.ZodLiteral<"sell-nft">, z.ZodLiteral<"send-to-cex">, z.ZodLiteral<"spam">, z.ZodLiteral<"stake">, z.ZodLiteral<"swap-income">, z.ZodLiteral<"swap-nft">, z.ZodLiteral<"swap-transfer">, z.ZodLiteral<"trade">, z.ZodLiteral<"transaction-fee">, z.ZodLiteral<"transfer">, z.ZodLiteral<"unstake">, z.ZodLiteral<"unwrap">, z.ZodLiteral<"valuedown">, z.ZodLiteral<"valueup">, z.ZodLiteral<"withdraw">, z.ZodLiteral<"withdraw-with-bond">, z.ZodLiteral<"wrap">]>;
2413
+ source: z.ZodString;
2414
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
2415
+ timestamp: z.ZodNumber;
2416
+ order: z.ZodNumber;
2417
+ comment: z.ZodOptional<z.ZodString>;
2418
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2419
+ id: z.ZodString;
2420
+ categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
2421
+ name: z.ZodString;
2422
+ description: z.ZodOptional<z.ZodString>;
2423
+ website: z.ZodOptional<z.ZodString>;
2424
+ icon: z.ZodOptional<z.ZodString>;
2425
+ }, "strip", z.ZodTypeAny, {
2426
+ id: string;
2427
+ name: string;
2428
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2429
+ icon?: string | undefined;
2430
+ description?: string | undefined;
2431
+ website?: string | undefined;
2432
+ }, {
2433
+ id: string;
2434
+ name: string;
2435
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2436
+ icon?: string | undefined;
2437
+ description?: string | undefined;
2438
+ website?: string | undefined;
2439
+ }>, {
2440
+ description: string | undefined;
2441
+ website: string | undefined;
2442
+ icon: string | undefined;
2443
+ id: string;
2444
+ name: string;
2445
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2446
+ }, {
2447
+ id: string;
2448
+ name: string;
2449
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2450
+ icon?: string | undefined;
2451
+ description?: string | undefined;
2452
+ website?: string | undefined;
2453
+ }>>;
2454
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2455
+ from: z.ZodOptional<z.ZodString>;
2456
+ to: z.ZodOptional<z.ZodString>;
2457
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2458
+ type: z.ZodLiteral<"CryptoCurrency">;
2459
+ id: z.ZodString;
2460
+ name: z.ZodString;
2461
+ symbol: z.ZodString;
2462
+ icon: z.ZodOptional<z.ZodString>;
2463
+ market: z.ZodEffects<z.ZodObject<{
2464
+ coingeckoId: z.ZodOptional<z.ZodString>;
2465
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2466
+ value: z.ZodBigInt;
2467
+ decimals: z.ZodNumber;
2468
+ }, "strip", z.ZodTypeAny, {
2469
+ value: bigint;
2470
+ decimals: number;
2471
+ }, {
2472
+ value: bigint;
2473
+ decimals: number;
2474
+ }>>;
2475
+ }, "strip", z.ZodTypeAny, {
2476
+ coingeckoId?: string | undefined;
2477
+ marketCapUsd?: {
2478
+ value: bigint;
2479
+ decimals: number;
2480
+ } | undefined;
2481
+ }, {
2482
+ coingeckoId?: string | undefined;
2483
+ marketCapUsd?: {
2484
+ value: bigint;
2485
+ decimals: number;
2486
+ } | undefined;
2487
+ }>, {
2488
+ coingeckoId: string | undefined;
2489
+ marketCapUsd: {
2490
+ value: bigint;
2491
+ decimals: number;
2492
+ } | undefined;
2493
+ }, {
2494
+ coingeckoId?: string | undefined;
2495
+ marketCapUsd?: {
2496
+ value: bigint;
2497
+ decimals: number;
2498
+ } | undefined;
2499
+ }>;
2500
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2501
+ updatedAt: z.ZodNumber;
2502
+ }, "strip", z.ZodTypeAny, {
2503
+ symbol: string;
2504
+ type: "CryptoCurrency";
2505
+ id: string;
2506
+ name: string;
2507
+ market: {
2508
+ coingeckoId: string | undefined;
2509
+ marketCapUsd: {
2510
+ value: bigint;
2511
+ decimals: number;
2512
+ } | undefined;
2513
+ };
2514
+ updatedAt: number;
2515
+ icon?: string | undefined;
2516
+ priceDatasourceId?: string | undefined;
2517
+ }, {
2518
+ symbol: string;
2519
+ type: "CryptoCurrency";
2520
+ id: string;
2521
+ name: string;
2522
+ market: {
2523
+ coingeckoId?: string | undefined;
2524
+ marketCapUsd?: {
2525
+ value: bigint;
2526
+ decimals: number;
2527
+ } | undefined;
2528
+ };
2529
+ updatedAt: number;
2530
+ icon?: string | undefined;
2531
+ priceDatasourceId?: string | undefined;
2532
+ }>, {
2533
+ icon: string | undefined;
2534
+ priceDatasourceId: string | undefined;
2535
+ symbol: string;
2536
+ type: "CryptoCurrency";
2537
+ id: string;
2538
+ name: string;
2539
+ market: {
2540
+ coingeckoId: string | undefined;
2541
+ marketCapUsd: {
2542
+ value: bigint;
2543
+ decimals: number;
2544
+ } | undefined;
2545
+ };
2546
+ updatedAt: number;
2547
+ }, {
2548
+ symbol: string;
2549
+ type: "CryptoCurrency";
2550
+ id: string;
2551
+ name: string;
2552
+ market: {
2553
+ coingeckoId?: string | undefined;
2554
+ marketCapUsd?: {
2555
+ value: bigint;
2556
+ decimals: number;
2557
+ } | undefined;
2558
+ };
2559
+ updatedAt: number;
2560
+ icon?: string | undefined;
2561
+ priceDatasourceId?: string | undefined;
2562
+ }>, z.ZodEffects<z.ZodObject<{
2563
+ type: z.ZodLiteral<"FiatCurrency">;
2564
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
2565
+ name: z.ZodString;
2566
+ symbol: z.ZodString;
2567
+ icon: z.ZodOptional<z.ZodString>;
2568
+ }, "strip", z.ZodTypeAny, {
2569
+ symbol: string;
2570
+ type: "FiatCurrency";
2571
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2572
+ name: string;
2573
+ icon?: string | undefined;
2574
+ }, {
2575
+ symbol: string;
2576
+ type: "FiatCurrency";
2577
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2578
+ name: string;
2579
+ icon?: string | undefined;
2580
+ }>, {
2581
+ icon: string | undefined;
2582
+ symbol: string;
2583
+ type: "FiatCurrency";
2584
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2585
+ name: string;
2586
+ }, {
2587
+ symbol: string;
2588
+ type: "FiatCurrency";
2589
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2590
+ name: string;
2591
+ icon?: string | undefined;
2592
+ }>, z.ZodEffects<z.ZodObject<{
2593
+ type: z.ZodLiteral<"Nft">;
2594
+ id: z.ZodString;
2595
+ name: z.ZodOptional<z.ZodString>;
2596
+ symbol: z.ZodOptional<z.ZodString>;
2597
+ image: z.ZodOptional<z.ZodString>;
2598
+ metadata: z.ZodOptional<z.ZodString>;
2599
+ updatedAt: z.ZodNumber;
2600
+ }, "strip", z.ZodTypeAny, {
2601
+ type: "Nft";
2602
+ id: string;
2603
+ updatedAt: number;
2604
+ symbol?: string | undefined;
2605
+ name?: string | undefined;
2606
+ image?: string | undefined;
2607
+ metadata?: string | undefined;
2608
+ }, {
2609
+ type: "Nft";
2610
+ id: string;
2611
+ updatedAt: number;
2612
+ symbol?: string | undefined;
2613
+ name?: string | undefined;
2614
+ image?: string | undefined;
2615
+ metadata?: string | undefined;
2616
+ }>, {
2617
+ name: string | undefined;
2618
+ symbol: string | undefined;
2619
+ image: string | undefined;
2620
+ metadata: string | undefined;
2621
+ type: "Nft";
2622
+ id: string;
2623
+ updatedAt: number;
2624
+ }, {
2625
+ type: "Nft";
2626
+ id: string;
2627
+ updatedAt: number;
2628
+ symbol?: string | undefined;
2629
+ name?: string | undefined;
2630
+ image?: string | undefined;
2631
+ metadata?: string | undefined;
2632
+ }>]>;
2633
+ amount: z.ZodObject<{
2634
+ value: z.ZodBigInt;
2635
+ decimals: z.ZodNumber;
2636
+ }, "strip", z.ZodTypeAny, {
2637
+ value: bigint;
2638
+ decimals: number;
2639
+ }, {
2640
+ value: bigint;
2641
+ decimals: number;
2642
+ }>;
2643
+ price: z.ZodOptional<z.ZodObject<{
2644
+ cryptoCurrencyId: z.ZodString;
2645
+ fiatCurrencyId: z.ZodString;
2646
+ price: z.ZodObject<{
2647
+ value: z.ZodBigInt;
2648
+ decimals: z.ZodNumber;
2649
+ }, "strip", z.ZodTypeAny, {
2650
+ value: bigint;
2651
+ decimals: number;
2652
+ }, {
2653
+ value: bigint;
2654
+ decimals: number;
2655
+ }>;
2656
+ timestamp: z.ZodNumber;
2657
+ }, "strip", z.ZodTypeAny, {
2658
+ cryptoCurrencyId: string;
2659
+ fiatCurrencyId: string;
2660
+ price: {
2661
+ value: bigint;
2662
+ decimals: number;
2663
+ };
2664
+ timestamp: number;
2665
+ }, {
2666
+ cryptoCurrencyId: string;
2667
+ fiatCurrencyId: string;
2668
+ price: {
2669
+ value: bigint;
2670
+ decimals: number;
2671
+ };
2672
+ timestamp: number;
2673
+ }>>;
2674
+ }, {
2675
+ direction: z.ZodLiteral<"in">;
2676
+ }>, "strip", z.ZodTypeAny, {
2677
+ asset: {
2678
+ icon: string | undefined;
2679
+ priceDatasourceId: string | undefined;
2680
+ symbol: string;
2681
+ type: "CryptoCurrency";
2682
+ id: string;
2683
+ name: string;
2684
+ market: {
2685
+ coingeckoId: string | undefined;
2686
+ marketCapUsd: {
2687
+ value: bigint;
2688
+ decimals: number;
2689
+ } | undefined;
2690
+ };
2691
+ updatedAt: number;
2692
+ } | {
2693
+ icon: string | undefined;
2694
+ symbol: string;
2695
+ type: "FiatCurrency";
2696
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2697
+ name: string;
2698
+ } | {
2699
+ name: string | undefined;
2700
+ symbol: string | undefined;
2701
+ image: string | undefined;
2702
+ metadata: string | undefined;
2703
+ type: "Nft";
2704
+ id: string;
2705
+ updatedAt: number;
2706
+ };
2707
+ amount: {
2708
+ value: bigint;
2709
+ decimals: number;
2710
+ };
2711
+ direction: "in";
2712
+ price?: {
2713
+ cryptoCurrencyId: string;
2714
+ fiatCurrencyId: string;
2715
+ price: {
2716
+ value: bigint;
2717
+ decimals: number;
2718
+ };
2719
+ timestamp: number;
2720
+ } | undefined;
2721
+ from?: string | undefined;
2722
+ to?: string | undefined;
2723
+ }, {
2724
+ asset: {
2725
+ symbol: string;
2726
+ type: "CryptoCurrency";
2727
+ id: string;
2728
+ name: string;
2729
+ market: {
2730
+ coingeckoId?: string | undefined;
2731
+ marketCapUsd?: {
2732
+ value: bigint;
2733
+ decimals: number;
2734
+ } | undefined;
2735
+ };
2736
+ updatedAt: number;
2737
+ icon?: string | undefined;
2738
+ priceDatasourceId?: string | undefined;
2739
+ } | {
2740
+ symbol: string;
2741
+ type: "FiatCurrency";
2742
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2743
+ name: string;
2744
+ icon?: string | undefined;
2745
+ } | {
2746
+ type: "Nft";
2747
+ id: string;
2748
+ updatedAt: number;
2749
+ symbol?: string | undefined;
2750
+ name?: string | undefined;
2751
+ image?: string | undefined;
2752
+ metadata?: string | undefined;
2753
+ };
2754
+ amount: {
2755
+ value: bigint;
2756
+ decimals: number;
2757
+ };
2758
+ direction: "in";
2759
+ price?: {
2760
+ cryptoCurrencyId: string;
2761
+ fiatCurrencyId: string;
2762
+ price: {
2763
+ value: bigint;
2764
+ decimals: number;
2765
+ };
2766
+ timestamp: number;
2767
+ } | undefined;
2768
+ from?: string | undefined;
2769
+ to?: string | undefined;
2770
+ }>, {
2771
+ from: string | undefined;
2772
+ to: string | undefined;
2773
+ price: {
2774
+ cryptoCurrencyId: string;
2775
+ fiatCurrencyId: string;
2776
+ price: {
2777
+ value: bigint;
2778
+ decimals: number;
2779
+ };
2780
+ timestamp: number;
2781
+ } | undefined;
2782
+ asset: {
2783
+ icon: string | undefined;
2784
+ priceDatasourceId: string | undefined;
2785
+ symbol: string;
2786
+ type: "CryptoCurrency";
2787
+ id: string;
2788
+ name: string;
2789
+ market: {
2790
+ coingeckoId: string | undefined;
2791
+ marketCapUsd: {
2792
+ value: bigint;
2793
+ decimals: number;
2794
+ } | undefined;
2795
+ };
2796
+ updatedAt: number;
2797
+ } | {
2798
+ icon: string | undefined;
2799
+ symbol: string;
2800
+ type: "FiatCurrency";
2801
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2802
+ name: string;
2803
+ } | {
2804
+ name: string | undefined;
2805
+ symbol: string | undefined;
2806
+ image: string | undefined;
2807
+ metadata: string | undefined;
2808
+ type: "Nft";
2809
+ id: string;
2810
+ updatedAt: number;
2811
+ };
2812
+ amount: {
2813
+ value: bigint;
2814
+ decimals: number;
2815
+ };
2816
+ direction: "in";
2817
+ }, {
2818
+ asset: {
2819
+ symbol: string;
2820
+ type: "CryptoCurrency";
2821
+ id: string;
2822
+ name: string;
2823
+ market: {
2824
+ coingeckoId?: string | undefined;
2825
+ marketCapUsd?: {
2826
+ value: bigint;
2827
+ decimals: number;
2828
+ } | undefined;
2829
+ };
2830
+ updatedAt: number;
2831
+ icon?: string | undefined;
2832
+ priceDatasourceId?: string | undefined;
2833
+ } | {
2834
+ symbol: string;
2835
+ type: "FiatCurrency";
2836
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2837
+ name: string;
2838
+ icon?: string | undefined;
2839
+ } | {
2840
+ type: "Nft";
2841
+ id: string;
2842
+ updatedAt: number;
2843
+ symbol?: string | undefined;
2844
+ name?: string | undefined;
2845
+ image?: string | undefined;
2846
+ metadata?: string | undefined;
2847
+ };
2848
+ amount: {
2849
+ value: bigint;
2850
+ decimals: number;
2851
+ };
2852
+ direction: "in";
2853
+ price?: {
2854
+ cryptoCurrencyId: string;
2855
+ fiatCurrencyId: string;
2856
+ price: {
2857
+ value: bigint;
2858
+ decimals: number;
2859
+ };
2860
+ timestamp: number;
2861
+ } | undefined;
2862
+ from?: string | undefined;
2863
+ to?: string | undefined;
2864
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2865
+ from: z.ZodOptional<z.ZodString>;
2866
+ to: z.ZodOptional<z.ZodString>;
2867
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2868
+ type: z.ZodLiteral<"CryptoCurrency">;
2869
+ id: z.ZodString;
2870
+ name: z.ZodString;
2871
+ symbol: z.ZodString;
2872
+ icon: z.ZodOptional<z.ZodString>;
2873
+ market: z.ZodEffects<z.ZodObject<{
2874
+ coingeckoId: z.ZodOptional<z.ZodString>;
2875
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2876
+ value: z.ZodBigInt;
2877
+ decimals: z.ZodNumber;
2878
+ }, "strip", z.ZodTypeAny, {
2879
+ value: bigint;
2880
+ decimals: number;
2881
+ }, {
2882
+ value: bigint;
2883
+ decimals: number;
2884
+ }>>;
2885
+ }, "strip", z.ZodTypeAny, {
2886
+ coingeckoId?: string | undefined;
2887
+ marketCapUsd?: {
2888
+ value: bigint;
2889
+ decimals: number;
2890
+ } | undefined;
2891
+ }, {
2892
+ coingeckoId?: string | undefined;
2893
+ marketCapUsd?: {
2894
+ value: bigint;
2895
+ decimals: number;
2896
+ } | undefined;
2897
+ }>, {
2898
+ coingeckoId: string | undefined;
2899
+ marketCapUsd: {
2900
+ value: bigint;
2901
+ decimals: number;
2902
+ } | undefined;
2903
+ }, {
2904
+ coingeckoId?: string | undefined;
2905
+ marketCapUsd?: {
2906
+ value: bigint;
2907
+ decimals: number;
2908
+ } | undefined;
2909
+ }>;
2910
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2911
+ updatedAt: z.ZodNumber;
2912
+ }, "strip", z.ZodTypeAny, {
2913
+ symbol: string;
2914
+ type: "CryptoCurrency";
2915
+ id: string;
2916
+ name: string;
2917
+ market: {
2918
+ coingeckoId: string | undefined;
2919
+ marketCapUsd: {
2920
+ value: bigint;
2921
+ decimals: number;
2922
+ } | undefined;
2923
+ };
2924
+ updatedAt: number;
2925
+ icon?: string | undefined;
2926
+ priceDatasourceId?: string | undefined;
2927
+ }, {
2928
+ symbol: string;
2929
+ type: "CryptoCurrency";
2930
+ id: string;
2931
+ name: string;
2932
+ market: {
2933
+ coingeckoId?: string | undefined;
2934
+ marketCapUsd?: {
2935
+ value: bigint;
2936
+ decimals: number;
2937
+ } | undefined;
2938
+ };
2939
+ updatedAt: number;
2940
+ icon?: string | undefined;
2941
+ priceDatasourceId?: string | undefined;
2942
+ }>, {
2943
+ icon: string | undefined;
2944
+ priceDatasourceId: string | undefined;
2945
+ symbol: string;
2946
+ type: "CryptoCurrency";
2947
+ id: string;
2948
+ name: string;
2949
+ market: {
2950
+ coingeckoId: string | undefined;
2951
+ marketCapUsd: {
2952
+ value: bigint;
2953
+ decimals: number;
2954
+ } | undefined;
2955
+ };
2956
+ updatedAt: number;
2957
+ }, {
2958
+ symbol: string;
2959
+ type: "CryptoCurrency";
2960
+ id: string;
2961
+ name: string;
2962
+ market: {
2963
+ coingeckoId?: string | undefined;
2964
+ marketCapUsd?: {
2965
+ value: bigint;
2966
+ decimals: number;
2967
+ } | undefined;
2968
+ };
2969
+ updatedAt: number;
2970
+ icon?: string | undefined;
2971
+ priceDatasourceId?: string | undefined;
2972
+ }>, z.ZodEffects<z.ZodObject<{
2973
+ type: z.ZodLiteral<"FiatCurrency">;
2974
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
2975
+ name: z.ZodString;
2976
+ symbol: z.ZodString;
2977
+ icon: z.ZodOptional<z.ZodString>;
2978
+ }, "strip", z.ZodTypeAny, {
2979
+ symbol: string;
2980
+ type: "FiatCurrency";
2981
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2982
+ name: string;
2983
+ icon?: string | undefined;
2984
+ }, {
2985
+ symbol: string;
2986
+ type: "FiatCurrency";
2987
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2988
+ name: string;
2989
+ icon?: string | undefined;
2990
+ }>, {
2991
+ icon: string | undefined;
2992
+ symbol: string;
2993
+ type: "FiatCurrency";
2994
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2995
+ name: string;
2996
+ }, {
2997
+ symbol: string;
2998
+ type: "FiatCurrency";
2999
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3000
+ name: string;
3001
+ icon?: string | undefined;
3002
+ }>, z.ZodEffects<z.ZodObject<{
3003
+ type: z.ZodLiteral<"Nft">;
3004
+ id: z.ZodString;
3005
+ name: z.ZodOptional<z.ZodString>;
3006
+ symbol: z.ZodOptional<z.ZodString>;
3007
+ image: z.ZodOptional<z.ZodString>;
3008
+ metadata: z.ZodOptional<z.ZodString>;
3009
+ updatedAt: z.ZodNumber;
3010
+ }, "strip", z.ZodTypeAny, {
3011
+ type: "Nft";
3012
+ id: string;
3013
+ updatedAt: number;
3014
+ symbol?: string | undefined;
3015
+ name?: string | undefined;
3016
+ image?: string | undefined;
3017
+ metadata?: string | undefined;
3018
+ }, {
3019
+ type: "Nft";
3020
+ id: string;
3021
+ updatedAt: number;
3022
+ symbol?: string | undefined;
3023
+ name?: string | undefined;
3024
+ image?: string | undefined;
3025
+ metadata?: string | undefined;
3026
+ }>, {
3027
+ name: string | undefined;
3028
+ symbol: string | undefined;
3029
+ image: string | undefined;
3030
+ metadata: string | undefined;
3031
+ type: "Nft";
3032
+ id: string;
3033
+ updatedAt: number;
3034
+ }, {
3035
+ type: "Nft";
3036
+ id: string;
3037
+ updatedAt: number;
3038
+ symbol?: string | undefined;
3039
+ name?: string | undefined;
3040
+ image?: string | undefined;
3041
+ metadata?: string | undefined;
3042
+ }>]>;
3043
+ amount: z.ZodObject<{
3044
+ value: z.ZodBigInt;
3045
+ decimals: z.ZodNumber;
3046
+ }, "strip", z.ZodTypeAny, {
3047
+ value: bigint;
3048
+ decimals: number;
3049
+ }, {
3050
+ value: bigint;
3051
+ decimals: number;
3052
+ }>;
3053
+ price: z.ZodOptional<z.ZodObject<{
3054
+ cryptoCurrencyId: z.ZodString;
3055
+ fiatCurrencyId: z.ZodString;
3056
+ price: z.ZodObject<{
3057
+ value: z.ZodBigInt;
3058
+ decimals: z.ZodNumber;
3059
+ }, "strip", z.ZodTypeAny, {
3060
+ value: bigint;
3061
+ decimals: number;
3062
+ }, {
3063
+ value: bigint;
3064
+ decimals: number;
3065
+ }>;
3066
+ timestamp: z.ZodNumber;
3067
+ }, "strip", z.ZodTypeAny, {
3068
+ cryptoCurrencyId: string;
3069
+ fiatCurrencyId: string;
3070
+ price: {
3071
+ value: bigint;
3072
+ decimals: number;
3073
+ };
3074
+ timestamp: number;
3075
+ }, {
3076
+ cryptoCurrencyId: string;
3077
+ fiatCurrencyId: string;
3078
+ price: {
3079
+ value: bigint;
3080
+ decimals: number;
3081
+ };
3082
+ timestamp: number;
3083
+ }>>;
3084
+ }, {
3085
+ direction: z.ZodLiteral<"out">;
3086
+ }>, "strip", z.ZodTypeAny, {
3087
+ asset: {
3088
+ icon: string | undefined;
3089
+ priceDatasourceId: string | undefined;
3090
+ symbol: string;
3091
+ type: "CryptoCurrency";
3092
+ id: string;
3093
+ name: string;
3094
+ market: {
3095
+ coingeckoId: string | undefined;
3096
+ marketCapUsd: {
3097
+ value: bigint;
3098
+ decimals: number;
3099
+ } | undefined;
3100
+ };
3101
+ updatedAt: number;
3102
+ } | {
3103
+ icon: string | undefined;
3104
+ symbol: string;
3105
+ type: "FiatCurrency";
3106
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3107
+ name: string;
3108
+ } | {
3109
+ name: string | undefined;
3110
+ symbol: string | undefined;
3111
+ image: string | undefined;
3112
+ metadata: string | undefined;
3113
+ type: "Nft";
3114
+ id: string;
3115
+ updatedAt: number;
3116
+ };
3117
+ amount: {
3118
+ value: bigint;
3119
+ decimals: number;
3120
+ };
3121
+ direction: "out";
3122
+ price?: {
3123
+ cryptoCurrencyId: string;
3124
+ fiatCurrencyId: string;
3125
+ price: {
3126
+ value: bigint;
3127
+ decimals: number;
3128
+ };
3129
+ timestamp: number;
3130
+ } | undefined;
3131
+ from?: string | undefined;
3132
+ to?: string | undefined;
3133
+ }, {
3134
+ asset: {
3135
+ symbol: string;
3136
+ type: "CryptoCurrency";
3137
+ id: string;
3138
+ name: string;
3139
+ market: {
3140
+ coingeckoId?: string | undefined;
3141
+ marketCapUsd?: {
3142
+ value: bigint;
3143
+ decimals: number;
3144
+ } | undefined;
3145
+ };
3146
+ updatedAt: number;
3147
+ icon?: string | undefined;
3148
+ priceDatasourceId?: string | undefined;
3149
+ } | {
3150
+ symbol: string;
3151
+ type: "FiatCurrency";
3152
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3153
+ name: string;
3154
+ icon?: string | undefined;
3155
+ } | {
3156
+ type: "Nft";
3157
+ id: string;
3158
+ updatedAt: number;
3159
+ symbol?: string | undefined;
3160
+ name?: string | undefined;
3161
+ image?: string | undefined;
3162
+ metadata?: string | undefined;
3163
+ };
3164
+ amount: {
3165
+ value: bigint;
3166
+ decimals: number;
3167
+ };
3168
+ direction: "out";
3169
+ price?: {
3170
+ cryptoCurrencyId: string;
3171
+ fiatCurrencyId: string;
3172
+ price: {
3173
+ value: bigint;
3174
+ decimals: number;
3175
+ };
3176
+ timestamp: number;
3177
+ } | undefined;
3178
+ from?: string | undefined;
3179
+ to?: string | undefined;
3180
+ }>, {
558
3181
  from: string | undefined;
559
3182
  to: string | undefined;
560
3183
  price: {
@@ -564,9 +3187,253 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
564
3187
  value: bigint;
565
3188
  decimals: number;
566
3189
  };
567
- timestamp: number;
568
- } | undefined;
569
- asset: {
3190
+ timestamp: number;
3191
+ } | undefined;
3192
+ asset: {
3193
+ icon: string | undefined;
3194
+ priceDatasourceId: string | undefined;
3195
+ symbol: string;
3196
+ type: "CryptoCurrency";
3197
+ id: string;
3198
+ name: string;
3199
+ market: {
3200
+ coingeckoId: string | undefined;
3201
+ marketCapUsd: {
3202
+ value: bigint;
3203
+ decimals: number;
3204
+ } | undefined;
3205
+ };
3206
+ updatedAt: number;
3207
+ } | {
3208
+ icon: string | undefined;
3209
+ symbol: string;
3210
+ type: "FiatCurrency";
3211
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3212
+ name: string;
3213
+ } | {
3214
+ name: string | undefined;
3215
+ symbol: string | undefined;
3216
+ image: string | undefined;
3217
+ metadata: string | undefined;
3218
+ type: "Nft";
3219
+ id: string;
3220
+ updatedAt: number;
3221
+ };
3222
+ amount: {
3223
+ value: bigint;
3224
+ decimals: number;
3225
+ };
3226
+ direction: "out";
3227
+ }, {
3228
+ asset: {
3229
+ symbol: string;
3230
+ type: "CryptoCurrency";
3231
+ id: string;
3232
+ name: string;
3233
+ market: {
3234
+ coingeckoId?: string | undefined;
3235
+ marketCapUsd?: {
3236
+ value: bigint;
3237
+ decimals: number;
3238
+ } | undefined;
3239
+ };
3240
+ updatedAt: number;
3241
+ icon?: string | undefined;
3242
+ priceDatasourceId?: string | undefined;
3243
+ } | {
3244
+ symbol: string;
3245
+ type: "FiatCurrency";
3246
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3247
+ name: string;
3248
+ icon?: string | undefined;
3249
+ } | {
3250
+ type: "Nft";
3251
+ id: string;
3252
+ updatedAt: number;
3253
+ symbol?: string | undefined;
3254
+ name?: string | undefined;
3255
+ image?: string | undefined;
3256
+ metadata?: string | undefined;
3257
+ };
3258
+ amount: {
3259
+ value: bigint;
3260
+ decimals: number;
3261
+ };
3262
+ direction: "out";
3263
+ price?: {
3264
+ cryptoCurrencyId: string;
3265
+ fiatCurrencyId: string;
3266
+ price: {
3267
+ value: bigint;
3268
+ decimals: number;
3269
+ };
3270
+ timestamp: number;
3271
+ } | undefined;
3272
+ from?: string | undefined;
3273
+ to?: string | undefined;
3274
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
3275
+ from: z.ZodOptional<z.ZodString>;
3276
+ to: z.ZodOptional<z.ZodString>;
3277
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3278
+ type: z.ZodLiteral<"CryptoCurrency">;
3279
+ id: z.ZodString;
3280
+ name: z.ZodString;
3281
+ symbol: z.ZodString;
3282
+ icon: z.ZodOptional<z.ZodString>;
3283
+ market: z.ZodEffects<z.ZodObject<{
3284
+ coingeckoId: z.ZodOptional<z.ZodString>;
3285
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3286
+ value: z.ZodBigInt;
3287
+ decimals: z.ZodNumber;
3288
+ }, "strip", z.ZodTypeAny, {
3289
+ value: bigint;
3290
+ decimals: number;
3291
+ }, {
3292
+ value: bigint;
3293
+ decimals: number;
3294
+ }>>;
3295
+ }, "strip", z.ZodTypeAny, {
3296
+ coingeckoId?: string | undefined;
3297
+ marketCapUsd?: {
3298
+ value: bigint;
3299
+ decimals: number;
3300
+ } | undefined;
3301
+ }, {
3302
+ coingeckoId?: string | undefined;
3303
+ marketCapUsd?: {
3304
+ value: bigint;
3305
+ decimals: number;
3306
+ } | undefined;
3307
+ }>, {
3308
+ coingeckoId: string | undefined;
3309
+ marketCapUsd: {
3310
+ value: bigint;
3311
+ decimals: number;
3312
+ } | undefined;
3313
+ }, {
3314
+ coingeckoId?: string | undefined;
3315
+ marketCapUsd?: {
3316
+ value: bigint;
3317
+ decimals: number;
3318
+ } | undefined;
3319
+ }>;
3320
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3321
+ updatedAt: z.ZodNumber;
3322
+ }, "strip", z.ZodTypeAny, {
3323
+ symbol: string;
3324
+ type: "CryptoCurrency";
3325
+ id: string;
3326
+ name: string;
3327
+ market: {
3328
+ coingeckoId: string | undefined;
3329
+ marketCapUsd: {
3330
+ value: bigint;
3331
+ decimals: number;
3332
+ } | undefined;
3333
+ };
3334
+ updatedAt: number;
3335
+ icon?: string | undefined;
3336
+ priceDatasourceId?: string | undefined;
3337
+ }, {
3338
+ symbol: string;
3339
+ type: "CryptoCurrency";
3340
+ id: string;
3341
+ name: string;
3342
+ market: {
3343
+ coingeckoId?: string | undefined;
3344
+ marketCapUsd?: {
3345
+ value: bigint;
3346
+ decimals: number;
3347
+ } | undefined;
3348
+ };
3349
+ updatedAt: number;
3350
+ icon?: string | undefined;
3351
+ priceDatasourceId?: string | undefined;
3352
+ }>, {
3353
+ icon: string | undefined;
3354
+ priceDatasourceId: string | undefined;
3355
+ symbol: string;
3356
+ type: "CryptoCurrency";
3357
+ id: string;
3358
+ name: string;
3359
+ market: {
3360
+ coingeckoId: string | undefined;
3361
+ marketCapUsd: {
3362
+ value: bigint;
3363
+ decimals: number;
3364
+ } | undefined;
3365
+ };
3366
+ updatedAt: number;
3367
+ }, {
3368
+ symbol: string;
3369
+ type: "CryptoCurrency";
3370
+ id: string;
3371
+ name: string;
3372
+ market: {
3373
+ coingeckoId?: string | undefined;
3374
+ marketCapUsd?: {
3375
+ value: bigint;
3376
+ decimals: number;
3377
+ } | undefined;
3378
+ };
3379
+ updatedAt: number;
3380
+ icon?: string | undefined;
3381
+ priceDatasourceId?: string | undefined;
3382
+ }>, z.ZodEffects<z.ZodObject<{
3383
+ type: z.ZodLiteral<"FiatCurrency">;
3384
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
3385
+ name: z.ZodString;
3386
+ symbol: z.ZodString;
3387
+ icon: z.ZodOptional<z.ZodString>;
3388
+ }, "strip", z.ZodTypeAny, {
3389
+ symbol: string;
3390
+ type: "FiatCurrency";
3391
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3392
+ name: string;
3393
+ icon?: string | undefined;
3394
+ }, {
3395
+ symbol: string;
3396
+ type: "FiatCurrency";
3397
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3398
+ name: string;
3399
+ icon?: string | undefined;
3400
+ }>, {
3401
+ icon: string | undefined;
3402
+ symbol: string;
3403
+ type: "FiatCurrency";
3404
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3405
+ name: string;
3406
+ }, {
3407
+ symbol: string;
3408
+ type: "FiatCurrency";
3409
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3410
+ name: string;
3411
+ icon?: string | undefined;
3412
+ }>, z.ZodEffects<z.ZodObject<{
3413
+ type: z.ZodLiteral<"Nft">;
3414
+ id: z.ZodString;
3415
+ name: z.ZodOptional<z.ZodString>;
3416
+ symbol: z.ZodOptional<z.ZodString>;
3417
+ image: z.ZodOptional<z.ZodString>;
3418
+ metadata: z.ZodOptional<z.ZodString>;
3419
+ updatedAt: z.ZodNumber;
3420
+ }, "strip", z.ZodTypeAny, {
3421
+ type: "Nft";
3422
+ id: string;
3423
+ updatedAt: number;
3424
+ symbol?: string | undefined;
3425
+ name?: string | undefined;
3426
+ image?: string | undefined;
3427
+ metadata?: string | undefined;
3428
+ }, {
3429
+ type: "Nft";
3430
+ id: string;
3431
+ updatedAt: number;
3432
+ symbol?: string | undefined;
3433
+ name?: string | undefined;
3434
+ image?: string | undefined;
3435
+ metadata?: string | undefined;
3436
+ }>, {
570
3437
  name: string | undefined;
571
3438
  symbol: string | undefined;
572
3439
  image: string | undefined;
@@ -574,50 +3441,94 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
574
3441
  type: "Nft";
575
3442
  id: string;
576
3443
  updatedAt: number;
577
- };
578
- amount: {
3444
+ }, {
3445
+ type: "Nft";
3446
+ id: string;
3447
+ updatedAt: number;
3448
+ symbol?: string | undefined;
3449
+ name?: string | undefined;
3450
+ image?: string | undefined;
3451
+ metadata?: string | undefined;
3452
+ }>]>;
3453
+ amount: z.ZodObject<{
3454
+ value: z.ZodBigInt;
3455
+ decimals: z.ZodNumber;
3456
+ }, "strip", z.ZodTypeAny, {
579
3457
  value: bigint;
580
3458
  decimals: number;
581
- };
582
- direction: "in";
583
- })[];
584
- loanId: string;
585
- comment?: string | undefined;
586
- app?: {
587
- description: string | undefined;
588
- website: string | undefined;
589
- icon: string | undefined;
590
- id: string;
591
- name: string;
592
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
593
- } | undefined;
594
- }, {
595
- type: "LoanNormalAction";
596
- timestamp: number;
597
- action: "borrow";
598
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
599
- transfers: ({
3459
+ }, {
3460
+ value: bigint;
3461
+ decimals: number;
3462
+ }>;
3463
+ price: z.ZodOptional<z.ZodObject<{
3464
+ cryptoCurrencyId: z.ZodString;
3465
+ fiatCurrencyId: z.ZodString;
3466
+ price: z.ZodObject<{
3467
+ value: z.ZodBigInt;
3468
+ decimals: z.ZodNumber;
3469
+ }, "strip", z.ZodTypeAny, {
3470
+ value: bigint;
3471
+ decimals: number;
3472
+ }, {
3473
+ value: bigint;
3474
+ decimals: number;
3475
+ }>;
3476
+ timestamp: z.ZodNumber;
3477
+ }, "strip", z.ZodTypeAny, {
3478
+ cryptoCurrencyId: string;
3479
+ fiatCurrencyId: string;
3480
+ price: {
3481
+ value: bigint;
3482
+ decimals: number;
3483
+ };
3484
+ timestamp: number;
3485
+ }, {
3486
+ cryptoCurrencyId: string;
3487
+ fiatCurrencyId: string;
3488
+ price: {
3489
+ value: bigint;
3490
+ decimals: number;
3491
+ };
3492
+ timestamp: number;
3493
+ }>>;
3494
+ }, {
3495
+ direction: z.ZodLiteral<"none">;
3496
+ }>, "strip", z.ZodTypeAny, {
600
3497
  asset: {
3498
+ icon: string | undefined;
3499
+ priceDatasourceId: string | undefined;
601
3500
  symbol: string;
602
3501
  type: "CryptoCurrency";
603
3502
  id: string;
604
3503
  name: string;
605
3504
  market: {
606
- coingeckoId?: string | undefined;
607
- marketCapUsd?: {
3505
+ coingeckoId: string | undefined;
3506
+ marketCapUsd: {
608
3507
  value: bigint;
609
3508
  decimals: number;
610
3509
  } | undefined;
611
3510
  };
612
3511
  updatedAt: number;
613
- icon?: string | undefined;
614
- priceDatasourceId?: string | undefined;
3512
+ } | {
3513
+ icon: string | undefined;
3514
+ symbol: string;
3515
+ type: "FiatCurrency";
3516
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3517
+ name: string;
3518
+ } | {
3519
+ name: string | undefined;
3520
+ symbol: string | undefined;
3521
+ image: string | undefined;
3522
+ metadata: string | undefined;
3523
+ type: "Nft";
3524
+ id: string;
3525
+ updatedAt: number;
615
3526
  };
616
3527
  amount: {
617
3528
  value: bigint;
618
3529
  decimals: number;
619
3530
  };
620
- direction: "in";
3531
+ direction: "none";
621
3532
  price?: {
622
3533
  cryptoCurrencyId: string;
623
3534
  fiatCurrencyId: string;
@@ -629,13 +3540,34 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
629
3540
  } | undefined;
630
3541
  from?: string | undefined;
631
3542
  to?: string | undefined;
632
- } | {
3543
+ }, {
633
3544
  asset: {
3545
+ symbol: string;
3546
+ type: "CryptoCurrency";
3547
+ id: string;
3548
+ name: string;
3549
+ market: {
3550
+ coingeckoId?: string | undefined;
3551
+ marketCapUsd?: {
3552
+ value: bigint;
3553
+ decimals: number;
3554
+ } | undefined;
3555
+ };
3556
+ updatedAt: number;
3557
+ icon?: string | undefined;
3558
+ priceDatasourceId?: string | undefined;
3559
+ } | {
3560
+ symbol: string;
3561
+ type: "FiatCurrency";
3562
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3563
+ name: string;
3564
+ icon?: string | undefined;
3565
+ } | {
634
3566
  type: "Nft";
635
3567
  id: string;
636
3568
  updatedAt: number;
637
- name?: string | undefined;
638
3569
  symbol?: string | undefined;
3570
+ name?: string | undefined;
639
3571
  image?: string | undefined;
640
3572
  metadata?: string | undefined;
641
3573
  };
@@ -643,7 +3575,7 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
643
3575
  value: bigint;
644
3576
  decimals: number;
645
3577
  };
646
- direction: "in";
3578
+ direction: "none";
647
3579
  price?: {
648
3580
  cryptoCurrencyId: string;
649
3581
  fiatCurrencyId: string;
@@ -653,34 +3585,9 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
653
3585
  };
654
3586
  timestamp: number;
655
3587
  } | undefined;
656
- from?: string | undefined;
657
- to?: string | undefined;
658
- })[];
659
- loanId: string;
660
- comment?: string | undefined;
661
- app?: {
662
- id: string;
663
- name: string;
664
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
665
- description?: string | undefined;
666
- website?: string | undefined;
667
- icon?: string | undefined;
668
- } | undefined;
669
- }>, {
670
- comment: string | undefined;
671
- app: {
672
- description: string | undefined;
673
- website: string | undefined;
674
- icon: string | undefined;
675
- id: string;
676
- name: string;
677
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
678
- } | undefined;
679
- type: "LoanNormalAction";
680
- timestamp: number;
681
- action: "borrow";
682
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
683
- transfers: ({
3588
+ from?: string | undefined;
3589
+ to?: string | undefined;
3590
+ }>, {
684
3591
  from: string | undefined;
685
3592
  to: string | undefined;
686
3593
  price: {
@@ -707,25 +3614,13 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
707
3614
  } | undefined;
708
3615
  };
709
3616
  updatedAt: number;
710
- };
711
- amount: {
712
- value: bigint;
713
- decimals: number;
714
- };
715
- direction: "in";
716
- } | {
717
- from: string | undefined;
718
- to: string | undefined;
719
- price: {
720
- cryptoCurrencyId: string;
721
- fiatCurrencyId: string;
722
- price: {
723
- value: bigint;
724
- decimals: number;
725
- };
726
- timestamp: number;
727
- } | undefined;
728
- asset: {
3617
+ } | {
3618
+ icon: string | undefined;
3619
+ symbol: string;
3620
+ type: "FiatCurrency";
3621
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3622
+ name: string;
3623
+ } | {
729
3624
  name: string | undefined;
730
3625
  symbol: string | undefined;
731
3626
  image: string | undefined;
@@ -738,15 +3633,8 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
738
3633
  value: bigint;
739
3634
  decimals: number;
740
3635
  };
741
- direction: "in";
742
- })[];
743
- loanId: string;
744
- }, {
745
- type: "LoanNormalAction";
746
- timestamp: number;
747
- action: "borrow";
748
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
749
- transfers: ({
3636
+ direction: "none";
3637
+ }, {
750
3638
  asset: {
751
3639
  symbol: string;
752
3640
  type: "CryptoCurrency";
@@ -762,30 +3650,18 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
762
3650
  updatedAt: number;
763
3651
  icon?: string | undefined;
764
3652
  priceDatasourceId?: string | undefined;
765
- };
766
- amount: {
767
- value: bigint;
768
- decimals: number;
769
- };
770
- direction: "in";
771
- price?: {
772
- cryptoCurrencyId: string;
773
- fiatCurrencyId: string;
774
- price: {
775
- value: bigint;
776
- decimals: number;
777
- };
778
- timestamp: number;
779
- } | undefined;
780
- from?: string | undefined;
781
- to?: string | undefined;
782
- } | {
783
- asset: {
3653
+ } | {
3654
+ symbol: string;
3655
+ type: "FiatCurrency";
3656
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3657
+ name: string;
3658
+ icon?: string | undefined;
3659
+ } | {
784
3660
  type: "Nft";
785
3661
  id: string;
786
3662
  updatedAt: number;
787
- name?: string | undefined;
788
3663
  symbol?: string | undefined;
3664
+ name?: string | undefined;
789
3665
  image?: string | undefined;
790
3666
  metadata?: string | undefined;
791
3667
  };
@@ -793,7 +3669,7 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
793
3669
  value: bigint;
794
3670
  decimals: number;
795
3671
  };
796
- direction: "in";
3672
+ direction: "none";
797
3673
  price?: {
798
3674
  cryptoCurrencyId: string;
799
3675
  fiatCurrencyId: string;
@@ -805,64 +3681,201 @@ export declare const normalActionBorrowSchema: z.ZodEffects<z.ZodObject<{
805
3681
  } | undefined;
806
3682
  from?: string | undefined;
807
3683
  to?: string | undefined;
808
- })[];
809
- loanId: string;
810
- comment?: string | undefined;
811
- app?: {
812
- id: string;
813
- name: string;
814
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
815
- description?: string | undefined;
816
- website?: string | undefined;
817
- icon?: string | undefined;
818
- } | undefined;
819
- }>;
820
- export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
3684
+ }>]>, "many">;
3685
+ }, {
821
3686
  type: z.ZodLiteral<"LoanAccountAction">;
822
- timestamp: z.ZodNumber;
823
- order: z.ZodNumber;
824
- source: z.ZodString;
825
- evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
826
- comment: z.ZodOptional<z.ZodString>;
827
- app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
828
- id: z.ZodString;
829
- categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
830
- name: z.ZodString;
831
- description: z.ZodOptional<z.ZodString>;
832
- website: z.ZodOptional<z.ZodString>;
833
- icon: z.ZodOptional<z.ZodString>;
834
- }, "strip", z.ZodTypeAny, {
835
- id: string;
836
- name: string;
837
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
838
- description?: string | undefined;
839
- website?: string | undefined;
840
- icon?: string | undefined;
841
- }, {
842
- id: string;
843
- name: string;
844
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
845
- description?: string | undefined;
846
- website?: string | undefined;
847
- icon?: string | undefined;
848
- }>, {
849
- description: string | undefined;
850
- website: string | undefined;
851
- icon: string | undefined;
852
- id: string;
853
- name: string;
854
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
855
- }, {
856
- id: string;
857
- name: string;
858
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
859
- description?: string | undefined;
860
- website?: string | undefined;
861
- icon?: string | undefined;
862
- }>>;
863
3687
  loanId: z.ZodString;
3688
+ }>, {
864
3689
  action: z.ZodLiteral<"borrow">;
865
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3690
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3691
+ from: z.ZodOptional<z.ZodString>;
3692
+ to: z.ZodOptional<z.ZodString>;
3693
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3694
+ type: z.ZodLiteral<"CryptoCurrency">;
3695
+ id: z.ZodString;
3696
+ name: z.ZodString;
3697
+ symbol: z.ZodString;
3698
+ icon: z.ZodOptional<z.ZodString>;
3699
+ market: z.ZodEffects<z.ZodObject<{
3700
+ coingeckoId: z.ZodOptional<z.ZodString>;
3701
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3702
+ value: z.ZodBigInt;
3703
+ decimals: z.ZodNumber;
3704
+ }, "strip", z.ZodTypeAny, {
3705
+ value: bigint;
3706
+ decimals: number;
3707
+ }, {
3708
+ value: bigint;
3709
+ decimals: number;
3710
+ }>>;
3711
+ }, "strip", z.ZodTypeAny, {
3712
+ coingeckoId?: string | undefined;
3713
+ marketCapUsd?: {
3714
+ value: bigint;
3715
+ decimals: number;
3716
+ } | undefined;
3717
+ }, {
3718
+ coingeckoId?: string | undefined;
3719
+ marketCapUsd?: {
3720
+ value: bigint;
3721
+ decimals: number;
3722
+ } | undefined;
3723
+ }>, {
3724
+ coingeckoId: string | undefined;
3725
+ marketCapUsd: {
3726
+ value: bigint;
3727
+ decimals: number;
3728
+ } | undefined;
3729
+ }, {
3730
+ coingeckoId?: string | undefined;
3731
+ marketCapUsd?: {
3732
+ value: bigint;
3733
+ decimals: number;
3734
+ } | undefined;
3735
+ }>;
3736
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3737
+ updatedAt: z.ZodNumber;
3738
+ }, "strip", z.ZodTypeAny, {
3739
+ symbol: string;
3740
+ type: "CryptoCurrency";
3741
+ id: string;
3742
+ name: string;
3743
+ market: {
3744
+ coingeckoId: string | undefined;
3745
+ marketCapUsd: {
3746
+ value: bigint;
3747
+ decimals: number;
3748
+ } | undefined;
3749
+ };
3750
+ updatedAt: number;
3751
+ icon?: string | undefined;
3752
+ priceDatasourceId?: string | undefined;
3753
+ }, {
3754
+ symbol: string;
3755
+ type: "CryptoCurrency";
3756
+ id: string;
3757
+ name: string;
3758
+ market: {
3759
+ coingeckoId?: string | undefined;
3760
+ marketCapUsd?: {
3761
+ value: bigint;
3762
+ decimals: number;
3763
+ } | undefined;
3764
+ };
3765
+ updatedAt: number;
3766
+ icon?: string | undefined;
3767
+ priceDatasourceId?: string | undefined;
3768
+ }>, {
3769
+ icon: string | undefined;
3770
+ priceDatasourceId: string | undefined;
3771
+ symbol: string;
3772
+ type: "CryptoCurrency";
3773
+ id: string;
3774
+ name: string;
3775
+ market: {
3776
+ coingeckoId: string | undefined;
3777
+ marketCapUsd: {
3778
+ value: bigint;
3779
+ decimals: number;
3780
+ } | undefined;
3781
+ };
3782
+ updatedAt: number;
3783
+ }, {
3784
+ symbol: string;
3785
+ type: "CryptoCurrency";
3786
+ id: string;
3787
+ name: string;
3788
+ market: {
3789
+ coingeckoId?: string | undefined;
3790
+ marketCapUsd?: {
3791
+ value: bigint;
3792
+ decimals: number;
3793
+ } | undefined;
3794
+ };
3795
+ updatedAt: number;
3796
+ icon?: string | undefined;
3797
+ priceDatasourceId?: string | undefined;
3798
+ }>, z.ZodEffects<z.ZodObject<{
3799
+ type: z.ZodLiteral<"FiatCurrency">;
3800
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
3801
+ name: z.ZodString;
3802
+ symbol: z.ZodString;
3803
+ icon: z.ZodOptional<z.ZodString>;
3804
+ }, "strip", z.ZodTypeAny, {
3805
+ symbol: string;
3806
+ type: "FiatCurrency";
3807
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3808
+ name: string;
3809
+ icon?: string | undefined;
3810
+ }, {
3811
+ symbol: string;
3812
+ type: "FiatCurrency";
3813
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3814
+ name: string;
3815
+ icon?: string | undefined;
3816
+ }>, {
3817
+ icon: string | undefined;
3818
+ symbol: string;
3819
+ type: "FiatCurrency";
3820
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3821
+ name: string;
3822
+ }, {
3823
+ symbol: string;
3824
+ type: "FiatCurrency";
3825
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3826
+ name: string;
3827
+ icon?: string | undefined;
3828
+ }>, z.ZodEffects<z.ZodObject<{
3829
+ type: z.ZodLiteral<"Nft">;
3830
+ id: z.ZodString;
3831
+ name: z.ZodOptional<z.ZodString>;
3832
+ symbol: z.ZodOptional<z.ZodString>;
3833
+ image: z.ZodOptional<z.ZodString>;
3834
+ metadata: z.ZodOptional<z.ZodString>;
3835
+ updatedAt: z.ZodNumber;
3836
+ }, "strip", z.ZodTypeAny, {
3837
+ type: "Nft";
3838
+ id: string;
3839
+ updatedAt: number;
3840
+ symbol?: string | undefined;
3841
+ name?: string | undefined;
3842
+ image?: string | undefined;
3843
+ metadata?: string | undefined;
3844
+ }, {
3845
+ type: "Nft";
3846
+ id: string;
3847
+ updatedAt: number;
3848
+ symbol?: string | undefined;
3849
+ name?: string | undefined;
3850
+ image?: string | undefined;
3851
+ metadata?: string | undefined;
3852
+ }>, {
3853
+ name: string | undefined;
3854
+ symbol: string | undefined;
3855
+ image: string | undefined;
3856
+ metadata: string | undefined;
3857
+ type: "Nft";
3858
+ id: string;
3859
+ updatedAt: number;
3860
+ }, {
3861
+ type: "Nft";
3862
+ id: string;
3863
+ updatedAt: number;
3864
+ symbol?: string | undefined;
3865
+ name?: string | undefined;
3866
+ image?: string | undefined;
3867
+ metadata?: string | undefined;
3868
+ }>]>;
3869
+ amount: z.ZodObject<{
3870
+ value: z.ZodBigInt;
3871
+ decimals: z.ZodNumber;
3872
+ }, "strip", z.ZodTypeAny, {
3873
+ value: bigint;
3874
+ decimals: number;
3875
+ }, {
3876
+ value: bigint;
3877
+ decimals: number;
3878
+ }>;
866
3879
  price: z.ZodOptional<z.ZodObject<{
867
3880
  cryptoCurrencyId: z.ZodString;
868
3881
  fiatCurrencyId: z.ZodString;
@@ -894,19 +3907,9 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
894
3907
  };
895
3908
  timestamp: number;
896
3909
  }>>;
897
- from: z.ZodOptional<z.ZodString>;
898
- to: z.ZodOptional<z.ZodString>;
899
- amount: z.ZodObject<{
900
- value: z.ZodBigInt;
901
- decimals: z.ZodNumber;
902
- }, "strip", z.ZodTypeAny, {
903
- value: bigint;
904
- decimals: number;
905
- }, {
906
- value: bigint;
907
- decimals: number;
908
- }>;
3910
+ }, {
909
3911
  direction: z.ZodLiteral<"in">;
3912
+ }>, {
910
3913
  asset: z.ZodEffects<z.ZodObject<{
911
3914
  type: z.ZodLiteral<"CryptoCurrency">;
912
3915
  id: z.ZodString;
@@ -1013,7 +4016,7 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1013
4016
  icon?: string | undefined;
1014
4017
  priceDatasourceId?: string | undefined;
1015
4018
  }>;
1016
- }, "strip", z.ZodTypeAny, {
4019
+ }>, "strip", z.ZodTypeAny, {
1017
4020
  asset: {
1018
4021
  icon: string | undefined;
1019
4022
  priceDatasourceId: string | undefined;
@@ -1145,7 +4148,195 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1145
4148
  } | undefined;
1146
4149
  from?: string | undefined;
1147
4150
  to?: string | undefined;
1148
- }>, z.ZodEffects<z.ZodObject<{
4151
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4152
+ from: z.ZodOptional<z.ZodString>;
4153
+ to: z.ZodOptional<z.ZodString>;
4154
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4155
+ type: z.ZodLiteral<"CryptoCurrency">;
4156
+ id: z.ZodString;
4157
+ name: z.ZodString;
4158
+ symbol: z.ZodString;
4159
+ icon: z.ZodOptional<z.ZodString>;
4160
+ market: z.ZodEffects<z.ZodObject<{
4161
+ coingeckoId: z.ZodOptional<z.ZodString>;
4162
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
4163
+ value: z.ZodBigInt;
4164
+ decimals: z.ZodNumber;
4165
+ }, "strip", z.ZodTypeAny, {
4166
+ value: bigint;
4167
+ decimals: number;
4168
+ }, {
4169
+ value: bigint;
4170
+ decimals: number;
4171
+ }>>;
4172
+ }, "strip", z.ZodTypeAny, {
4173
+ coingeckoId?: string | undefined;
4174
+ marketCapUsd?: {
4175
+ value: bigint;
4176
+ decimals: number;
4177
+ } | undefined;
4178
+ }, {
4179
+ coingeckoId?: string | undefined;
4180
+ marketCapUsd?: {
4181
+ value: bigint;
4182
+ decimals: number;
4183
+ } | undefined;
4184
+ }>, {
4185
+ coingeckoId: string | undefined;
4186
+ marketCapUsd: {
4187
+ value: bigint;
4188
+ decimals: number;
4189
+ } | undefined;
4190
+ }, {
4191
+ coingeckoId?: string | undefined;
4192
+ marketCapUsd?: {
4193
+ value: bigint;
4194
+ decimals: number;
4195
+ } | undefined;
4196
+ }>;
4197
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
4198
+ updatedAt: z.ZodNumber;
4199
+ }, "strip", z.ZodTypeAny, {
4200
+ symbol: string;
4201
+ type: "CryptoCurrency";
4202
+ id: string;
4203
+ name: string;
4204
+ market: {
4205
+ coingeckoId: string | undefined;
4206
+ marketCapUsd: {
4207
+ value: bigint;
4208
+ decimals: number;
4209
+ } | undefined;
4210
+ };
4211
+ updatedAt: number;
4212
+ icon?: string | undefined;
4213
+ priceDatasourceId?: string | undefined;
4214
+ }, {
4215
+ symbol: string;
4216
+ type: "CryptoCurrency";
4217
+ id: string;
4218
+ name: string;
4219
+ market: {
4220
+ coingeckoId?: string | undefined;
4221
+ marketCapUsd?: {
4222
+ value: bigint;
4223
+ decimals: number;
4224
+ } | undefined;
4225
+ };
4226
+ updatedAt: number;
4227
+ icon?: string | undefined;
4228
+ priceDatasourceId?: string | undefined;
4229
+ }>, {
4230
+ icon: string | undefined;
4231
+ priceDatasourceId: string | undefined;
4232
+ symbol: string;
4233
+ type: "CryptoCurrency";
4234
+ id: string;
4235
+ name: string;
4236
+ market: {
4237
+ coingeckoId: string | undefined;
4238
+ marketCapUsd: {
4239
+ value: bigint;
4240
+ decimals: number;
4241
+ } | undefined;
4242
+ };
4243
+ updatedAt: number;
4244
+ }, {
4245
+ symbol: string;
4246
+ type: "CryptoCurrency";
4247
+ id: string;
4248
+ name: string;
4249
+ market: {
4250
+ coingeckoId?: string | undefined;
4251
+ marketCapUsd?: {
4252
+ value: bigint;
4253
+ decimals: number;
4254
+ } | undefined;
4255
+ };
4256
+ updatedAt: number;
4257
+ icon?: string | undefined;
4258
+ priceDatasourceId?: string | undefined;
4259
+ }>, z.ZodEffects<z.ZodObject<{
4260
+ type: z.ZodLiteral<"FiatCurrency">;
4261
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
4262
+ name: z.ZodString;
4263
+ symbol: z.ZodString;
4264
+ icon: z.ZodOptional<z.ZodString>;
4265
+ }, "strip", z.ZodTypeAny, {
4266
+ symbol: string;
4267
+ type: "FiatCurrency";
4268
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4269
+ name: string;
4270
+ icon?: string | undefined;
4271
+ }, {
4272
+ symbol: string;
4273
+ type: "FiatCurrency";
4274
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4275
+ name: string;
4276
+ icon?: string | undefined;
4277
+ }>, {
4278
+ icon: string | undefined;
4279
+ symbol: string;
4280
+ type: "FiatCurrency";
4281
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4282
+ name: string;
4283
+ }, {
4284
+ symbol: string;
4285
+ type: "FiatCurrency";
4286
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4287
+ name: string;
4288
+ icon?: string | undefined;
4289
+ }>, z.ZodEffects<z.ZodObject<{
4290
+ type: z.ZodLiteral<"Nft">;
4291
+ id: z.ZodString;
4292
+ name: z.ZodOptional<z.ZodString>;
4293
+ symbol: z.ZodOptional<z.ZodString>;
4294
+ image: z.ZodOptional<z.ZodString>;
4295
+ metadata: z.ZodOptional<z.ZodString>;
4296
+ updatedAt: z.ZodNumber;
4297
+ }, "strip", z.ZodTypeAny, {
4298
+ type: "Nft";
4299
+ id: string;
4300
+ updatedAt: number;
4301
+ symbol?: string | undefined;
4302
+ name?: string | undefined;
4303
+ image?: string | undefined;
4304
+ metadata?: string | undefined;
4305
+ }, {
4306
+ type: "Nft";
4307
+ id: string;
4308
+ updatedAt: number;
4309
+ symbol?: string | undefined;
4310
+ name?: string | undefined;
4311
+ image?: string | undefined;
4312
+ metadata?: string | undefined;
4313
+ }>, {
4314
+ name: string | undefined;
4315
+ symbol: string | undefined;
4316
+ image: string | undefined;
4317
+ metadata: string | undefined;
4318
+ type: "Nft";
4319
+ id: string;
4320
+ updatedAt: number;
4321
+ }, {
4322
+ type: "Nft";
4323
+ id: string;
4324
+ updatedAt: number;
4325
+ symbol?: string | undefined;
4326
+ name?: string | undefined;
4327
+ image?: string | undefined;
4328
+ metadata?: string | undefined;
4329
+ }>]>;
4330
+ amount: z.ZodObject<{
4331
+ value: z.ZodBigInt;
4332
+ decimals: z.ZodNumber;
4333
+ }, "strip", z.ZodTypeAny, {
4334
+ value: bigint;
4335
+ decimals: number;
4336
+ }, {
4337
+ value: bigint;
4338
+ decimals: number;
4339
+ }>;
1149
4340
  price: z.ZodOptional<z.ZodObject<{
1150
4341
  cryptoCurrencyId: z.ZodString;
1151
4342
  fiatCurrencyId: z.ZodString;
@@ -1177,19 +4368,9 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1177
4368
  };
1178
4369
  timestamp: number;
1179
4370
  }>>;
1180
- from: z.ZodOptional<z.ZodString>;
1181
- to: z.ZodOptional<z.ZodString>;
1182
- amount: z.ZodObject<{
1183
- value: z.ZodBigInt;
1184
- decimals: z.ZodNumber;
1185
- }, "strip", z.ZodTypeAny, {
1186
- value: bigint;
1187
- decimals: number;
1188
- }, {
1189
- value: bigint;
1190
- decimals: number;
1191
- }>;
4371
+ }, {
1192
4372
  direction: z.ZodLiteral<"in">;
4373
+ }>, {
1193
4374
  asset: z.ZodEffects<z.ZodObject<{
1194
4375
  type: z.ZodLiteral<"Nft">;
1195
4376
  id: z.ZodString;
@@ -1202,16 +4383,16 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1202
4383
  type: "Nft";
1203
4384
  id: string;
1204
4385
  updatedAt: number;
1205
- name?: string | undefined;
1206
4386
  symbol?: string | undefined;
4387
+ name?: string | undefined;
1207
4388
  image?: string | undefined;
1208
4389
  metadata?: string | undefined;
1209
4390
  }, {
1210
4391
  type: "Nft";
1211
4392
  id: string;
1212
4393
  updatedAt: number;
1213
- name?: string | undefined;
1214
4394
  symbol?: string | undefined;
4395
+ name?: string | undefined;
1215
4396
  image?: string | undefined;
1216
4397
  metadata?: string | undefined;
1217
4398
  }>, {
@@ -1226,12 +4407,12 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1226
4407
  type: "Nft";
1227
4408
  id: string;
1228
4409
  updatedAt: number;
1229
- name?: string | undefined;
1230
4410
  symbol?: string | undefined;
4411
+ name?: string | undefined;
1231
4412
  image?: string | undefined;
1232
4413
  metadata?: string | undefined;
1233
4414
  }>;
1234
- }, "strip", z.ZodTypeAny, {
4415
+ }>, "strip", z.ZodTypeAny, {
1235
4416
  asset: {
1236
4417
  name: string | undefined;
1237
4418
  symbol: string | undefined;
@@ -1262,8 +4443,8 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1262
4443
  type: "Nft";
1263
4444
  id: string;
1264
4445
  updatedAt: number;
1265
- name?: string | undefined;
1266
4446
  symbol?: string | undefined;
4447
+ name?: string | undefined;
1267
4448
  image?: string | undefined;
1268
4449
  metadata?: string | undefined;
1269
4450
  };
@@ -1314,8 +4495,8 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1314
4495
  type: "Nft";
1315
4496
  id: string;
1316
4497
  updatedAt: number;
1317
- name?: string | undefined;
1318
4498
  symbol?: string | undefined;
4499
+ name?: string | undefined;
1319
4500
  image?: string | undefined;
1320
4501
  metadata?: string | undefined;
1321
4502
  };
@@ -1336,7 +4517,7 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1336
4517
  from?: string | undefined;
1337
4518
  to?: string | undefined;
1338
4519
  }>]>, "many">;
1339
- }, "strip", z.ZodTypeAny, {
4520
+ }>, "strip", z.ZodTypeAny, {
1340
4521
  type: "LoanAccountAction";
1341
4522
  timestamp: number;
1342
4523
  order: number;
@@ -1458,8 +4639,8 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1458
4639
  type: "Nft";
1459
4640
  id: string;
1460
4641
  updatedAt: number;
1461
- name?: string | undefined;
1462
4642
  symbol?: string | undefined;
4643
+ name?: string | undefined;
1463
4644
  image?: string | undefined;
1464
4645
  metadata?: string | undefined;
1465
4646
  };
@@ -1486,9 +4667,9 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1486
4667
  id: string;
1487
4668
  name: string;
1488
4669
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4670
+ icon?: string | undefined;
1489
4671
  description?: string | undefined;
1490
4672
  website?: string | undefined;
1491
- icon?: string | undefined;
1492
4673
  } | undefined;
1493
4674
  }>, {
1494
4675
  comment: string | undefined;
@@ -1612,8 +4793,8 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1612
4793
  type: "Nft";
1613
4794
  id: string;
1614
4795
  updatedAt: number;
1615
- name?: string | undefined;
1616
4796
  symbol?: string | undefined;
4797
+ name?: string | undefined;
1617
4798
  image?: string | undefined;
1618
4799
  metadata?: string | undefined;
1619
4800
  };
@@ -1640,9 +4821,9 @@ export declare const accountActionBorrowSchema: z.ZodEffects<z.ZodObject<{
1640
4821
  id: string;
1641
4822
  name: string;
1642
4823
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4824
+ icon?: string | undefined;
1643
4825
  description?: string | undefined;
1644
4826
  website?: string | undefined;
1645
- icon?: string | undefined;
1646
4827
  } | undefined;
1647
4828
  }>;
1648
4829
  //# sourceMappingURL=borrow.d.ts.map