@0xtorch/core 0.0.31 → 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 (115) hide show
  1. package/_cjs/actions/schemas/action.js.map +1 -1
  2. package/_cjs/actions/utils/createEvidenceNoneAccountActions.js +3 -1
  3. package/_cjs/actions/utils/createEvidenceNoneAccountActions.js.map +1 -1
  4. package/_esm/actions/schemas/action.js.map +1 -1
  5. package/_esm/actions/utils/createEvidenceNoneAccountActions.js +3 -1
  6. package/_esm/actions/utils/createEvidenceNoneAccountActions.js.map +1 -1
  7. package/_types/actions/schemas/action.d.ts +103 -80694
  8. package/_types/actions/schemas/action.d.ts.map +1 -1
  9. package/_types/actions/schemas/borrow/borrow.d.ts +3523 -342
  10. package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
  11. package/_types/actions/schemas/crossActionBundle.d.ts +6773 -1121
  12. package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
  13. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +3528 -347
  14. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
  15. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +3525 -344
  16. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
  17. package/_types/actions/schemas/crossReplace/crossReplace.d.ts +2862 -389
  18. package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
  19. package/_types/actions/schemas/crossTrade/crossTrade.d.ts +2862 -389
  20. package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
  21. package/_types/actions/schemas/default/accountAction.d.ts +387 -375
  22. package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
  23. package/_types/actions/schemas/default/normalAction.d.ts +382 -369
  24. package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
  25. package/_types/actions/schemas/default/transfer.d.ts +2932 -1323
  26. package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
  27. package/_types/actions/schemas/deposit/addLiquidity.d.ts +4667 -774
  28. package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
  29. package/_types/actions/schemas/deposit/deposit.d.ts +3526 -345
  30. package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
  31. package/_types/actions/schemas/deposit/depositWithBond.d.ts +4667 -774
  32. package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
  33. package/_types/actions/schemas/deposit/stake.d.ts +3526 -345
  34. package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
  35. package/_types/actions/schemas/fee/fee.d.ts +3510 -331
  36. package/_types/actions/schemas/fee/fee.d.ts.map +1 -1
  37. package/_types/actions/schemas/fee/transactionFee.d.ts +3038 -215
  38. package/_types/actions/schemas/fee/transactionFee.d.ts.map +1 -1
  39. package/_types/actions/schemas/ignore/approve.d.ts +2485 -18
  40. package/_types/actions/schemas/ignore/approve.d.ts.map +1 -1
  41. package/_types/actions/schemas/ignore/failTx.d.ts +2485 -18
  42. package/_types/actions/schemas/ignore/failTx.d.ts.map +1 -1
  43. package/_types/actions/schemas/ignore/ignore.d.ts +136 -130
  44. package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
  45. package/_types/actions/schemas/ignore/move.d.ts +136 -130
  46. package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
  47. package/_types/actions/schemas/ignore/receiveFromCex.d.ts +3518 -339
  48. package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
  49. package/_types/actions/schemas/ignore/revoke.d.ts +2485 -18
  50. package/_types/actions/schemas/ignore/revoke.d.ts.map +1 -1
  51. package/_types/actions/schemas/ignore/sendToCex.d.ts +3521 -342
  52. package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
  53. package/_types/actions/schemas/ignore/spam.d.ts +4663 -772
  54. package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
  55. package/_types/actions/schemas/income/atomicArbitrage.d.ts +3559 -380
  56. package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
  57. package/_types/actions/schemas/income/freeMintNft.d.ts +3014 -191
  58. package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -1
  59. package/_types/actions/schemas/income/income.d.ts +2682 -213
  60. package/_types/actions/schemas/income/income.d.ts.map +1 -1
  61. package/_types/actions/schemas/income/nftRoyalty.d.ts +1629 -39
  62. package/_types/actions/schemas/income/nftRoyalty.d.ts.map +1 -1
  63. package/_types/actions/schemas/income/swapIncome.d.ts +1636 -46
  64. package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
  65. package/_types/actions/schemas/reduce/reduce.d.ts +1636 -46
  66. package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
  67. package/_types/actions/schemas/repayment/repayment.d.ts +3526 -345
  68. package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
  69. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +4667 -774
  70. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
  71. package/_types/actions/schemas/replace/replace.d.ts +4663 -772
  72. package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
  73. package/_types/actions/schemas/replace/swapNft.d.ts +3510 -331
  74. package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -1
  75. package/_types/actions/schemas/replace/unwrap.d.ts +3559 -380
  76. package/_types/actions/schemas/replace/unwrap.d.ts.map +1 -1
  77. package/_types/actions/schemas/replace/wrap.d.ts +3559 -380
  78. package/_types/actions/schemas/replace/wrap.d.ts.map +1 -1
  79. package/_types/actions/schemas/trade/buyCrypto.d.ts +3506 -327
  80. package/_types/actions/schemas/trade/buyCrypto.d.ts.map +1 -1
  81. package/_types/actions/schemas/trade/buyNft.d.ts +4144 -609
  82. package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
  83. package/_types/actions/schemas/trade/mintNft.d.ts +4144 -609
  84. package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
  85. package/_types/actions/schemas/trade/sellCrypto.d.ts +3514 -335
  86. package/_types/actions/schemas/trade/sellCrypto.d.ts.map +1 -1
  87. package/_types/actions/schemas/trade/sellNft.d.ts +4144 -609
  88. package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
  89. package/_types/actions/schemas/trade/trade.d.ts +2854 -383
  90. package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
  91. package/_types/actions/schemas/transfer/swapTransfer.d.ts +1636 -46
  92. package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
  93. package/_types/actions/schemas/transfer/transfer.d.ts +1388 -148
  94. package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
  95. package/_types/actions/schemas/valuedown/valuedown.d.ts +2756 -287
  96. package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
  97. package/_types/actions/schemas/valueup/valueup.d.ts +2761 -292
  98. package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
  99. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +4667 -774
  100. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
  101. package/_types/actions/schemas/withdraw/unstake.d.ts +3523 -342
  102. package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
  103. package/_types/actions/schemas/withdraw/withdraw.d.ts +3523 -342
  104. package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
  105. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +4667 -774
  106. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
  107. package/_types/apps/schemas.d.ts +3 -3
  108. package/_types/assets/schemas/asset.d.ts +3 -3
  109. package/_types/assets/schemas/nft.d.ts +3 -3
  110. package/actions/schemas/action.ts +92 -2
  111. package/actions/utils/createEvidenceNoneAccountActions.ts +13 -11
  112. package/package.json +2 -2
  113. package/.DS_Store +0 -0
  114. package/actions/.DS_Store +0 -0
  115. package/assets/.DS_Store +0 -0
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod';
2
- export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
2
+ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
3
3
  type: z.ZodLiteral<"NormalAction">;
4
- timestamp: z.ZodNumber;
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 normalActionValuedownSchema: 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,84 +37,11 @@ export declare const normalActionValuedownSchema: 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
- action: z.ZodLiteral<"valuedown">;
44
- target: z.ZodEffects<z.ZodObject<{
45
- type: z.ZodLiteral<"Nft">;
46
- id: z.ZodString;
47
- name: z.ZodOptional<z.ZodString>;
48
- symbol: z.ZodOptional<z.ZodString>;
49
- image: z.ZodOptional<z.ZodString>;
50
- metadata: z.ZodOptional<z.ZodString>;
51
- updatedAt: z.ZodNumber;
52
- }, "strip", z.ZodTypeAny, {
53
- type: "Nft";
54
- id: string;
55
- updatedAt: number;
56
- name?: string | undefined;
57
- symbol?: string | undefined;
58
- image?: string | undefined;
59
- metadata?: string | undefined;
60
- }, {
61
- type: "Nft";
62
- id: string;
63
- updatedAt: number;
64
- name?: string | undefined;
65
- symbol?: string | undefined;
66
- image?: string | undefined;
67
- metadata?: string | undefined;
68
- }>, {
69
- name: string | undefined;
70
- symbol: string | undefined;
71
- image: string | undefined;
72
- metadata: string | undefined;
73
- type: "Nft";
74
- id: string;
75
- updatedAt: number;
76
- }, {
77
- type: "Nft";
78
- id: string;
79
- updatedAt: number;
80
- name?: string | undefined;
81
- symbol?: string | undefined;
82
- image?: string | undefined;
83
- metadata?: string | undefined;
84
- }>;
85
- transfers: z.ZodArray<z.ZodEffects<z.ZodObject<{
86
- price: z.ZodOptional<z.ZodObject<{
87
- cryptoCurrencyId: z.ZodString;
88
- fiatCurrencyId: z.ZodString;
89
- price: z.ZodObject<{
90
- value: z.ZodBigInt;
91
- decimals: z.ZodNumber;
92
- }, "strip", z.ZodTypeAny, {
93
- value: bigint;
94
- decimals: number;
95
- }, {
96
- value: bigint;
97
- decimals: number;
98
- }>;
99
- timestamp: z.ZodNumber;
100
- }, "strip", z.ZodTypeAny, {
101
- cryptoCurrencyId: string;
102
- fiatCurrencyId: string;
103
- price: {
104
- value: bigint;
105
- decimals: number;
106
- };
107
- timestamp: number;
108
- }, {
109
- cryptoCurrencyId: string;
110
- fiatCurrencyId: string;
111
- price: {
112
- value: bigint;
113
- decimals: number;
114
- };
115
- timestamp: number;
116
- }>>;
44
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
117
45
  from: z.ZodOptional<z.ZodString>;
118
46
  to: z.ZodOptional<z.ZodString>;
119
47
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -263,16 +191,16 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
263
191
  type: "Nft";
264
192
  id: string;
265
193
  updatedAt: number;
266
- name?: string | undefined;
267
194
  symbol?: string | undefined;
195
+ name?: string | undefined;
268
196
  image?: string | undefined;
269
197
  metadata?: string | undefined;
270
198
  }, {
271
199
  type: "Nft";
272
200
  id: string;
273
201
  updatedAt: number;
274
- name?: string | undefined;
275
202
  symbol?: string | undefined;
203
+ name?: string | undefined;
276
204
  image?: string | undefined;
277
205
  metadata?: string | undefined;
278
206
  }>, {
@@ -287,8 +215,8 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
287
215
  type: "Nft";
288
216
  id: string;
289
217
  updatedAt: number;
290
- name?: string | undefined;
291
218
  symbol?: string | undefined;
219
+ name?: string | undefined;
292
220
  image?: string | undefined;
293
221
  metadata?: string | undefined;
294
222
  }>]>;
@@ -302,8 +230,40 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
302
230
  value: bigint;
303
231
  decimals: number;
304
232
  }>;
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
+ }, {
305
265
  direction: z.ZodLiteral<"in">;
306
- }, "strip", z.ZodTypeAny, {
266
+ }>, "strip", z.ZodTypeAny, {
307
267
  asset: {
308
268
  icon: string | undefined;
309
269
  priceDatasourceId: string | undefined;
@@ -376,8 +336,8 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
376
336
  type: "Nft";
377
337
  id: string;
378
338
  updatedAt: number;
379
- name?: string | undefined;
380
339
  symbol?: string | undefined;
340
+ name?: string | undefined;
381
341
  image?: string | undefined;
382
342
  metadata?: string | undefined;
383
343
  };
@@ -470,8 +430,8 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
470
430
  type: "Nft";
471
431
  id: string;
472
432
  updatedAt: number;
473
- name?: string | undefined;
474
433
  symbol?: string | undefined;
434
+ name?: string | undefined;
475
435
  image?: string | undefined;
476
436
  metadata?: string | undefined;
477
437
  };
@@ -491,16 +451,2641 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
491
451
  } | undefined;
492
452
  from?: string | undefined;
493
453
  to?: string | undefined;
494
- }>, "many">;
495
- }, "strip", z.ZodTypeAny, {
496
- type: "NormalAction";
497
- timestamp: number;
498
- action: "valuedown";
499
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
500
- transfers: {
501
- from: string | undefined;
502
- to: string | undefined;
503
- price: {
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
+ }>>;
475
+ }, "strip", z.ZodTypeAny, {
476
+ coingeckoId?: string | undefined;
477
+ marketCapUsd?: {
478
+ value: bigint;
479
+ decimals: number;
480
+ } | undefined;
481
+ }, {
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;
499
+ }>;
500
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
501
+ updatedAt: z.ZodNumber;
502
+ }, "strip", z.ZodTypeAny, {
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;
517
+ }, {
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;
528
+ };
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>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ symbol: string;
570
+ type: "FiatCurrency";
571
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
572
+ name: string;
573
+ icon?: string | undefined;
574
+ }, {
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<{
593
+ type: z.ZodLiteral<"Nft">;
594
+ id: z.ZodString;
595
+ name: z.ZodOptional<z.ZodString>;
596
+ symbol: z.ZodOptional<z.ZodString>;
597
+ image: z.ZodOptional<z.ZodString>;
598
+ metadata: z.ZodOptional<z.ZodString>;
599
+ updatedAt: z.ZodNumber;
600
+ }, "strip", z.ZodTypeAny, {
601
+ type: "Nft";
602
+ id: string;
603
+ updatedAt: number;
604
+ symbol?: string | undefined;
605
+ name?: string | undefined;
606
+ image?: string | undefined;
607
+ metadata?: string | undefined;
608
+ }, {
609
+ type: "Nft";
610
+ id: string;
611
+ updatedAt: number;
612
+ symbol?: string | undefined;
613
+ name?: string | undefined;
614
+ image?: string | undefined;
615
+ metadata?: string | undefined;
616
+ }>, {
617
+ name: string | undefined;
618
+ symbol: string | undefined;
619
+ image: string | undefined;
620
+ metadata: string | undefined;
621
+ type: "Nft";
622
+ id: string;
623
+ updatedAt: number;
624
+ }, {
625
+ type: "Nft";
626
+ id: string;
627
+ updatedAt: number;
628
+ symbol?: string | undefined;
629
+ name?: string | undefined;
630
+ image?: string | undefined;
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;
642
+ }>;
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, {
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
+ } | {
699
+ name: string | undefined;
700
+ symbol: string | undefined;
701
+ image: string | undefined;
702
+ metadata: string | undefined;
703
+ type: "Nft";
704
+ id: string;
705
+ updatedAt: number;
706
+ };
707
+ amount: {
708
+ value: bigint;
709
+ decimals: number;
710
+ };
711
+ direction: "out";
712
+ price?: {
713
+ cryptoCurrencyId: string;
714
+ fiatCurrencyId: string;
715
+ price: {
716
+ value: bigint;
717
+ decimals: number;
718
+ };
719
+ timestamp: number;
720
+ } | undefined;
721
+ from?: string | undefined;
722
+ to?: string | undefined;
723
+ }, {
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
+ } | {
746
+ type: "Nft";
747
+ id: string;
748
+ updatedAt: number;
749
+ symbol?: string | undefined;
750
+ name?: string | undefined;
751
+ image?: string | undefined;
752
+ metadata?: string | undefined;
753
+ };
754
+ amount: {
755
+ value: bigint;
756
+ decimals: number;
757
+ };
758
+ direction: "out";
759
+ price?: {
760
+ cryptoCurrencyId: string;
761
+ fiatCurrencyId: string;
762
+ price: {
763
+ value: bigint;
764
+ decimals: number;
765
+ };
766
+ timestamp: number;
767
+ } | undefined;
768
+ from?: string | undefined;
769
+ to?: string | undefined;
770
+ }>, {
771
+ from: string | undefined;
772
+ to: string | undefined;
773
+ price: {
774
+ cryptoCurrencyId: string;
775
+ fiatCurrencyId: string;
776
+ price: {
777
+ value: bigint;
778
+ decimals: number;
779
+ };
780
+ timestamp: number;
781
+ } | undefined;
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
+ } | {
804
+ name: string | undefined;
805
+ symbol: string | undefined;
806
+ image: string | undefined;
807
+ metadata: string | undefined;
808
+ type: "Nft";
809
+ id: string;
810
+ updatedAt: number;
811
+ };
812
+ amount: {
813
+ value: bigint;
814
+ decimals: number;
815
+ };
816
+ direction: "out";
817
+ }, {
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
+ } | {
840
+ type: "Nft";
841
+ id: string;
842
+ updatedAt: number;
843
+ symbol?: string | undefined;
844
+ name?: string | undefined;
845
+ image?: string | undefined;
846
+ metadata?: string | undefined;
847
+ };
848
+ amount: {
849
+ value: bigint;
850
+ decimals: number;
851
+ };
852
+ direction: "out";
853
+ price?: {
854
+ cryptoCurrencyId: string;
855
+ fiatCurrencyId: string;
856
+ price: {
857
+ value: bigint;
858
+ decimals: number;
859
+ };
860
+ timestamp: number;
861
+ } | undefined;
862
+ from?: string | undefined;
863
+ to?: string | undefined;
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
+ action: z.ZodLiteral<"valuedown">;
1277
+ target: z.ZodEffects<z.ZodObject<{
1278
+ type: z.ZodLiteral<"Nft">;
1279
+ id: z.ZodString;
1280
+ name: z.ZodOptional<z.ZodString>;
1281
+ symbol: z.ZodOptional<z.ZodString>;
1282
+ image: z.ZodOptional<z.ZodString>;
1283
+ metadata: z.ZodOptional<z.ZodString>;
1284
+ updatedAt: z.ZodNumber;
1285
+ }, "strip", z.ZodTypeAny, {
1286
+ type: "Nft";
1287
+ id: string;
1288
+ updatedAt: number;
1289
+ symbol?: string | undefined;
1290
+ name?: string | undefined;
1291
+ image?: string | undefined;
1292
+ metadata?: string | undefined;
1293
+ }, {
1294
+ type: "Nft";
1295
+ id: string;
1296
+ updatedAt: number;
1297
+ symbol?: string | undefined;
1298
+ name?: string | undefined;
1299
+ image?: string | undefined;
1300
+ metadata?: string | undefined;
1301
+ }>, {
1302
+ name: string | undefined;
1303
+ symbol: string | undefined;
1304
+ image: string | undefined;
1305
+ metadata: string | undefined;
1306
+ type: "Nft";
1307
+ id: string;
1308
+ updatedAt: number;
1309
+ }, {
1310
+ type: "Nft";
1311
+ id: string;
1312
+ updatedAt: number;
1313
+ symbol?: string | undefined;
1314
+ name?: string | undefined;
1315
+ image?: string | undefined;
1316
+ metadata?: string | undefined;
1317
+ }>;
1318
+ transfers: z.ZodArray<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1319
+ from: z.ZodOptional<z.ZodString>;
1320
+ to: z.ZodOptional<z.ZodString>;
1321
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1322
+ type: z.ZodLiteral<"CryptoCurrency">;
1323
+ id: z.ZodString;
1324
+ name: z.ZodString;
1325
+ symbol: z.ZodString;
1326
+ icon: z.ZodOptional<z.ZodString>;
1327
+ market: z.ZodEffects<z.ZodObject<{
1328
+ coingeckoId: z.ZodOptional<z.ZodString>;
1329
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1330
+ value: z.ZodBigInt;
1331
+ decimals: z.ZodNumber;
1332
+ }, "strip", z.ZodTypeAny, {
1333
+ value: bigint;
1334
+ decimals: number;
1335
+ }, {
1336
+ value: bigint;
1337
+ decimals: number;
1338
+ }>>;
1339
+ }, "strip", z.ZodTypeAny, {
1340
+ coingeckoId?: string | undefined;
1341
+ marketCapUsd?: {
1342
+ value: bigint;
1343
+ decimals: number;
1344
+ } | undefined;
1345
+ }, {
1346
+ coingeckoId?: string | undefined;
1347
+ marketCapUsd?: {
1348
+ value: bigint;
1349
+ decimals: number;
1350
+ } | undefined;
1351
+ }>, {
1352
+ coingeckoId: string | undefined;
1353
+ marketCapUsd: {
1354
+ value: bigint;
1355
+ decimals: number;
1356
+ } | undefined;
1357
+ }, {
1358
+ coingeckoId?: string | undefined;
1359
+ marketCapUsd?: {
1360
+ value: bigint;
1361
+ decimals: number;
1362
+ } | undefined;
1363
+ }>;
1364
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1365
+ updatedAt: z.ZodNumber;
1366
+ }, "strip", z.ZodTypeAny, {
1367
+ symbol: string;
1368
+ type: "CryptoCurrency";
1369
+ id: string;
1370
+ name: string;
1371
+ market: {
1372
+ coingeckoId: string | undefined;
1373
+ marketCapUsd: {
1374
+ value: bigint;
1375
+ decimals: number;
1376
+ } | undefined;
1377
+ };
1378
+ updatedAt: number;
1379
+ icon?: string | undefined;
1380
+ priceDatasourceId?: string | undefined;
1381
+ }, {
1382
+ symbol: string;
1383
+ type: "CryptoCurrency";
1384
+ id: string;
1385
+ name: string;
1386
+ market: {
1387
+ coingeckoId?: string | undefined;
1388
+ marketCapUsd?: {
1389
+ value: bigint;
1390
+ decimals: number;
1391
+ } | undefined;
1392
+ };
1393
+ updatedAt: number;
1394
+ icon?: string | undefined;
1395
+ priceDatasourceId?: string | undefined;
1396
+ }>, {
1397
+ icon: string | undefined;
1398
+ priceDatasourceId: string | undefined;
1399
+ symbol: string;
1400
+ type: "CryptoCurrency";
1401
+ id: string;
1402
+ name: string;
1403
+ market: {
1404
+ coingeckoId: string | undefined;
1405
+ marketCapUsd: {
1406
+ value: bigint;
1407
+ decimals: number;
1408
+ } | undefined;
1409
+ };
1410
+ updatedAt: number;
1411
+ }, {
1412
+ symbol: string;
1413
+ type: "CryptoCurrency";
1414
+ id: string;
1415
+ name: string;
1416
+ market: {
1417
+ coingeckoId?: string | undefined;
1418
+ marketCapUsd?: {
1419
+ value: bigint;
1420
+ decimals: number;
1421
+ } | undefined;
1422
+ };
1423
+ updatedAt: number;
1424
+ icon?: string | undefined;
1425
+ priceDatasourceId?: string | undefined;
1426
+ }>, z.ZodEffects<z.ZodObject<{
1427
+ type: z.ZodLiteral<"FiatCurrency">;
1428
+ 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">]>;
1429
+ name: z.ZodString;
1430
+ symbol: z.ZodString;
1431
+ icon: z.ZodOptional<z.ZodString>;
1432
+ }, "strip", z.ZodTypeAny, {
1433
+ symbol: string;
1434
+ type: "FiatCurrency";
1435
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1436
+ name: string;
1437
+ icon?: string | undefined;
1438
+ }, {
1439
+ symbol: string;
1440
+ type: "FiatCurrency";
1441
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1442
+ name: string;
1443
+ icon?: string | undefined;
1444
+ }>, {
1445
+ icon: string | undefined;
1446
+ symbol: string;
1447
+ type: "FiatCurrency";
1448
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1449
+ name: string;
1450
+ }, {
1451
+ symbol: string;
1452
+ type: "FiatCurrency";
1453
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1454
+ name: string;
1455
+ icon?: string | undefined;
1456
+ }>, z.ZodEffects<z.ZodObject<{
1457
+ type: z.ZodLiteral<"Nft">;
1458
+ id: z.ZodString;
1459
+ name: z.ZodOptional<z.ZodString>;
1460
+ symbol: z.ZodOptional<z.ZodString>;
1461
+ image: z.ZodOptional<z.ZodString>;
1462
+ metadata: z.ZodOptional<z.ZodString>;
1463
+ updatedAt: z.ZodNumber;
1464
+ }, "strip", z.ZodTypeAny, {
1465
+ type: "Nft";
1466
+ id: string;
1467
+ updatedAt: number;
1468
+ symbol?: string | undefined;
1469
+ name?: string | undefined;
1470
+ image?: string | undefined;
1471
+ metadata?: string | undefined;
1472
+ }, {
1473
+ type: "Nft";
1474
+ id: string;
1475
+ updatedAt: number;
1476
+ symbol?: string | undefined;
1477
+ name?: string | undefined;
1478
+ image?: string | undefined;
1479
+ metadata?: string | undefined;
1480
+ }>, {
1481
+ name: string | undefined;
1482
+ symbol: string | undefined;
1483
+ image: string | undefined;
1484
+ metadata: string | undefined;
1485
+ type: "Nft";
1486
+ id: string;
1487
+ updatedAt: number;
1488
+ }, {
1489
+ type: "Nft";
1490
+ id: string;
1491
+ updatedAt: number;
1492
+ symbol?: string | undefined;
1493
+ name?: string | undefined;
1494
+ image?: string | undefined;
1495
+ metadata?: string | undefined;
1496
+ }>]>;
1497
+ amount: z.ZodObject<{
1498
+ value: z.ZodBigInt;
1499
+ decimals: z.ZodNumber;
1500
+ }, "strip", z.ZodTypeAny, {
1501
+ value: bigint;
1502
+ decimals: number;
1503
+ }, {
1504
+ value: bigint;
1505
+ decimals: number;
1506
+ }>;
1507
+ price: z.ZodOptional<z.ZodObject<{
1508
+ cryptoCurrencyId: z.ZodString;
1509
+ fiatCurrencyId: z.ZodString;
1510
+ price: z.ZodObject<{
1511
+ value: z.ZodBigInt;
1512
+ decimals: z.ZodNumber;
1513
+ }, "strip", z.ZodTypeAny, {
1514
+ value: bigint;
1515
+ decimals: number;
1516
+ }, {
1517
+ value: bigint;
1518
+ decimals: number;
1519
+ }>;
1520
+ timestamp: z.ZodNumber;
1521
+ }, "strip", z.ZodTypeAny, {
1522
+ cryptoCurrencyId: string;
1523
+ fiatCurrencyId: string;
1524
+ price: {
1525
+ value: bigint;
1526
+ decimals: number;
1527
+ };
1528
+ timestamp: number;
1529
+ }, {
1530
+ cryptoCurrencyId: string;
1531
+ fiatCurrencyId: string;
1532
+ price: {
1533
+ value: bigint;
1534
+ decimals: number;
1535
+ };
1536
+ timestamp: number;
1537
+ }>>;
1538
+ }, {
1539
+ direction: z.ZodLiteral<"in">;
1540
+ }>, "strip", z.ZodTypeAny, {
1541
+ asset: {
1542
+ icon: string | undefined;
1543
+ priceDatasourceId: string | undefined;
1544
+ symbol: string;
1545
+ type: "CryptoCurrency";
1546
+ id: string;
1547
+ name: string;
1548
+ market: {
1549
+ coingeckoId: string | undefined;
1550
+ marketCapUsd: {
1551
+ value: bigint;
1552
+ decimals: number;
1553
+ } | undefined;
1554
+ };
1555
+ updatedAt: number;
1556
+ } | {
1557
+ icon: string | undefined;
1558
+ symbol: string;
1559
+ type: "FiatCurrency";
1560
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1561
+ name: string;
1562
+ } | {
1563
+ name: string | undefined;
1564
+ symbol: string | undefined;
1565
+ image: string | undefined;
1566
+ metadata: string | undefined;
1567
+ type: "Nft";
1568
+ id: string;
1569
+ updatedAt: number;
1570
+ };
1571
+ amount: {
1572
+ value: bigint;
1573
+ decimals: number;
1574
+ };
1575
+ direction: "in";
1576
+ price?: {
1577
+ cryptoCurrencyId: string;
1578
+ fiatCurrencyId: string;
1579
+ price: {
1580
+ value: bigint;
1581
+ decimals: number;
1582
+ };
1583
+ timestamp: number;
1584
+ } | undefined;
1585
+ from?: string | undefined;
1586
+ to?: string | undefined;
1587
+ }, {
1588
+ asset: {
1589
+ symbol: string;
1590
+ type: "CryptoCurrency";
1591
+ id: string;
1592
+ name: string;
1593
+ market: {
1594
+ coingeckoId?: string | undefined;
1595
+ marketCapUsd?: {
1596
+ value: bigint;
1597
+ decimals: number;
1598
+ } | undefined;
1599
+ };
1600
+ updatedAt: number;
1601
+ icon?: string | undefined;
1602
+ priceDatasourceId?: string | undefined;
1603
+ } | {
1604
+ symbol: string;
1605
+ type: "FiatCurrency";
1606
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1607
+ name: string;
1608
+ icon?: string | undefined;
1609
+ } | {
1610
+ type: "Nft";
1611
+ id: string;
1612
+ updatedAt: number;
1613
+ symbol?: string | undefined;
1614
+ name?: string | undefined;
1615
+ image?: string | undefined;
1616
+ metadata?: string | undefined;
1617
+ };
1618
+ amount: {
1619
+ value: bigint;
1620
+ decimals: number;
1621
+ };
1622
+ direction: "in";
1623
+ price?: {
1624
+ cryptoCurrencyId: string;
1625
+ fiatCurrencyId: string;
1626
+ price: {
1627
+ value: bigint;
1628
+ decimals: number;
1629
+ };
1630
+ timestamp: number;
1631
+ } | undefined;
1632
+ from?: string | undefined;
1633
+ to?: string | undefined;
1634
+ }>, {
1635
+ from: string | undefined;
1636
+ to: string | undefined;
1637
+ price: {
1638
+ cryptoCurrencyId: string;
1639
+ fiatCurrencyId: string;
1640
+ price: {
1641
+ value: bigint;
1642
+ decimals: number;
1643
+ };
1644
+ timestamp: number;
1645
+ } | undefined;
1646
+ asset: {
1647
+ icon: string | undefined;
1648
+ priceDatasourceId: string | undefined;
1649
+ symbol: string;
1650
+ type: "CryptoCurrency";
1651
+ id: string;
1652
+ name: string;
1653
+ market: {
1654
+ coingeckoId: string | undefined;
1655
+ marketCapUsd: {
1656
+ value: bigint;
1657
+ decimals: number;
1658
+ } | undefined;
1659
+ };
1660
+ updatedAt: number;
1661
+ } | {
1662
+ icon: string | undefined;
1663
+ symbol: string;
1664
+ type: "FiatCurrency";
1665
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1666
+ name: string;
1667
+ } | {
1668
+ name: string | undefined;
1669
+ symbol: string | undefined;
1670
+ image: string | undefined;
1671
+ metadata: string | undefined;
1672
+ type: "Nft";
1673
+ id: string;
1674
+ updatedAt: number;
1675
+ };
1676
+ amount: {
1677
+ value: bigint;
1678
+ decimals: number;
1679
+ };
1680
+ direction: "in";
1681
+ }, {
1682
+ asset: {
1683
+ symbol: string;
1684
+ type: "CryptoCurrency";
1685
+ id: string;
1686
+ name: string;
1687
+ market: {
1688
+ coingeckoId?: string | undefined;
1689
+ marketCapUsd?: {
1690
+ value: bigint;
1691
+ decimals: number;
1692
+ } | undefined;
1693
+ };
1694
+ updatedAt: number;
1695
+ icon?: string | undefined;
1696
+ priceDatasourceId?: string | undefined;
1697
+ } | {
1698
+ symbol: string;
1699
+ type: "FiatCurrency";
1700
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1701
+ name: string;
1702
+ icon?: string | undefined;
1703
+ } | {
1704
+ type: "Nft";
1705
+ id: string;
1706
+ updatedAt: number;
1707
+ symbol?: string | undefined;
1708
+ name?: string | undefined;
1709
+ image?: string | undefined;
1710
+ metadata?: string | undefined;
1711
+ };
1712
+ amount: {
1713
+ value: bigint;
1714
+ decimals: number;
1715
+ };
1716
+ direction: "in";
1717
+ price?: {
1718
+ cryptoCurrencyId: string;
1719
+ fiatCurrencyId: string;
1720
+ price: {
1721
+ value: bigint;
1722
+ decimals: number;
1723
+ };
1724
+ timestamp: number;
1725
+ } | undefined;
1726
+ from?: string | undefined;
1727
+ to?: string | undefined;
1728
+ }>, "many">;
1729
+ }>, "strip", z.ZodTypeAny, {
1730
+ type: "NormalAction";
1731
+ timestamp: number;
1732
+ action: "valuedown";
1733
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1734
+ transfers: {
1735
+ from: string | undefined;
1736
+ to: string | undefined;
1737
+ price: {
1738
+ cryptoCurrencyId: string;
1739
+ fiatCurrencyId: string;
1740
+ price: {
1741
+ value: bigint;
1742
+ decimals: number;
1743
+ };
1744
+ timestamp: number;
1745
+ } | undefined;
1746
+ asset: {
1747
+ icon: string | undefined;
1748
+ priceDatasourceId: string | undefined;
1749
+ symbol: string;
1750
+ type: "CryptoCurrency";
1751
+ id: string;
1752
+ name: string;
1753
+ market: {
1754
+ coingeckoId: string | undefined;
1755
+ marketCapUsd: {
1756
+ value: bigint;
1757
+ decimals: number;
1758
+ } | undefined;
1759
+ };
1760
+ updatedAt: number;
1761
+ } | {
1762
+ icon: string | undefined;
1763
+ symbol: string;
1764
+ type: "FiatCurrency";
1765
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1766
+ name: string;
1767
+ } | {
1768
+ name: string | undefined;
1769
+ symbol: string | undefined;
1770
+ image: string | undefined;
1771
+ metadata: string | undefined;
1772
+ type: "Nft";
1773
+ id: string;
1774
+ updatedAt: number;
1775
+ };
1776
+ amount: {
1777
+ value: bigint;
1778
+ decimals: number;
1779
+ };
1780
+ direction: "in";
1781
+ }[];
1782
+ target: {
1783
+ name: string | undefined;
1784
+ symbol: string | undefined;
1785
+ image: string | undefined;
1786
+ metadata: string | undefined;
1787
+ type: "Nft";
1788
+ id: string;
1789
+ updatedAt: number;
1790
+ };
1791
+ comment?: string | undefined;
1792
+ app?: {
1793
+ description: string | undefined;
1794
+ website: string | undefined;
1795
+ icon: string | undefined;
1796
+ id: string;
1797
+ name: string;
1798
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1799
+ } | undefined;
1800
+ }, {
1801
+ type: "NormalAction";
1802
+ timestamp: number;
1803
+ action: "valuedown";
1804
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1805
+ transfers: {
1806
+ asset: {
1807
+ symbol: string;
1808
+ type: "CryptoCurrency";
1809
+ id: string;
1810
+ name: string;
1811
+ market: {
1812
+ coingeckoId?: string | undefined;
1813
+ marketCapUsd?: {
1814
+ value: bigint;
1815
+ decimals: number;
1816
+ } | undefined;
1817
+ };
1818
+ updatedAt: number;
1819
+ icon?: string | undefined;
1820
+ priceDatasourceId?: string | undefined;
1821
+ } | {
1822
+ symbol: string;
1823
+ type: "FiatCurrency";
1824
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1825
+ name: string;
1826
+ icon?: string | undefined;
1827
+ } | {
1828
+ type: "Nft";
1829
+ id: string;
1830
+ updatedAt: number;
1831
+ symbol?: string | undefined;
1832
+ name?: string | undefined;
1833
+ image?: string | undefined;
1834
+ metadata?: string | undefined;
1835
+ };
1836
+ amount: {
1837
+ value: bigint;
1838
+ decimals: number;
1839
+ };
1840
+ direction: "in";
1841
+ price?: {
1842
+ cryptoCurrencyId: string;
1843
+ fiatCurrencyId: string;
1844
+ price: {
1845
+ value: bigint;
1846
+ decimals: number;
1847
+ };
1848
+ timestamp: number;
1849
+ } | undefined;
1850
+ from?: string | undefined;
1851
+ to?: string | undefined;
1852
+ }[];
1853
+ target: {
1854
+ type: "Nft";
1855
+ id: string;
1856
+ updatedAt: number;
1857
+ symbol?: string | undefined;
1858
+ name?: string | undefined;
1859
+ image?: string | undefined;
1860
+ metadata?: string | undefined;
1861
+ };
1862
+ comment?: string | undefined;
1863
+ app?: {
1864
+ id: string;
1865
+ name: string;
1866
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1867
+ icon?: string | undefined;
1868
+ description?: string | undefined;
1869
+ website?: string | undefined;
1870
+ } | undefined;
1871
+ }>, {
1872
+ comment: string | undefined;
1873
+ app: {
1874
+ description: string | undefined;
1875
+ website: string | undefined;
1876
+ icon: string | undefined;
1877
+ id: string;
1878
+ name: string;
1879
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1880
+ } | undefined;
1881
+ type: "NormalAction";
1882
+ timestamp: number;
1883
+ action: "valuedown";
1884
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1885
+ transfers: {
1886
+ from: string | undefined;
1887
+ to: string | undefined;
1888
+ price: {
1889
+ cryptoCurrencyId: string;
1890
+ fiatCurrencyId: string;
1891
+ price: {
1892
+ value: bigint;
1893
+ decimals: number;
1894
+ };
1895
+ timestamp: number;
1896
+ } | undefined;
1897
+ asset: {
1898
+ icon: string | undefined;
1899
+ priceDatasourceId: string | undefined;
1900
+ symbol: string;
1901
+ type: "CryptoCurrency";
1902
+ id: string;
1903
+ name: string;
1904
+ market: {
1905
+ coingeckoId: string | undefined;
1906
+ marketCapUsd: {
1907
+ value: bigint;
1908
+ decimals: number;
1909
+ } | undefined;
1910
+ };
1911
+ updatedAt: number;
1912
+ } | {
1913
+ icon: string | undefined;
1914
+ symbol: string;
1915
+ type: "FiatCurrency";
1916
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1917
+ name: string;
1918
+ } | {
1919
+ name: string | undefined;
1920
+ symbol: string | undefined;
1921
+ image: string | undefined;
1922
+ metadata: string | undefined;
1923
+ type: "Nft";
1924
+ id: string;
1925
+ updatedAt: number;
1926
+ };
1927
+ amount: {
1928
+ value: bigint;
1929
+ decimals: number;
1930
+ };
1931
+ direction: "in";
1932
+ }[];
1933
+ target: {
1934
+ name: string | undefined;
1935
+ symbol: string | undefined;
1936
+ image: string | undefined;
1937
+ metadata: string | undefined;
1938
+ type: "Nft";
1939
+ id: string;
1940
+ updatedAt: number;
1941
+ };
1942
+ }, {
1943
+ type: "NormalAction";
1944
+ timestamp: number;
1945
+ action: "valuedown";
1946
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1947
+ transfers: {
1948
+ asset: {
1949
+ symbol: string;
1950
+ type: "CryptoCurrency";
1951
+ id: string;
1952
+ name: string;
1953
+ market: {
1954
+ coingeckoId?: string | undefined;
1955
+ marketCapUsd?: {
1956
+ value: bigint;
1957
+ decimals: number;
1958
+ } | undefined;
1959
+ };
1960
+ updatedAt: number;
1961
+ icon?: string | undefined;
1962
+ priceDatasourceId?: string | undefined;
1963
+ } | {
1964
+ symbol: string;
1965
+ type: "FiatCurrency";
1966
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1967
+ name: string;
1968
+ icon?: string | undefined;
1969
+ } | {
1970
+ type: "Nft";
1971
+ id: string;
1972
+ updatedAt: number;
1973
+ symbol?: string | undefined;
1974
+ name?: string | undefined;
1975
+ image?: string | undefined;
1976
+ metadata?: string | undefined;
1977
+ };
1978
+ amount: {
1979
+ value: bigint;
1980
+ decimals: number;
1981
+ };
1982
+ direction: "in";
1983
+ price?: {
1984
+ cryptoCurrencyId: string;
1985
+ fiatCurrencyId: string;
1986
+ price: {
1987
+ value: bigint;
1988
+ decimals: number;
1989
+ };
1990
+ timestamp: number;
1991
+ } | undefined;
1992
+ from?: string | undefined;
1993
+ to?: string | undefined;
1994
+ }[];
1995
+ target: {
1996
+ type: "Nft";
1997
+ id: string;
1998
+ updatedAt: number;
1999
+ symbol?: string | undefined;
2000
+ name?: string | undefined;
2001
+ image?: string | undefined;
2002
+ metadata?: string | undefined;
2003
+ };
2004
+ comment?: string | undefined;
2005
+ app?: {
2006
+ id: string;
2007
+ name: string;
2008
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2009
+ icon?: string | undefined;
2010
+ description?: string | undefined;
2011
+ website?: string | undefined;
2012
+ } | undefined;
2013
+ }>;
2014
+ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2015
+ 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">]>;
2016
+ source: z.ZodString;
2017
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
2018
+ timestamp: z.ZodNumber;
2019
+ order: z.ZodNumber;
2020
+ comment: z.ZodOptional<z.ZodString>;
2021
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2022
+ id: z.ZodString;
2023
+ 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">;
2024
+ name: z.ZodString;
2025
+ description: z.ZodOptional<z.ZodString>;
2026
+ website: z.ZodOptional<z.ZodString>;
2027
+ icon: z.ZodOptional<z.ZodString>;
2028
+ }, "strip", z.ZodTypeAny, {
2029
+ id: string;
2030
+ name: string;
2031
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2032
+ icon?: string | undefined;
2033
+ description?: string | undefined;
2034
+ website?: string | undefined;
2035
+ }, {
2036
+ id: string;
2037
+ name: string;
2038
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2039
+ icon?: string | undefined;
2040
+ description?: string | undefined;
2041
+ website?: string | undefined;
2042
+ }>, {
2043
+ description: string | undefined;
2044
+ website: string | undefined;
2045
+ icon: string | undefined;
2046
+ id: string;
2047
+ name: string;
2048
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2049
+ }, {
2050
+ id: string;
2051
+ name: string;
2052
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2053
+ icon?: string | undefined;
2054
+ description?: string | undefined;
2055
+ website?: string | undefined;
2056
+ }>>;
2057
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2058
+ from: z.ZodOptional<z.ZodString>;
2059
+ to: z.ZodOptional<z.ZodString>;
2060
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2061
+ type: z.ZodLiteral<"CryptoCurrency">;
2062
+ id: z.ZodString;
2063
+ name: z.ZodString;
2064
+ symbol: z.ZodString;
2065
+ icon: z.ZodOptional<z.ZodString>;
2066
+ market: z.ZodEffects<z.ZodObject<{
2067
+ coingeckoId: z.ZodOptional<z.ZodString>;
2068
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2069
+ value: z.ZodBigInt;
2070
+ decimals: z.ZodNumber;
2071
+ }, "strip", z.ZodTypeAny, {
2072
+ value: bigint;
2073
+ decimals: number;
2074
+ }, {
2075
+ value: bigint;
2076
+ decimals: number;
2077
+ }>>;
2078
+ }, "strip", z.ZodTypeAny, {
2079
+ coingeckoId?: string | undefined;
2080
+ marketCapUsd?: {
2081
+ value: bigint;
2082
+ decimals: number;
2083
+ } | undefined;
2084
+ }, {
2085
+ coingeckoId?: string | undefined;
2086
+ marketCapUsd?: {
2087
+ value: bigint;
2088
+ decimals: number;
2089
+ } | undefined;
2090
+ }>, {
2091
+ coingeckoId: string | undefined;
2092
+ marketCapUsd: {
2093
+ value: bigint;
2094
+ decimals: number;
2095
+ } | undefined;
2096
+ }, {
2097
+ coingeckoId?: string | undefined;
2098
+ marketCapUsd?: {
2099
+ value: bigint;
2100
+ decimals: number;
2101
+ } | undefined;
2102
+ }>;
2103
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2104
+ updatedAt: z.ZodNumber;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ symbol: string;
2107
+ type: "CryptoCurrency";
2108
+ id: string;
2109
+ name: string;
2110
+ market: {
2111
+ coingeckoId: string | undefined;
2112
+ marketCapUsd: {
2113
+ value: bigint;
2114
+ decimals: number;
2115
+ } | undefined;
2116
+ };
2117
+ updatedAt: number;
2118
+ icon?: string | undefined;
2119
+ priceDatasourceId?: string | undefined;
2120
+ }, {
2121
+ symbol: string;
2122
+ type: "CryptoCurrency";
2123
+ id: string;
2124
+ name: string;
2125
+ market: {
2126
+ coingeckoId?: string | undefined;
2127
+ marketCapUsd?: {
2128
+ value: bigint;
2129
+ decimals: number;
2130
+ } | undefined;
2131
+ };
2132
+ updatedAt: number;
2133
+ icon?: string | undefined;
2134
+ priceDatasourceId?: string | undefined;
2135
+ }>, {
2136
+ icon: string | undefined;
2137
+ priceDatasourceId: string | undefined;
2138
+ symbol: string;
2139
+ type: "CryptoCurrency";
2140
+ id: string;
2141
+ name: string;
2142
+ market: {
2143
+ coingeckoId: string | undefined;
2144
+ marketCapUsd: {
2145
+ value: bigint;
2146
+ decimals: number;
2147
+ } | undefined;
2148
+ };
2149
+ updatedAt: number;
2150
+ }, {
2151
+ symbol: string;
2152
+ type: "CryptoCurrency";
2153
+ id: string;
2154
+ name: string;
2155
+ market: {
2156
+ coingeckoId?: string | undefined;
2157
+ marketCapUsd?: {
2158
+ value: bigint;
2159
+ decimals: number;
2160
+ } | undefined;
2161
+ };
2162
+ updatedAt: number;
2163
+ icon?: string | undefined;
2164
+ priceDatasourceId?: string | undefined;
2165
+ }>, z.ZodEffects<z.ZodObject<{
2166
+ type: z.ZodLiteral<"FiatCurrency">;
2167
+ 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">]>;
2168
+ name: z.ZodString;
2169
+ symbol: z.ZodString;
2170
+ icon: z.ZodOptional<z.ZodString>;
2171
+ }, "strip", z.ZodTypeAny, {
2172
+ symbol: string;
2173
+ type: "FiatCurrency";
2174
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2175
+ name: string;
2176
+ icon?: string | undefined;
2177
+ }, {
2178
+ symbol: string;
2179
+ type: "FiatCurrency";
2180
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2181
+ name: string;
2182
+ icon?: string | undefined;
2183
+ }>, {
2184
+ icon: string | undefined;
2185
+ symbol: string;
2186
+ type: "FiatCurrency";
2187
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2188
+ name: string;
2189
+ }, {
2190
+ symbol: string;
2191
+ type: "FiatCurrency";
2192
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2193
+ name: string;
2194
+ icon?: string | undefined;
2195
+ }>, z.ZodEffects<z.ZodObject<{
2196
+ type: z.ZodLiteral<"Nft">;
2197
+ id: z.ZodString;
2198
+ name: z.ZodOptional<z.ZodString>;
2199
+ symbol: z.ZodOptional<z.ZodString>;
2200
+ image: z.ZodOptional<z.ZodString>;
2201
+ metadata: z.ZodOptional<z.ZodString>;
2202
+ updatedAt: z.ZodNumber;
2203
+ }, "strip", z.ZodTypeAny, {
2204
+ type: "Nft";
2205
+ id: string;
2206
+ updatedAt: number;
2207
+ symbol?: string | undefined;
2208
+ name?: string | undefined;
2209
+ image?: string | undefined;
2210
+ metadata?: string | undefined;
2211
+ }, {
2212
+ type: "Nft";
2213
+ id: string;
2214
+ updatedAt: number;
2215
+ symbol?: string | undefined;
2216
+ name?: string | undefined;
2217
+ image?: string | undefined;
2218
+ metadata?: string | undefined;
2219
+ }>, {
2220
+ name: string | undefined;
2221
+ symbol: string | undefined;
2222
+ image: string | undefined;
2223
+ metadata: string | undefined;
2224
+ type: "Nft";
2225
+ id: string;
2226
+ updatedAt: number;
2227
+ }, {
2228
+ type: "Nft";
2229
+ id: string;
2230
+ updatedAt: number;
2231
+ symbol?: string | undefined;
2232
+ name?: string | undefined;
2233
+ image?: string | undefined;
2234
+ metadata?: string | undefined;
2235
+ }>]>;
2236
+ amount: z.ZodObject<{
2237
+ value: z.ZodBigInt;
2238
+ decimals: z.ZodNumber;
2239
+ }, "strip", z.ZodTypeAny, {
2240
+ value: bigint;
2241
+ decimals: number;
2242
+ }, {
2243
+ value: bigint;
2244
+ decimals: number;
2245
+ }>;
2246
+ price: z.ZodOptional<z.ZodObject<{
2247
+ cryptoCurrencyId: z.ZodString;
2248
+ fiatCurrencyId: z.ZodString;
2249
+ price: z.ZodObject<{
2250
+ value: z.ZodBigInt;
2251
+ decimals: z.ZodNumber;
2252
+ }, "strip", z.ZodTypeAny, {
2253
+ value: bigint;
2254
+ decimals: number;
2255
+ }, {
2256
+ value: bigint;
2257
+ decimals: number;
2258
+ }>;
2259
+ timestamp: z.ZodNumber;
2260
+ }, "strip", z.ZodTypeAny, {
2261
+ cryptoCurrencyId: string;
2262
+ fiatCurrencyId: string;
2263
+ price: {
2264
+ value: bigint;
2265
+ decimals: number;
2266
+ };
2267
+ timestamp: number;
2268
+ }, {
2269
+ cryptoCurrencyId: string;
2270
+ fiatCurrencyId: string;
2271
+ price: {
2272
+ value: bigint;
2273
+ decimals: number;
2274
+ };
2275
+ timestamp: number;
2276
+ }>>;
2277
+ }, {
2278
+ direction: z.ZodLiteral<"in">;
2279
+ }>, "strip", z.ZodTypeAny, {
2280
+ asset: {
2281
+ icon: string | undefined;
2282
+ priceDatasourceId: string | undefined;
2283
+ symbol: string;
2284
+ type: "CryptoCurrency";
2285
+ id: string;
2286
+ name: string;
2287
+ market: {
2288
+ coingeckoId: string | undefined;
2289
+ marketCapUsd: {
2290
+ value: bigint;
2291
+ decimals: number;
2292
+ } | undefined;
2293
+ };
2294
+ updatedAt: number;
2295
+ } | {
2296
+ icon: string | undefined;
2297
+ symbol: string;
2298
+ type: "FiatCurrency";
2299
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2300
+ name: string;
2301
+ } | {
2302
+ name: string | undefined;
2303
+ symbol: string | undefined;
2304
+ image: string | undefined;
2305
+ metadata: string | undefined;
2306
+ type: "Nft";
2307
+ id: string;
2308
+ updatedAt: number;
2309
+ };
2310
+ amount: {
2311
+ value: bigint;
2312
+ decimals: number;
2313
+ };
2314
+ direction: "in";
2315
+ price?: {
2316
+ cryptoCurrencyId: string;
2317
+ fiatCurrencyId: string;
2318
+ price: {
2319
+ value: bigint;
2320
+ decimals: number;
2321
+ };
2322
+ timestamp: number;
2323
+ } | undefined;
2324
+ from?: string | undefined;
2325
+ to?: string | undefined;
2326
+ }, {
2327
+ asset: {
2328
+ symbol: string;
2329
+ type: "CryptoCurrency";
2330
+ id: string;
2331
+ name: string;
2332
+ market: {
2333
+ coingeckoId?: string | undefined;
2334
+ marketCapUsd?: {
2335
+ value: bigint;
2336
+ decimals: number;
2337
+ } | undefined;
2338
+ };
2339
+ updatedAt: number;
2340
+ icon?: string | undefined;
2341
+ priceDatasourceId?: string | undefined;
2342
+ } | {
2343
+ symbol: string;
2344
+ type: "FiatCurrency";
2345
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2346
+ name: string;
2347
+ icon?: string | undefined;
2348
+ } | {
2349
+ type: "Nft";
2350
+ id: string;
2351
+ updatedAt: number;
2352
+ symbol?: string | undefined;
2353
+ name?: string | undefined;
2354
+ image?: string | undefined;
2355
+ metadata?: 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
+ from: string | undefined;
2375
+ to: string | undefined;
2376
+ price: {
2377
+ cryptoCurrencyId: string;
2378
+ fiatCurrencyId: string;
2379
+ price: {
2380
+ value: bigint;
2381
+ decimals: number;
2382
+ };
2383
+ timestamp: number;
2384
+ } | undefined;
2385
+ asset: {
2386
+ icon: string | undefined;
2387
+ priceDatasourceId: string | undefined;
2388
+ symbol: string;
2389
+ type: "CryptoCurrency";
2390
+ id: string;
2391
+ name: string;
2392
+ market: {
2393
+ coingeckoId: string | undefined;
2394
+ marketCapUsd: {
2395
+ value: bigint;
2396
+ decimals: number;
2397
+ } | undefined;
2398
+ };
2399
+ updatedAt: number;
2400
+ } | {
2401
+ icon: string | undefined;
2402
+ symbol: string;
2403
+ type: "FiatCurrency";
2404
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2405
+ name: string;
2406
+ } | {
2407
+ name: string | undefined;
2408
+ symbol: string | undefined;
2409
+ image: string | undefined;
2410
+ metadata: string | undefined;
2411
+ type: "Nft";
2412
+ id: string;
2413
+ updatedAt: number;
2414
+ };
2415
+ amount: {
2416
+ value: bigint;
2417
+ decimals: number;
2418
+ };
2419
+ direction: "in";
2420
+ }, {
2421
+ asset: {
2422
+ symbol: string;
2423
+ type: "CryptoCurrency";
2424
+ id: string;
2425
+ name: string;
2426
+ market: {
2427
+ coingeckoId?: string | undefined;
2428
+ marketCapUsd?: {
2429
+ value: bigint;
2430
+ decimals: number;
2431
+ } | undefined;
2432
+ };
2433
+ updatedAt: number;
2434
+ icon?: string | undefined;
2435
+ priceDatasourceId?: string | undefined;
2436
+ } | {
2437
+ symbol: string;
2438
+ type: "FiatCurrency";
2439
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2440
+ name: string;
2441
+ icon?: string | undefined;
2442
+ } | {
2443
+ type: "Nft";
2444
+ id: string;
2445
+ updatedAt: number;
2446
+ symbol?: string | undefined;
2447
+ name?: string | undefined;
2448
+ image?: string | undefined;
2449
+ metadata?: string | undefined;
2450
+ };
2451
+ amount: {
2452
+ value: bigint;
2453
+ decimals: number;
2454
+ };
2455
+ direction: "in";
2456
+ price?: {
2457
+ cryptoCurrencyId: string;
2458
+ fiatCurrencyId: string;
2459
+ price: {
2460
+ value: bigint;
2461
+ decimals: number;
2462
+ };
2463
+ timestamp: number;
2464
+ } | undefined;
2465
+ from?: string | undefined;
2466
+ to?: string | undefined;
2467
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2468
+ from: z.ZodOptional<z.ZodString>;
2469
+ to: z.ZodOptional<z.ZodString>;
2470
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2471
+ type: z.ZodLiteral<"CryptoCurrency">;
2472
+ id: z.ZodString;
2473
+ name: z.ZodString;
2474
+ symbol: z.ZodString;
2475
+ icon: z.ZodOptional<z.ZodString>;
2476
+ market: z.ZodEffects<z.ZodObject<{
2477
+ coingeckoId: z.ZodOptional<z.ZodString>;
2478
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2479
+ value: z.ZodBigInt;
2480
+ decimals: z.ZodNumber;
2481
+ }, "strip", z.ZodTypeAny, {
2482
+ value: bigint;
2483
+ decimals: number;
2484
+ }, {
2485
+ value: bigint;
2486
+ decimals: number;
2487
+ }>>;
2488
+ }, "strip", z.ZodTypeAny, {
2489
+ coingeckoId?: string | undefined;
2490
+ marketCapUsd?: {
2491
+ value: bigint;
2492
+ decimals: number;
2493
+ } | undefined;
2494
+ }, {
2495
+ coingeckoId?: string | undefined;
2496
+ marketCapUsd?: {
2497
+ value: bigint;
2498
+ decimals: number;
2499
+ } | undefined;
2500
+ }>, {
2501
+ coingeckoId: string | undefined;
2502
+ marketCapUsd: {
2503
+ value: bigint;
2504
+ decimals: number;
2505
+ } | undefined;
2506
+ }, {
2507
+ coingeckoId?: string | undefined;
2508
+ marketCapUsd?: {
2509
+ value: bigint;
2510
+ decimals: number;
2511
+ } | undefined;
2512
+ }>;
2513
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2514
+ updatedAt: z.ZodNumber;
2515
+ }, "strip", z.ZodTypeAny, {
2516
+ symbol: string;
2517
+ type: "CryptoCurrency";
2518
+ id: string;
2519
+ name: string;
2520
+ market: {
2521
+ coingeckoId: string | undefined;
2522
+ marketCapUsd: {
2523
+ value: bigint;
2524
+ decimals: number;
2525
+ } | undefined;
2526
+ };
2527
+ updatedAt: number;
2528
+ icon?: string | undefined;
2529
+ priceDatasourceId?: string | undefined;
2530
+ }, {
2531
+ symbol: string;
2532
+ type: "CryptoCurrency";
2533
+ id: string;
2534
+ name: string;
2535
+ market: {
2536
+ coingeckoId?: string | undefined;
2537
+ marketCapUsd?: {
2538
+ value: bigint;
2539
+ decimals: number;
2540
+ } | undefined;
2541
+ };
2542
+ updatedAt: number;
2543
+ icon?: string | undefined;
2544
+ priceDatasourceId?: string | undefined;
2545
+ }>, {
2546
+ icon: string | undefined;
2547
+ priceDatasourceId: string | undefined;
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
+ }, {
2561
+ symbol: string;
2562
+ type: "CryptoCurrency";
2563
+ id: string;
2564
+ name: string;
2565
+ market: {
2566
+ coingeckoId?: string | undefined;
2567
+ marketCapUsd?: {
2568
+ value: bigint;
2569
+ decimals: number;
2570
+ } | undefined;
2571
+ };
2572
+ updatedAt: number;
2573
+ icon?: string | undefined;
2574
+ priceDatasourceId?: string | undefined;
2575
+ }>, z.ZodEffects<z.ZodObject<{
2576
+ type: z.ZodLiteral<"FiatCurrency">;
2577
+ 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">]>;
2578
+ name: z.ZodString;
2579
+ symbol: z.ZodString;
2580
+ icon: z.ZodOptional<z.ZodString>;
2581
+ }, "strip", z.ZodTypeAny, {
2582
+ symbol: string;
2583
+ type: "FiatCurrency";
2584
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2585
+ name: string;
2586
+ icon?: string | undefined;
2587
+ }, {
2588
+ symbol: string;
2589
+ type: "FiatCurrency";
2590
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2591
+ name: string;
2592
+ icon?: string | undefined;
2593
+ }>, {
2594
+ icon: string | undefined;
2595
+ symbol: string;
2596
+ type: "FiatCurrency";
2597
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2598
+ name: string;
2599
+ }, {
2600
+ symbol: string;
2601
+ type: "FiatCurrency";
2602
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2603
+ name: string;
2604
+ icon?: string | undefined;
2605
+ }>, z.ZodEffects<z.ZodObject<{
2606
+ type: z.ZodLiteral<"Nft">;
2607
+ id: z.ZodString;
2608
+ name: z.ZodOptional<z.ZodString>;
2609
+ symbol: z.ZodOptional<z.ZodString>;
2610
+ image: z.ZodOptional<z.ZodString>;
2611
+ metadata: z.ZodOptional<z.ZodString>;
2612
+ updatedAt: z.ZodNumber;
2613
+ }, "strip", z.ZodTypeAny, {
2614
+ type: "Nft";
2615
+ id: string;
2616
+ updatedAt: number;
2617
+ symbol?: string | undefined;
2618
+ name?: string | undefined;
2619
+ image?: string | undefined;
2620
+ metadata?: string | undefined;
2621
+ }, {
2622
+ type: "Nft";
2623
+ id: string;
2624
+ updatedAt: number;
2625
+ symbol?: string | undefined;
2626
+ name?: string | undefined;
2627
+ image?: string | undefined;
2628
+ metadata?: string | undefined;
2629
+ }>, {
2630
+ name: string | undefined;
2631
+ symbol: string | undefined;
2632
+ image: string | undefined;
2633
+ metadata: string | undefined;
2634
+ type: "Nft";
2635
+ id: string;
2636
+ updatedAt: number;
2637
+ }, {
2638
+ type: "Nft";
2639
+ id: string;
2640
+ updatedAt: number;
2641
+ symbol?: string | undefined;
2642
+ name?: string | undefined;
2643
+ image?: string | undefined;
2644
+ metadata?: string | undefined;
2645
+ }>]>;
2646
+ amount: 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
+ price: z.ZodOptional<z.ZodObject<{
2657
+ cryptoCurrencyId: z.ZodString;
2658
+ fiatCurrencyId: z.ZodString;
2659
+ price: z.ZodObject<{
2660
+ value: z.ZodBigInt;
2661
+ decimals: z.ZodNumber;
2662
+ }, "strip", z.ZodTypeAny, {
2663
+ value: bigint;
2664
+ decimals: number;
2665
+ }, {
2666
+ value: bigint;
2667
+ decimals: number;
2668
+ }>;
2669
+ timestamp: z.ZodNumber;
2670
+ }, "strip", z.ZodTypeAny, {
2671
+ cryptoCurrencyId: string;
2672
+ fiatCurrencyId: string;
2673
+ price: {
2674
+ value: bigint;
2675
+ decimals: number;
2676
+ };
2677
+ timestamp: number;
2678
+ }, {
2679
+ cryptoCurrencyId: string;
2680
+ fiatCurrencyId: string;
2681
+ price: {
2682
+ value: bigint;
2683
+ decimals: number;
2684
+ };
2685
+ timestamp: number;
2686
+ }>>;
2687
+ }, {
2688
+ direction: z.ZodLiteral<"out">;
2689
+ }>, "strip", z.ZodTypeAny, {
2690
+ asset: {
2691
+ icon: string | undefined;
2692
+ priceDatasourceId: string | undefined;
2693
+ symbol: string;
2694
+ type: "CryptoCurrency";
2695
+ id: string;
2696
+ name: string;
2697
+ market: {
2698
+ coingeckoId: string | undefined;
2699
+ marketCapUsd: {
2700
+ value: bigint;
2701
+ decimals: number;
2702
+ } | undefined;
2703
+ };
2704
+ updatedAt: number;
2705
+ } | {
2706
+ icon: string | undefined;
2707
+ symbol: string;
2708
+ type: "FiatCurrency";
2709
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2710
+ name: string;
2711
+ } | {
2712
+ name: string | undefined;
2713
+ symbol: string | undefined;
2714
+ image: string | undefined;
2715
+ metadata: string | undefined;
2716
+ type: "Nft";
2717
+ id: string;
2718
+ updatedAt: number;
2719
+ };
2720
+ amount: {
2721
+ value: bigint;
2722
+ decimals: number;
2723
+ };
2724
+ direction: "out";
2725
+ price?: {
2726
+ cryptoCurrencyId: string;
2727
+ fiatCurrencyId: string;
2728
+ price: {
2729
+ value: bigint;
2730
+ decimals: number;
2731
+ };
2732
+ timestamp: number;
2733
+ } | undefined;
2734
+ from?: string | undefined;
2735
+ to?: string | undefined;
2736
+ }, {
2737
+ asset: {
2738
+ symbol: string;
2739
+ type: "CryptoCurrency";
2740
+ id: string;
2741
+ name: string;
2742
+ market: {
2743
+ coingeckoId?: string | undefined;
2744
+ marketCapUsd?: {
2745
+ value: bigint;
2746
+ decimals: number;
2747
+ } | undefined;
2748
+ };
2749
+ updatedAt: number;
2750
+ icon?: string | undefined;
2751
+ priceDatasourceId?: string | undefined;
2752
+ } | {
2753
+ symbol: string;
2754
+ type: "FiatCurrency";
2755
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2756
+ name: string;
2757
+ icon?: string | undefined;
2758
+ } | {
2759
+ type: "Nft";
2760
+ id: string;
2761
+ updatedAt: number;
2762
+ symbol?: string | undefined;
2763
+ name?: string | undefined;
2764
+ image?: string | undefined;
2765
+ metadata?: string | undefined;
2766
+ };
2767
+ amount: {
2768
+ value: bigint;
2769
+ decimals: number;
2770
+ };
2771
+ direction: "out";
2772
+ price?: {
2773
+ cryptoCurrencyId: string;
2774
+ fiatCurrencyId: string;
2775
+ price: {
2776
+ value: bigint;
2777
+ decimals: number;
2778
+ };
2779
+ timestamp: number;
2780
+ } | undefined;
2781
+ from?: string | undefined;
2782
+ to?: string | undefined;
2783
+ }>, {
2784
+ from: string | undefined;
2785
+ to: string | undefined;
2786
+ price: {
2787
+ cryptoCurrencyId: string;
2788
+ fiatCurrencyId: string;
2789
+ price: {
2790
+ value: bigint;
2791
+ decimals: number;
2792
+ };
2793
+ timestamp: number;
2794
+ } | undefined;
2795
+ asset: {
2796
+ icon: string | undefined;
2797
+ priceDatasourceId: string | undefined;
2798
+ symbol: string;
2799
+ type: "CryptoCurrency";
2800
+ id: string;
2801
+ name: string;
2802
+ market: {
2803
+ coingeckoId: string | undefined;
2804
+ marketCapUsd: {
2805
+ value: bigint;
2806
+ decimals: number;
2807
+ } | undefined;
2808
+ };
2809
+ updatedAt: number;
2810
+ } | {
2811
+ icon: string | undefined;
2812
+ symbol: string;
2813
+ type: "FiatCurrency";
2814
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2815
+ name: string;
2816
+ } | {
2817
+ name: string | undefined;
2818
+ symbol: string | undefined;
2819
+ image: string | undefined;
2820
+ metadata: string | undefined;
2821
+ type: "Nft";
2822
+ id: string;
2823
+ updatedAt: number;
2824
+ };
2825
+ amount: {
2826
+ value: bigint;
2827
+ decimals: number;
2828
+ };
2829
+ direction: "out";
2830
+ }, {
2831
+ asset: {
2832
+ symbol: string;
2833
+ type: "CryptoCurrency";
2834
+ id: string;
2835
+ name: string;
2836
+ market: {
2837
+ coingeckoId?: string | undefined;
2838
+ marketCapUsd?: {
2839
+ value: bigint;
2840
+ decimals: number;
2841
+ } | undefined;
2842
+ };
2843
+ updatedAt: number;
2844
+ icon?: string | undefined;
2845
+ priceDatasourceId?: string | undefined;
2846
+ } | {
2847
+ symbol: string;
2848
+ type: "FiatCurrency";
2849
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2850
+ name: string;
2851
+ icon?: string | undefined;
2852
+ } | {
2853
+ type: "Nft";
2854
+ id: string;
2855
+ updatedAt: number;
2856
+ symbol?: string | undefined;
2857
+ name?: string | undefined;
2858
+ image?: string | undefined;
2859
+ metadata?: string | undefined;
2860
+ };
2861
+ amount: {
2862
+ value: bigint;
2863
+ decimals: number;
2864
+ };
2865
+ direction: "out";
2866
+ price?: {
2867
+ cryptoCurrencyId: string;
2868
+ fiatCurrencyId: string;
2869
+ price: {
2870
+ value: bigint;
2871
+ decimals: number;
2872
+ };
2873
+ timestamp: number;
2874
+ } | undefined;
2875
+ from?: string | undefined;
2876
+ to?: string | undefined;
2877
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2878
+ from: z.ZodOptional<z.ZodString>;
2879
+ to: z.ZodOptional<z.ZodString>;
2880
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2881
+ type: z.ZodLiteral<"CryptoCurrency">;
2882
+ id: z.ZodString;
2883
+ name: z.ZodString;
2884
+ symbol: z.ZodString;
2885
+ icon: z.ZodOptional<z.ZodString>;
2886
+ market: z.ZodEffects<z.ZodObject<{
2887
+ coingeckoId: z.ZodOptional<z.ZodString>;
2888
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2889
+ value: z.ZodBigInt;
2890
+ decimals: z.ZodNumber;
2891
+ }, "strip", z.ZodTypeAny, {
2892
+ value: bigint;
2893
+ decimals: number;
2894
+ }, {
2895
+ value: bigint;
2896
+ decimals: number;
2897
+ }>>;
2898
+ }, "strip", z.ZodTypeAny, {
2899
+ coingeckoId?: string | undefined;
2900
+ marketCapUsd?: {
2901
+ value: bigint;
2902
+ decimals: number;
2903
+ } | undefined;
2904
+ }, {
2905
+ coingeckoId?: string | undefined;
2906
+ marketCapUsd?: {
2907
+ value: bigint;
2908
+ decimals: number;
2909
+ } | undefined;
2910
+ }>, {
2911
+ coingeckoId: string | undefined;
2912
+ marketCapUsd: {
2913
+ value: bigint;
2914
+ decimals: number;
2915
+ } | undefined;
2916
+ }, {
2917
+ coingeckoId?: string | undefined;
2918
+ marketCapUsd?: {
2919
+ value: bigint;
2920
+ decimals: number;
2921
+ } | undefined;
2922
+ }>;
2923
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2924
+ updatedAt: z.ZodNumber;
2925
+ }, "strip", z.ZodTypeAny, {
2926
+ symbol: string;
2927
+ type: "CryptoCurrency";
2928
+ id: string;
2929
+ name: string;
2930
+ market: {
2931
+ coingeckoId: string | undefined;
2932
+ marketCapUsd: {
2933
+ value: bigint;
2934
+ decimals: number;
2935
+ } | undefined;
2936
+ };
2937
+ updatedAt: number;
2938
+ icon?: string | undefined;
2939
+ priceDatasourceId?: string | undefined;
2940
+ }, {
2941
+ symbol: string;
2942
+ type: "CryptoCurrency";
2943
+ id: string;
2944
+ name: string;
2945
+ market: {
2946
+ coingeckoId?: string | undefined;
2947
+ marketCapUsd?: {
2948
+ value: bigint;
2949
+ decimals: number;
2950
+ } | undefined;
2951
+ };
2952
+ updatedAt: number;
2953
+ icon?: string | undefined;
2954
+ priceDatasourceId?: string | undefined;
2955
+ }>, {
2956
+ icon: string | undefined;
2957
+ priceDatasourceId: string | undefined;
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
+ }, {
2971
+ symbol: string;
2972
+ type: "CryptoCurrency";
2973
+ id: string;
2974
+ name: string;
2975
+ market: {
2976
+ coingeckoId?: string | undefined;
2977
+ marketCapUsd?: {
2978
+ value: bigint;
2979
+ decimals: number;
2980
+ } | undefined;
2981
+ };
2982
+ updatedAt: number;
2983
+ icon?: string | undefined;
2984
+ priceDatasourceId?: string | undefined;
2985
+ }>, z.ZodEffects<z.ZodObject<{
2986
+ type: z.ZodLiteral<"FiatCurrency">;
2987
+ 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">]>;
2988
+ name: z.ZodString;
2989
+ symbol: z.ZodString;
2990
+ icon: z.ZodOptional<z.ZodString>;
2991
+ }, "strip", z.ZodTypeAny, {
2992
+ symbol: string;
2993
+ type: "FiatCurrency";
2994
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2995
+ name: string;
2996
+ icon?: string | undefined;
2997
+ }, {
2998
+ symbol: string;
2999
+ type: "FiatCurrency";
3000
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3001
+ name: string;
3002
+ icon?: string | undefined;
3003
+ }>, {
3004
+ icon: string | undefined;
3005
+ symbol: string;
3006
+ type: "FiatCurrency";
3007
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3008
+ name: string;
3009
+ }, {
3010
+ symbol: string;
3011
+ type: "FiatCurrency";
3012
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3013
+ name: string;
3014
+ icon?: string | undefined;
3015
+ }>, z.ZodEffects<z.ZodObject<{
3016
+ type: z.ZodLiteral<"Nft">;
3017
+ id: z.ZodString;
3018
+ name: z.ZodOptional<z.ZodString>;
3019
+ symbol: z.ZodOptional<z.ZodString>;
3020
+ image: z.ZodOptional<z.ZodString>;
3021
+ metadata: z.ZodOptional<z.ZodString>;
3022
+ updatedAt: z.ZodNumber;
3023
+ }, "strip", z.ZodTypeAny, {
3024
+ type: "Nft";
3025
+ id: string;
3026
+ updatedAt: number;
3027
+ symbol?: string | undefined;
3028
+ name?: string | undefined;
3029
+ image?: string | undefined;
3030
+ metadata?: string | undefined;
3031
+ }, {
3032
+ type: "Nft";
3033
+ id: string;
3034
+ updatedAt: number;
3035
+ symbol?: string | undefined;
3036
+ name?: string | undefined;
3037
+ image?: string | undefined;
3038
+ metadata?: string | undefined;
3039
+ }>, {
3040
+ name: string | undefined;
3041
+ symbol: string | undefined;
3042
+ image: string | undefined;
3043
+ metadata: string | undefined;
3044
+ type: "Nft";
3045
+ id: string;
3046
+ updatedAt: number;
3047
+ }, {
3048
+ type: "Nft";
3049
+ id: string;
3050
+ updatedAt: number;
3051
+ symbol?: string | undefined;
3052
+ name?: string | undefined;
3053
+ image?: string | undefined;
3054
+ metadata?: string | undefined;
3055
+ }>]>;
3056
+ amount: 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
+ price: z.ZodOptional<z.ZodObject<{
3067
+ cryptoCurrencyId: z.ZodString;
3068
+ fiatCurrencyId: z.ZodString;
3069
+ price: z.ZodObject<{
3070
+ value: z.ZodBigInt;
3071
+ decimals: z.ZodNumber;
3072
+ }, "strip", z.ZodTypeAny, {
3073
+ value: bigint;
3074
+ decimals: number;
3075
+ }, {
3076
+ value: bigint;
3077
+ decimals: number;
3078
+ }>;
3079
+ timestamp: z.ZodNumber;
3080
+ }, "strip", z.ZodTypeAny, {
3081
+ cryptoCurrencyId: string;
3082
+ fiatCurrencyId: string;
3083
+ price: {
3084
+ value: bigint;
3085
+ decimals: number;
3086
+ };
3087
+ timestamp: number;
3088
+ }, {
504
3089
  cryptoCurrencyId: string;
505
3090
  fiatCurrencyId: string;
506
3091
  price: {
@@ -508,7 +3093,10 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
508
3093
  decimals: number;
509
3094
  };
510
3095
  timestamp: number;
511
- } | undefined;
3096
+ }>>;
3097
+ }, {
3098
+ direction: z.ZodLiteral<"none">;
3099
+ }>, "strip", z.ZodTypeAny, {
512
3100
  asset: {
513
3101
  icon: string | undefined;
514
3102
  priceDatasourceId: string | undefined;
@@ -543,32 +3131,19 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
543
3131
  value: bigint;
544
3132
  decimals: number;
545
3133
  };
546
- direction: "in";
547
- }[];
548
- target: {
549
- name: string | undefined;
550
- symbol: string | undefined;
551
- image: string | undefined;
552
- metadata: string | undefined;
553
- type: "Nft";
554
- id: string;
555
- updatedAt: number;
556
- };
557
- comment?: string | undefined;
558
- app?: {
559
- description: string | undefined;
560
- website: string | undefined;
561
- icon: string | undefined;
562
- id: string;
563
- name: string;
564
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
565
- } | undefined;
566
- }, {
567
- type: "NormalAction";
568
- timestamp: number;
569
- action: "valuedown";
570
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
571
- transfers: {
3134
+ direction: "none";
3135
+ price?: {
3136
+ cryptoCurrencyId: string;
3137
+ fiatCurrencyId: string;
3138
+ price: {
3139
+ value: bigint;
3140
+ decimals: number;
3141
+ };
3142
+ timestamp: number;
3143
+ } | undefined;
3144
+ from?: string | undefined;
3145
+ to?: string | undefined;
3146
+ }, {
572
3147
  asset: {
573
3148
  symbol: string;
574
3149
  type: "CryptoCurrency";
@@ -594,8 +3169,8 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
594
3169
  type: "Nft";
595
3170
  id: string;
596
3171
  updatedAt: number;
597
- name?: string | undefined;
598
3172
  symbol?: string | undefined;
3173
+ name?: string | undefined;
599
3174
  image?: string | undefined;
600
3175
  metadata?: string | undefined;
601
3176
  };
@@ -603,7 +3178,7 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
603
3178
  value: bigint;
604
3179
  decimals: number;
605
3180
  };
606
- direction: "in";
3181
+ direction: "none";
607
3182
  price?: {
608
3183
  cryptoCurrencyId: string;
609
3184
  fiatCurrencyId: string;
@@ -615,40 +3190,7 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
615
3190
  } | undefined;
616
3191
  from?: string | undefined;
617
3192
  to?: string | undefined;
618
- }[];
619
- target: {
620
- type: "Nft";
621
- id: string;
622
- updatedAt: number;
623
- name?: string | undefined;
624
- symbol?: string | undefined;
625
- image?: string | undefined;
626
- metadata?: string | undefined;
627
- };
628
- comment?: string | undefined;
629
- app?: {
630
- id: string;
631
- name: string;
632
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
633
- description?: string | undefined;
634
- website?: string | undefined;
635
- icon?: string | undefined;
636
- } | undefined;
637
- }>, {
638
- comment: string | undefined;
639
- app: {
640
- description: string | undefined;
641
- website: string | undefined;
642
- icon: string | undefined;
643
- id: string;
644
- name: string;
645
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
646
- } | undefined;
647
- type: "NormalAction";
648
- timestamp: number;
649
- action: "valuedown";
650
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
651
- transfers: {
3193
+ }>, {
652
3194
  from: string | undefined;
653
3195
  to: string | undefined;
654
3196
  price: {
@@ -694,23 +3236,8 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
694
3236
  value: bigint;
695
3237
  decimals: number;
696
3238
  };
697
- direction: "in";
698
- }[];
699
- target: {
700
- name: string | undefined;
701
- symbol: string | undefined;
702
- image: string | undefined;
703
- metadata: string | undefined;
704
- type: "Nft";
705
- id: string;
706
- updatedAt: number;
707
- };
708
- }, {
709
- type: "NormalAction";
710
- timestamp: number;
711
- action: "valuedown";
712
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
713
- transfers: {
3239
+ direction: "none";
3240
+ }, {
714
3241
  asset: {
715
3242
  symbol: string;
716
3243
  type: "CryptoCurrency";
@@ -736,8 +3263,8 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
736
3263
  type: "Nft";
737
3264
  id: string;
738
3265
  updatedAt: number;
739
- name?: string | undefined;
740
3266
  symbol?: string | undefined;
3267
+ name?: string | undefined;
741
3268
  image?: string | undefined;
742
3269
  metadata?: string | undefined;
743
3270
  };
@@ -745,7 +3272,7 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
745
3272
  value: bigint;
746
3273
  decimals: number;
747
3274
  };
748
- direction: "in";
3275
+ direction: "none";
749
3276
  price?: {
750
3277
  cryptoCurrencyId: string;
751
3278
  fiatCurrencyId: string;
@@ -757,69 +3284,10 @@ export declare const normalActionValuedownSchema: z.ZodEffects<z.ZodObject<{
757
3284
  } | undefined;
758
3285
  from?: string | undefined;
759
3286
  to?: string | undefined;
760
- }[];
761
- target: {
762
- type: "Nft";
763
- id: string;
764
- updatedAt: number;
765
- name?: string | undefined;
766
- symbol?: string | undefined;
767
- image?: string | undefined;
768
- metadata?: string | undefined;
769
- };
770
- comment?: string | undefined;
771
- app?: {
772
- id: string;
773
- name: string;
774
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
775
- description?: string | undefined;
776
- website?: string | undefined;
777
- icon?: string | undefined;
778
- } | undefined;
779
- }>;
780
- export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
3287
+ }>]>, "many">;
3288
+ }, {
781
3289
  type: z.ZodLiteral<"NormalAccountAction">;
782
- timestamp: z.ZodNumber;
783
- order: z.ZodNumber;
784
- source: z.ZodString;
785
- evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
786
- comment: z.ZodOptional<z.ZodString>;
787
- app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
788
- id: z.ZodString;
789
- 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">;
790
- name: z.ZodString;
791
- description: z.ZodOptional<z.ZodString>;
792
- website: z.ZodOptional<z.ZodString>;
793
- icon: z.ZodOptional<z.ZodString>;
794
- }, "strip", z.ZodTypeAny, {
795
- id: string;
796
- name: string;
797
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
798
- description?: string | undefined;
799
- website?: string | undefined;
800
- icon?: string | undefined;
801
- }, {
802
- id: string;
803
- name: string;
804
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
805
- description?: string | undefined;
806
- website?: string | undefined;
807
- icon?: string | undefined;
808
- }>, {
809
- description: string | undefined;
810
- website: string | undefined;
811
- icon: string | undefined;
812
- id: string;
813
- name: string;
814
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
815
- }, {
816
- id: string;
817
- name: string;
818
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
819
- description?: string | undefined;
820
- website?: string | undefined;
821
- icon?: string | undefined;
822
- }>>;
3290
+ }>, {
823
3291
  action: z.ZodLiteral<"valuedown">;
824
3292
  target: z.ZodEffects<z.ZodObject<{
825
3293
  type: z.ZodLiteral<"Nft">;
@@ -833,16 +3301,16 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
833
3301
  type: "Nft";
834
3302
  id: string;
835
3303
  updatedAt: number;
836
- name?: string | undefined;
837
3304
  symbol?: string | undefined;
3305
+ name?: string | undefined;
838
3306
  image?: string | undefined;
839
3307
  metadata?: string | undefined;
840
3308
  }, {
841
3309
  type: "Nft";
842
3310
  id: string;
843
3311
  updatedAt: number;
844
- name?: string | undefined;
845
3312
  symbol?: string | undefined;
3313
+ name?: string | undefined;
846
3314
  image?: string | undefined;
847
3315
  metadata?: string | undefined;
848
3316
  }>, {
@@ -857,43 +3325,12 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
857
3325
  type: "Nft";
858
3326
  id: string;
859
3327
  updatedAt: number;
860
- name?: string | undefined;
861
3328
  symbol?: string | undefined;
3329
+ name?: string | undefined;
862
3330
  image?: string | undefined;
863
3331
  metadata?: string | undefined;
864
3332
  }>;
865
- transfers: z.ZodArray<z.ZodEffects<z.ZodObject<{
866
- price: z.ZodOptional<z.ZodObject<{
867
- cryptoCurrencyId: z.ZodString;
868
- fiatCurrencyId: z.ZodString;
869
- price: z.ZodObject<{
870
- value: z.ZodBigInt;
871
- decimals: z.ZodNumber;
872
- }, "strip", z.ZodTypeAny, {
873
- value: bigint;
874
- decimals: number;
875
- }, {
876
- value: bigint;
877
- decimals: number;
878
- }>;
879
- timestamp: z.ZodNumber;
880
- }, "strip", z.ZodTypeAny, {
881
- cryptoCurrencyId: string;
882
- fiatCurrencyId: string;
883
- price: {
884
- value: bigint;
885
- decimals: number;
886
- };
887
- timestamp: number;
888
- }, {
889
- cryptoCurrencyId: string;
890
- fiatCurrencyId: string;
891
- price: {
892
- value: bigint;
893
- decimals: number;
894
- };
895
- timestamp: number;
896
- }>>;
3333
+ transfers: z.ZodArray<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
897
3334
  from: z.ZodOptional<z.ZodString>;
898
3335
  to: z.ZodOptional<z.ZodString>;
899
3336
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -1043,16 +3480,16 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1043
3480
  type: "Nft";
1044
3481
  id: string;
1045
3482
  updatedAt: number;
1046
- name?: string | undefined;
1047
3483
  symbol?: string | undefined;
3484
+ name?: string | undefined;
1048
3485
  image?: string | undefined;
1049
3486
  metadata?: string | undefined;
1050
3487
  }, {
1051
3488
  type: "Nft";
1052
3489
  id: string;
1053
3490
  updatedAt: number;
1054
- name?: string | undefined;
1055
3491
  symbol?: string | undefined;
3492
+ name?: string | undefined;
1056
3493
  image?: string | undefined;
1057
3494
  metadata?: string | undefined;
1058
3495
  }>, {
@@ -1067,8 +3504,8 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1067
3504
  type: "Nft";
1068
3505
  id: string;
1069
3506
  updatedAt: number;
1070
- name?: string | undefined;
1071
3507
  symbol?: string | undefined;
3508
+ name?: string | undefined;
1072
3509
  image?: string | undefined;
1073
3510
  metadata?: string | undefined;
1074
3511
  }>]>;
@@ -1082,8 +3519,40 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1082
3519
  value: bigint;
1083
3520
  decimals: number;
1084
3521
  }>;
3522
+ price: z.ZodOptional<z.ZodObject<{
3523
+ cryptoCurrencyId: z.ZodString;
3524
+ fiatCurrencyId: z.ZodString;
3525
+ price: z.ZodObject<{
3526
+ value: z.ZodBigInt;
3527
+ decimals: z.ZodNumber;
3528
+ }, "strip", z.ZodTypeAny, {
3529
+ value: bigint;
3530
+ decimals: number;
3531
+ }, {
3532
+ value: bigint;
3533
+ decimals: number;
3534
+ }>;
3535
+ timestamp: z.ZodNumber;
3536
+ }, "strip", z.ZodTypeAny, {
3537
+ cryptoCurrencyId: string;
3538
+ fiatCurrencyId: string;
3539
+ price: {
3540
+ value: bigint;
3541
+ decimals: number;
3542
+ };
3543
+ timestamp: number;
3544
+ }, {
3545
+ cryptoCurrencyId: string;
3546
+ fiatCurrencyId: string;
3547
+ price: {
3548
+ value: bigint;
3549
+ decimals: number;
3550
+ };
3551
+ timestamp: number;
3552
+ }>>;
3553
+ }, {
1085
3554
  direction: z.ZodLiteral<"in">;
1086
- }, "strip", z.ZodTypeAny, {
3555
+ }>, "strip", z.ZodTypeAny, {
1087
3556
  asset: {
1088
3557
  icon: string | undefined;
1089
3558
  priceDatasourceId: string | undefined;
@@ -1156,8 +3625,8 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1156
3625
  type: "Nft";
1157
3626
  id: string;
1158
3627
  updatedAt: number;
1159
- name?: string | undefined;
1160
3628
  symbol?: string | undefined;
3629
+ name?: string | undefined;
1161
3630
  image?: string | undefined;
1162
3631
  metadata?: string | undefined;
1163
3632
  };
@@ -1250,8 +3719,8 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1250
3719
  type: "Nft";
1251
3720
  id: string;
1252
3721
  updatedAt: number;
1253
- name?: string | undefined;
1254
3722
  symbol?: string | undefined;
3723
+ name?: string | undefined;
1255
3724
  image?: string | undefined;
1256
3725
  metadata?: string | undefined;
1257
3726
  };
@@ -1272,7 +3741,7 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1272
3741
  from?: string | undefined;
1273
3742
  to?: string | undefined;
1274
3743
  }>, "many">;
1275
- }, "strip", z.ZodTypeAny, {
3744
+ }>, "strip", z.ZodTypeAny, {
1276
3745
  type: "NormalAccountAction";
1277
3746
  timestamp: number;
1278
3747
  order: number;
@@ -1378,8 +3847,8 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1378
3847
  type: "Nft";
1379
3848
  id: string;
1380
3849
  updatedAt: number;
1381
- name?: string | undefined;
1382
3850
  symbol?: string | undefined;
3851
+ name?: string | undefined;
1383
3852
  image?: string | undefined;
1384
3853
  metadata?: string | undefined;
1385
3854
  };
@@ -1404,8 +3873,8 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1404
3873
  type: "Nft";
1405
3874
  id: string;
1406
3875
  updatedAt: number;
1407
- name?: string | undefined;
1408
3876
  symbol?: string | undefined;
3877
+ name?: string | undefined;
1409
3878
  image?: string | undefined;
1410
3879
  metadata?: string | undefined;
1411
3880
  };
@@ -1414,9 +3883,9 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1414
3883
  id: string;
1415
3884
  name: string;
1416
3885
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3886
+ icon?: string | undefined;
1417
3887
  description?: string | undefined;
1418
3888
  website?: string | undefined;
1419
- icon?: string | undefined;
1420
3889
  } | undefined;
1421
3890
  }>, {
1422
3891
  comment: string | undefined;
@@ -1524,8 +3993,8 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1524
3993
  type: "Nft";
1525
3994
  id: string;
1526
3995
  updatedAt: number;
1527
- name?: string | undefined;
1528
3996
  symbol?: string | undefined;
3997
+ name?: string | undefined;
1529
3998
  image?: string | undefined;
1530
3999
  metadata?: string | undefined;
1531
4000
  };
@@ -1550,8 +4019,8 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1550
4019
  type: "Nft";
1551
4020
  id: string;
1552
4021
  updatedAt: number;
1553
- name?: string | undefined;
1554
4022
  symbol?: string | undefined;
4023
+ name?: string | undefined;
1555
4024
  image?: string | undefined;
1556
4025
  metadata?: string | undefined;
1557
4026
  };
@@ -1560,9 +4029,9 @@ export declare const accountActionValuedownSchema: z.ZodEffects<z.ZodObject<{
1560
4029
  id: string;
1561
4030
  name: string;
1562
4031
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4032
+ icon?: string | undefined;
1563
4033
  description?: string | undefined;
1564
4034
  website?: string | undefined;
1565
- icon?: string | undefined;
1566
4035
  } | undefined;
1567
4036
  }>;
1568
4037
  //# sourceMappingURL=valuedown.d.ts.map