@0xtorch/core 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/_cjs/actions/schemas/action.js.map +1 -1
  2. package/_esm/actions/schemas/action.js.map +1 -1
  3. package/_types/actions/schemas/action.d.ts +103 -80694
  4. package/_types/actions/schemas/action.d.ts.map +1 -1
  5. package/_types/actions/schemas/borrow/borrow.d.ts +3523 -342
  6. package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
  7. package/_types/actions/schemas/crossActionBundle.d.ts +6773 -1121
  8. package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
  9. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +3528 -347
  10. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
  11. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +3525 -344
  12. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
  13. package/_types/actions/schemas/crossReplace/crossReplace.d.ts +2862 -389
  14. package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
  15. package/_types/actions/schemas/crossTrade/crossTrade.d.ts +2862 -389
  16. package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
  17. package/_types/actions/schemas/default/accountAction.d.ts +387 -375
  18. package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
  19. package/_types/actions/schemas/default/normalAction.d.ts +382 -369
  20. package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
  21. package/_types/actions/schemas/default/transfer.d.ts +2932 -1323
  22. package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
  23. package/_types/actions/schemas/deposit/addLiquidity.d.ts +4667 -774
  24. package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
  25. package/_types/actions/schemas/deposit/deposit.d.ts +3526 -345
  26. package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
  27. package/_types/actions/schemas/deposit/depositWithBond.d.ts +4667 -774
  28. package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
  29. package/_types/actions/schemas/deposit/stake.d.ts +3526 -345
  30. package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
  31. package/_types/actions/schemas/fee/fee.d.ts +3510 -331
  32. package/_types/actions/schemas/fee/fee.d.ts.map +1 -1
  33. package/_types/actions/schemas/fee/transactionFee.d.ts +3038 -215
  34. package/_types/actions/schemas/fee/transactionFee.d.ts.map +1 -1
  35. package/_types/actions/schemas/ignore/approve.d.ts +2485 -18
  36. package/_types/actions/schemas/ignore/approve.d.ts.map +1 -1
  37. package/_types/actions/schemas/ignore/failTx.d.ts +2485 -18
  38. package/_types/actions/schemas/ignore/failTx.d.ts.map +1 -1
  39. package/_types/actions/schemas/ignore/ignore.d.ts +136 -130
  40. package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
  41. package/_types/actions/schemas/ignore/move.d.ts +136 -130
  42. package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
  43. package/_types/actions/schemas/ignore/receiveFromCex.d.ts +3518 -339
  44. package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
  45. package/_types/actions/schemas/ignore/revoke.d.ts +2485 -18
  46. package/_types/actions/schemas/ignore/revoke.d.ts.map +1 -1
  47. package/_types/actions/schemas/ignore/sendToCex.d.ts +3521 -342
  48. package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
  49. package/_types/actions/schemas/ignore/spam.d.ts +4663 -772
  50. package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
  51. package/_types/actions/schemas/income/atomicArbitrage.d.ts +3559 -380
  52. package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
  53. package/_types/actions/schemas/income/freeMintNft.d.ts +3014 -191
  54. package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -1
  55. package/_types/actions/schemas/income/income.d.ts +2682 -213
  56. package/_types/actions/schemas/income/income.d.ts.map +1 -1
  57. package/_types/actions/schemas/income/nftRoyalty.d.ts +1629 -39
  58. package/_types/actions/schemas/income/nftRoyalty.d.ts.map +1 -1
  59. package/_types/actions/schemas/income/swapIncome.d.ts +1636 -46
  60. package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
  61. package/_types/actions/schemas/reduce/reduce.d.ts +1636 -46
  62. package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
  63. package/_types/actions/schemas/repayment/repayment.d.ts +3526 -345
  64. package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
  65. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +4667 -774
  66. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
  67. package/_types/actions/schemas/replace/replace.d.ts +4663 -772
  68. package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
  69. package/_types/actions/schemas/replace/swapNft.d.ts +3510 -331
  70. package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -1
  71. package/_types/actions/schemas/replace/unwrap.d.ts +3559 -380
  72. package/_types/actions/schemas/replace/unwrap.d.ts.map +1 -1
  73. package/_types/actions/schemas/replace/wrap.d.ts +3559 -380
  74. package/_types/actions/schemas/replace/wrap.d.ts.map +1 -1
  75. package/_types/actions/schemas/trade/buyCrypto.d.ts +3506 -327
  76. package/_types/actions/schemas/trade/buyCrypto.d.ts.map +1 -1
  77. package/_types/actions/schemas/trade/buyNft.d.ts +4144 -609
  78. package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
  79. package/_types/actions/schemas/trade/mintNft.d.ts +4144 -609
  80. package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
  81. package/_types/actions/schemas/trade/sellCrypto.d.ts +3514 -335
  82. package/_types/actions/schemas/trade/sellCrypto.d.ts.map +1 -1
  83. package/_types/actions/schemas/trade/sellNft.d.ts +4144 -609
  84. package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
  85. package/_types/actions/schemas/trade/trade.d.ts +2854 -383
  86. package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
  87. package/_types/actions/schemas/transfer/swapTransfer.d.ts +1636 -46
  88. package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
  89. package/_types/actions/schemas/transfer/transfer.d.ts +1388 -148
  90. package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
  91. package/_types/actions/schemas/valuedown/valuedown.d.ts +2756 -287
  92. package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
  93. package/_types/actions/schemas/valueup/valueup.d.ts +2761 -292
  94. package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
  95. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +4667 -774
  96. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
  97. package/_types/actions/schemas/withdraw/unstake.d.ts +3523 -342
  98. package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
  99. package/_types/actions/schemas/withdraw/withdraw.d.ts +3523 -342
  100. package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
  101. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +4667 -774
  102. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
  103. package/_types/apps/schemas.d.ts +3 -3
  104. package/_types/assets/schemas/asset.d.ts +3 -3
  105. package/_types/assets/schemas/nft.d.ts +3 -3
  106. package/actions/schemas/action.ts +92 -2
  107. package/package.json +2 -2
  108. package/.DS_Store +0 -0
  109. package/actions/.DS_Store +0 -0
  110. package/assets/.DS_Store +0 -0
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod';
2
- export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
3
- type: z.ZodLiteral<"CrossNormalAction">;
4
- timestamp: z.ZodNumber;
2
+ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ type: z.ZodLiteral<"NormalAction">;
4
+ action: z.ZodUnion<[z.ZodLiteral<"add-liquidity">, z.ZodLiteral<"approve">, z.ZodLiteral<"atomic-arbitrage">, z.ZodLiteral<"borrow">, z.ZodLiteral<"bridge-from">, z.ZodLiteral<"bridge-to">, z.ZodLiteral<"buy-nft">, z.ZodLiteral<"buy-crypto">, z.ZodLiteral<"cross-replace">, z.ZodLiteral<"cross-trade">, z.ZodLiteral<"deposit">, z.ZodLiteral<"deposit-with-bond">, z.ZodLiteral<"fail-tx">, z.ZodLiteral<"fee">, z.ZodLiteral<"free-mint-nft">, z.ZodLiteral<"mint-nft">, z.ZodLiteral<"remove-liquidity">, z.ZodLiteral<"repayment">, z.ZodLiteral<"repayment-with-debt">, z.ZodLiteral<"revoke">, z.ZodLiteral<"sell-crypto">, z.ZodLiteral<"spam">, z.ZodLiteral<"stake">, z.ZodLiteral<"swap-nft">, z.ZodLiteral<"trade">, z.ZodLiteral<"transaction-fee">, z.ZodLiteral<"transfer">, z.ZodLiteral<"unstake">, z.ZodLiteral<"unwrap">, z.ZodLiteral<"valuedown">, z.ZodLiteral<"valueup">, z.ZodLiteral<"withdraw">, z.ZodLiteral<"withdraw-with-bond">, z.ZodLiteral<"wrap">]>;
5
5
  evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
6
+ timestamp: z.ZodNumber;
6
7
  comment: z.ZodOptional<z.ZodString>;
7
8
  app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
8
9
  id: z.ZodString;
@@ -15,16 +16,16 @@ export declare const normalActionCrossReplaceSchema: 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,45 +37,11 @@ export declare const normalActionCrossReplaceSchema: 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
- crossId: z.ZodString;
44
- crossType: z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"middle">, z.ZodLiteral<"end">]>;
45
- action: z.ZodLiteral<"cross-replace">;
46
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
47
- price: z.ZodOptional<z.ZodObject<{
48
- cryptoCurrencyId: z.ZodString;
49
- fiatCurrencyId: z.ZodString;
50
- price: z.ZodObject<{
51
- value: z.ZodBigInt;
52
- decimals: z.ZodNumber;
53
- }, "strip", z.ZodTypeAny, {
54
- value: bigint;
55
- decimals: number;
56
- }, {
57
- value: bigint;
58
- decimals: number;
59
- }>;
60
- timestamp: z.ZodNumber;
61
- }, "strip", z.ZodTypeAny, {
62
- cryptoCurrencyId: string;
63
- fiatCurrencyId: string;
64
- price: {
65
- value: bigint;
66
- decimals: number;
67
- };
68
- timestamp: number;
69
- }, {
70
- cryptoCurrencyId: string;
71
- fiatCurrencyId: string;
72
- price: {
73
- value: bigint;
74
- decimals: number;
75
- };
76
- timestamp: number;
77
- }>>;
44
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
78
45
  from: z.ZodOptional<z.ZodString>;
79
46
  to: z.ZodOptional<z.ZodString>;
80
47
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -224,16 +191,16 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
224
191
  type: "Nft";
225
192
  id: string;
226
193
  updatedAt: number;
227
- name?: string | undefined;
228
194
  symbol?: string | undefined;
195
+ name?: string | undefined;
229
196
  image?: string | undefined;
230
197
  metadata?: string | undefined;
231
198
  }, {
232
199
  type: "Nft";
233
200
  id: string;
234
201
  updatedAt: number;
235
- name?: string | undefined;
236
202
  symbol?: string | undefined;
203
+ name?: string | undefined;
237
204
  image?: string | undefined;
238
205
  metadata?: string | undefined;
239
206
  }>, {
@@ -248,8 +215,8 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
248
215
  type: "Nft";
249
216
  id: string;
250
217
  updatedAt: number;
251
- name?: string | undefined;
252
218
  symbol?: string | undefined;
219
+ name?: string | undefined;
253
220
  image?: string | undefined;
254
221
  metadata?: string | undefined;
255
222
  }>]>;
@@ -263,8 +230,40 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
263
230
  value: bigint;
264
231
  decimals: number;
265
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
+ }, {
266
265
  direction: z.ZodLiteral<"in">;
267
- }, "strip", z.ZodTypeAny, {
266
+ }>, "strip", z.ZodTypeAny, {
268
267
  asset: {
269
268
  icon: string | undefined;
270
269
  priceDatasourceId: string | undefined;
@@ -337,8 +336,8 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
337
336
  type: "Nft";
338
337
  id: string;
339
338
  updatedAt: number;
340
- name?: string | undefined;
341
339
  symbol?: string | undefined;
340
+ name?: string | undefined;
342
341
  image?: string | undefined;
343
342
  metadata?: string | undefined;
344
343
  };
@@ -431,8 +430,8 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
431
430
  type: "Nft";
432
431
  id: string;
433
432
  updatedAt: number;
434
- name?: string | undefined;
435
433
  symbol?: string | undefined;
434
+ name?: string | undefined;
436
435
  image?: string | undefined;
437
436
  metadata?: string | undefined;
438
437
  };
@@ -452,38 +451,7 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
452
451
  } | undefined;
453
452
  from?: string | undefined;
454
453
  to?: string | undefined;
455
- }>, z.ZodEffects<z.ZodObject<{
456
- price: z.ZodOptional<z.ZodObject<{
457
- cryptoCurrencyId: z.ZodString;
458
- fiatCurrencyId: z.ZodString;
459
- price: z.ZodObject<{
460
- value: z.ZodBigInt;
461
- decimals: z.ZodNumber;
462
- }, "strip", z.ZodTypeAny, {
463
- value: bigint;
464
- decimals: number;
465
- }, {
466
- value: bigint;
467
- decimals: number;
468
- }>;
469
- timestamp: z.ZodNumber;
470
- }, "strip", z.ZodTypeAny, {
471
- cryptoCurrencyId: string;
472
- fiatCurrencyId: string;
473
- price: {
474
- value: bigint;
475
- decimals: number;
476
- };
477
- timestamp: number;
478
- }, {
479
- cryptoCurrencyId: string;
480
- fiatCurrencyId: string;
481
- price: {
482
- value: bigint;
483
- decimals: number;
484
- };
485
- timestamp: number;
486
- }>>;
454
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
487
455
  from: z.ZodOptional<z.ZodString>;
488
456
  to: z.ZodOptional<z.ZodString>;
489
457
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -633,16 +601,16 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
633
601
  type: "Nft";
634
602
  id: string;
635
603
  updatedAt: number;
636
- name?: string | undefined;
637
604
  symbol?: string | undefined;
605
+ name?: string | undefined;
638
606
  image?: string | undefined;
639
607
  metadata?: string | undefined;
640
608
  }, {
641
609
  type: "Nft";
642
610
  id: string;
643
611
  updatedAt: number;
644
- name?: string | undefined;
645
612
  symbol?: string | undefined;
613
+ name?: string | undefined;
646
614
  image?: string | undefined;
647
615
  metadata?: string | undefined;
648
616
  }>, {
@@ -657,8 +625,8 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
657
625
  type: "Nft";
658
626
  id: string;
659
627
  updatedAt: number;
660
- name?: string | undefined;
661
628
  symbol?: string | undefined;
629
+ name?: string | undefined;
662
630
  image?: string | undefined;
663
631
  metadata?: string | undefined;
664
632
  }>]>;
@@ -672,8 +640,40 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
672
640
  value: bigint;
673
641
  decimals: number;
674
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
675
  direction: z.ZodLiteral<"out">;
676
- }, "strip", z.ZodTypeAny, {
676
+ }>, "strip", z.ZodTypeAny, {
677
677
  asset: {
678
678
  icon: string | undefined;
679
679
  priceDatasourceId: string | undefined;
@@ -746,8 +746,8 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
746
746
  type: "Nft";
747
747
  id: string;
748
748
  updatedAt: number;
749
- name?: string | undefined;
750
749
  symbol?: string | undefined;
750
+ name?: string | undefined;
751
751
  image?: string | undefined;
752
752
  metadata?: string | undefined;
753
753
  };
@@ -840,8 +840,8 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
840
840
  type: "Nft";
841
841
  id: string;
842
842
  updatedAt: number;
843
- name?: string | undefined;
844
843
  symbol?: string | undefined;
844
+ name?: string | undefined;
845
845
  image?: string | undefined;
846
846
  metadata?: string | undefined;
847
847
  };
@@ -861,27 +861,55 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
861
861
  } | undefined;
862
862
  from?: string | undefined;
863
863
  to?: string | undefined;
864
- }>]>, "many">;
865
- }, "strip", z.ZodTypeAny, {
866
- type: "CrossNormalAction";
867
- timestamp: number;
868
- action: "cross-replace";
869
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
870
- transfers: ({
871
- from: string | undefined;
872
- to: string | undefined;
873
- price: {
874
- cryptoCurrencyId: string;
875
- fiatCurrencyId: string;
876
- price: {
877
- value: bigint;
878
- decimals: number;
879
- };
880
- timestamp: number;
881
- } | undefined;
882
- asset: {
883
- icon: string | undefined;
884
- priceDatasourceId: 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, {
885
913
  symbol: string;
886
914
  type: "CryptoCurrency";
887
915
  id: string;
@@ -894,39 +922,24 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
894
922
  } | undefined;
895
923
  };
896
924
  updatedAt: number;
897
- } | {
898
- icon: string | undefined;
925
+ icon?: string | undefined;
926
+ priceDatasourceId?: string | undefined;
927
+ }, {
899
928
  symbol: string;
900
- type: "FiatCurrency";
901
- id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
902
- name: string;
903
- } | {
904
- name: string | undefined;
905
- symbol: string | undefined;
906
- image: string | undefined;
907
- metadata: string | undefined;
908
- type: "Nft";
929
+ type: "CryptoCurrency";
909
930
  id: string;
931
+ name: string;
932
+ market: {
933
+ coingeckoId?: string | undefined;
934
+ marketCapUsd?: {
935
+ value: bigint;
936
+ decimals: number;
937
+ } | undefined;
938
+ };
910
939
  updatedAt: number;
911
- };
912
- amount: {
913
- value: bigint;
914
- decimals: number;
915
- };
916
- direction: "in";
917
- } | {
918
- from: string | undefined;
919
- to: string | undefined;
920
- price: {
921
- cryptoCurrencyId: string;
922
- fiatCurrencyId: string;
923
- price: {
924
- value: bigint;
925
- decimals: number;
926
- };
927
- timestamp: number;
928
- } | undefined;
929
- asset: {
940
+ icon?: string | undefined;
941
+ priceDatasourceId?: string | undefined;
942
+ }>, {
930
943
  icon: string | undefined;
931
944
  priceDatasourceId: string | undefined;
932
945
  symbol: string;
@@ -941,13 +954,76 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
941
954
  } | undefined;
942
955
  };
943
956
  updatedAt: number;
944
- } | {
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
+ }>, {
945
991
  icon: string | undefined;
946
992
  symbol: string;
947
993
  type: "FiatCurrency";
948
994
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
949
995
  name: string;
950
- } | {
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
+ }>, {
951
1027
  name: string | undefined;
952
1028
  symbol: string | undefined;
953
1029
  image: string | undefined;
@@ -955,65 +1031,94 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
955
1031
  type: "Nft";
956
1032
  id: string;
957
1033
  updatedAt: number;
958
- };
959
- amount: {
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, {
960
1047
  value: bigint;
961
1048
  decimals: number;
962
- };
963
- direction: "out";
964
- })[];
965
- crossId: string;
966
- crossType: "start" | "middle" | "end";
967
- comment?: string | undefined;
968
- app?: {
969
- description: string | undefined;
970
- website: string | undefined;
971
- icon: string | undefined;
972
- id: string;
973
- name: string;
974
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
975
- } | undefined;
976
- }, {
977
- type: "CrossNormalAction";
978
- timestamp: number;
979
- action: "cross-replace";
980
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
981
- transfers: ({
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, {
982
1087
  asset: {
1088
+ icon: string | undefined;
1089
+ priceDatasourceId: string | undefined;
983
1090
  symbol: string;
984
1091
  type: "CryptoCurrency";
985
1092
  id: string;
986
1093
  name: string;
987
1094
  market: {
988
- coingeckoId?: string | undefined;
989
- marketCapUsd?: {
1095
+ coingeckoId: string | undefined;
1096
+ marketCapUsd: {
990
1097
  value: bigint;
991
1098
  decimals: number;
992
1099
  } | undefined;
993
1100
  };
994
1101
  updatedAt: number;
995
- icon?: string | undefined;
996
- priceDatasourceId?: string | undefined;
997
1102
  } | {
1103
+ icon: string | undefined;
998
1104
  symbol: string;
999
1105
  type: "FiatCurrency";
1000
1106
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1001
1107
  name: string;
1002
- icon?: string | undefined;
1003
1108
  } | {
1109
+ name: string | undefined;
1110
+ symbol: string | undefined;
1111
+ image: string | undefined;
1112
+ metadata: string | undefined;
1004
1113
  type: "Nft";
1005
1114
  id: string;
1006
1115
  updatedAt: number;
1007
- name?: string | undefined;
1008
- symbol?: string | undefined;
1009
- image?: string | undefined;
1010
- metadata?: string | undefined;
1011
1116
  };
1012
1117
  amount: {
1013
1118
  value: bigint;
1014
1119
  decimals: number;
1015
1120
  };
1016
- direction: "in";
1121
+ direction: "none";
1017
1122
  price?: {
1018
1123
  cryptoCurrencyId: string;
1019
1124
  fiatCurrencyId: string;
@@ -1025,7 +1130,7 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1025
1130
  } | undefined;
1026
1131
  from?: string | undefined;
1027
1132
  to?: string | undefined;
1028
- } | {
1133
+ }, {
1029
1134
  asset: {
1030
1135
  symbol: string;
1031
1136
  type: "CryptoCurrency";
@@ -1051,8 +1156,8 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1051
1156
  type: "Nft";
1052
1157
  id: string;
1053
1158
  updatedAt: number;
1054
- name?: string | undefined;
1055
1159
  symbol?: string | undefined;
1160
+ name?: string | undefined;
1056
1161
  image?: string | undefined;
1057
1162
  metadata?: string | undefined;
1058
1163
  };
@@ -1060,7 +1165,7 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1060
1165
  value: bigint;
1061
1166
  decimals: number;
1062
1167
  };
1063
- direction: "out";
1168
+ direction: "none";
1064
1169
  price?: {
1065
1170
  cryptoCurrencyId: string;
1066
1171
  fiatCurrencyId: string;
@@ -1072,33 +1177,7 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1072
1177
  } | undefined;
1073
1178
  from?: string | undefined;
1074
1179
  to?: string | undefined;
1075
- })[];
1076
- crossId: string;
1077
- crossType: "start" | "middle" | "end";
1078
- comment?: string | undefined;
1079
- app?: {
1080
- id: string;
1081
- name: string;
1082
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1083
- description?: string | undefined;
1084
- website?: string | undefined;
1085
- icon?: string | undefined;
1086
- } | undefined;
1087
- }>, {
1088
- comment: string | undefined;
1089
- app: {
1090
- description: string | undefined;
1091
- website: string | undefined;
1092
- icon: string | undefined;
1093
- id: string;
1094
- name: string;
1095
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1096
- } | undefined;
1097
- type: "CrossNormalAction";
1098
- timestamp: number;
1099
- action: "cross-replace";
1100
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1101
- transfers: ({
1180
+ }>, {
1102
1181
  from: string | undefined;
1103
1182
  to: string | undefined;
1104
1183
  price: {
@@ -1144,59 +1223,1217 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1144
1223
  value: bigint;
1145
1224
  decimals: number;
1146
1225
  };
1147
- direction: "in";
1148
- } | {
1149
- from: string | undefined;
1150
- to: string | undefined;
1151
- price: {
1152
- cryptoCurrencyId: string;
1153
- fiatCurrencyId: string;
1154
- price: {
1155
- value: bigint;
1156
- decimals: number;
1157
- };
1158
- timestamp: number;
1159
- } | undefined;
1226
+ direction: "none";
1227
+ }, {
1160
1228
  asset: {
1161
- icon: string | undefined;
1162
- priceDatasourceId: string | undefined;
1163
1229
  symbol: string;
1164
1230
  type: "CryptoCurrency";
1165
1231
  id: string;
1166
1232
  name: string;
1167
1233
  market: {
1168
- coingeckoId: string | undefined;
1169
- marketCapUsd: {
1234
+ coingeckoId?: string | undefined;
1235
+ marketCapUsd?: {
1170
1236
  value: bigint;
1171
1237
  decimals: number;
1172
1238
  } | undefined;
1173
1239
  };
1174
1240
  updatedAt: number;
1241
+ icon?: string | undefined;
1242
+ priceDatasourceId?: string | undefined;
1175
1243
  } | {
1176
- icon: string | undefined;
1177
1244
  symbol: string;
1178
1245
  type: "FiatCurrency";
1179
1246
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1180
1247
  name: string;
1248
+ icon?: string | undefined;
1181
1249
  } | {
1182
- name: string | undefined;
1183
- symbol: string | undefined;
1184
- image: string | undefined;
1185
- metadata: string | undefined;
1186
1250
  type: "Nft";
1187
1251
  id: string;
1188
1252
  updatedAt: number;
1253
+ symbol?: string | undefined;
1254
+ name?: string | undefined;
1255
+ image?: string | undefined;
1256
+ metadata?: string | undefined;
1189
1257
  };
1190
1258
  amount: {
1191
1259
  value: bigint;
1192
1260
  decimals: number;
1193
1261
  };
1194
- direction: "out";
1195
- })[];
1196
- crossId: string;
1197
- crossType: "start" | "middle" | "end";
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">;
1198
1275
  }, {
1199
- type: "CrossNormalAction";
1276
+ type: z.ZodLiteral<"CrossNormalAction">;
1277
+ crossId: z.ZodString;
1278
+ crossType: z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"middle">, z.ZodLiteral<"end">]>;
1279
+ }>, {
1280
+ action: z.ZodLiteral<"cross-replace">;
1281
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1282
+ from: z.ZodOptional<z.ZodString>;
1283
+ to: z.ZodOptional<z.ZodString>;
1284
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1285
+ type: z.ZodLiteral<"CryptoCurrency">;
1286
+ id: z.ZodString;
1287
+ name: z.ZodString;
1288
+ symbol: z.ZodString;
1289
+ icon: z.ZodOptional<z.ZodString>;
1290
+ market: z.ZodEffects<z.ZodObject<{
1291
+ coingeckoId: z.ZodOptional<z.ZodString>;
1292
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1293
+ value: z.ZodBigInt;
1294
+ decimals: z.ZodNumber;
1295
+ }, "strip", z.ZodTypeAny, {
1296
+ value: bigint;
1297
+ decimals: number;
1298
+ }, {
1299
+ value: bigint;
1300
+ decimals: number;
1301
+ }>>;
1302
+ }, "strip", z.ZodTypeAny, {
1303
+ coingeckoId?: string | undefined;
1304
+ marketCapUsd?: {
1305
+ value: bigint;
1306
+ decimals: number;
1307
+ } | undefined;
1308
+ }, {
1309
+ coingeckoId?: string | undefined;
1310
+ marketCapUsd?: {
1311
+ value: bigint;
1312
+ decimals: number;
1313
+ } | undefined;
1314
+ }>, {
1315
+ coingeckoId: string | undefined;
1316
+ marketCapUsd: {
1317
+ value: bigint;
1318
+ decimals: number;
1319
+ } | undefined;
1320
+ }, {
1321
+ coingeckoId?: string | undefined;
1322
+ marketCapUsd?: {
1323
+ value: bigint;
1324
+ decimals: number;
1325
+ } | undefined;
1326
+ }>;
1327
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1328
+ updatedAt: z.ZodNumber;
1329
+ }, "strip", z.ZodTypeAny, {
1330
+ symbol: string;
1331
+ type: "CryptoCurrency";
1332
+ id: string;
1333
+ name: string;
1334
+ market: {
1335
+ coingeckoId: string | undefined;
1336
+ marketCapUsd: {
1337
+ value: bigint;
1338
+ decimals: number;
1339
+ } | undefined;
1340
+ };
1341
+ updatedAt: number;
1342
+ icon?: string | undefined;
1343
+ priceDatasourceId?: string | undefined;
1344
+ }, {
1345
+ symbol: string;
1346
+ type: "CryptoCurrency";
1347
+ id: string;
1348
+ name: string;
1349
+ market: {
1350
+ coingeckoId?: string | undefined;
1351
+ marketCapUsd?: {
1352
+ value: bigint;
1353
+ decimals: number;
1354
+ } | undefined;
1355
+ };
1356
+ updatedAt: number;
1357
+ icon?: string | undefined;
1358
+ priceDatasourceId?: string | undefined;
1359
+ }>, {
1360
+ icon: string | undefined;
1361
+ priceDatasourceId: string | undefined;
1362
+ symbol: string;
1363
+ type: "CryptoCurrency";
1364
+ id: string;
1365
+ name: string;
1366
+ market: {
1367
+ coingeckoId: string | undefined;
1368
+ marketCapUsd: {
1369
+ value: bigint;
1370
+ decimals: number;
1371
+ } | undefined;
1372
+ };
1373
+ updatedAt: number;
1374
+ }, {
1375
+ symbol: string;
1376
+ type: "CryptoCurrency";
1377
+ id: string;
1378
+ name: string;
1379
+ market: {
1380
+ coingeckoId?: string | undefined;
1381
+ marketCapUsd?: {
1382
+ value: bigint;
1383
+ decimals: number;
1384
+ } | undefined;
1385
+ };
1386
+ updatedAt: number;
1387
+ icon?: string | undefined;
1388
+ priceDatasourceId?: string | undefined;
1389
+ }>, z.ZodEffects<z.ZodObject<{
1390
+ type: z.ZodLiteral<"FiatCurrency">;
1391
+ 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">]>;
1392
+ name: z.ZodString;
1393
+ symbol: z.ZodString;
1394
+ icon: z.ZodOptional<z.ZodString>;
1395
+ }, "strip", z.ZodTypeAny, {
1396
+ symbol: string;
1397
+ type: "FiatCurrency";
1398
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1399
+ name: string;
1400
+ icon?: string | undefined;
1401
+ }, {
1402
+ symbol: string;
1403
+ type: "FiatCurrency";
1404
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1405
+ name: string;
1406
+ icon?: string | undefined;
1407
+ }>, {
1408
+ icon: string | undefined;
1409
+ symbol: string;
1410
+ type: "FiatCurrency";
1411
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1412
+ name: string;
1413
+ }, {
1414
+ symbol: string;
1415
+ type: "FiatCurrency";
1416
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1417
+ name: string;
1418
+ icon?: string | undefined;
1419
+ }>, z.ZodEffects<z.ZodObject<{
1420
+ type: z.ZodLiteral<"Nft">;
1421
+ id: z.ZodString;
1422
+ name: z.ZodOptional<z.ZodString>;
1423
+ symbol: z.ZodOptional<z.ZodString>;
1424
+ image: z.ZodOptional<z.ZodString>;
1425
+ metadata: z.ZodOptional<z.ZodString>;
1426
+ updatedAt: z.ZodNumber;
1427
+ }, "strip", z.ZodTypeAny, {
1428
+ type: "Nft";
1429
+ id: string;
1430
+ updatedAt: number;
1431
+ symbol?: string | undefined;
1432
+ name?: string | undefined;
1433
+ image?: string | undefined;
1434
+ metadata?: string | undefined;
1435
+ }, {
1436
+ type: "Nft";
1437
+ id: string;
1438
+ updatedAt: number;
1439
+ symbol?: string | undefined;
1440
+ name?: string | undefined;
1441
+ image?: string | undefined;
1442
+ metadata?: string | undefined;
1443
+ }>, {
1444
+ name: string | undefined;
1445
+ symbol: string | undefined;
1446
+ image: string | undefined;
1447
+ metadata: string | undefined;
1448
+ type: "Nft";
1449
+ id: string;
1450
+ updatedAt: number;
1451
+ }, {
1452
+ type: "Nft";
1453
+ id: string;
1454
+ updatedAt: number;
1455
+ symbol?: string | undefined;
1456
+ name?: string | undefined;
1457
+ image?: string | undefined;
1458
+ metadata?: string | undefined;
1459
+ }>]>;
1460
+ amount: z.ZodObject<{
1461
+ value: z.ZodBigInt;
1462
+ decimals: z.ZodNumber;
1463
+ }, "strip", z.ZodTypeAny, {
1464
+ value: bigint;
1465
+ decimals: number;
1466
+ }, {
1467
+ value: bigint;
1468
+ decimals: number;
1469
+ }>;
1470
+ price: z.ZodOptional<z.ZodObject<{
1471
+ cryptoCurrencyId: z.ZodString;
1472
+ fiatCurrencyId: z.ZodString;
1473
+ price: z.ZodObject<{
1474
+ value: z.ZodBigInt;
1475
+ decimals: z.ZodNumber;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ value: bigint;
1478
+ decimals: number;
1479
+ }, {
1480
+ value: bigint;
1481
+ decimals: number;
1482
+ }>;
1483
+ timestamp: z.ZodNumber;
1484
+ }, "strip", z.ZodTypeAny, {
1485
+ cryptoCurrencyId: string;
1486
+ fiatCurrencyId: string;
1487
+ price: {
1488
+ value: bigint;
1489
+ decimals: number;
1490
+ };
1491
+ timestamp: number;
1492
+ }, {
1493
+ cryptoCurrencyId: string;
1494
+ fiatCurrencyId: string;
1495
+ price: {
1496
+ value: bigint;
1497
+ decimals: number;
1498
+ };
1499
+ timestamp: number;
1500
+ }>>;
1501
+ }, {
1502
+ direction: z.ZodLiteral<"in">;
1503
+ }>, "strip", z.ZodTypeAny, {
1504
+ asset: {
1505
+ icon: string | undefined;
1506
+ priceDatasourceId: string | undefined;
1507
+ symbol: string;
1508
+ type: "CryptoCurrency";
1509
+ id: string;
1510
+ name: string;
1511
+ market: {
1512
+ coingeckoId: string | undefined;
1513
+ marketCapUsd: {
1514
+ value: bigint;
1515
+ decimals: number;
1516
+ } | undefined;
1517
+ };
1518
+ updatedAt: number;
1519
+ } | {
1520
+ icon: string | undefined;
1521
+ symbol: string;
1522
+ type: "FiatCurrency";
1523
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1524
+ name: string;
1525
+ } | {
1526
+ name: string | undefined;
1527
+ symbol: string | undefined;
1528
+ image: string | undefined;
1529
+ metadata: string | undefined;
1530
+ type: "Nft";
1531
+ id: string;
1532
+ updatedAt: number;
1533
+ };
1534
+ amount: {
1535
+ value: bigint;
1536
+ decimals: number;
1537
+ };
1538
+ direction: "in";
1539
+ price?: {
1540
+ cryptoCurrencyId: string;
1541
+ fiatCurrencyId: string;
1542
+ price: {
1543
+ value: bigint;
1544
+ decimals: number;
1545
+ };
1546
+ timestamp: number;
1547
+ } | undefined;
1548
+ from?: string | undefined;
1549
+ to?: string | undefined;
1550
+ }, {
1551
+ asset: {
1552
+ symbol: string;
1553
+ type: "CryptoCurrency";
1554
+ id: string;
1555
+ name: string;
1556
+ market: {
1557
+ coingeckoId?: string | undefined;
1558
+ marketCapUsd?: {
1559
+ value: bigint;
1560
+ decimals: number;
1561
+ } | undefined;
1562
+ };
1563
+ updatedAt: number;
1564
+ icon?: string | undefined;
1565
+ priceDatasourceId?: string | undefined;
1566
+ } | {
1567
+ symbol: string;
1568
+ type: "FiatCurrency";
1569
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1570
+ name: string;
1571
+ icon?: string | undefined;
1572
+ } | {
1573
+ type: "Nft";
1574
+ id: string;
1575
+ updatedAt: number;
1576
+ symbol?: string | undefined;
1577
+ name?: string | undefined;
1578
+ image?: string | undefined;
1579
+ metadata?: string | undefined;
1580
+ };
1581
+ amount: {
1582
+ value: bigint;
1583
+ decimals: number;
1584
+ };
1585
+ direction: "in";
1586
+ price?: {
1587
+ cryptoCurrencyId: string;
1588
+ fiatCurrencyId: string;
1589
+ price: {
1590
+ value: bigint;
1591
+ decimals: number;
1592
+ };
1593
+ timestamp: number;
1594
+ } | undefined;
1595
+ from?: string | undefined;
1596
+ to?: string | undefined;
1597
+ }>, {
1598
+ from: string | undefined;
1599
+ to: string | undefined;
1600
+ price: {
1601
+ cryptoCurrencyId: string;
1602
+ fiatCurrencyId: string;
1603
+ price: {
1604
+ value: bigint;
1605
+ decimals: number;
1606
+ };
1607
+ timestamp: number;
1608
+ } | undefined;
1609
+ asset: {
1610
+ icon: string | undefined;
1611
+ priceDatasourceId: string | undefined;
1612
+ symbol: string;
1613
+ type: "CryptoCurrency";
1614
+ id: string;
1615
+ name: string;
1616
+ market: {
1617
+ coingeckoId: string | undefined;
1618
+ marketCapUsd: {
1619
+ value: bigint;
1620
+ decimals: number;
1621
+ } | undefined;
1622
+ };
1623
+ updatedAt: number;
1624
+ } | {
1625
+ icon: string | undefined;
1626
+ symbol: string;
1627
+ type: "FiatCurrency";
1628
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1629
+ name: string;
1630
+ } | {
1631
+ name: string | undefined;
1632
+ symbol: string | undefined;
1633
+ image: string | undefined;
1634
+ metadata: string | undefined;
1635
+ type: "Nft";
1636
+ id: string;
1637
+ updatedAt: number;
1638
+ };
1639
+ amount: {
1640
+ value: bigint;
1641
+ decimals: number;
1642
+ };
1643
+ direction: "in";
1644
+ }, {
1645
+ asset: {
1646
+ symbol: string;
1647
+ type: "CryptoCurrency";
1648
+ id: string;
1649
+ name: string;
1650
+ market: {
1651
+ coingeckoId?: string | undefined;
1652
+ marketCapUsd?: {
1653
+ value: bigint;
1654
+ decimals: number;
1655
+ } | undefined;
1656
+ };
1657
+ updatedAt: number;
1658
+ icon?: string | undefined;
1659
+ priceDatasourceId?: string | undefined;
1660
+ } | {
1661
+ symbol: string;
1662
+ type: "FiatCurrency";
1663
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1664
+ name: string;
1665
+ icon?: string | undefined;
1666
+ } | {
1667
+ type: "Nft";
1668
+ id: string;
1669
+ updatedAt: number;
1670
+ symbol?: string | undefined;
1671
+ name?: string | undefined;
1672
+ image?: string | undefined;
1673
+ metadata?: string | undefined;
1674
+ };
1675
+ amount: {
1676
+ value: bigint;
1677
+ decimals: number;
1678
+ };
1679
+ direction: "in";
1680
+ price?: {
1681
+ cryptoCurrencyId: string;
1682
+ fiatCurrencyId: string;
1683
+ price: {
1684
+ value: bigint;
1685
+ decimals: number;
1686
+ };
1687
+ timestamp: number;
1688
+ } | undefined;
1689
+ from?: string | undefined;
1690
+ to?: string | undefined;
1691
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1692
+ from: z.ZodOptional<z.ZodString>;
1693
+ to: z.ZodOptional<z.ZodString>;
1694
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1695
+ type: z.ZodLiteral<"CryptoCurrency">;
1696
+ id: z.ZodString;
1697
+ name: z.ZodString;
1698
+ symbol: z.ZodString;
1699
+ icon: z.ZodOptional<z.ZodString>;
1700
+ market: z.ZodEffects<z.ZodObject<{
1701
+ coingeckoId: z.ZodOptional<z.ZodString>;
1702
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1703
+ value: z.ZodBigInt;
1704
+ decimals: z.ZodNumber;
1705
+ }, "strip", z.ZodTypeAny, {
1706
+ value: bigint;
1707
+ decimals: number;
1708
+ }, {
1709
+ value: bigint;
1710
+ decimals: number;
1711
+ }>>;
1712
+ }, "strip", z.ZodTypeAny, {
1713
+ coingeckoId?: string | undefined;
1714
+ marketCapUsd?: {
1715
+ value: bigint;
1716
+ decimals: number;
1717
+ } | undefined;
1718
+ }, {
1719
+ coingeckoId?: string | undefined;
1720
+ marketCapUsd?: {
1721
+ value: bigint;
1722
+ decimals: number;
1723
+ } | undefined;
1724
+ }>, {
1725
+ coingeckoId: string | undefined;
1726
+ marketCapUsd: {
1727
+ value: bigint;
1728
+ decimals: number;
1729
+ } | undefined;
1730
+ }, {
1731
+ coingeckoId?: string | undefined;
1732
+ marketCapUsd?: {
1733
+ value: bigint;
1734
+ decimals: number;
1735
+ } | undefined;
1736
+ }>;
1737
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1738
+ updatedAt: z.ZodNumber;
1739
+ }, "strip", z.ZodTypeAny, {
1740
+ symbol: string;
1741
+ type: "CryptoCurrency";
1742
+ id: string;
1743
+ name: string;
1744
+ market: {
1745
+ coingeckoId: string | undefined;
1746
+ marketCapUsd: {
1747
+ value: bigint;
1748
+ decimals: number;
1749
+ } | undefined;
1750
+ };
1751
+ updatedAt: number;
1752
+ icon?: string | undefined;
1753
+ priceDatasourceId?: string | undefined;
1754
+ }, {
1755
+ symbol: string;
1756
+ type: "CryptoCurrency";
1757
+ id: string;
1758
+ name: string;
1759
+ market: {
1760
+ coingeckoId?: string | undefined;
1761
+ marketCapUsd?: {
1762
+ value: bigint;
1763
+ decimals: number;
1764
+ } | undefined;
1765
+ };
1766
+ updatedAt: number;
1767
+ icon?: string | undefined;
1768
+ priceDatasourceId?: string | undefined;
1769
+ }>, {
1770
+ icon: string | undefined;
1771
+ priceDatasourceId: string | undefined;
1772
+ symbol: string;
1773
+ type: "CryptoCurrency";
1774
+ id: string;
1775
+ name: string;
1776
+ market: {
1777
+ coingeckoId: string | undefined;
1778
+ marketCapUsd: {
1779
+ value: bigint;
1780
+ decimals: number;
1781
+ } | undefined;
1782
+ };
1783
+ updatedAt: number;
1784
+ }, {
1785
+ symbol: string;
1786
+ type: "CryptoCurrency";
1787
+ id: string;
1788
+ name: string;
1789
+ market: {
1790
+ coingeckoId?: string | undefined;
1791
+ marketCapUsd?: {
1792
+ value: bigint;
1793
+ decimals: number;
1794
+ } | undefined;
1795
+ };
1796
+ updatedAt: number;
1797
+ icon?: string | undefined;
1798
+ priceDatasourceId?: string | undefined;
1799
+ }>, z.ZodEffects<z.ZodObject<{
1800
+ type: z.ZodLiteral<"FiatCurrency">;
1801
+ 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">]>;
1802
+ name: z.ZodString;
1803
+ symbol: z.ZodString;
1804
+ icon: z.ZodOptional<z.ZodString>;
1805
+ }, "strip", z.ZodTypeAny, {
1806
+ symbol: string;
1807
+ type: "FiatCurrency";
1808
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1809
+ name: string;
1810
+ icon?: string | undefined;
1811
+ }, {
1812
+ symbol: string;
1813
+ type: "FiatCurrency";
1814
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1815
+ name: string;
1816
+ icon?: string | undefined;
1817
+ }>, {
1818
+ icon: string | undefined;
1819
+ symbol: string;
1820
+ type: "FiatCurrency";
1821
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1822
+ name: string;
1823
+ }, {
1824
+ symbol: string;
1825
+ type: "FiatCurrency";
1826
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1827
+ name: string;
1828
+ icon?: string | undefined;
1829
+ }>, z.ZodEffects<z.ZodObject<{
1830
+ type: z.ZodLiteral<"Nft">;
1831
+ id: z.ZodString;
1832
+ name: z.ZodOptional<z.ZodString>;
1833
+ symbol: z.ZodOptional<z.ZodString>;
1834
+ image: z.ZodOptional<z.ZodString>;
1835
+ metadata: z.ZodOptional<z.ZodString>;
1836
+ updatedAt: z.ZodNumber;
1837
+ }, "strip", z.ZodTypeAny, {
1838
+ type: "Nft";
1839
+ id: string;
1840
+ updatedAt: number;
1841
+ symbol?: string | undefined;
1842
+ name?: string | undefined;
1843
+ image?: string | undefined;
1844
+ metadata?: string | undefined;
1845
+ }, {
1846
+ type: "Nft";
1847
+ id: string;
1848
+ updatedAt: number;
1849
+ symbol?: string | undefined;
1850
+ name?: string | undefined;
1851
+ image?: string | undefined;
1852
+ metadata?: string | undefined;
1853
+ }>, {
1854
+ name: string | undefined;
1855
+ symbol: string | undefined;
1856
+ image: string | undefined;
1857
+ metadata: string | undefined;
1858
+ type: "Nft";
1859
+ id: string;
1860
+ updatedAt: number;
1861
+ }, {
1862
+ type: "Nft";
1863
+ id: string;
1864
+ updatedAt: number;
1865
+ symbol?: string | undefined;
1866
+ name?: string | undefined;
1867
+ image?: string | undefined;
1868
+ metadata?: string | undefined;
1869
+ }>]>;
1870
+ amount: z.ZodObject<{
1871
+ value: z.ZodBigInt;
1872
+ decimals: z.ZodNumber;
1873
+ }, "strip", z.ZodTypeAny, {
1874
+ value: bigint;
1875
+ decimals: number;
1876
+ }, {
1877
+ value: bigint;
1878
+ decimals: number;
1879
+ }>;
1880
+ price: z.ZodOptional<z.ZodObject<{
1881
+ cryptoCurrencyId: z.ZodString;
1882
+ fiatCurrencyId: z.ZodString;
1883
+ price: z.ZodObject<{
1884
+ value: z.ZodBigInt;
1885
+ decimals: z.ZodNumber;
1886
+ }, "strip", z.ZodTypeAny, {
1887
+ value: bigint;
1888
+ decimals: number;
1889
+ }, {
1890
+ value: bigint;
1891
+ decimals: number;
1892
+ }>;
1893
+ timestamp: z.ZodNumber;
1894
+ }, "strip", z.ZodTypeAny, {
1895
+ cryptoCurrencyId: string;
1896
+ fiatCurrencyId: string;
1897
+ price: {
1898
+ value: bigint;
1899
+ decimals: number;
1900
+ };
1901
+ timestamp: number;
1902
+ }, {
1903
+ cryptoCurrencyId: string;
1904
+ fiatCurrencyId: string;
1905
+ price: {
1906
+ value: bigint;
1907
+ decimals: number;
1908
+ };
1909
+ timestamp: number;
1910
+ }>>;
1911
+ }, {
1912
+ direction: z.ZodLiteral<"out">;
1913
+ }>, "strip", z.ZodTypeAny, {
1914
+ asset: {
1915
+ icon: string | undefined;
1916
+ priceDatasourceId: string | undefined;
1917
+ symbol: string;
1918
+ type: "CryptoCurrency";
1919
+ id: string;
1920
+ name: string;
1921
+ market: {
1922
+ coingeckoId: string | undefined;
1923
+ marketCapUsd: {
1924
+ value: bigint;
1925
+ decimals: number;
1926
+ } | undefined;
1927
+ };
1928
+ updatedAt: number;
1929
+ } | {
1930
+ icon: string | undefined;
1931
+ symbol: string;
1932
+ type: "FiatCurrency";
1933
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1934
+ name: string;
1935
+ } | {
1936
+ name: string | undefined;
1937
+ symbol: string | undefined;
1938
+ image: string | undefined;
1939
+ metadata: string | undefined;
1940
+ type: "Nft";
1941
+ id: string;
1942
+ updatedAt: number;
1943
+ };
1944
+ amount: {
1945
+ value: bigint;
1946
+ decimals: number;
1947
+ };
1948
+ direction: "out";
1949
+ price?: {
1950
+ cryptoCurrencyId: string;
1951
+ fiatCurrencyId: string;
1952
+ price: {
1953
+ value: bigint;
1954
+ decimals: number;
1955
+ };
1956
+ timestamp: number;
1957
+ } | undefined;
1958
+ from?: string | undefined;
1959
+ to?: string | undefined;
1960
+ }, {
1961
+ asset: {
1962
+ symbol: string;
1963
+ type: "CryptoCurrency";
1964
+ id: string;
1965
+ name: string;
1966
+ market: {
1967
+ coingeckoId?: string | undefined;
1968
+ marketCapUsd?: {
1969
+ value: bigint;
1970
+ decimals: number;
1971
+ } | undefined;
1972
+ };
1973
+ updatedAt: number;
1974
+ icon?: string | undefined;
1975
+ priceDatasourceId?: string | undefined;
1976
+ } | {
1977
+ symbol: string;
1978
+ type: "FiatCurrency";
1979
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1980
+ name: string;
1981
+ icon?: string | undefined;
1982
+ } | {
1983
+ type: "Nft";
1984
+ id: string;
1985
+ updatedAt: number;
1986
+ symbol?: string | undefined;
1987
+ name?: string | undefined;
1988
+ image?: string | undefined;
1989
+ metadata?: string | undefined;
1990
+ };
1991
+ amount: {
1992
+ value: bigint;
1993
+ decimals: number;
1994
+ };
1995
+ direction: "out";
1996
+ price?: {
1997
+ cryptoCurrencyId: string;
1998
+ fiatCurrencyId: string;
1999
+ price: {
2000
+ value: bigint;
2001
+ decimals: number;
2002
+ };
2003
+ timestamp: number;
2004
+ } | undefined;
2005
+ from?: string | undefined;
2006
+ to?: string | undefined;
2007
+ }>, {
2008
+ from: string | undefined;
2009
+ to: string | undefined;
2010
+ price: {
2011
+ cryptoCurrencyId: string;
2012
+ fiatCurrencyId: string;
2013
+ price: {
2014
+ value: bigint;
2015
+ decimals: number;
2016
+ };
2017
+ timestamp: number;
2018
+ } | undefined;
2019
+ asset: {
2020
+ icon: string | undefined;
2021
+ priceDatasourceId: string | undefined;
2022
+ symbol: string;
2023
+ type: "CryptoCurrency";
2024
+ id: string;
2025
+ name: string;
2026
+ market: {
2027
+ coingeckoId: string | undefined;
2028
+ marketCapUsd: {
2029
+ value: bigint;
2030
+ decimals: number;
2031
+ } | undefined;
2032
+ };
2033
+ updatedAt: number;
2034
+ } | {
2035
+ icon: string | undefined;
2036
+ symbol: string;
2037
+ type: "FiatCurrency";
2038
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2039
+ name: string;
2040
+ } | {
2041
+ name: string | undefined;
2042
+ symbol: string | undefined;
2043
+ image: string | undefined;
2044
+ metadata: string | undefined;
2045
+ type: "Nft";
2046
+ id: string;
2047
+ updatedAt: number;
2048
+ };
2049
+ amount: {
2050
+ value: bigint;
2051
+ decimals: number;
2052
+ };
2053
+ direction: "out";
2054
+ }, {
2055
+ asset: {
2056
+ symbol: string;
2057
+ type: "CryptoCurrency";
2058
+ id: string;
2059
+ name: string;
2060
+ market: {
2061
+ coingeckoId?: string | undefined;
2062
+ marketCapUsd?: {
2063
+ value: bigint;
2064
+ decimals: number;
2065
+ } | undefined;
2066
+ };
2067
+ updatedAt: number;
2068
+ icon?: string | undefined;
2069
+ priceDatasourceId?: string | undefined;
2070
+ } | {
2071
+ symbol: string;
2072
+ type: "FiatCurrency";
2073
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2074
+ name: string;
2075
+ icon?: string | undefined;
2076
+ } | {
2077
+ type: "Nft";
2078
+ id: string;
2079
+ updatedAt: number;
2080
+ symbol?: string | undefined;
2081
+ name?: string | undefined;
2082
+ image?: string | undefined;
2083
+ metadata?: string | undefined;
2084
+ };
2085
+ amount: {
2086
+ value: bigint;
2087
+ decimals: number;
2088
+ };
2089
+ direction: "out";
2090
+ price?: {
2091
+ cryptoCurrencyId: string;
2092
+ fiatCurrencyId: string;
2093
+ price: {
2094
+ value: bigint;
2095
+ decimals: number;
2096
+ };
2097
+ timestamp: number;
2098
+ } | undefined;
2099
+ from?: string | undefined;
2100
+ to?: string | undefined;
2101
+ }>]>, "many">;
2102
+ }>, "strip", z.ZodTypeAny, {
2103
+ type: "CrossNormalAction";
2104
+ timestamp: number;
2105
+ action: "cross-replace";
2106
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2107
+ transfers: ({
2108
+ from: string | undefined;
2109
+ to: string | undefined;
2110
+ price: {
2111
+ cryptoCurrencyId: string;
2112
+ fiatCurrencyId: string;
2113
+ price: {
2114
+ value: bigint;
2115
+ decimals: number;
2116
+ };
2117
+ timestamp: number;
2118
+ } | undefined;
2119
+ asset: {
2120
+ icon: string | undefined;
2121
+ priceDatasourceId: string | undefined;
2122
+ symbol: string;
2123
+ type: "CryptoCurrency";
2124
+ id: string;
2125
+ name: string;
2126
+ market: {
2127
+ coingeckoId: string | undefined;
2128
+ marketCapUsd: {
2129
+ value: bigint;
2130
+ decimals: number;
2131
+ } | undefined;
2132
+ };
2133
+ updatedAt: number;
2134
+ } | {
2135
+ icon: string | undefined;
2136
+ symbol: string;
2137
+ type: "FiatCurrency";
2138
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2139
+ name: string;
2140
+ } | {
2141
+ name: string | undefined;
2142
+ symbol: string | undefined;
2143
+ image: string | undefined;
2144
+ metadata: string | undefined;
2145
+ type: "Nft";
2146
+ id: string;
2147
+ updatedAt: number;
2148
+ };
2149
+ amount: {
2150
+ value: bigint;
2151
+ decimals: number;
2152
+ };
2153
+ direction: "in";
2154
+ } | {
2155
+ from: string | undefined;
2156
+ to: string | undefined;
2157
+ price: {
2158
+ cryptoCurrencyId: string;
2159
+ fiatCurrencyId: string;
2160
+ price: {
2161
+ value: bigint;
2162
+ decimals: number;
2163
+ };
2164
+ timestamp: number;
2165
+ } | undefined;
2166
+ asset: {
2167
+ icon: string | undefined;
2168
+ priceDatasourceId: string | undefined;
2169
+ symbol: string;
2170
+ type: "CryptoCurrency";
2171
+ id: string;
2172
+ name: string;
2173
+ market: {
2174
+ coingeckoId: string | undefined;
2175
+ marketCapUsd: {
2176
+ value: bigint;
2177
+ decimals: number;
2178
+ } | undefined;
2179
+ };
2180
+ updatedAt: number;
2181
+ } | {
2182
+ icon: string | undefined;
2183
+ symbol: string;
2184
+ type: "FiatCurrency";
2185
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2186
+ name: string;
2187
+ } | {
2188
+ name: string | undefined;
2189
+ symbol: string | undefined;
2190
+ image: string | undefined;
2191
+ metadata: string | undefined;
2192
+ type: "Nft";
2193
+ id: string;
2194
+ updatedAt: number;
2195
+ };
2196
+ amount: {
2197
+ value: bigint;
2198
+ decimals: number;
2199
+ };
2200
+ direction: "out";
2201
+ })[];
2202
+ crossId: string;
2203
+ crossType: "start" | "middle" | "end";
2204
+ comment?: string | undefined;
2205
+ app?: {
2206
+ description: string | undefined;
2207
+ website: string | undefined;
2208
+ icon: string | undefined;
2209
+ id: string;
2210
+ name: string;
2211
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2212
+ } | undefined;
2213
+ }, {
2214
+ type: "CrossNormalAction";
2215
+ timestamp: number;
2216
+ action: "cross-replace";
2217
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2218
+ transfers: ({
2219
+ asset: {
2220
+ symbol: string;
2221
+ type: "CryptoCurrency";
2222
+ id: string;
2223
+ name: string;
2224
+ market: {
2225
+ coingeckoId?: string | undefined;
2226
+ marketCapUsd?: {
2227
+ value: bigint;
2228
+ decimals: number;
2229
+ } | undefined;
2230
+ };
2231
+ updatedAt: number;
2232
+ icon?: string | undefined;
2233
+ priceDatasourceId?: string | undefined;
2234
+ } | {
2235
+ symbol: string;
2236
+ type: "FiatCurrency";
2237
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2238
+ name: string;
2239
+ icon?: string | undefined;
2240
+ } | {
2241
+ type: "Nft";
2242
+ id: string;
2243
+ updatedAt: number;
2244
+ symbol?: string | undefined;
2245
+ name?: string | undefined;
2246
+ image?: string | undefined;
2247
+ metadata?: string | undefined;
2248
+ };
2249
+ amount: {
2250
+ value: bigint;
2251
+ decimals: number;
2252
+ };
2253
+ direction: "in";
2254
+ price?: {
2255
+ cryptoCurrencyId: string;
2256
+ fiatCurrencyId: string;
2257
+ price: {
2258
+ value: bigint;
2259
+ decimals: number;
2260
+ };
2261
+ timestamp: number;
2262
+ } | undefined;
2263
+ from?: string | undefined;
2264
+ to?: string | undefined;
2265
+ } | {
2266
+ asset: {
2267
+ symbol: string;
2268
+ type: "CryptoCurrency";
2269
+ id: string;
2270
+ name: string;
2271
+ market: {
2272
+ coingeckoId?: string | undefined;
2273
+ marketCapUsd?: {
2274
+ value: bigint;
2275
+ decimals: number;
2276
+ } | undefined;
2277
+ };
2278
+ updatedAt: number;
2279
+ icon?: string | undefined;
2280
+ priceDatasourceId?: string | undefined;
2281
+ } | {
2282
+ symbol: string;
2283
+ type: "FiatCurrency";
2284
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2285
+ name: string;
2286
+ icon?: string | undefined;
2287
+ } | {
2288
+ type: "Nft";
2289
+ id: string;
2290
+ updatedAt: number;
2291
+ symbol?: string | undefined;
2292
+ name?: string | undefined;
2293
+ image?: string | undefined;
2294
+ metadata?: string | undefined;
2295
+ };
2296
+ amount: {
2297
+ value: bigint;
2298
+ decimals: number;
2299
+ };
2300
+ direction: "out";
2301
+ price?: {
2302
+ cryptoCurrencyId: string;
2303
+ fiatCurrencyId: string;
2304
+ price: {
2305
+ value: bigint;
2306
+ decimals: number;
2307
+ };
2308
+ timestamp: number;
2309
+ } | undefined;
2310
+ from?: string | undefined;
2311
+ to?: string | undefined;
2312
+ })[];
2313
+ crossId: string;
2314
+ crossType: "start" | "middle" | "end";
2315
+ comment?: string | undefined;
2316
+ app?: {
2317
+ id: string;
2318
+ name: string;
2319
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2320
+ icon?: string | undefined;
2321
+ description?: string | undefined;
2322
+ website?: string | undefined;
2323
+ } | undefined;
2324
+ }>, {
2325
+ comment: string | undefined;
2326
+ app: {
2327
+ description: string | undefined;
2328
+ website: string | undefined;
2329
+ icon: string | undefined;
2330
+ id: string;
2331
+ name: string;
2332
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2333
+ } | undefined;
2334
+ type: "CrossNormalAction";
2335
+ timestamp: number;
2336
+ action: "cross-replace";
2337
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2338
+ transfers: ({
2339
+ from: string | undefined;
2340
+ to: string | undefined;
2341
+ price: {
2342
+ cryptoCurrencyId: string;
2343
+ fiatCurrencyId: string;
2344
+ price: {
2345
+ value: bigint;
2346
+ decimals: number;
2347
+ };
2348
+ timestamp: number;
2349
+ } | undefined;
2350
+ asset: {
2351
+ icon: string | undefined;
2352
+ priceDatasourceId: string | undefined;
2353
+ symbol: string;
2354
+ type: "CryptoCurrency";
2355
+ id: string;
2356
+ name: string;
2357
+ market: {
2358
+ coingeckoId: string | undefined;
2359
+ marketCapUsd: {
2360
+ value: bigint;
2361
+ decimals: number;
2362
+ } | undefined;
2363
+ };
2364
+ updatedAt: number;
2365
+ } | {
2366
+ icon: string | undefined;
2367
+ symbol: string;
2368
+ type: "FiatCurrency";
2369
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2370
+ name: string;
2371
+ } | {
2372
+ name: string | undefined;
2373
+ symbol: string | undefined;
2374
+ image: string | undefined;
2375
+ metadata: string | undefined;
2376
+ type: "Nft";
2377
+ id: string;
2378
+ updatedAt: number;
2379
+ };
2380
+ amount: {
2381
+ value: bigint;
2382
+ decimals: number;
2383
+ };
2384
+ direction: "in";
2385
+ } | {
2386
+ from: string | undefined;
2387
+ to: string | undefined;
2388
+ price: {
2389
+ cryptoCurrencyId: string;
2390
+ fiatCurrencyId: string;
2391
+ price: {
2392
+ value: bigint;
2393
+ decimals: number;
2394
+ };
2395
+ timestamp: number;
2396
+ } | undefined;
2397
+ asset: {
2398
+ icon: string | undefined;
2399
+ priceDatasourceId: string | undefined;
2400
+ symbol: string;
2401
+ type: "CryptoCurrency";
2402
+ id: string;
2403
+ name: string;
2404
+ market: {
2405
+ coingeckoId: string | undefined;
2406
+ marketCapUsd: {
2407
+ value: bigint;
2408
+ decimals: number;
2409
+ } | undefined;
2410
+ };
2411
+ updatedAt: number;
2412
+ } | {
2413
+ icon: string | undefined;
2414
+ symbol: string;
2415
+ type: "FiatCurrency";
2416
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2417
+ name: string;
2418
+ } | {
2419
+ name: string | undefined;
2420
+ symbol: string | undefined;
2421
+ image: string | undefined;
2422
+ metadata: string | undefined;
2423
+ type: "Nft";
2424
+ id: string;
2425
+ updatedAt: number;
2426
+ };
2427
+ amount: {
2428
+ value: bigint;
2429
+ decimals: number;
2430
+ };
2431
+ direction: "out";
2432
+ })[];
2433
+ crossId: string;
2434
+ crossType: "start" | "middle" | "end";
2435
+ }, {
2436
+ type: "CrossNormalAction";
1200
2437
  timestamp: number;
1201
2438
  action: "cross-replace";
1202
2439
  evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
@@ -1207,47 +2444,1333 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1207
2444
  id: string;
1208
2445
  name: string;
1209
2446
  market: {
1210
- coingeckoId?: string | undefined;
1211
- marketCapUsd?: {
2447
+ coingeckoId?: string | undefined;
2448
+ marketCapUsd?: {
2449
+ value: bigint;
2450
+ decimals: number;
2451
+ } | undefined;
2452
+ };
2453
+ updatedAt: number;
2454
+ icon?: string | undefined;
2455
+ priceDatasourceId?: string | undefined;
2456
+ } | {
2457
+ symbol: string;
2458
+ type: "FiatCurrency";
2459
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2460
+ name: string;
2461
+ icon?: string | undefined;
2462
+ } | {
2463
+ type: "Nft";
2464
+ id: string;
2465
+ updatedAt: number;
2466
+ symbol?: string | undefined;
2467
+ name?: string | undefined;
2468
+ image?: string | undefined;
2469
+ metadata?: string | undefined;
2470
+ };
2471
+ amount: {
2472
+ value: bigint;
2473
+ decimals: number;
2474
+ };
2475
+ direction: "in";
2476
+ price?: {
2477
+ cryptoCurrencyId: string;
2478
+ fiatCurrencyId: string;
2479
+ price: {
2480
+ value: bigint;
2481
+ decimals: number;
2482
+ };
2483
+ timestamp: number;
2484
+ } | undefined;
2485
+ from?: string | undefined;
2486
+ to?: string | undefined;
2487
+ } | {
2488
+ asset: {
2489
+ symbol: string;
2490
+ type: "CryptoCurrency";
2491
+ id: string;
2492
+ name: string;
2493
+ market: {
2494
+ coingeckoId?: string | undefined;
2495
+ marketCapUsd?: {
2496
+ value: bigint;
2497
+ decimals: number;
2498
+ } | undefined;
2499
+ };
2500
+ updatedAt: number;
2501
+ icon?: string | undefined;
2502
+ priceDatasourceId?: string | undefined;
2503
+ } | {
2504
+ symbol: string;
2505
+ type: "FiatCurrency";
2506
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2507
+ name: string;
2508
+ icon?: string | undefined;
2509
+ } | {
2510
+ type: "Nft";
2511
+ id: string;
2512
+ updatedAt: number;
2513
+ symbol?: string | undefined;
2514
+ name?: string | undefined;
2515
+ image?: string | undefined;
2516
+ metadata?: string | undefined;
2517
+ };
2518
+ amount: {
2519
+ value: bigint;
2520
+ decimals: number;
2521
+ };
2522
+ direction: "out";
2523
+ price?: {
2524
+ cryptoCurrencyId: string;
2525
+ fiatCurrencyId: string;
2526
+ price: {
2527
+ value: bigint;
2528
+ decimals: number;
2529
+ };
2530
+ timestamp: number;
2531
+ } | undefined;
2532
+ from?: string | undefined;
2533
+ to?: string | undefined;
2534
+ })[];
2535
+ crossId: string;
2536
+ crossType: "start" | "middle" | "end";
2537
+ comment?: string | undefined;
2538
+ app?: {
2539
+ id: string;
2540
+ name: string;
2541
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2542
+ icon?: string | undefined;
2543
+ description?: string | undefined;
2544
+ website?: string | undefined;
2545
+ } | undefined;
2546
+ }>;
2547
+ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2548
+ 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">]>;
2549
+ source: z.ZodString;
2550
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
2551
+ timestamp: z.ZodNumber;
2552
+ order: z.ZodNumber;
2553
+ comment: z.ZodOptional<z.ZodString>;
2554
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2555
+ id: z.ZodString;
2556
+ 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">;
2557
+ name: z.ZodString;
2558
+ description: z.ZodOptional<z.ZodString>;
2559
+ website: z.ZodOptional<z.ZodString>;
2560
+ icon: z.ZodOptional<z.ZodString>;
2561
+ }, "strip", z.ZodTypeAny, {
2562
+ id: string;
2563
+ name: string;
2564
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2565
+ icon?: string | undefined;
2566
+ description?: string | undefined;
2567
+ website?: string | undefined;
2568
+ }, {
2569
+ id: string;
2570
+ name: string;
2571
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2572
+ icon?: string | undefined;
2573
+ description?: string | undefined;
2574
+ website?: string | undefined;
2575
+ }>, {
2576
+ description: string | undefined;
2577
+ website: string | undefined;
2578
+ icon: string | undefined;
2579
+ id: string;
2580
+ name: string;
2581
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2582
+ }, {
2583
+ id: string;
2584
+ name: string;
2585
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2586
+ icon?: string | undefined;
2587
+ description?: string | undefined;
2588
+ website?: string | undefined;
2589
+ }>>;
2590
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2591
+ from: z.ZodOptional<z.ZodString>;
2592
+ to: z.ZodOptional<z.ZodString>;
2593
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2594
+ type: z.ZodLiteral<"CryptoCurrency">;
2595
+ id: z.ZodString;
2596
+ name: z.ZodString;
2597
+ symbol: z.ZodString;
2598
+ icon: z.ZodOptional<z.ZodString>;
2599
+ market: z.ZodEffects<z.ZodObject<{
2600
+ coingeckoId: z.ZodOptional<z.ZodString>;
2601
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2602
+ value: z.ZodBigInt;
2603
+ decimals: z.ZodNumber;
2604
+ }, "strip", z.ZodTypeAny, {
2605
+ value: bigint;
2606
+ decimals: number;
2607
+ }, {
2608
+ value: bigint;
2609
+ decimals: number;
2610
+ }>>;
2611
+ }, "strip", z.ZodTypeAny, {
2612
+ coingeckoId?: string | undefined;
2613
+ marketCapUsd?: {
2614
+ value: bigint;
2615
+ decimals: number;
2616
+ } | undefined;
2617
+ }, {
2618
+ coingeckoId?: string | undefined;
2619
+ marketCapUsd?: {
2620
+ value: bigint;
2621
+ decimals: number;
2622
+ } | undefined;
2623
+ }>, {
2624
+ coingeckoId: string | undefined;
2625
+ marketCapUsd: {
2626
+ value: bigint;
2627
+ decimals: number;
2628
+ } | undefined;
2629
+ }, {
2630
+ coingeckoId?: string | undefined;
2631
+ marketCapUsd?: {
2632
+ value: bigint;
2633
+ decimals: number;
2634
+ } | undefined;
2635
+ }>;
2636
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2637
+ updatedAt: z.ZodNumber;
2638
+ }, "strip", z.ZodTypeAny, {
2639
+ symbol: string;
2640
+ type: "CryptoCurrency";
2641
+ id: string;
2642
+ name: string;
2643
+ market: {
2644
+ coingeckoId: string | undefined;
2645
+ marketCapUsd: {
2646
+ value: bigint;
2647
+ decimals: number;
2648
+ } | undefined;
2649
+ };
2650
+ updatedAt: number;
2651
+ icon?: string | undefined;
2652
+ priceDatasourceId?: string | undefined;
2653
+ }, {
2654
+ symbol: string;
2655
+ type: "CryptoCurrency";
2656
+ id: string;
2657
+ name: string;
2658
+ market: {
2659
+ coingeckoId?: string | undefined;
2660
+ marketCapUsd?: {
2661
+ value: bigint;
2662
+ decimals: number;
2663
+ } | undefined;
2664
+ };
2665
+ updatedAt: number;
2666
+ icon?: string | undefined;
2667
+ priceDatasourceId?: string | undefined;
2668
+ }>, {
2669
+ icon: string | undefined;
2670
+ priceDatasourceId: string | undefined;
2671
+ symbol: string;
2672
+ type: "CryptoCurrency";
2673
+ id: string;
2674
+ name: string;
2675
+ market: {
2676
+ coingeckoId: string | undefined;
2677
+ marketCapUsd: {
2678
+ value: bigint;
2679
+ decimals: number;
2680
+ } | undefined;
2681
+ };
2682
+ updatedAt: number;
2683
+ }, {
2684
+ symbol: string;
2685
+ type: "CryptoCurrency";
2686
+ id: string;
2687
+ name: string;
2688
+ market: {
2689
+ coingeckoId?: string | undefined;
2690
+ marketCapUsd?: {
2691
+ value: bigint;
2692
+ decimals: number;
2693
+ } | undefined;
2694
+ };
2695
+ updatedAt: number;
2696
+ icon?: string | undefined;
2697
+ priceDatasourceId?: string | undefined;
2698
+ }>, z.ZodEffects<z.ZodObject<{
2699
+ type: z.ZodLiteral<"FiatCurrency">;
2700
+ 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">]>;
2701
+ name: z.ZodString;
2702
+ symbol: z.ZodString;
2703
+ icon: z.ZodOptional<z.ZodString>;
2704
+ }, "strip", z.ZodTypeAny, {
2705
+ symbol: string;
2706
+ type: "FiatCurrency";
2707
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2708
+ name: string;
2709
+ icon?: string | undefined;
2710
+ }, {
2711
+ symbol: string;
2712
+ type: "FiatCurrency";
2713
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2714
+ name: string;
2715
+ icon?: string | undefined;
2716
+ }>, {
2717
+ icon: string | undefined;
2718
+ symbol: string;
2719
+ type: "FiatCurrency";
2720
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2721
+ name: string;
2722
+ }, {
2723
+ symbol: string;
2724
+ type: "FiatCurrency";
2725
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2726
+ name: string;
2727
+ icon?: string | undefined;
2728
+ }>, z.ZodEffects<z.ZodObject<{
2729
+ type: z.ZodLiteral<"Nft">;
2730
+ id: z.ZodString;
2731
+ name: z.ZodOptional<z.ZodString>;
2732
+ symbol: z.ZodOptional<z.ZodString>;
2733
+ image: z.ZodOptional<z.ZodString>;
2734
+ metadata: z.ZodOptional<z.ZodString>;
2735
+ updatedAt: z.ZodNumber;
2736
+ }, "strip", z.ZodTypeAny, {
2737
+ type: "Nft";
2738
+ id: string;
2739
+ updatedAt: number;
2740
+ symbol?: string | undefined;
2741
+ name?: string | undefined;
2742
+ image?: string | undefined;
2743
+ metadata?: string | undefined;
2744
+ }, {
2745
+ type: "Nft";
2746
+ id: string;
2747
+ updatedAt: number;
2748
+ symbol?: string | undefined;
2749
+ name?: string | undefined;
2750
+ image?: string | undefined;
2751
+ metadata?: string | undefined;
2752
+ }>, {
2753
+ name: string | undefined;
2754
+ symbol: string | undefined;
2755
+ image: string | undefined;
2756
+ metadata: string | undefined;
2757
+ type: "Nft";
2758
+ id: string;
2759
+ updatedAt: number;
2760
+ }, {
2761
+ type: "Nft";
2762
+ id: string;
2763
+ updatedAt: number;
2764
+ symbol?: string | undefined;
2765
+ name?: string | undefined;
2766
+ image?: string | undefined;
2767
+ metadata?: string | undefined;
2768
+ }>]>;
2769
+ amount: z.ZodObject<{
2770
+ value: z.ZodBigInt;
2771
+ decimals: z.ZodNumber;
2772
+ }, "strip", z.ZodTypeAny, {
2773
+ value: bigint;
2774
+ decimals: number;
2775
+ }, {
2776
+ value: bigint;
2777
+ decimals: number;
2778
+ }>;
2779
+ price: z.ZodOptional<z.ZodObject<{
2780
+ cryptoCurrencyId: z.ZodString;
2781
+ fiatCurrencyId: z.ZodString;
2782
+ price: z.ZodObject<{
2783
+ value: z.ZodBigInt;
2784
+ decimals: z.ZodNumber;
2785
+ }, "strip", z.ZodTypeAny, {
2786
+ value: bigint;
2787
+ decimals: number;
2788
+ }, {
2789
+ value: bigint;
2790
+ decimals: number;
2791
+ }>;
2792
+ timestamp: z.ZodNumber;
2793
+ }, "strip", z.ZodTypeAny, {
2794
+ cryptoCurrencyId: string;
2795
+ fiatCurrencyId: string;
2796
+ price: {
2797
+ value: bigint;
2798
+ decimals: number;
2799
+ };
2800
+ timestamp: number;
2801
+ }, {
2802
+ cryptoCurrencyId: string;
2803
+ fiatCurrencyId: string;
2804
+ price: {
2805
+ value: bigint;
2806
+ decimals: number;
2807
+ };
2808
+ timestamp: number;
2809
+ }>>;
2810
+ }, {
2811
+ direction: z.ZodLiteral<"in">;
2812
+ }>, "strip", z.ZodTypeAny, {
2813
+ asset: {
2814
+ icon: string | undefined;
2815
+ priceDatasourceId: string | undefined;
2816
+ symbol: string;
2817
+ type: "CryptoCurrency";
2818
+ id: string;
2819
+ name: string;
2820
+ market: {
2821
+ coingeckoId: string | undefined;
2822
+ marketCapUsd: {
2823
+ value: bigint;
2824
+ decimals: number;
2825
+ } | undefined;
2826
+ };
2827
+ updatedAt: number;
2828
+ } | {
2829
+ icon: string | undefined;
2830
+ symbol: string;
2831
+ type: "FiatCurrency";
2832
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2833
+ name: string;
2834
+ } | {
2835
+ name: string | undefined;
2836
+ symbol: string | undefined;
2837
+ image: string | undefined;
2838
+ metadata: string | undefined;
2839
+ type: "Nft";
2840
+ id: string;
2841
+ updatedAt: number;
2842
+ };
2843
+ amount: {
2844
+ value: bigint;
2845
+ decimals: number;
2846
+ };
2847
+ direction: "in";
2848
+ price?: {
2849
+ cryptoCurrencyId: string;
2850
+ fiatCurrencyId: string;
2851
+ price: {
2852
+ value: bigint;
2853
+ decimals: number;
2854
+ };
2855
+ timestamp: number;
2856
+ } | undefined;
2857
+ from?: string | undefined;
2858
+ to?: string | undefined;
2859
+ }, {
2860
+ asset: {
2861
+ symbol: string;
2862
+ type: "CryptoCurrency";
2863
+ id: string;
2864
+ name: string;
2865
+ market: {
2866
+ coingeckoId?: string | undefined;
2867
+ marketCapUsd?: {
2868
+ value: bigint;
2869
+ decimals: number;
2870
+ } | undefined;
2871
+ };
2872
+ updatedAt: number;
2873
+ icon?: string | undefined;
2874
+ priceDatasourceId?: string | undefined;
2875
+ } | {
2876
+ symbol: string;
2877
+ type: "FiatCurrency";
2878
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2879
+ name: string;
2880
+ icon?: string | undefined;
2881
+ } | {
2882
+ type: "Nft";
2883
+ id: string;
2884
+ updatedAt: number;
2885
+ symbol?: string | undefined;
2886
+ name?: string | undefined;
2887
+ image?: string | undefined;
2888
+ metadata?: string | undefined;
2889
+ };
2890
+ amount: {
2891
+ value: bigint;
2892
+ decimals: number;
2893
+ };
2894
+ direction: "in";
2895
+ price?: {
2896
+ cryptoCurrencyId: string;
2897
+ fiatCurrencyId: string;
2898
+ price: {
2899
+ value: bigint;
2900
+ decimals: number;
2901
+ };
2902
+ timestamp: number;
2903
+ } | undefined;
2904
+ from?: string | undefined;
2905
+ to?: string | undefined;
2906
+ }>, {
2907
+ from: string | undefined;
2908
+ to: string | undefined;
2909
+ price: {
2910
+ cryptoCurrencyId: string;
2911
+ fiatCurrencyId: string;
2912
+ price: {
2913
+ value: bigint;
2914
+ decimals: number;
2915
+ };
2916
+ timestamp: number;
2917
+ } | undefined;
2918
+ asset: {
2919
+ icon: string | undefined;
2920
+ priceDatasourceId: string | undefined;
2921
+ symbol: string;
2922
+ type: "CryptoCurrency";
2923
+ id: string;
2924
+ name: string;
2925
+ market: {
2926
+ coingeckoId: string | undefined;
2927
+ marketCapUsd: {
2928
+ value: bigint;
2929
+ decimals: number;
2930
+ } | undefined;
2931
+ };
2932
+ updatedAt: number;
2933
+ } | {
2934
+ icon: string | undefined;
2935
+ symbol: string;
2936
+ type: "FiatCurrency";
2937
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2938
+ name: string;
2939
+ } | {
2940
+ name: string | undefined;
2941
+ symbol: string | undefined;
2942
+ image: string | undefined;
2943
+ metadata: string | undefined;
2944
+ type: "Nft";
2945
+ id: string;
2946
+ updatedAt: number;
2947
+ };
2948
+ amount: {
2949
+ value: bigint;
2950
+ decimals: number;
2951
+ };
2952
+ direction: "in";
2953
+ }, {
2954
+ asset: {
2955
+ symbol: string;
2956
+ type: "CryptoCurrency";
2957
+ id: string;
2958
+ name: string;
2959
+ market: {
2960
+ coingeckoId?: string | undefined;
2961
+ marketCapUsd?: {
2962
+ value: bigint;
2963
+ decimals: number;
2964
+ } | undefined;
2965
+ };
2966
+ updatedAt: number;
2967
+ icon?: string | undefined;
2968
+ priceDatasourceId?: string | undefined;
2969
+ } | {
2970
+ symbol: string;
2971
+ type: "FiatCurrency";
2972
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2973
+ name: string;
2974
+ icon?: string | undefined;
2975
+ } | {
2976
+ type: "Nft";
2977
+ id: string;
2978
+ updatedAt: number;
2979
+ symbol?: string | undefined;
2980
+ name?: string | undefined;
2981
+ image?: string | undefined;
2982
+ metadata?: string | undefined;
2983
+ };
2984
+ amount: {
2985
+ value: bigint;
2986
+ decimals: number;
2987
+ };
2988
+ direction: "in";
2989
+ price?: {
2990
+ cryptoCurrencyId: string;
2991
+ fiatCurrencyId: string;
2992
+ price: {
2993
+ value: bigint;
2994
+ decimals: number;
2995
+ };
2996
+ timestamp: number;
2997
+ } | undefined;
2998
+ from?: string | undefined;
2999
+ to?: string | undefined;
3000
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
3001
+ from: z.ZodOptional<z.ZodString>;
3002
+ to: z.ZodOptional<z.ZodString>;
3003
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3004
+ type: z.ZodLiteral<"CryptoCurrency">;
3005
+ id: z.ZodString;
3006
+ name: z.ZodString;
3007
+ symbol: z.ZodString;
3008
+ icon: z.ZodOptional<z.ZodString>;
3009
+ market: z.ZodEffects<z.ZodObject<{
3010
+ coingeckoId: z.ZodOptional<z.ZodString>;
3011
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3012
+ value: z.ZodBigInt;
3013
+ decimals: z.ZodNumber;
3014
+ }, "strip", z.ZodTypeAny, {
3015
+ value: bigint;
3016
+ decimals: number;
3017
+ }, {
3018
+ value: bigint;
3019
+ decimals: number;
3020
+ }>>;
3021
+ }, "strip", z.ZodTypeAny, {
3022
+ coingeckoId?: string | undefined;
3023
+ marketCapUsd?: {
3024
+ value: bigint;
3025
+ decimals: number;
3026
+ } | undefined;
3027
+ }, {
3028
+ coingeckoId?: string | undefined;
3029
+ marketCapUsd?: {
3030
+ value: bigint;
3031
+ decimals: number;
3032
+ } | undefined;
3033
+ }>, {
3034
+ coingeckoId: string | undefined;
3035
+ marketCapUsd: {
3036
+ value: bigint;
3037
+ decimals: number;
3038
+ } | undefined;
3039
+ }, {
3040
+ coingeckoId?: string | undefined;
3041
+ marketCapUsd?: {
3042
+ value: bigint;
3043
+ decimals: number;
3044
+ } | undefined;
3045
+ }>;
3046
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3047
+ updatedAt: z.ZodNumber;
3048
+ }, "strip", z.ZodTypeAny, {
3049
+ symbol: string;
3050
+ type: "CryptoCurrency";
3051
+ id: string;
3052
+ name: string;
3053
+ market: {
3054
+ coingeckoId: string | undefined;
3055
+ marketCapUsd: {
3056
+ value: bigint;
3057
+ decimals: number;
3058
+ } | undefined;
3059
+ };
3060
+ updatedAt: number;
3061
+ icon?: string | undefined;
3062
+ priceDatasourceId?: string | undefined;
3063
+ }, {
3064
+ symbol: string;
3065
+ type: "CryptoCurrency";
3066
+ id: string;
3067
+ name: string;
3068
+ market: {
3069
+ coingeckoId?: string | undefined;
3070
+ marketCapUsd?: {
3071
+ value: bigint;
3072
+ decimals: number;
3073
+ } | undefined;
3074
+ };
3075
+ updatedAt: number;
3076
+ icon?: string | undefined;
3077
+ priceDatasourceId?: string | undefined;
3078
+ }>, {
3079
+ icon: string | undefined;
3080
+ priceDatasourceId: string | undefined;
3081
+ symbol: string;
3082
+ type: "CryptoCurrency";
3083
+ id: string;
3084
+ name: string;
3085
+ market: {
3086
+ coingeckoId: string | undefined;
3087
+ marketCapUsd: {
3088
+ value: bigint;
3089
+ decimals: number;
3090
+ } | undefined;
3091
+ };
3092
+ updatedAt: number;
3093
+ }, {
3094
+ symbol: string;
3095
+ type: "CryptoCurrency";
3096
+ id: string;
3097
+ name: string;
3098
+ market: {
3099
+ coingeckoId?: string | undefined;
3100
+ marketCapUsd?: {
3101
+ value: bigint;
3102
+ decimals: number;
3103
+ } | undefined;
3104
+ };
3105
+ updatedAt: number;
3106
+ icon?: string | undefined;
3107
+ priceDatasourceId?: string | undefined;
3108
+ }>, z.ZodEffects<z.ZodObject<{
3109
+ type: z.ZodLiteral<"FiatCurrency">;
3110
+ 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">]>;
3111
+ name: z.ZodString;
3112
+ symbol: z.ZodString;
3113
+ icon: z.ZodOptional<z.ZodString>;
3114
+ }, "strip", z.ZodTypeAny, {
3115
+ symbol: string;
3116
+ type: "FiatCurrency";
3117
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3118
+ name: string;
3119
+ icon?: string | undefined;
3120
+ }, {
3121
+ symbol: string;
3122
+ type: "FiatCurrency";
3123
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3124
+ name: string;
3125
+ icon?: string | undefined;
3126
+ }>, {
3127
+ icon: string | undefined;
3128
+ symbol: string;
3129
+ type: "FiatCurrency";
3130
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3131
+ name: string;
3132
+ }, {
3133
+ symbol: string;
3134
+ type: "FiatCurrency";
3135
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3136
+ name: string;
3137
+ icon?: string | undefined;
3138
+ }>, z.ZodEffects<z.ZodObject<{
3139
+ type: z.ZodLiteral<"Nft">;
3140
+ id: z.ZodString;
3141
+ name: z.ZodOptional<z.ZodString>;
3142
+ symbol: z.ZodOptional<z.ZodString>;
3143
+ image: z.ZodOptional<z.ZodString>;
3144
+ metadata: z.ZodOptional<z.ZodString>;
3145
+ updatedAt: z.ZodNumber;
3146
+ }, "strip", z.ZodTypeAny, {
3147
+ type: "Nft";
3148
+ id: string;
3149
+ updatedAt: number;
3150
+ symbol?: string | undefined;
3151
+ name?: string | undefined;
3152
+ image?: string | undefined;
3153
+ metadata?: string | undefined;
3154
+ }, {
3155
+ type: "Nft";
3156
+ id: string;
3157
+ updatedAt: number;
3158
+ symbol?: string | undefined;
3159
+ name?: string | undefined;
3160
+ image?: string | undefined;
3161
+ metadata?: string | undefined;
3162
+ }>, {
3163
+ name: string | undefined;
3164
+ symbol: string | undefined;
3165
+ image: string | undefined;
3166
+ metadata: string | undefined;
3167
+ type: "Nft";
3168
+ id: string;
3169
+ updatedAt: number;
3170
+ }, {
3171
+ type: "Nft";
3172
+ id: string;
3173
+ updatedAt: number;
3174
+ symbol?: string | undefined;
3175
+ name?: string | undefined;
3176
+ image?: string | undefined;
3177
+ metadata?: string | undefined;
3178
+ }>]>;
3179
+ amount: z.ZodObject<{
3180
+ value: z.ZodBigInt;
3181
+ decimals: z.ZodNumber;
3182
+ }, "strip", z.ZodTypeAny, {
3183
+ value: bigint;
3184
+ decimals: number;
3185
+ }, {
3186
+ value: bigint;
3187
+ decimals: number;
3188
+ }>;
3189
+ price: z.ZodOptional<z.ZodObject<{
3190
+ cryptoCurrencyId: z.ZodString;
3191
+ fiatCurrencyId: z.ZodString;
3192
+ price: z.ZodObject<{
3193
+ value: z.ZodBigInt;
3194
+ decimals: z.ZodNumber;
3195
+ }, "strip", z.ZodTypeAny, {
3196
+ value: bigint;
3197
+ decimals: number;
3198
+ }, {
3199
+ value: bigint;
3200
+ decimals: number;
3201
+ }>;
3202
+ timestamp: z.ZodNumber;
3203
+ }, "strip", z.ZodTypeAny, {
3204
+ cryptoCurrencyId: string;
3205
+ fiatCurrencyId: string;
3206
+ price: {
3207
+ value: bigint;
3208
+ decimals: number;
3209
+ };
3210
+ timestamp: number;
3211
+ }, {
3212
+ cryptoCurrencyId: string;
3213
+ fiatCurrencyId: string;
3214
+ price: {
3215
+ value: bigint;
3216
+ decimals: number;
3217
+ };
3218
+ timestamp: number;
3219
+ }>>;
3220
+ }, {
3221
+ direction: z.ZodLiteral<"out">;
3222
+ }>, "strip", z.ZodTypeAny, {
3223
+ asset: {
3224
+ icon: string | undefined;
3225
+ priceDatasourceId: string | undefined;
3226
+ symbol: string;
3227
+ type: "CryptoCurrency";
3228
+ id: string;
3229
+ name: string;
3230
+ market: {
3231
+ coingeckoId: string | undefined;
3232
+ marketCapUsd: {
3233
+ value: bigint;
3234
+ decimals: number;
3235
+ } | undefined;
3236
+ };
3237
+ updatedAt: number;
3238
+ } | {
3239
+ icon: string | undefined;
3240
+ symbol: string;
3241
+ type: "FiatCurrency";
3242
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3243
+ name: string;
3244
+ } | {
3245
+ name: string | undefined;
3246
+ symbol: string | undefined;
3247
+ image: string | undefined;
3248
+ metadata: string | undefined;
3249
+ type: "Nft";
3250
+ id: string;
3251
+ updatedAt: number;
3252
+ };
3253
+ amount: {
3254
+ value: bigint;
3255
+ decimals: number;
3256
+ };
3257
+ direction: "out";
3258
+ price?: {
3259
+ cryptoCurrencyId: string;
3260
+ fiatCurrencyId: string;
3261
+ price: {
3262
+ value: bigint;
3263
+ decimals: number;
3264
+ };
3265
+ timestamp: number;
3266
+ } | undefined;
3267
+ from?: string | undefined;
3268
+ to?: string | undefined;
3269
+ }, {
3270
+ asset: {
3271
+ symbol: string;
3272
+ type: "CryptoCurrency";
3273
+ id: string;
3274
+ name: string;
3275
+ market: {
3276
+ coingeckoId?: string | undefined;
3277
+ marketCapUsd?: {
3278
+ value: bigint;
3279
+ decimals: number;
3280
+ } | undefined;
3281
+ };
3282
+ updatedAt: number;
3283
+ icon?: string | undefined;
3284
+ priceDatasourceId?: string | undefined;
3285
+ } | {
3286
+ symbol: string;
3287
+ type: "FiatCurrency";
3288
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3289
+ name: string;
3290
+ icon?: string | undefined;
3291
+ } | {
3292
+ type: "Nft";
3293
+ id: string;
3294
+ updatedAt: number;
3295
+ symbol?: string | undefined;
3296
+ name?: string | undefined;
3297
+ image?: string | undefined;
3298
+ metadata?: string | undefined;
3299
+ };
3300
+ amount: {
3301
+ value: bigint;
3302
+ decimals: number;
3303
+ };
3304
+ direction: "out";
3305
+ price?: {
3306
+ cryptoCurrencyId: string;
3307
+ fiatCurrencyId: string;
3308
+ price: {
3309
+ value: bigint;
3310
+ decimals: number;
3311
+ };
3312
+ timestamp: number;
3313
+ } | undefined;
3314
+ from?: string | undefined;
3315
+ to?: string | undefined;
3316
+ }>, {
3317
+ from: string | undefined;
3318
+ to: string | undefined;
3319
+ price: {
3320
+ cryptoCurrencyId: string;
3321
+ fiatCurrencyId: string;
3322
+ price: {
3323
+ value: bigint;
3324
+ decimals: number;
3325
+ };
3326
+ timestamp: number;
3327
+ } | undefined;
3328
+ asset: {
3329
+ icon: string | undefined;
3330
+ priceDatasourceId: string | undefined;
3331
+ symbol: string;
3332
+ type: "CryptoCurrency";
3333
+ id: string;
3334
+ name: string;
3335
+ market: {
3336
+ coingeckoId: string | undefined;
3337
+ marketCapUsd: {
3338
+ value: bigint;
3339
+ decimals: number;
3340
+ } | undefined;
3341
+ };
3342
+ updatedAt: number;
3343
+ } | {
3344
+ icon: string | undefined;
3345
+ symbol: string;
3346
+ type: "FiatCurrency";
3347
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3348
+ name: string;
3349
+ } | {
3350
+ name: string | undefined;
3351
+ symbol: string | undefined;
3352
+ image: string | undefined;
3353
+ metadata: string | undefined;
3354
+ type: "Nft";
3355
+ id: string;
3356
+ updatedAt: number;
3357
+ };
3358
+ amount: {
3359
+ value: bigint;
3360
+ decimals: number;
3361
+ };
3362
+ direction: "out";
3363
+ }, {
3364
+ asset: {
3365
+ symbol: string;
3366
+ type: "CryptoCurrency";
3367
+ id: string;
3368
+ name: string;
3369
+ market: {
3370
+ coingeckoId?: string | undefined;
3371
+ marketCapUsd?: {
3372
+ value: bigint;
3373
+ decimals: number;
3374
+ } | undefined;
3375
+ };
3376
+ updatedAt: number;
3377
+ icon?: string | undefined;
3378
+ priceDatasourceId?: string | undefined;
3379
+ } | {
3380
+ symbol: string;
3381
+ type: "FiatCurrency";
3382
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3383
+ name: string;
3384
+ icon?: string | undefined;
3385
+ } | {
3386
+ type: "Nft";
3387
+ id: string;
3388
+ updatedAt: number;
3389
+ symbol?: string | undefined;
3390
+ name?: string | undefined;
3391
+ image?: string | undefined;
3392
+ metadata?: string | undefined;
3393
+ };
3394
+ amount: {
3395
+ value: bigint;
3396
+ decimals: number;
3397
+ };
3398
+ direction: "out";
3399
+ price?: {
3400
+ cryptoCurrencyId: string;
3401
+ fiatCurrencyId: string;
3402
+ price: {
3403
+ value: bigint;
3404
+ decimals: number;
3405
+ };
3406
+ timestamp: number;
3407
+ } | undefined;
3408
+ from?: string | undefined;
3409
+ to?: string | undefined;
3410
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
3411
+ from: z.ZodOptional<z.ZodString>;
3412
+ to: z.ZodOptional<z.ZodString>;
3413
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3414
+ type: z.ZodLiteral<"CryptoCurrency">;
3415
+ id: z.ZodString;
3416
+ name: z.ZodString;
3417
+ symbol: z.ZodString;
3418
+ icon: z.ZodOptional<z.ZodString>;
3419
+ market: z.ZodEffects<z.ZodObject<{
3420
+ coingeckoId: z.ZodOptional<z.ZodString>;
3421
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3422
+ value: z.ZodBigInt;
3423
+ decimals: z.ZodNumber;
3424
+ }, "strip", z.ZodTypeAny, {
3425
+ value: bigint;
3426
+ decimals: number;
3427
+ }, {
3428
+ value: bigint;
3429
+ decimals: number;
3430
+ }>>;
3431
+ }, "strip", z.ZodTypeAny, {
3432
+ coingeckoId?: string | undefined;
3433
+ marketCapUsd?: {
3434
+ value: bigint;
3435
+ decimals: number;
3436
+ } | undefined;
3437
+ }, {
3438
+ coingeckoId?: string | undefined;
3439
+ marketCapUsd?: {
3440
+ value: bigint;
3441
+ decimals: number;
3442
+ } | undefined;
3443
+ }>, {
3444
+ coingeckoId: string | undefined;
3445
+ marketCapUsd: {
3446
+ value: bigint;
3447
+ decimals: number;
3448
+ } | undefined;
3449
+ }, {
3450
+ coingeckoId?: string | undefined;
3451
+ marketCapUsd?: {
3452
+ value: bigint;
3453
+ decimals: number;
3454
+ } | undefined;
3455
+ }>;
3456
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3457
+ updatedAt: z.ZodNumber;
3458
+ }, "strip", z.ZodTypeAny, {
3459
+ symbol: string;
3460
+ type: "CryptoCurrency";
3461
+ id: string;
3462
+ name: string;
3463
+ market: {
3464
+ coingeckoId: string | undefined;
3465
+ marketCapUsd: {
3466
+ value: bigint;
3467
+ decimals: number;
3468
+ } | undefined;
3469
+ };
3470
+ updatedAt: number;
3471
+ icon?: string | undefined;
3472
+ priceDatasourceId?: string | undefined;
3473
+ }, {
3474
+ symbol: string;
3475
+ type: "CryptoCurrency";
3476
+ id: string;
3477
+ name: string;
3478
+ market: {
3479
+ coingeckoId?: string | undefined;
3480
+ marketCapUsd?: {
3481
+ value: bigint;
3482
+ decimals: number;
3483
+ } | undefined;
3484
+ };
3485
+ updatedAt: number;
3486
+ icon?: string | undefined;
3487
+ priceDatasourceId?: string | undefined;
3488
+ }>, {
3489
+ icon: string | undefined;
3490
+ priceDatasourceId: string | undefined;
3491
+ symbol: string;
3492
+ type: "CryptoCurrency";
3493
+ id: string;
3494
+ name: string;
3495
+ market: {
3496
+ coingeckoId: string | undefined;
3497
+ marketCapUsd: {
3498
+ value: bigint;
3499
+ decimals: number;
3500
+ } | undefined;
3501
+ };
3502
+ updatedAt: number;
3503
+ }, {
3504
+ symbol: string;
3505
+ type: "CryptoCurrency";
3506
+ id: string;
3507
+ name: string;
3508
+ market: {
3509
+ coingeckoId?: string | undefined;
3510
+ marketCapUsd?: {
3511
+ value: bigint;
3512
+ decimals: number;
3513
+ } | undefined;
3514
+ };
3515
+ updatedAt: number;
3516
+ icon?: string | undefined;
3517
+ priceDatasourceId?: string | undefined;
3518
+ }>, z.ZodEffects<z.ZodObject<{
3519
+ type: z.ZodLiteral<"FiatCurrency">;
3520
+ 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">]>;
3521
+ name: z.ZodString;
3522
+ symbol: z.ZodString;
3523
+ icon: z.ZodOptional<z.ZodString>;
3524
+ }, "strip", z.ZodTypeAny, {
3525
+ symbol: string;
3526
+ type: "FiatCurrency";
3527
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3528
+ name: string;
3529
+ icon?: string | undefined;
3530
+ }, {
3531
+ symbol: string;
3532
+ type: "FiatCurrency";
3533
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3534
+ name: string;
3535
+ icon?: string | undefined;
3536
+ }>, {
3537
+ icon: string | undefined;
3538
+ symbol: string;
3539
+ type: "FiatCurrency";
3540
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3541
+ name: string;
3542
+ }, {
3543
+ symbol: string;
3544
+ type: "FiatCurrency";
3545
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3546
+ name: string;
3547
+ icon?: string | undefined;
3548
+ }>, z.ZodEffects<z.ZodObject<{
3549
+ type: z.ZodLiteral<"Nft">;
3550
+ id: z.ZodString;
3551
+ name: z.ZodOptional<z.ZodString>;
3552
+ symbol: z.ZodOptional<z.ZodString>;
3553
+ image: z.ZodOptional<z.ZodString>;
3554
+ metadata: z.ZodOptional<z.ZodString>;
3555
+ updatedAt: z.ZodNumber;
3556
+ }, "strip", z.ZodTypeAny, {
3557
+ type: "Nft";
3558
+ id: string;
3559
+ updatedAt: number;
3560
+ symbol?: string | undefined;
3561
+ name?: string | undefined;
3562
+ image?: string | undefined;
3563
+ metadata?: string | undefined;
3564
+ }, {
3565
+ type: "Nft";
3566
+ id: string;
3567
+ updatedAt: number;
3568
+ symbol?: string | undefined;
3569
+ name?: string | undefined;
3570
+ image?: string | undefined;
3571
+ metadata?: string | undefined;
3572
+ }>, {
3573
+ name: string | undefined;
3574
+ symbol: string | undefined;
3575
+ image: string | undefined;
3576
+ metadata: string | undefined;
3577
+ type: "Nft";
3578
+ id: string;
3579
+ updatedAt: number;
3580
+ }, {
3581
+ type: "Nft";
3582
+ id: string;
3583
+ updatedAt: number;
3584
+ symbol?: string | undefined;
3585
+ name?: string | undefined;
3586
+ image?: string | undefined;
3587
+ metadata?: string | undefined;
3588
+ }>]>;
3589
+ amount: z.ZodObject<{
3590
+ value: z.ZodBigInt;
3591
+ decimals: z.ZodNumber;
3592
+ }, "strip", z.ZodTypeAny, {
3593
+ value: bigint;
3594
+ decimals: number;
3595
+ }, {
3596
+ value: bigint;
3597
+ decimals: number;
3598
+ }>;
3599
+ price: z.ZodOptional<z.ZodObject<{
3600
+ cryptoCurrencyId: z.ZodString;
3601
+ fiatCurrencyId: z.ZodString;
3602
+ price: z.ZodObject<{
3603
+ value: z.ZodBigInt;
3604
+ decimals: z.ZodNumber;
3605
+ }, "strip", z.ZodTypeAny, {
3606
+ value: bigint;
3607
+ decimals: number;
3608
+ }, {
3609
+ value: bigint;
3610
+ decimals: number;
3611
+ }>;
3612
+ timestamp: z.ZodNumber;
3613
+ }, "strip", z.ZodTypeAny, {
3614
+ cryptoCurrencyId: string;
3615
+ fiatCurrencyId: string;
3616
+ price: {
3617
+ value: bigint;
3618
+ decimals: number;
3619
+ };
3620
+ timestamp: number;
3621
+ }, {
3622
+ cryptoCurrencyId: string;
3623
+ fiatCurrencyId: string;
3624
+ price: {
3625
+ value: bigint;
3626
+ decimals: number;
3627
+ };
3628
+ timestamp: number;
3629
+ }>>;
3630
+ }, {
3631
+ direction: z.ZodLiteral<"none">;
3632
+ }>, "strip", z.ZodTypeAny, {
3633
+ asset: {
3634
+ icon: string | undefined;
3635
+ priceDatasourceId: string | undefined;
3636
+ symbol: string;
3637
+ type: "CryptoCurrency";
3638
+ id: string;
3639
+ name: string;
3640
+ market: {
3641
+ coingeckoId: string | undefined;
3642
+ marketCapUsd: {
3643
+ value: bigint;
3644
+ decimals: number;
3645
+ } | undefined;
3646
+ };
3647
+ updatedAt: number;
3648
+ } | {
3649
+ icon: string | undefined;
3650
+ symbol: string;
3651
+ type: "FiatCurrency";
3652
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3653
+ name: string;
3654
+ } | {
3655
+ name: string | undefined;
3656
+ symbol: string | undefined;
3657
+ image: string | undefined;
3658
+ metadata: string | undefined;
3659
+ type: "Nft";
3660
+ id: string;
3661
+ updatedAt: number;
3662
+ };
3663
+ amount: {
3664
+ value: bigint;
3665
+ decimals: number;
3666
+ };
3667
+ direction: "none";
3668
+ price?: {
3669
+ cryptoCurrencyId: string;
3670
+ fiatCurrencyId: string;
3671
+ price: {
3672
+ value: bigint;
3673
+ decimals: number;
3674
+ };
3675
+ timestamp: number;
3676
+ } | undefined;
3677
+ from?: string | undefined;
3678
+ to?: string | undefined;
3679
+ }, {
3680
+ asset: {
3681
+ symbol: string;
3682
+ type: "CryptoCurrency";
3683
+ id: string;
3684
+ name: string;
3685
+ market: {
3686
+ coingeckoId?: string | undefined;
3687
+ marketCapUsd?: {
3688
+ value: bigint;
3689
+ decimals: number;
3690
+ } | undefined;
3691
+ };
3692
+ updatedAt: number;
3693
+ icon?: string | undefined;
3694
+ priceDatasourceId?: string | undefined;
3695
+ } | {
3696
+ symbol: string;
3697
+ type: "FiatCurrency";
3698
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3699
+ name: string;
3700
+ icon?: string | undefined;
3701
+ } | {
3702
+ type: "Nft";
3703
+ id: string;
3704
+ updatedAt: number;
3705
+ symbol?: string | undefined;
3706
+ name?: string | undefined;
3707
+ image?: string | undefined;
3708
+ metadata?: string | undefined;
3709
+ };
3710
+ amount: {
3711
+ value: bigint;
3712
+ decimals: number;
3713
+ };
3714
+ direction: "none";
3715
+ price?: {
3716
+ cryptoCurrencyId: string;
3717
+ fiatCurrencyId: string;
3718
+ price: {
3719
+ value: bigint;
3720
+ decimals: number;
3721
+ };
3722
+ timestamp: number;
3723
+ } | undefined;
3724
+ from?: string | undefined;
3725
+ to?: string | undefined;
3726
+ }>, {
3727
+ from: string | undefined;
3728
+ to: string | undefined;
3729
+ price: {
3730
+ cryptoCurrencyId: string;
3731
+ fiatCurrencyId: string;
3732
+ price: {
3733
+ value: bigint;
3734
+ decimals: number;
3735
+ };
3736
+ timestamp: number;
3737
+ } | undefined;
3738
+ asset: {
3739
+ icon: string | undefined;
3740
+ priceDatasourceId: string | undefined;
3741
+ symbol: string;
3742
+ type: "CryptoCurrency";
3743
+ id: string;
3744
+ name: string;
3745
+ market: {
3746
+ coingeckoId: string | undefined;
3747
+ marketCapUsd: {
1212
3748
  value: bigint;
1213
3749
  decimals: number;
1214
3750
  } | undefined;
1215
3751
  };
1216
3752
  updatedAt: number;
1217
- icon?: string | undefined;
1218
- priceDatasourceId?: string | undefined;
1219
3753
  } | {
3754
+ icon: string | undefined;
1220
3755
  symbol: string;
1221
3756
  type: "FiatCurrency";
1222
3757
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1223
3758
  name: string;
1224
- icon?: string | undefined;
1225
3759
  } | {
3760
+ name: string | undefined;
3761
+ symbol: string | undefined;
3762
+ image: string | undefined;
3763
+ metadata: string | undefined;
1226
3764
  type: "Nft";
1227
3765
  id: string;
1228
3766
  updatedAt: number;
1229
- name?: string | undefined;
1230
- symbol?: string | undefined;
1231
- image?: string | undefined;
1232
- metadata?: string | undefined;
1233
3767
  };
1234
3768
  amount: {
1235
3769
  value: bigint;
1236
3770
  decimals: number;
1237
3771
  };
1238
- direction: "in";
1239
- price?: {
1240
- cryptoCurrencyId: string;
1241
- fiatCurrencyId: string;
1242
- price: {
1243
- value: bigint;
1244
- decimals: number;
1245
- };
1246
- timestamp: number;
1247
- } | undefined;
1248
- from?: string | undefined;
1249
- to?: string | undefined;
1250
- } | {
3772
+ direction: "none";
3773
+ }, {
1251
3774
  asset: {
1252
3775
  symbol: string;
1253
3776
  type: "CryptoCurrency";
@@ -1273,8 +3796,8 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1273
3796
  type: "Nft";
1274
3797
  id: string;
1275
3798
  updatedAt: number;
1276
- name?: string | undefined;
1277
3799
  symbol?: string | undefined;
3800
+ name?: string | undefined;
1278
3801
  image?: string | undefined;
1279
3802
  metadata?: string | undefined;
1280
3803
  };
@@ -1282,7 +3805,7 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1282
3805
  value: bigint;
1283
3806
  decimals: number;
1284
3807
  };
1285
- direction: "out";
3808
+ direction: "none";
1286
3809
  price?: {
1287
3810
  cryptoCurrencyId: string;
1288
3811
  fiatCurrencyId: string;
@@ -1294,97 +3817,14 @@ export declare const normalActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1294
3817
  } | undefined;
1295
3818
  from?: string | undefined;
1296
3819
  to?: string | undefined;
1297
- })[];
1298
- crossId: string;
1299
- crossType: "start" | "middle" | "end";
1300
- comment?: string | undefined;
1301
- app?: {
1302
- id: string;
1303
- name: string;
1304
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1305
- description?: string | undefined;
1306
- website?: string | undefined;
1307
- icon?: string | undefined;
1308
- } | undefined;
1309
- }>;
1310
- export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
3820
+ }>]>, "many">;
3821
+ }, {
1311
3822
  type: z.ZodLiteral<"CrossAccountAction">;
1312
- timestamp: z.ZodNumber;
1313
- order: z.ZodNumber;
1314
- source: z.ZodString;
1315
- evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
1316
- comment: z.ZodOptional<z.ZodString>;
1317
- app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1318
- id: z.ZodString;
1319
- 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">;
1320
- name: z.ZodString;
1321
- description: z.ZodOptional<z.ZodString>;
1322
- website: z.ZodOptional<z.ZodString>;
1323
- icon: z.ZodOptional<z.ZodString>;
1324
- }, "strip", z.ZodTypeAny, {
1325
- id: string;
1326
- name: string;
1327
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1328
- description?: string | undefined;
1329
- website?: string | undefined;
1330
- icon?: string | undefined;
1331
- }, {
1332
- id: string;
1333
- name: string;
1334
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1335
- description?: string | undefined;
1336
- website?: string | undefined;
1337
- icon?: string | undefined;
1338
- }>, {
1339
- description: string | undefined;
1340
- website: string | undefined;
1341
- icon: string | undefined;
1342
- id: string;
1343
- name: string;
1344
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1345
- }, {
1346
- id: string;
1347
- name: string;
1348
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1349
- description?: string | undefined;
1350
- website?: string | undefined;
1351
- icon?: string | undefined;
1352
- }>>;
1353
3823
  crossId: z.ZodString;
1354
3824
  crossType: z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"middle">, z.ZodLiteral<"end">]>;
3825
+ }>, {
1355
3826
  action: z.ZodLiteral<"cross-replace">;
1356
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1357
- price: z.ZodOptional<z.ZodObject<{
1358
- cryptoCurrencyId: z.ZodString;
1359
- fiatCurrencyId: z.ZodString;
1360
- price: z.ZodObject<{
1361
- value: z.ZodBigInt;
1362
- decimals: z.ZodNumber;
1363
- }, "strip", z.ZodTypeAny, {
1364
- value: bigint;
1365
- decimals: number;
1366
- }, {
1367
- value: bigint;
1368
- decimals: number;
1369
- }>;
1370
- timestamp: z.ZodNumber;
1371
- }, "strip", z.ZodTypeAny, {
1372
- cryptoCurrencyId: string;
1373
- fiatCurrencyId: string;
1374
- price: {
1375
- value: bigint;
1376
- decimals: number;
1377
- };
1378
- timestamp: number;
1379
- }, {
1380
- cryptoCurrencyId: string;
1381
- fiatCurrencyId: string;
1382
- price: {
1383
- value: bigint;
1384
- decimals: number;
1385
- };
1386
- timestamp: number;
1387
- }>>;
3827
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1388
3828
  from: z.ZodOptional<z.ZodString>;
1389
3829
  to: z.ZodOptional<z.ZodString>;
1390
3830
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -1534,16 +3974,16 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1534
3974
  type: "Nft";
1535
3975
  id: string;
1536
3976
  updatedAt: number;
1537
- name?: string | undefined;
1538
3977
  symbol?: string | undefined;
3978
+ name?: string | undefined;
1539
3979
  image?: string | undefined;
1540
3980
  metadata?: string | undefined;
1541
3981
  }, {
1542
3982
  type: "Nft";
1543
3983
  id: string;
1544
3984
  updatedAt: number;
1545
- name?: string | undefined;
1546
3985
  symbol?: string | undefined;
3986
+ name?: string | undefined;
1547
3987
  image?: string | undefined;
1548
3988
  metadata?: string | undefined;
1549
3989
  }>, {
@@ -1558,8 +3998,8 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1558
3998
  type: "Nft";
1559
3999
  id: string;
1560
4000
  updatedAt: number;
1561
- name?: string | undefined;
1562
4001
  symbol?: string | undefined;
4002
+ name?: string | undefined;
1563
4003
  image?: string | undefined;
1564
4004
  metadata?: string | undefined;
1565
4005
  }>]>;
@@ -1573,8 +4013,40 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1573
4013
  value: bigint;
1574
4014
  decimals: number;
1575
4015
  }>;
4016
+ price: z.ZodOptional<z.ZodObject<{
4017
+ cryptoCurrencyId: z.ZodString;
4018
+ fiatCurrencyId: z.ZodString;
4019
+ price: z.ZodObject<{
4020
+ value: z.ZodBigInt;
4021
+ decimals: z.ZodNumber;
4022
+ }, "strip", z.ZodTypeAny, {
4023
+ value: bigint;
4024
+ decimals: number;
4025
+ }, {
4026
+ value: bigint;
4027
+ decimals: number;
4028
+ }>;
4029
+ timestamp: z.ZodNumber;
4030
+ }, "strip", z.ZodTypeAny, {
4031
+ cryptoCurrencyId: string;
4032
+ fiatCurrencyId: string;
4033
+ price: {
4034
+ value: bigint;
4035
+ decimals: number;
4036
+ };
4037
+ timestamp: number;
4038
+ }, {
4039
+ cryptoCurrencyId: string;
4040
+ fiatCurrencyId: string;
4041
+ price: {
4042
+ value: bigint;
4043
+ decimals: number;
4044
+ };
4045
+ timestamp: number;
4046
+ }>>;
4047
+ }, {
1576
4048
  direction: z.ZodLiteral<"in">;
1577
- }, "strip", z.ZodTypeAny, {
4049
+ }>, "strip", z.ZodTypeAny, {
1578
4050
  asset: {
1579
4051
  icon: string | undefined;
1580
4052
  priceDatasourceId: string | undefined;
@@ -1647,8 +4119,8 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1647
4119
  type: "Nft";
1648
4120
  id: string;
1649
4121
  updatedAt: number;
1650
- name?: string | undefined;
1651
4122
  symbol?: string | undefined;
4123
+ name?: string | undefined;
1652
4124
  image?: string | undefined;
1653
4125
  metadata?: string | undefined;
1654
4126
  };
@@ -1741,8 +4213,8 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1741
4213
  type: "Nft";
1742
4214
  id: string;
1743
4215
  updatedAt: number;
1744
- name?: string | undefined;
1745
4216
  symbol?: string | undefined;
4217
+ name?: string | undefined;
1746
4218
  image?: string | undefined;
1747
4219
  metadata?: string | undefined;
1748
4220
  };
@@ -1762,38 +4234,7 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1762
4234
  } | undefined;
1763
4235
  from?: string | undefined;
1764
4236
  to?: string | undefined;
1765
- }>, z.ZodEffects<z.ZodObject<{
1766
- price: z.ZodOptional<z.ZodObject<{
1767
- cryptoCurrencyId: z.ZodString;
1768
- fiatCurrencyId: z.ZodString;
1769
- price: z.ZodObject<{
1770
- value: z.ZodBigInt;
1771
- decimals: z.ZodNumber;
1772
- }, "strip", z.ZodTypeAny, {
1773
- value: bigint;
1774
- decimals: number;
1775
- }, {
1776
- value: bigint;
1777
- decimals: number;
1778
- }>;
1779
- timestamp: z.ZodNumber;
1780
- }, "strip", z.ZodTypeAny, {
1781
- cryptoCurrencyId: string;
1782
- fiatCurrencyId: string;
1783
- price: {
1784
- value: bigint;
1785
- decimals: number;
1786
- };
1787
- timestamp: number;
1788
- }, {
1789
- cryptoCurrencyId: string;
1790
- fiatCurrencyId: string;
1791
- price: {
1792
- value: bigint;
1793
- decimals: number;
1794
- };
1795
- timestamp: number;
1796
- }>>;
4237
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1797
4238
  from: z.ZodOptional<z.ZodString>;
1798
4239
  to: z.ZodOptional<z.ZodString>;
1799
4240
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -1943,16 +4384,16 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1943
4384
  type: "Nft";
1944
4385
  id: string;
1945
4386
  updatedAt: number;
1946
- name?: string | undefined;
1947
4387
  symbol?: string | undefined;
4388
+ name?: string | undefined;
1948
4389
  image?: string | undefined;
1949
4390
  metadata?: string | undefined;
1950
4391
  }, {
1951
4392
  type: "Nft";
1952
4393
  id: string;
1953
4394
  updatedAt: number;
1954
- name?: string | undefined;
1955
4395
  symbol?: string | undefined;
4396
+ name?: string | undefined;
1956
4397
  image?: string | undefined;
1957
4398
  metadata?: string | undefined;
1958
4399
  }>, {
@@ -1967,8 +4408,8 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1967
4408
  type: "Nft";
1968
4409
  id: string;
1969
4410
  updatedAt: number;
1970
- name?: string | undefined;
1971
4411
  symbol?: string | undefined;
4412
+ name?: string | undefined;
1972
4413
  image?: string | undefined;
1973
4414
  metadata?: string | undefined;
1974
4415
  }>]>;
@@ -1982,8 +4423,40 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
1982
4423
  value: bigint;
1983
4424
  decimals: number;
1984
4425
  }>;
4426
+ price: z.ZodOptional<z.ZodObject<{
4427
+ cryptoCurrencyId: z.ZodString;
4428
+ fiatCurrencyId: z.ZodString;
4429
+ price: z.ZodObject<{
4430
+ value: z.ZodBigInt;
4431
+ decimals: z.ZodNumber;
4432
+ }, "strip", z.ZodTypeAny, {
4433
+ value: bigint;
4434
+ decimals: number;
4435
+ }, {
4436
+ value: bigint;
4437
+ decimals: number;
4438
+ }>;
4439
+ timestamp: z.ZodNumber;
4440
+ }, "strip", z.ZodTypeAny, {
4441
+ cryptoCurrencyId: string;
4442
+ fiatCurrencyId: string;
4443
+ price: {
4444
+ value: bigint;
4445
+ decimals: number;
4446
+ };
4447
+ timestamp: number;
4448
+ }, {
4449
+ cryptoCurrencyId: string;
4450
+ fiatCurrencyId: string;
4451
+ price: {
4452
+ value: bigint;
4453
+ decimals: number;
4454
+ };
4455
+ timestamp: number;
4456
+ }>>;
4457
+ }, {
1985
4458
  direction: z.ZodLiteral<"out">;
1986
- }, "strip", z.ZodTypeAny, {
4459
+ }>, "strip", z.ZodTypeAny, {
1987
4460
  asset: {
1988
4461
  icon: string | undefined;
1989
4462
  priceDatasourceId: string | undefined;
@@ -2056,8 +4529,8 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
2056
4529
  type: "Nft";
2057
4530
  id: string;
2058
4531
  updatedAt: number;
2059
- name?: string | undefined;
2060
4532
  symbol?: string | undefined;
4533
+ name?: string | undefined;
2061
4534
  image?: string | undefined;
2062
4535
  metadata?: string | undefined;
2063
4536
  };
@@ -2150,8 +4623,8 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
2150
4623
  type: "Nft";
2151
4624
  id: string;
2152
4625
  updatedAt: number;
2153
- name?: string | undefined;
2154
4626
  symbol?: string | undefined;
4627
+ name?: string | undefined;
2155
4628
  image?: string | undefined;
2156
4629
  metadata?: string | undefined;
2157
4630
  };
@@ -2172,7 +4645,7 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
2172
4645
  from?: string | undefined;
2173
4646
  to?: string | undefined;
2174
4647
  }>]>, "many">;
2175
- }, "strip", z.ZodTypeAny, {
4648
+ }>, "strip", z.ZodTypeAny, {
2176
4649
  type: "CrossAccountAction";
2177
4650
  timestamp: number;
2178
4651
  order: number;
@@ -2318,8 +4791,8 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
2318
4791
  type: "Nft";
2319
4792
  id: string;
2320
4793
  updatedAt: number;
2321
- name?: string | undefined;
2322
4794
  symbol?: string | undefined;
4795
+ name?: string | undefined;
2323
4796
  image?: string | undefined;
2324
4797
  metadata?: string | undefined;
2325
4798
  };
@@ -2365,8 +4838,8 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
2365
4838
  type: "Nft";
2366
4839
  id: string;
2367
4840
  updatedAt: number;
2368
- name?: string | undefined;
2369
4841
  symbol?: string | undefined;
4842
+ name?: string | undefined;
2370
4843
  image?: string | undefined;
2371
4844
  metadata?: string | undefined;
2372
4845
  };
@@ -2394,9 +4867,9 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
2394
4867
  id: string;
2395
4868
  name: string;
2396
4869
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4870
+ icon?: string | undefined;
2397
4871
  description?: string | undefined;
2398
4872
  website?: string | undefined;
2399
- icon?: string | undefined;
2400
4873
  } | undefined;
2401
4874
  }>, {
2402
4875
  comment: string | undefined;
@@ -2544,8 +5017,8 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
2544
5017
  type: "Nft";
2545
5018
  id: string;
2546
5019
  updatedAt: number;
2547
- name?: string | undefined;
2548
5020
  symbol?: string | undefined;
5021
+ name?: string | undefined;
2549
5022
  image?: string | undefined;
2550
5023
  metadata?: string | undefined;
2551
5024
  };
@@ -2591,8 +5064,8 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
2591
5064
  type: "Nft";
2592
5065
  id: string;
2593
5066
  updatedAt: number;
2594
- name?: string | undefined;
2595
5067
  symbol?: string | undefined;
5068
+ name?: string | undefined;
2596
5069
  image?: string | undefined;
2597
5070
  metadata?: string | undefined;
2598
5071
  };
@@ -2620,9 +5093,9 @@ export declare const accountActionCrossReplaceSchema: z.ZodEffects<z.ZodObject<{
2620
5093
  id: string;
2621
5094
  name: string;
2622
5095
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
5096
+ icon?: string | undefined;
2623
5097
  description?: string | undefined;
2624
5098
  website?: string | undefined;
2625
- icon?: string | undefined;
2626
5099
  } | undefined;
2627
5100
  }>;
2628
5101
  //# sourceMappingURL=crossReplace.d.ts.map