@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 normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
2
+ export declare const normalActionTransferSchema: 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 normalActionTransferSchema: 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,42 +37,11 @@ export declare const normalActionTransferSchema: 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
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
44
- price: z.ZodOptional<z.ZodObject<{
45
- cryptoCurrencyId: z.ZodString;
46
- fiatCurrencyId: z.ZodString;
47
- price: z.ZodObject<{
48
- value: z.ZodBigInt;
49
- decimals: z.ZodNumber;
50
- }, "strip", z.ZodTypeAny, {
51
- value: bigint;
52
- decimals: number;
53
- }, {
54
- value: bigint;
55
- decimals: number;
56
- }>;
57
- timestamp: z.ZodNumber;
58
- }, "strip", z.ZodTypeAny, {
59
- cryptoCurrencyId: string;
60
- fiatCurrencyId: string;
61
- price: {
62
- value: bigint;
63
- decimals: number;
64
- };
65
- timestamp: number;
66
- }, {
67
- cryptoCurrencyId: string;
68
- fiatCurrencyId: string;
69
- price: {
70
- value: bigint;
71
- decimals: number;
72
- };
73
- timestamp: number;
74
- }>>;
44
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
75
45
  from: z.ZodOptional<z.ZodString>;
76
46
  to: z.ZodOptional<z.ZodString>;
77
47
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -221,16 +191,16 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
221
191
  type: "Nft";
222
192
  id: string;
223
193
  updatedAt: number;
224
- name?: string | undefined;
225
194
  symbol?: string | undefined;
195
+ name?: string | undefined;
226
196
  image?: string | undefined;
227
197
  metadata?: string | undefined;
228
198
  }, {
229
199
  type: "Nft";
230
200
  id: string;
231
201
  updatedAt: number;
232
- name?: string | undefined;
233
202
  symbol?: string | undefined;
203
+ name?: string | undefined;
234
204
  image?: string | undefined;
235
205
  metadata?: string | undefined;
236
206
  }>, {
@@ -245,8 +215,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
245
215
  type: "Nft";
246
216
  id: string;
247
217
  updatedAt: number;
248
- name?: string | undefined;
249
218
  symbol?: string | undefined;
219
+ name?: string | undefined;
250
220
  image?: string | undefined;
251
221
  metadata?: string | undefined;
252
222
  }>]>;
@@ -260,8 +230,40 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
260
230
  value: bigint;
261
231
  decimals: number;
262
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
+ }, {
263
265
  direction: z.ZodLiteral<"in">;
264
- }, "strip", z.ZodTypeAny, {
266
+ }>, "strip", z.ZodTypeAny, {
265
267
  asset: {
266
268
  icon: string | undefined;
267
269
  priceDatasourceId: string | undefined;
@@ -334,8 +336,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
334
336
  type: "Nft";
335
337
  id: string;
336
338
  updatedAt: number;
337
- name?: string | undefined;
338
339
  symbol?: string | undefined;
340
+ name?: string | undefined;
339
341
  image?: string | undefined;
340
342
  metadata?: string | undefined;
341
343
  };
@@ -428,8 +430,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
428
430
  type: "Nft";
429
431
  id: string;
430
432
  updatedAt: number;
431
- name?: string | undefined;
432
433
  symbol?: string | undefined;
434
+ name?: string | undefined;
433
435
  image?: string | undefined;
434
436
  metadata?: string | undefined;
435
437
  };
@@ -449,38 +451,7 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
449
451
  } | undefined;
450
452
  from?: string | undefined;
451
453
  to?: string | undefined;
452
- }>, z.ZodEffects<z.ZodObject<{
453
- price: z.ZodOptional<z.ZodObject<{
454
- cryptoCurrencyId: z.ZodString;
455
- fiatCurrencyId: z.ZodString;
456
- price: z.ZodObject<{
457
- value: z.ZodBigInt;
458
- decimals: z.ZodNumber;
459
- }, "strip", z.ZodTypeAny, {
460
- value: bigint;
461
- decimals: number;
462
- }, {
463
- value: bigint;
464
- decimals: number;
465
- }>;
466
- timestamp: z.ZodNumber;
467
- }, "strip", z.ZodTypeAny, {
468
- cryptoCurrencyId: string;
469
- fiatCurrencyId: string;
470
- price: {
471
- value: bigint;
472
- decimals: number;
473
- };
474
- timestamp: number;
475
- }, {
476
- cryptoCurrencyId: string;
477
- fiatCurrencyId: string;
478
- price: {
479
- value: bigint;
480
- decimals: number;
481
- };
482
- timestamp: number;
483
- }>>;
454
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
484
455
  from: z.ZodOptional<z.ZodString>;
485
456
  to: z.ZodOptional<z.ZodString>;
486
457
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -630,16 +601,16 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
630
601
  type: "Nft";
631
602
  id: string;
632
603
  updatedAt: number;
633
- name?: string | undefined;
634
604
  symbol?: string | undefined;
605
+ name?: string | undefined;
635
606
  image?: string | undefined;
636
607
  metadata?: string | undefined;
637
608
  }, {
638
609
  type: "Nft";
639
610
  id: string;
640
611
  updatedAt: number;
641
- name?: string | undefined;
642
612
  symbol?: string | undefined;
613
+ name?: string | undefined;
643
614
  image?: string | undefined;
644
615
  metadata?: string | undefined;
645
616
  }>, {
@@ -654,8 +625,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
654
625
  type: "Nft";
655
626
  id: string;
656
627
  updatedAt: number;
657
- name?: string | undefined;
658
628
  symbol?: string | undefined;
629
+ name?: string | undefined;
659
630
  image?: string | undefined;
660
631
  metadata?: string | undefined;
661
632
  }>]>;
@@ -669,8 +640,40 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
669
640
  value: bigint;
670
641
  decimals: number;
671
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
+ }, {
672
675
  direction: z.ZodLiteral<"out">;
673
- }, "strip", z.ZodTypeAny, {
676
+ }>, "strip", z.ZodTypeAny, {
674
677
  asset: {
675
678
  icon: string | undefined;
676
679
  priceDatasourceId: string | undefined;
@@ -743,8 +746,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
743
746
  type: "Nft";
744
747
  id: string;
745
748
  updatedAt: number;
746
- name?: string | undefined;
747
749
  symbol?: string | undefined;
750
+ name?: string | undefined;
748
751
  image?: string | undefined;
749
752
  metadata?: string | undefined;
750
753
  };
@@ -837,8 +840,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
837
840
  type: "Nft";
838
841
  id: string;
839
842
  updatedAt: number;
840
- name?: string | undefined;
841
843
  symbol?: string | undefined;
844
+ name?: string | undefined;
842
845
  image?: string | undefined;
843
846
  metadata?: string | undefined;
844
847
  };
@@ -858,38 +861,7 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
858
861
  } | undefined;
859
862
  from?: string | undefined;
860
863
  to?: string | undefined;
861
- }>, z.ZodEffects<z.ZodObject<{
862
- price: z.ZodOptional<z.ZodObject<{
863
- cryptoCurrencyId: z.ZodString;
864
- fiatCurrencyId: z.ZodString;
865
- price: z.ZodObject<{
866
- value: z.ZodBigInt;
867
- decimals: z.ZodNumber;
868
- }, "strip", z.ZodTypeAny, {
869
- value: bigint;
870
- decimals: number;
871
- }, {
872
- value: bigint;
873
- decimals: number;
874
- }>;
875
- timestamp: z.ZodNumber;
876
- }, "strip", z.ZodTypeAny, {
877
- cryptoCurrencyId: string;
878
- fiatCurrencyId: string;
879
- price: {
880
- value: bigint;
881
- decimals: number;
882
- };
883
- timestamp: number;
884
- }, {
885
- cryptoCurrencyId: string;
886
- fiatCurrencyId: string;
887
- price: {
888
- value: bigint;
889
- decimals: number;
890
- };
891
- timestamp: number;
892
- }>>;
864
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
893
865
  from: z.ZodOptional<z.ZodString>;
894
866
  to: z.ZodOptional<z.ZodString>;
895
867
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -1039,16 +1011,16 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1039
1011
  type: "Nft";
1040
1012
  id: string;
1041
1013
  updatedAt: number;
1042
- name?: string | undefined;
1043
1014
  symbol?: string | undefined;
1015
+ name?: string | undefined;
1044
1016
  image?: string | undefined;
1045
1017
  metadata?: string | undefined;
1046
1018
  }, {
1047
1019
  type: "Nft";
1048
1020
  id: string;
1049
1021
  updatedAt: number;
1050
- name?: string | undefined;
1051
1022
  symbol?: string | undefined;
1023
+ name?: string | undefined;
1052
1024
  image?: string | undefined;
1053
1025
  metadata?: string | undefined;
1054
1026
  }>, {
@@ -1063,8 +1035,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1063
1035
  type: "Nft";
1064
1036
  id: string;
1065
1037
  updatedAt: number;
1066
- name?: string | undefined;
1067
1038
  symbol?: string | undefined;
1039
+ name?: string | undefined;
1068
1040
  image?: string | undefined;
1069
1041
  metadata?: string | undefined;
1070
1042
  }>]>;
@@ -1078,8 +1050,40 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1078
1050
  value: bigint;
1079
1051
  decimals: number;
1080
1052
  }>;
1053
+ price: z.ZodOptional<z.ZodObject<{
1054
+ cryptoCurrencyId: z.ZodString;
1055
+ fiatCurrencyId: z.ZodString;
1056
+ price: z.ZodObject<{
1057
+ value: z.ZodBigInt;
1058
+ decimals: z.ZodNumber;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ value: bigint;
1061
+ decimals: number;
1062
+ }, {
1063
+ value: bigint;
1064
+ decimals: number;
1065
+ }>;
1066
+ timestamp: z.ZodNumber;
1067
+ }, "strip", z.ZodTypeAny, {
1068
+ cryptoCurrencyId: string;
1069
+ fiatCurrencyId: string;
1070
+ price: {
1071
+ value: bigint;
1072
+ decimals: number;
1073
+ };
1074
+ timestamp: number;
1075
+ }, {
1076
+ cryptoCurrencyId: string;
1077
+ fiatCurrencyId: string;
1078
+ price: {
1079
+ value: bigint;
1080
+ decimals: number;
1081
+ };
1082
+ timestamp: number;
1083
+ }>>;
1084
+ }, {
1081
1085
  direction: z.ZodLiteral<"none">;
1082
- }, "strip", z.ZodTypeAny, {
1086
+ }>, "strip", z.ZodTypeAny, {
1083
1087
  asset: {
1084
1088
  icon: string | undefined;
1085
1089
  priceDatasourceId: string | undefined;
@@ -1152,8 +1156,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1152
1156
  type: "Nft";
1153
1157
  id: string;
1154
1158
  updatedAt: number;
1155
- name?: string | undefined;
1156
1159
  symbol?: string | undefined;
1160
+ name?: string | undefined;
1157
1161
  image?: string | undefined;
1158
1162
  metadata?: string | undefined;
1159
1163
  };
@@ -1246,8 +1250,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1246
1250
  type: "Nft";
1247
1251
  id: string;
1248
1252
  updatedAt: number;
1249
- name?: string | undefined;
1250
1253
  symbol?: string | undefined;
1254
+ name?: string | undefined;
1251
1255
  image?: string | undefined;
1252
1256
  metadata?: string | undefined;
1253
1257
  };
@@ -1268,8 +1272,9 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1268
1272
  from?: string | undefined;
1269
1273
  to?: string | undefined;
1270
1274
  }>]>, "many">;
1275
+ }, {
1271
1276
  action: z.ZodLiteral<"transfer">;
1272
- }, "strip", z.ZodTypeAny, {
1277
+ }>, "strip", z.ZodTypeAny, {
1273
1278
  type: "NormalAction";
1274
1279
  timestamp: number;
1275
1280
  action: "transfer";
@@ -1456,8 +1461,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1456
1461
  type: "Nft";
1457
1462
  id: string;
1458
1463
  updatedAt: number;
1459
- name?: string | undefined;
1460
1464
  symbol?: string | undefined;
1465
+ name?: string | undefined;
1461
1466
  image?: string | undefined;
1462
1467
  metadata?: string | undefined;
1463
1468
  };
@@ -1503,8 +1508,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1503
1508
  type: "Nft";
1504
1509
  id: string;
1505
1510
  updatedAt: number;
1506
- name?: string | undefined;
1507
1511
  symbol?: string | undefined;
1512
+ name?: string | undefined;
1508
1513
  image?: string | undefined;
1509
1514
  metadata?: string | undefined;
1510
1515
  };
@@ -1550,8 +1555,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1550
1555
  type: "Nft";
1551
1556
  id: string;
1552
1557
  updatedAt: number;
1553
- name?: string | undefined;
1554
1558
  symbol?: string | undefined;
1559
+ name?: string | undefined;
1555
1560
  image?: string | undefined;
1556
1561
  metadata?: string | undefined;
1557
1562
  };
@@ -1577,9 +1582,9 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1577
1582
  id: string;
1578
1583
  name: string;
1579
1584
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1585
+ icon?: string | undefined;
1580
1586
  description?: string | undefined;
1581
1587
  website?: string | undefined;
1582
- icon?: string | undefined;
1583
1588
  } | undefined;
1584
1589
  }>, {
1585
1590
  comment: string | undefined;
@@ -1768,8 +1773,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1768
1773
  type: "Nft";
1769
1774
  id: string;
1770
1775
  updatedAt: number;
1771
- name?: string | undefined;
1772
1776
  symbol?: string | undefined;
1777
+ name?: string | undefined;
1773
1778
  image?: string | undefined;
1774
1779
  metadata?: string | undefined;
1775
1780
  };
@@ -1815,8 +1820,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1815
1820
  type: "Nft";
1816
1821
  id: string;
1817
1822
  updatedAt: number;
1818
- name?: string | undefined;
1819
1823
  symbol?: string | undefined;
1824
+ name?: string | undefined;
1820
1825
  image?: string | undefined;
1821
1826
  metadata?: string | undefined;
1822
1827
  };
@@ -1862,8 +1867,8 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1862
1867
  type: "Nft";
1863
1868
  id: string;
1864
1869
  updatedAt: number;
1865
- name?: string | undefined;
1866
1870
  symbol?: string | undefined;
1871
+ name?: string | undefined;
1867
1872
  image?: string | undefined;
1868
1873
  metadata?: string | undefined;
1869
1874
  };
@@ -1889,17 +1894,17 @@ export declare const normalActionTransferSchema: z.ZodEffects<z.ZodObject<{
1889
1894
  id: string;
1890
1895
  name: string;
1891
1896
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1897
+ icon?: string | undefined;
1892
1898
  description?: string | undefined;
1893
1899
  website?: string | undefined;
1894
- icon?: string | undefined;
1895
1900
  } | undefined;
1896
1901
  }>;
1897
- export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
1898
- type: z.ZodLiteral<"NormalAccountAction">;
1899
- timestamp: z.ZodNumber;
1900
- order: z.ZodNumber;
1902
+ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1903
+ 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">]>;
1901
1904
  source: z.ZodString;
1902
1905
  evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
1906
+ timestamp: z.ZodNumber;
1907
+ order: z.ZodNumber;
1903
1908
  comment: z.ZodOptional<z.ZodString>;
1904
1909
  app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1905
1910
  id: z.ZodString;
@@ -1912,16 +1917,16 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
1912
1917
  id: string;
1913
1918
  name: string;
1914
1919
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1920
+ icon?: string | undefined;
1915
1921
  description?: string | undefined;
1916
1922
  website?: string | undefined;
1917
- icon?: string | undefined;
1918
1923
  }, {
1919
1924
  id: string;
1920
1925
  name: string;
1921
1926
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1927
+ icon?: string | undefined;
1922
1928
  description?: string | undefined;
1923
1929
  website?: string | undefined;
1924
- icon?: string | undefined;
1925
1930
  }>, {
1926
1931
  description: string | undefined;
1927
1932
  website: string | undefined;
@@ -1933,12 +1938,1019 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
1933
1938
  id: string;
1934
1939
  name: string;
1935
1940
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1941
+ icon?: string | undefined;
1936
1942
  description?: string | undefined;
1937
1943
  website?: string | undefined;
1938
- icon?: string | undefined;
1939
1944
  }>>;
1940
- action: z.ZodLiteral<"transfer">;
1941
- transfers: z.ZodArray<z.ZodEffects<z.ZodObject<{
1945
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1946
+ from: z.ZodOptional<z.ZodString>;
1947
+ to: z.ZodOptional<z.ZodString>;
1948
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1949
+ type: z.ZodLiteral<"CryptoCurrency">;
1950
+ id: z.ZodString;
1951
+ name: z.ZodString;
1952
+ symbol: z.ZodString;
1953
+ icon: z.ZodOptional<z.ZodString>;
1954
+ market: z.ZodEffects<z.ZodObject<{
1955
+ coingeckoId: z.ZodOptional<z.ZodString>;
1956
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1957
+ value: z.ZodBigInt;
1958
+ decimals: z.ZodNumber;
1959
+ }, "strip", z.ZodTypeAny, {
1960
+ value: bigint;
1961
+ decimals: number;
1962
+ }, {
1963
+ value: bigint;
1964
+ decimals: number;
1965
+ }>>;
1966
+ }, "strip", z.ZodTypeAny, {
1967
+ coingeckoId?: string | undefined;
1968
+ marketCapUsd?: {
1969
+ value: bigint;
1970
+ decimals: number;
1971
+ } | undefined;
1972
+ }, {
1973
+ coingeckoId?: string | undefined;
1974
+ marketCapUsd?: {
1975
+ value: bigint;
1976
+ decimals: number;
1977
+ } | undefined;
1978
+ }>, {
1979
+ coingeckoId: string | undefined;
1980
+ marketCapUsd: {
1981
+ value: bigint;
1982
+ decimals: number;
1983
+ } | undefined;
1984
+ }, {
1985
+ coingeckoId?: string | undefined;
1986
+ marketCapUsd?: {
1987
+ value: bigint;
1988
+ decimals: number;
1989
+ } | undefined;
1990
+ }>;
1991
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1992
+ updatedAt: z.ZodNumber;
1993
+ }, "strip", z.ZodTypeAny, {
1994
+ symbol: string;
1995
+ type: "CryptoCurrency";
1996
+ id: string;
1997
+ name: string;
1998
+ market: {
1999
+ coingeckoId: string | undefined;
2000
+ marketCapUsd: {
2001
+ value: bigint;
2002
+ decimals: number;
2003
+ } | undefined;
2004
+ };
2005
+ updatedAt: number;
2006
+ icon?: string | undefined;
2007
+ priceDatasourceId?: string | undefined;
2008
+ }, {
2009
+ symbol: string;
2010
+ type: "CryptoCurrency";
2011
+ id: string;
2012
+ name: string;
2013
+ market: {
2014
+ coingeckoId?: string | undefined;
2015
+ marketCapUsd?: {
2016
+ value: bigint;
2017
+ decimals: number;
2018
+ } | undefined;
2019
+ };
2020
+ updatedAt: number;
2021
+ icon?: string | undefined;
2022
+ priceDatasourceId?: string | undefined;
2023
+ }>, {
2024
+ icon: string | undefined;
2025
+ priceDatasourceId: string | undefined;
2026
+ symbol: string;
2027
+ type: "CryptoCurrency";
2028
+ id: string;
2029
+ name: string;
2030
+ market: {
2031
+ coingeckoId: string | undefined;
2032
+ marketCapUsd: {
2033
+ value: bigint;
2034
+ decimals: number;
2035
+ } | undefined;
2036
+ };
2037
+ updatedAt: number;
2038
+ }, {
2039
+ symbol: string;
2040
+ type: "CryptoCurrency";
2041
+ id: string;
2042
+ name: string;
2043
+ market: {
2044
+ coingeckoId?: string | undefined;
2045
+ marketCapUsd?: {
2046
+ value: bigint;
2047
+ decimals: number;
2048
+ } | undefined;
2049
+ };
2050
+ updatedAt: number;
2051
+ icon?: string | undefined;
2052
+ priceDatasourceId?: string | undefined;
2053
+ }>, z.ZodEffects<z.ZodObject<{
2054
+ type: z.ZodLiteral<"FiatCurrency">;
2055
+ 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">]>;
2056
+ name: z.ZodString;
2057
+ symbol: z.ZodString;
2058
+ icon: z.ZodOptional<z.ZodString>;
2059
+ }, "strip", z.ZodTypeAny, {
2060
+ symbol: string;
2061
+ type: "FiatCurrency";
2062
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2063
+ name: string;
2064
+ icon?: string | undefined;
2065
+ }, {
2066
+ symbol: string;
2067
+ type: "FiatCurrency";
2068
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2069
+ name: string;
2070
+ icon?: string | undefined;
2071
+ }>, {
2072
+ icon: string | undefined;
2073
+ symbol: string;
2074
+ type: "FiatCurrency";
2075
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2076
+ name: string;
2077
+ }, {
2078
+ symbol: string;
2079
+ type: "FiatCurrency";
2080
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2081
+ name: string;
2082
+ icon?: string | undefined;
2083
+ }>, z.ZodEffects<z.ZodObject<{
2084
+ type: z.ZodLiteral<"Nft">;
2085
+ id: z.ZodString;
2086
+ name: z.ZodOptional<z.ZodString>;
2087
+ symbol: z.ZodOptional<z.ZodString>;
2088
+ image: z.ZodOptional<z.ZodString>;
2089
+ metadata: z.ZodOptional<z.ZodString>;
2090
+ updatedAt: z.ZodNumber;
2091
+ }, "strip", z.ZodTypeAny, {
2092
+ type: "Nft";
2093
+ id: string;
2094
+ updatedAt: number;
2095
+ symbol?: string | undefined;
2096
+ name?: string | undefined;
2097
+ image?: string | undefined;
2098
+ metadata?: string | undefined;
2099
+ }, {
2100
+ type: "Nft";
2101
+ id: string;
2102
+ updatedAt: number;
2103
+ symbol?: string | undefined;
2104
+ name?: string | undefined;
2105
+ image?: string | undefined;
2106
+ metadata?: string | undefined;
2107
+ }>, {
2108
+ name: string | undefined;
2109
+ symbol: string | undefined;
2110
+ image: string | undefined;
2111
+ metadata: string | undefined;
2112
+ type: "Nft";
2113
+ id: string;
2114
+ updatedAt: number;
2115
+ }, {
2116
+ type: "Nft";
2117
+ id: string;
2118
+ updatedAt: number;
2119
+ symbol?: string | undefined;
2120
+ name?: string | undefined;
2121
+ image?: string | undefined;
2122
+ metadata?: string | undefined;
2123
+ }>]>;
2124
+ amount: z.ZodObject<{
2125
+ value: z.ZodBigInt;
2126
+ decimals: z.ZodNumber;
2127
+ }, "strip", z.ZodTypeAny, {
2128
+ value: bigint;
2129
+ decimals: number;
2130
+ }, {
2131
+ value: bigint;
2132
+ decimals: number;
2133
+ }>;
2134
+ price: z.ZodOptional<z.ZodObject<{
2135
+ cryptoCurrencyId: z.ZodString;
2136
+ fiatCurrencyId: z.ZodString;
2137
+ price: z.ZodObject<{
2138
+ value: z.ZodBigInt;
2139
+ decimals: z.ZodNumber;
2140
+ }, "strip", z.ZodTypeAny, {
2141
+ value: bigint;
2142
+ decimals: number;
2143
+ }, {
2144
+ value: bigint;
2145
+ decimals: number;
2146
+ }>;
2147
+ timestamp: z.ZodNumber;
2148
+ }, "strip", z.ZodTypeAny, {
2149
+ cryptoCurrencyId: string;
2150
+ fiatCurrencyId: string;
2151
+ price: {
2152
+ value: bigint;
2153
+ decimals: number;
2154
+ };
2155
+ timestamp: number;
2156
+ }, {
2157
+ cryptoCurrencyId: string;
2158
+ fiatCurrencyId: string;
2159
+ price: {
2160
+ value: bigint;
2161
+ decimals: number;
2162
+ };
2163
+ timestamp: number;
2164
+ }>>;
2165
+ }, {
2166
+ direction: z.ZodLiteral<"in">;
2167
+ }>, "strip", z.ZodTypeAny, {
2168
+ asset: {
2169
+ icon: string | undefined;
2170
+ priceDatasourceId: string | undefined;
2171
+ symbol: string;
2172
+ type: "CryptoCurrency";
2173
+ id: string;
2174
+ name: string;
2175
+ market: {
2176
+ coingeckoId: string | undefined;
2177
+ marketCapUsd: {
2178
+ value: bigint;
2179
+ decimals: number;
2180
+ } | undefined;
2181
+ };
2182
+ updatedAt: number;
2183
+ } | {
2184
+ icon: string | undefined;
2185
+ symbol: string;
2186
+ type: "FiatCurrency";
2187
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2188
+ name: string;
2189
+ } | {
2190
+ name: string | undefined;
2191
+ symbol: string | undefined;
2192
+ image: string | undefined;
2193
+ metadata: string | undefined;
2194
+ type: "Nft";
2195
+ id: string;
2196
+ updatedAt: number;
2197
+ };
2198
+ amount: {
2199
+ value: bigint;
2200
+ decimals: number;
2201
+ };
2202
+ direction: "in";
2203
+ price?: {
2204
+ cryptoCurrencyId: string;
2205
+ fiatCurrencyId: string;
2206
+ price: {
2207
+ value: bigint;
2208
+ decimals: number;
2209
+ };
2210
+ timestamp: number;
2211
+ } | undefined;
2212
+ from?: string | undefined;
2213
+ to?: string | undefined;
2214
+ }, {
2215
+ asset: {
2216
+ symbol: string;
2217
+ type: "CryptoCurrency";
2218
+ id: string;
2219
+ name: string;
2220
+ market: {
2221
+ coingeckoId?: string | undefined;
2222
+ marketCapUsd?: {
2223
+ value: bigint;
2224
+ decimals: number;
2225
+ } | undefined;
2226
+ };
2227
+ updatedAt: number;
2228
+ icon?: string | undefined;
2229
+ priceDatasourceId?: string | undefined;
2230
+ } | {
2231
+ symbol: string;
2232
+ type: "FiatCurrency";
2233
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2234
+ name: string;
2235
+ icon?: string | undefined;
2236
+ } | {
2237
+ type: "Nft";
2238
+ id: string;
2239
+ updatedAt: number;
2240
+ symbol?: string | undefined;
2241
+ name?: string | undefined;
2242
+ image?: string | undefined;
2243
+ metadata?: string | undefined;
2244
+ };
2245
+ amount: {
2246
+ value: bigint;
2247
+ decimals: number;
2248
+ };
2249
+ direction: "in";
2250
+ price?: {
2251
+ cryptoCurrencyId: string;
2252
+ fiatCurrencyId: string;
2253
+ price: {
2254
+ value: bigint;
2255
+ decimals: number;
2256
+ };
2257
+ timestamp: number;
2258
+ } | undefined;
2259
+ from?: string | undefined;
2260
+ to?: string | undefined;
2261
+ }>, {
2262
+ from: string | undefined;
2263
+ to: string | undefined;
2264
+ price: {
2265
+ cryptoCurrencyId: string;
2266
+ fiatCurrencyId: string;
2267
+ price: {
2268
+ value: bigint;
2269
+ decimals: number;
2270
+ };
2271
+ timestamp: number;
2272
+ } | undefined;
2273
+ asset: {
2274
+ icon: string | undefined;
2275
+ priceDatasourceId: string | undefined;
2276
+ symbol: string;
2277
+ type: "CryptoCurrency";
2278
+ id: string;
2279
+ name: string;
2280
+ market: {
2281
+ coingeckoId: string | undefined;
2282
+ marketCapUsd: {
2283
+ value: bigint;
2284
+ decimals: number;
2285
+ } | undefined;
2286
+ };
2287
+ updatedAt: number;
2288
+ } | {
2289
+ icon: string | undefined;
2290
+ symbol: string;
2291
+ type: "FiatCurrency";
2292
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2293
+ name: string;
2294
+ } | {
2295
+ name: string | undefined;
2296
+ symbol: string | undefined;
2297
+ image: string | undefined;
2298
+ metadata: string | undefined;
2299
+ type: "Nft";
2300
+ id: string;
2301
+ updatedAt: number;
2302
+ };
2303
+ amount: {
2304
+ value: bigint;
2305
+ decimals: number;
2306
+ };
2307
+ direction: "in";
2308
+ }, {
2309
+ asset: {
2310
+ symbol: string;
2311
+ type: "CryptoCurrency";
2312
+ id: string;
2313
+ name: string;
2314
+ market: {
2315
+ coingeckoId?: string | undefined;
2316
+ marketCapUsd?: {
2317
+ value: bigint;
2318
+ decimals: number;
2319
+ } | undefined;
2320
+ };
2321
+ updatedAt: number;
2322
+ icon?: string | undefined;
2323
+ priceDatasourceId?: string | undefined;
2324
+ } | {
2325
+ symbol: string;
2326
+ type: "FiatCurrency";
2327
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2328
+ name: string;
2329
+ icon?: string | undefined;
2330
+ } | {
2331
+ type: "Nft";
2332
+ id: string;
2333
+ updatedAt: number;
2334
+ symbol?: string | undefined;
2335
+ name?: string | undefined;
2336
+ image?: string | undefined;
2337
+ metadata?: string | undefined;
2338
+ };
2339
+ amount: {
2340
+ value: bigint;
2341
+ decimals: number;
2342
+ };
2343
+ direction: "in";
2344
+ price?: {
2345
+ cryptoCurrencyId: string;
2346
+ fiatCurrencyId: string;
2347
+ price: {
2348
+ value: bigint;
2349
+ decimals: number;
2350
+ };
2351
+ timestamp: number;
2352
+ } | undefined;
2353
+ from?: string | undefined;
2354
+ to?: string | undefined;
2355
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2356
+ from: z.ZodOptional<z.ZodString>;
2357
+ to: z.ZodOptional<z.ZodString>;
2358
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2359
+ type: z.ZodLiteral<"CryptoCurrency">;
2360
+ id: z.ZodString;
2361
+ name: z.ZodString;
2362
+ symbol: z.ZodString;
2363
+ icon: z.ZodOptional<z.ZodString>;
2364
+ market: z.ZodEffects<z.ZodObject<{
2365
+ coingeckoId: z.ZodOptional<z.ZodString>;
2366
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2367
+ value: z.ZodBigInt;
2368
+ decimals: z.ZodNumber;
2369
+ }, "strip", z.ZodTypeAny, {
2370
+ value: bigint;
2371
+ decimals: number;
2372
+ }, {
2373
+ value: bigint;
2374
+ decimals: number;
2375
+ }>>;
2376
+ }, "strip", z.ZodTypeAny, {
2377
+ coingeckoId?: string | undefined;
2378
+ marketCapUsd?: {
2379
+ value: bigint;
2380
+ decimals: number;
2381
+ } | undefined;
2382
+ }, {
2383
+ coingeckoId?: string | undefined;
2384
+ marketCapUsd?: {
2385
+ value: bigint;
2386
+ decimals: number;
2387
+ } | undefined;
2388
+ }>, {
2389
+ coingeckoId: string | undefined;
2390
+ marketCapUsd: {
2391
+ value: bigint;
2392
+ decimals: number;
2393
+ } | undefined;
2394
+ }, {
2395
+ coingeckoId?: string | undefined;
2396
+ marketCapUsd?: {
2397
+ value: bigint;
2398
+ decimals: number;
2399
+ } | undefined;
2400
+ }>;
2401
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2402
+ updatedAt: z.ZodNumber;
2403
+ }, "strip", z.ZodTypeAny, {
2404
+ symbol: string;
2405
+ type: "CryptoCurrency";
2406
+ id: string;
2407
+ name: string;
2408
+ market: {
2409
+ coingeckoId: string | undefined;
2410
+ marketCapUsd: {
2411
+ value: bigint;
2412
+ decimals: number;
2413
+ } | undefined;
2414
+ };
2415
+ updatedAt: number;
2416
+ icon?: string | undefined;
2417
+ priceDatasourceId?: string | undefined;
2418
+ }, {
2419
+ symbol: string;
2420
+ type: "CryptoCurrency";
2421
+ id: string;
2422
+ name: string;
2423
+ market: {
2424
+ coingeckoId?: string | undefined;
2425
+ marketCapUsd?: {
2426
+ value: bigint;
2427
+ decimals: number;
2428
+ } | undefined;
2429
+ };
2430
+ updatedAt: number;
2431
+ icon?: string | undefined;
2432
+ priceDatasourceId?: string | undefined;
2433
+ }>, {
2434
+ icon: string | undefined;
2435
+ priceDatasourceId: string | undefined;
2436
+ symbol: string;
2437
+ type: "CryptoCurrency";
2438
+ id: string;
2439
+ name: string;
2440
+ market: {
2441
+ coingeckoId: string | undefined;
2442
+ marketCapUsd: {
2443
+ value: bigint;
2444
+ decimals: number;
2445
+ } | undefined;
2446
+ };
2447
+ updatedAt: number;
2448
+ }, {
2449
+ symbol: string;
2450
+ type: "CryptoCurrency";
2451
+ id: string;
2452
+ name: string;
2453
+ market: {
2454
+ coingeckoId?: string | undefined;
2455
+ marketCapUsd?: {
2456
+ value: bigint;
2457
+ decimals: number;
2458
+ } | undefined;
2459
+ };
2460
+ updatedAt: number;
2461
+ icon?: string | undefined;
2462
+ priceDatasourceId?: string | undefined;
2463
+ }>, z.ZodEffects<z.ZodObject<{
2464
+ type: z.ZodLiteral<"FiatCurrency">;
2465
+ 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">]>;
2466
+ name: z.ZodString;
2467
+ symbol: z.ZodString;
2468
+ icon: z.ZodOptional<z.ZodString>;
2469
+ }, "strip", z.ZodTypeAny, {
2470
+ symbol: string;
2471
+ type: "FiatCurrency";
2472
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2473
+ name: string;
2474
+ icon?: string | undefined;
2475
+ }, {
2476
+ symbol: string;
2477
+ type: "FiatCurrency";
2478
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2479
+ name: string;
2480
+ icon?: string | undefined;
2481
+ }>, {
2482
+ icon: string | undefined;
2483
+ symbol: string;
2484
+ type: "FiatCurrency";
2485
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2486
+ name: string;
2487
+ }, {
2488
+ symbol: string;
2489
+ type: "FiatCurrency";
2490
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2491
+ name: string;
2492
+ icon?: string | undefined;
2493
+ }>, z.ZodEffects<z.ZodObject<{
2494
+ type: z.ZodLiteral<"Nft">;
2495
+ id: z.ZodString;
2496
+ name: z.ZodOptional<z.ZodString>;
2497
+ symbol: z.ZodOptional<z.ZodString>;
2498
+ image: z.ZodOptional<z.ZodString>;
2499
+ metadata: z.ZodOptional<z.ZodString>;
2500
+ updatedAt: z.ZodNumber;
2501
+ }, "strip", z.ZodTypeAny, {
2502
+ type: "Nft";
2503
+ id: string;
2504
+ updatedAt: number;
2505
+ symbol?: string | undefined;
2506
+ name?: string | undefined;
2507
+ image?: string | undefined;
2508
+ metadata?: string | undefined;
2509
+ }, {
2510
+ type: "Nft";
2511
+ id: string;
2512
+ updatedAt: number;
2513
+ symbol?: string | undefined;
2514
+ name?: string | undefined;
2515
+ image?: string | undefined;
2516
+ metadata?: string | undefined;
2517
+ }>, {
2518
+ name: string | undefined;
2519
+ symbol: string | undefined;
2520
+ image: string | undefined;
2521
+ metadata: string | undefined;
2522
+ type: "Nft";
2523
+ id: string;
2524
+ updatedAt: number;
2525
+ }, {
2526
+ type: "Nft";
2527
+ id: string;
2528
+ updatedAt: number;
2529
+ symbol?: string | undefined;
2530
+ name?: string | undefined;
2531
+ image?: string | undefined;
2532
+ metadata?: string | undefined;
2533
+ }>]>;
2534
+ amount: z.ZodObject<{
2535
+ value: z.ZodBigInt;
2536
+ decimals: z.ZodNumber;
2537
+ }, "strip", z.ZodTypeAny, {
2538
+ value: bigint;
2539
+ decimals: number;
2540
+ }, {
2541
+ value: bigint;
2542
+ decimals: number;
2543
+ }>;
2544
+ price: z.ZodOptional<z.ZodObject<{
2545
+ cryptoCurrencyId: z.ZodString;
2546
+ fiatCurrencyId: z.ZodString;
2547
+ price: z.ZodObject<{
2548
+ value: z.ZodBigInt;
2549
+ decimals: z.ZodNumber;
2550
+ }, "strip", z.ZodTypeAny, {
2551
+ value: bigint;
2552
+ decimals: number;
2553
+ }, {
2554
+ value: bigint;
2555
+ decimals: number;
2556
+ }>;
2557
+ timestamp: z.ZodNumber;
2558
+ }, "strip", z.ZodTypeAny, {
2559
+ cryptoCurrencyId: string;
2560
+ fiatCurrencyId: string;
2561
+ price: {
2562
+ value: bigint;
2563
+ decimals: number;
2564
+ };
2565
+ timestamp: number;
2566
+ }, {
2567
+ cryptoCurrencyId: string;
2568
+ fiatCurrencyId: string;
2569
+ price: {
2570
+ value: bigint;
2571
+ decimals: number;
2572
+ };
2573
+ timestamp: number;
2574
+ }>>;
2575
+ }, {
2576
+ direction: z.ZodLiteral<"out">;
2577
+ }>, "strip", z.ZodTypeAny, {
2578
+ asset: {
2579
+ icon: string | undefined;
2580
+ priceDatasourceId: string | undefined;
2581
+ symbol: string;
2582
+ type: "CryptoCurrency";
2583
+ id: string;
2584
+ name: string;
2585
+ market: {
2586
+ coingeckoId: string | undefined;
2587
+ marketCapUsd: {
2588
+ value: bigint;
2589
+ decimals: number;
2590
+ } | undefined;
2591
+ };
2592
+ updatedAt: number;
2593
+ } | {
2594
+ icon: string | undefined;
2595
+ symbol: string;
2596
+ type: "FiatCurrency";
2597
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2598
+ name: string;
2599
+ } | {
2600
+ name: string | undefined;
2601
+ symbol: string | undefined;
2602
+ image: string | undefined;
2603
+ metadata: string | undefined;
2604
+ type: "Nft";
2605
+ id: string;
2606
+ updatedAt: number;
2607
+ };
2608
+ amount: {
2609
+ value: bigint;
2610
+ decimals: number;
2611
+ };
2612
+ direction: "out";
2613
+ price?: {
2614
+ cryptoCurrencyId: string;
2615
+ fiatCurrencyId: string;
2616
+ price: {
2617
+ value: bigint;
2618
+ decimals: number;
2619
+ };
2620
+ timestamp: number;
2621
+ } | undefined;
2622
+ from?: string | undefined;
2623
+ to?: string | undefined;
2624
+ }, {
2625
+ asset: {
2626
+ symbol: string;
2627
+ type: "CryptoCurrency";
2628
+ id: string;
2629
+ name: string;
2630
+ market: {
2631
+ coingeckoId?: string | undefined;
2632
+ marketCapUsd?: {
2633
+ value: bigint;
2634
+ decimals: number;
2635
+ } | undefined;
2636
+ };
2637
+ updatedAt: number;
2638
+ icon?: string | undefined;
2639
+ priceDatasourceId?: string | undefined;
2640
+ } | {
2641
+ symbol: string;
2642
+ type: "FiatCurrency";
2643
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2644
+ name: string;
2645
+ icon?: string | undefined;
2646
+ } | {
2647
+ type: "Nft";
2648
+ id: string;
2649
+ updatedAt: number;
2650
+ symbol?: string | undefined;
2651
+ name?: string | undefined;
2652
+ image?: string | undefined;
2653
+ metadata?: string | undefined;
2654
+ };
2655
+ amount: {
2656
+ value: bigint;
2657
+ decimals: number;
2658
+ };
2659
+ direction: "out";
2660
+ price?: {
2661
+ cryptoCurrencyId: string;
2662
+ fiatCurrencyId: string;
2663
+ price: {
2664
+ value: bigint;
2665
+ decimals: number;
2666
+ };
2667
+ timestamp: number;
2668
+ } | undefined;
2669
+ from?: string | undefined;
2670
+ to?: string | undefined;
2671
+ }>, {
2672
+ from: string | undefined;
2673
+ to: string | undefined;
2674
+ price: {
2675
+ cryptoCurrencyId: string;
2676
+ fiatCurrencyId: string;
2677
+ price: {
2678
+ value: bigint;
2679
+ decimals: number;
2680
+ };
2681
+ timestamp: number;
2682
+ } | undefined;
2683
+ asset: {
2684
+ icon: string | undefined;
2685
+ priceDatasourceId: string | undefined;
2686
+ symbol: string;
2687
+ type: "CryptoCurrency";
2688
+ id: string;
2689
+ name: string;
2690
+ market: {
2691
+ coingeckoId: string | undefined;
2692
+ marketCapUsd: {
2693
+ value: bigint;
2694
+ decimals: number;
2695
+ } | undefined;
2696
+ };
2697
+ updatedAt: number;
2698
+ } | {
2699
+ icon: string | undefined;
2700
+ symbol: string;
2701
+ type: "FiatCurrency";
2702
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2703
+ name: string;
2704
+ } | {
2705
+ name: string | undefined;
2706
+ symbol: string | undefined;
2707
+ image: string | undefined;
2708
+ metadata: string | undefined;
2709
+ type: "Nft";
2710
+ id: string;
2711
+ updatedAt: number;
2712
+ };
2713
+ amount: {
2714
+ value: bigint;
2715
+ decimals: number;
2716
+ };
2717
+ direction: "out";
2718
+ }, {
2719
+ asset: {
2720
+ symbol: string;
2721
+ type: "CryptoCurrency";
2722
+ id: string;
2723
+ name: string;
2724
+ market: {
2725
+ coingeckoId?: string | undefined;
2726
+ marketCapUsd?: {
2727
+ value: bigint;
2728
+ decimals: number;
2729
+ } | undefined;
2730
+ };
2731
+ updatedAt: number;
2732
+ icon?: string | undefined;
2733
+ priceDatasourceId?: string | undefined;
2734
+ } | {
2735
+ symbol: string;
2736
+ type: "FiatCurrency";
2737
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2738
+ name: string;
2739
+ icon?: string | undefined;
2740
+ } | {
2741
+ type: "Nft";
2742
+ id: string;
2743
+ updatedAt: number;
2744
+ symbol?: string | undefined;
2745
+ name?: string | undefined;
2746
+ image?: string | undefined;
2747
+ metadata?: string | undefined;
2748
+ };
2749
+ amount: {
2750
+ value: bigint;
2751
+ decimals: number;
2752
+ };
2753
+ direction: "out";
2754
+ price?: {
2755
+ cryptoCurrencyId: string;
2756
+ fiatCurrencyId: string;
2757
+ price: {
2758
+ value: bigint;
2759
+ decimals: number;
2760
+ };
2761
+ timestamp: number;
2762
+ } | undefined;
2763
+ from?: string | undefined;
2764
+ to?: string | undefined;
2765
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2766
+ from: z.ZodOptional<z.ZodString>;
2767
+ to: z.ZodOptional<z.ZodString>;
2768
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2769
+ type: z.ZodLiteral<"CryptoCurrency">;
2770
+ id: z.ZodString;
2771
+ name: z.ZodString;
2772
+ symbol: z.ZodString;
2773
+ icon: z.ZodOptional<z.ZodString>;
2774
+ market: z.ZodEffects<z.ZodObject<{
2775
+ coingeckoId: z.ZodOptional<z.ZodString>;
2776
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2777
+ value: z.ZodBigInt;
2778
+ decimals: z.ZodNumber;
2779
+ }, "strip", z.ZodTypeAny, {
2780
+ value: bigint;
2781
+ decimals: number;
2782
+ }, {
2783
+ value: bigint;
2784
+ decimals: number;
2785
+ }>>;
2786
+ }, "strip", z.ZodTypeAny, {
2787
+ coingeckoId?: string | undefined;
2788
+ marketCapUsd?: {
2789
+ value: bigint;
2790
+ decimals: number;
2791
+ } | undefined;
2792
+ }, {
2793
+ coingeckoId?: string | undefined;
2794
+ marketCapUsd?: {
2795
+ value: bigint;
2796
+ decimals: number;
2797
+ } | undefined;
2798
+ }>, {
2799
+ coingeckoId: string | undefined;
2800
+ marketCapUsd: {
2801
+ value: bigint;
2802
+ decimals: number;
2803
+ } | undefined;
2804
+ }, {
2805
+ coingeckoId?: string | undefined;
2806
+ marketCapUsd?: {
2807
+ value: bigint;
2808
+ decimals: number;
2809
+ } | undefined;
2810
+ }>;
2811
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2812
+ updatedAt: z.ZodNumber;
2813
+ }, "strip", z.ZodTypeAny, {
2814
+ symbol: string;
2815
+ type: "CryptoCurrency";
2816
+ id: string;
2817
+ name: string;
2818
+ market: {
2819
+ coingeckoId: string | undefined;
2820
+ marketCapUsd: {
2821
+ value: bigint;
2822
+ decimals: number;
2823
+ } | undefined;
2824
+ };
2825
+ updatedAt: number;
2826
+ icon?: string | undefined;
2827
+ priceDatasourceId?: string | undefined;
2828
+ }, {
2829
+ symbol: string;
2830
+ type: "CryptoCurrency";
2831
+ id: string;
2832
+ name: string;
2833
+ market: {
2834
+ coingeckoId?: string | undefined;
2835
+ marketCapUsd?: {
2836
+ value: bigint;
2837
+ decimals: number;
2838
+ } | undefined;
2839
+ };
2840
+ updatedAt: number;
2841
+ icon?: string | undefined;
2842
+ priceDatasourceId?: string | undefined;
2843
+ }>, {
2844
+ icon: string | undefined;
2845
+ priceDatasourceId: string | undefined;
2846
+ symbol: string;
2847
+ type: "CryptoCurrency";
2848
+ id: string;
2849
+ name: string;
2850
+ market: {
2851
+ coingeckoId: string | undefined;
2852
+ marketCapUsd: {
2853
+ value: bigint;
2854
+ decimals: number;
2855
+ } | undefined;
2856
+ };
2857
+ updatedAt: number;
2858
+ }, {
2859
+ symbol: string;
2860
+ type: "CryptoCurrency";
2861
+ id: string;
2862
+ name: string;
2863
+ market: {
2864
+ coingeckoId?: string | undefined;
2865
+ marketCapUsd?: {
2866
+ value: bigint;
2867
+ decimals: number;
2868
+ } | undefined;
2869
+ };
2870
+ updatedAt: number;
2871
+ icon?: string | undefined;
2872
+ priceDatasourceId?: string | undefined;
2873
+ }>, z.ZodEffects<z.ZodObject<{
2874
+ type: z.ZodLiteral<"FiatCurrency">;
2875
+ 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">]>;
2876
+ name: z.ZodString;
2877
+ symbol: z.ZodString;
2878
+ icon: z.ZodOptional<z.ZodString>;
2879
+ }, "strip", z.ZodTypeAny, {
2880
+ symbol: string;
2881
+ type: "FiatCurrency";
2882
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2883
+ name: string;
2884
+ icon?: string | undefined;
2885
+ }, {
2886
+ symbol: string;
2887
+ type: "FiatCurrency";
2888
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2889
+ name: string;
2890
+ icon?: string | undefined;
2891
+ }>, {
2892
+ icon: string | undefined;
2893
+ symbol: string;
2894
+ type: "FiatCurrency";
2895
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2896
+ name: string;
2897
+ }, {
2898
+ symbol: string;
2899
+ type: "FiatCurrency";
2900
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2901
+ name: string;
2902
+ icon?: string | undefined;
2903
+ }>, z.ZodEffects<z.ZodObject<{
2904
+ type: z.ZodLiteral<"Nft">;
2905
+ id: z.ZodString;
2906
+ name: z.ZodOptional<z.ZodString>;
2907
+ symbol: z.ZodOptional<z.ZodString>;
2908
+ image: z.ZodOptional<z.ZodString>;
2909
+ metadata: z.ZodOptional<z.ZodString>;
2910
+ updatedAt: z.ZodNumber;
2911
+ }, "strip", z.ZodTypeAny, {
2912
+ type: "Nft";
2913
+ id: string;
2914
+ updatedAt: number;
2915
+ symbol?: string | undefined;
2916
+ name?: string | undefined;
2917
+ image?: string | undefined;
2918
+ metadata?: string | undefined;
2919
+ }, {
2920
+ type: "Nft";
2921
+ id: string;
2922
+ updatedAt: number;
2923
+ symbol?: string | undefined;
2924
+ name?: string | undefined;
2925
+ image?: string | undefined;
2926
+ metadata?: string | undefined;
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
+ type: "Nft";
2937
+ id: string;
2938
+ updatedAt: number;
2939
+ symbol?: string | undefined;
2940
+ name?: string | undefined;
2941
+ image?: string | undefined;
2942
+ metadata?: string | undefined;
2943
+ }>]>;
2944
+ amount: z.ZodObject<{
2945
+ value: z.ZodBigInt;
2946
+ decimals: z.ZodNumber;
2947
+ }, "strip", z.ZodTypeAny, {
2948
+ value: bigint;
2949
+ decimals: number;
2950
+ }, {
2951
+ value: bigint;
2952
+ decimals: number;
2953
+ }>;
1942
2954
  price: z.ZodOptional<z.ZodObject<{
1943
2955
  cryptoCurrencyId: z.ZodString;
1944
2956
  fiatCurrencyId: z.ZodString;
@@ -1970,6 +2982,202 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
1970
2982
  };
1971
2983
  timestamp: number;
1972
2984
  }>>;
2985
+ }, {
2986
+ direction: z.ZodLiteral<"none">;
2987
+ }>, "strip", z.ZodTypeAny, {
2988
+ asset: {
2989
+ icon: string | undefined;
2990
+ priceDatasourceId: string | undefined;
2991
+ symbol: string;
2992
+ type: "CryptoCurrency";
2993
+ id: string;
2994
+ name: string;
2995
+ market: {
2996
+ coingeckoId: string | undefined;
2997
+ marketCapUsd: {
2998
+ value: bigint;
2999
+ decimals: number;
3000
+ } | undefined;
3001
+ };
3002
+ updatedAt: number;
3003
+ } | {
3004
+ icon: string | undefined;
3005
+ symbol: string;
3006
+ type: "FiatCurrency";
3007
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3008
+ name: string;
3009
+ } | {
3010
+ name: string | undefined;
3011
+ symbol: string | undefined;
3012
+ image: string | undefined;
3013
+ metadata: string | undefined;
3014
+ type: "Nft";
3015
+ id: string;
3016
+ updatedAt: number;
3017
+ };
3018
+ amount: {
3019
+ value: bigint;
3020
+ decimals: number;
3021
+ };
3022
+ direction: "none";
3023
+ price?: {
3024
+ cryptoCurrencyId: string;
3025
+ fiatCurrencyId: string;
3026
+ price: {
3027
+ value: bigint;
3028
+ decimals: number;
3029
+ };
3030
+ timestamp: number;
3031
+ } | undefined;
3032
+ from?: string | undefined;
3033
+ to?: string | undefined;
3034
+ }, {
3035
+ asset: {
3036
+ symbol: string;
3037
+ type: "CryptoCurrency";
3038
+ id: string;
3039
+ name: string;
3040
+ market: {
3041
+ coingeckoId?: string | undefined;
3042
+ marketCapUsd?: {
3043
+ value: bigint;
3044
+ decimals: number;
3045
+ } | undefined;
3046
+ };
3047
+ updatedAt: number;
3048
+ icon?: string | undefined;
3049
+ priceDatasourceId?: string | undefined;
3050
+ } | {
3051
+ symbol: string;
3052
+ type: "FiatCurrency";
3053
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3054
+ name: string;
3055
+ icon?: string | undefined;
3056
+ } | {
3057
+ type: "Nft";
3058
+ id: string;
3059
+ updatedAt: number;
3060
+ symbol?: string | undefined;
3061
+ name?: string | undefined;
3062
+ image?: string | undefined;
3063
+ metadata?: string | undefined;
3064
+ };
3065
+ amount: {
3066
+ value: bigint;
3067
+ decimals: number;
3068
+ };
3069
+ direction: "none";
3070
+ price?: {
3071
+ cryptoCurrencyId: string;
3072
+ fiatCurrencyId: string;
3073
+ price: {
3074
+ value: bigint;
3075
+ decimals: number;
3076
+ };
3077
+ timestamp: number;
3078
+ } | undefined;
3079
+ from?: string | undefined;
3080
+ to?: string | undefined;
3081
+ }>, {
3082
+ from: string | undefined;
3083
+ to: string | undefined;
3084
+ price: {
3085
+ cryptoCurrencyId: string;
3086
+ fiatCurrencyId: string;
3087
+ price: {
3088
+ value: bigint;
3089
+ decimals: number;
3090
+ };
3091
+ timestamp: number;
3092
+ } | undefined;
3093
+ asset: {
3094
+ icon: string | undefined;
3095
+ priceDatasourceId: string | undefined;
3096
+ symbol: string;
3097
+ type: "CryptoCurrency";
3098
+ id: string;
3099
+ name: string;
3100
+ market: {
3101
+ coingeckoId: string | undefined;
3102
+ marketCapUsd: {
3103
+ value: bigint;
3104
+ decimals: number;
3105
+ } | undefined;
3106
+ };
3107
+ updatedAt: number;
3108
+ } | {
3109
+ icon: string | undefined;
3110
+ symbol: string;
3111
+ type: "FiatCurrency";
3112
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3113
+ name: string;
3114
+ } | {
3115
+ name: string | undefined;
3116
+ symbol: string | undefined;
3117
+ image: string | undefined;
3118
+ metadata: string | undefined;
3119
+ type: "Nft";
3120
+ id: string;
3121
+ updatedAt: number;
3122
+ };
3123
+ amount: {
3124
+ value: bigint;
3125
+ decimals: number;
3126
+ };
3127
+ direction: "none";
3128
+ }, {
3129
+ asset: {
3130
+ symbol: string;
3131
+ type: "CryptoCurrency";
3132
+ id: string;
3133
+ name: string;
3134
+ market: {
3135
+ coingeckoId?: string | undefined;
3136
+ marketCapUsd?: {
3137
+ value: bigint;
3138
+ decimals: number;
3139
+ } | undefined;
3140
+ };
3141
+ updatedAt: number;
3142
+ icon?: string | undefined;
3143
+ priceDatasourceId?: string | undefined;
3144
+ } | {
3145
+ symbol: string;
3146
+ type: "FiatCurrency";
3147
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3148
+ name: string;
3149
+ icon?: string | undefined;
3150
+ } | {
3151
+ type: "Nft";
3152
+ id: string;
3153
+ updatedAt: number;
3154
+ symbol?: string | undefined;
3155
+ name?: string | undefined;
3156
+ image?: string | undefined;
3157
+ metadata?: string | undefined;
3158
+ };
3159
+ amount: {
3160
+ value: bigint;
3161
+ decimals: number;
3162
+ };
3163
+ direction: "none";
3164
+ price?: {
3165
+ cryptoCurrencyId: string;
3166
+ fiatCurrencyId: string;
3167
+ price: {
3168
+ value: bigint;
3169
+ decimals: number;
3170
+ };
3171
+ timestamp: number;
3172
+ } | undefined;
3173
+ from?: string | undefined;
3174
+ to?: string | undefined;
3175
+ }>]>, "many">;
3176
+ }, {
3177
+ type: z.ZodLiteral<"NormalAccountAction">;
3178
+ }>, {
3179
+ action: z.ZodLiteral<"transfer">;
3180
+ transfers: z.ZodArray<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1973
3181
  from: z.ZodOptional<z.ZodString>;
1974
3182
  to: z.ZodOptional<z.ZodString>;
1975
3183
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -2119,16 +3327,16 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
2119
3327
  type: "Nft";
2120
3328
  id: string;
2121
3329
  updatedAt: number;
2122
- name?: string | undefined;
2123
3330
  symbol?: string | undefined;
3331
+ name?: string | undefined;
2124
3332
  image?: string | undefined;
2125
3333
  metadata?: string | undefined;
2126
3334
  }, {
2127
3335
  type: "Nft";
2128
3336
  id: string;
2129
3337
  updatedAt: number;
2130
- name?: string | undefined;
2131
3338
  symbol?: string | undefined;
3339
+ name?: string | undefined;
2132
3340
  image?: string | undefined;
2133
3341
  metadata?: string | undefined;
2134
3342
  }>, {
@@ -2143,8 +3351,8 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
2143
3351
  type: "Nft";
2144
3352
  id: string;
2145
3353
  updatedAt: number;
2146
- name?: string | undefined;
2147
3354
  symbol?: string | undefined;
3355
+ name?: string | undefined;
2148
3356
  image?: string | undefined;
2149
3357
  metadata?: string | undefined;
2150
3358
  }>]>;
@@ -2158,8 +3366,40 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
2158
3366
  value: bigint;
2159
3367
  decimals: number;
2160
3368
  }>;
3369
+ price: z.ZodOptional<z.ZodObject<{
3370
+ cryptoCurrencyId: z.ZodString;
3371
+ fiatCurrencyId: z.ZodString;
3372
+ price: z.ZodObject<{
3373
+ value: z.ZodBigInt;
3374
+ decimals: z.ZodNumber;
3375
+ }, "strip", z.ZodTypeAny, {
3376
+ value: bigint;
3377
+ decimals: number;
3378
+ }, {
3379
+ value: bigint;
3380
+ decimals: number;
3381
+ }>;
3382
+ timestamp: z.ZodNumber;
3383
+ }, "strip", z.ZodTypeAny, {
3384
+ cryptoCurrencyId: string;
3385
+ fiatCurrencyId: string;
3386
+ price: {
3387
+ value: bigint;
3388
+ decimals: number;
3389
+ };
3390
+ timestamp: number;
3391
+ }, {
3392
+ cryptoCurrencyId: string;
3393
+ fiatCurrencyId: string;
3394
+ price: {
3395
+ value: bigint;
3396
+ decimals: number;
3397
+ };
3398
+ timestamp: number;
3399
+ }>>;
3400
+ }, {
2161
3401
  direction: z.ZodLiteral<"out">;
2162
- }, "strip", z.ZodTypeAny, {
3402
+ }>, "strip", z.ZodTypeAny, {
2163
3403
  asset: {
2164
3404
  icon: string | undefined;
2165
3405
  priceDatasourceId: string | undefined;
@@ -2232,8 +3472,8 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
2232
3472
  type: "Nft";
2233
3473
  id: string;
2234
3474
  updatedAt: number;
2235
- name?: string | undefined;
2236
3475
  symbol?: string | undefined;
3476
+ name?: string | undefined;
2237
3477
  image?: string | undefined;
2238
3478
  metadata?: string | undefined;
2239
3479
  };
@@ -2326,8 +3566,8 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
2326
3566
  type: "Nft";
2327
3567
  id: string;
2328
3568
  updatedAt: number;
2329
- name?: string | undefined;
2330
3569
  symbol?: string | undefined;
3570
+ name?: string | undefined;
2331
3571
  image?: string | undefined;
2332
3572
  metadata?: string | undefined;
2333
3573
  };
@@ -2348,7 +3588,7 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
2348
3588
  from?: string | undefined;
2349
3589
  to?: string | undefined;
2350
3590
  }>, "many">;
2351
- }, "strip", z.ZodTypeAny, {
3591
+ }>, "strip", z.ZodTypeAny, {
2352
3592
  type: "NormalAccountAction";
2353
3593
  timestamp: number;
2354
3594
  order: number;
@@ -2445,8 +3685,8 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
2445
3685
  type: "Nft";
2446
3686
  id: string;
2447
3687
  updatedAt: number;
2448
- name?: string | undefined;
2449
3688
  symbol?: string | undefined;
3689
+ name?: string | undefined;
2450
3690
  image?: string | undefined;
2451
3691
  metadata?: string | undefined;
2452
3692
  };
@@ -2472,9 +3712,9 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
2472
3712
  id: string;
2473
3713
  name: string;
2474
3714
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3715
+ icon?: string | undefined;
2475
3716
  description?: string | undefined;
2476
3717
  website?: string | undefined;
2477
- icon?: string | undefined;
2478
3718
  } | undefined;
2479
3719
  }>, {
2480
3720
  comment: string | undefined;
@@ -2573,8 +3813,8 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
2573
3813
  type: "Nft";
2574
3814
  id: string;
2575
3815
  updatedAt: number;
2576
- name?: string | undefined;
2577
3816
  symbol?: string | undefined;
3817
+ name?: string | undefined;
2578
3818
  image?: string | undefined;
2579
3819
  metadata?: string | undefined;
2580
3820
  };
@@ -2600,9 +3840,9 @@ export declare const accountActionTransferSchema: z.ZodEffects<z.ZodObject<{
2600
3840
  id: string;
2601
3841
  name: string;
2602
3842
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3843
+ icon?: string | undefined;
2603
3844
  description?: string | undefined;
2604
3845
  website?: string | undefined;
2605
- icon?: string | undefined;
2606
3846
  } | undefined;
2607
3847
  }>;
2608
3848
  //# sourceMappingURL=transfer.d.ts.map