@0xtorch/core 0.0.32 → 0.0.34

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