@0xtorch/core 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/_cjs/actions/schemas/action.js.map +1 -1
  2. package/_esm/actions/schemas/action.js.map +1 -1
  3. package/_types/actions/schemas/action.d.ts +103 -80694
  4. package/_types/actions/schemas/action.d.ts.map +1 -1
  5. package/_types/actions/schemas/borrow/borrow.d.ts +3523 -342
  6. package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
  7. package/_types/actions/schemas/crossActionBundle.d.ts +6773 -1121
  8. package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
  9. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +3528 -347
  10. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
  11. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +3525 -344
  12. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
  13. package/_types/actions/schemas/crossReplace/crossReplace.d.ts +2862 -389
  14. package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
  15. package/_types/actions/schemas/crossTrade/crossTrade.d.ts +2862 -389
  16. package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
  17. package/_types/actions/schemas/default/accountAction.d.ts +387 -375
  18. package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
  19. package/_types/actions/schemas/default/normalAction.d.ts +382 -369
  20. package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
  21. package/_types/actions/schemas/default/transfer.d.ts +2932 -1323
  22. package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
  23. package/_types/actions/schemas/deposit/addLiquidity.d.ts +4667 -774
  24. package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
  25. package/_types/actions/schemas/deposit/deposit.d.ts +3526 -345
  26. package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
  27. package/_types/actions/schemas/deposit/depositWithBond.d.ts +4667 -774
  28. package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
  29. package/_types/actions/schemas/deposit/stake.d.ts +3526 -345
  30. package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
  31. package/_types/actions/schemas/fee/fee.d.ts +3510 -331
  32. package/_types/actions/schemas/fee/fee.d.ts.map +1 -1
  33. package/_types/actions/schemas/fee/transactionFee.d.ts +3038 -215
  34. package/_types/actions/schemas/fee/transactionFee.d.ts.map +1 -1
  35. package/_types/actions/schemas/ignore/approve.d.ts +2485 -18
  36. package/_types/actions/schemas/ignore/approve.d.ts.map +1 -1
  37. package/_types/actions/schemas/ignore/failTx.d.ts +2485 -18
  38. package/_types/actions/schemas/ignore/failTx.d.ts.map +1 -1
  39. package/_types/actions/schemas/ignore/ignore.d.ts +136 -130
  40. package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
  41. package/_types/actions/schemas/ignore/move.d.ts +136 -130
  42. package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
  43. package/_types/actions/schemas/ignore/receiveFromCex.d.ts +3518 -339
  44. package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
  45. package/_types/actions/schemas/ignore/revoke.d.ts +2485 -18
  46. package/_types/actions/schemas/ignore/revoke.d.ts.map +1 -1
  47. package/_types/actions/schemas/ignore/sendToCex.d.ts +3521 -342
  48. package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
  49. package/_types/actions/schemas/ignore/spam.d.ts +4663 -772
  50. package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
  51. package/_types/actions/schemas/income/atomicArbitrage.d.ts +3559 -380
  52. package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
  53. package/_types/actions/schemas/income/freeMintNft.d.ts +3014 -191
  54. package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -1
  55. package/_types/actions/schemas/income/income.d.ts +2682 -213
  56. package/_types/actions/schemas/income/income.d.ts.map +1 -1
  57. package/_types/actions/schemas/income/nftRoyalty.d.ts +1629 -39
  58. package/_types/actions/schemas/income/nftRoyalty.d.ts.map +1 -1
  59. package/_types/actions/schemas/income/swapIncome.d.ts +1636 -46
  60. package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
  61. package/_types/actions/schemas/reduce/reduce.d.ts +1636 -46
  62. package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
  63. package/_types/actions/schemas/repayment/repayment.d.ts +3526 -345
  64. package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
  65. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +4667 -774
  66. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
  67. package/_types/actions/schemas/replace/replace.d.ts +4663 -772
  68. package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
  69. package/_types/actions/schemas/replace/swapNft.d.ts +3510 -331
  70. package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -1
  71. package/_types/actions/schemas/replace/unwrap.d.ts +3559 -380
  72. package/_types/actions/schemas/replace/unwrap.d.ts.map +1 -1
  73. package/_types/actions/schemas/replace/wrap.d.ts +3559 -380
  74. package/_types/actions/schemas/replace/wrap.d.ts.map +1 -1
  75. package/_types/actions/schemas/trade/buyCrypto.d.ts +3506 -327
  76. package/_types/actions/schemas/trade/buyCrypto.d.ts.map +1 -1
  77. package/_types/actions/schemas/trade/buyNft.d.ts +4144 -609
  78. package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
  79. package/_types/actions/schemas/trade/mintNft.d.ts +4144 -609
  80. package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
  81. package/_types/actions/schemas/trade/sellCrypto.d.ts +3514 -335
  82. package/_types/actions/schemas/trade/sellCrypto.d.ts.map +1 -1
  83. package/_types/actions/schemas/trade/sellNft.d.ts +4144 -609
  84. package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
  85. package/_types/actions/schemas/trade/trade.d.ts +2854 -383
  86. package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
  87. package/_types/actions/schemas/transfer/swapTransfer.d.ts +1636 -46
  88. package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
  89. package/_types/actions/schemas/transfer/transfer.d.ts +1388 -148
  90. package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
  91. package/_types/actions/schemas/valuedown/valuedown.d.ts +2756 -287
  92. package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
  93. package/_types/actions/schemas/valueup/valueup.d.ts +2761 -292
  94. package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
  95. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +4667 -774
  96. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
  97. package/_types/actions/schemas/withdraw/unstake.d.ts +3523 -342
  98. package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
  99. package/_types/actions/schemas/withdraw/withdraw.d.ts +3523 -342
  100. package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
  101. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +4667 -774
  102. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
  103. package/_types/apps/schemas.d.ts +3 -3
  104. package/_types/assets/schemas/asset.d.ts +3 -3
  105. package/_types/assets/schemas/nft.d.ts +3 -3
  106. package/actions/schemas/action.ts +92 -2
  107. package/package.json +2 -2
  108. package/.DS_Store +0 -0
  109. package/actions/.DS_Store +0 -0
  110. package/assets/.DS_Store +0 -0
@@ -16,16 +16,16 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
16
16
  id: string;
17
17
  name: string;
18
18
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
19
+ icon?: string | undefined;
19
20
  description?: string | undefined;
20
21
  website?: string | undefined;
21
- icon?: string | undefined;
22
22
  }, {
23
23
  id: string;
24
24
  name: string;
25
25
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
26
+ icon?: string | undefined;
26
27
  description?: string | undefined;
27
28
  website?: string | undefined;
28
- icon?: string | undefined;
29
29
  }>, {
30
30
  description: string | undefined;
31
31
  website: string | undefined;
@@ -37,42 +37,11 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
37
37
  id: string;
38
38
  name: string;
39
39
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
40
+ icon?: string | undefined;
40
41
  description?: string | undefined;
41
42
  website?: string | undefined;
42
- icon?: string | undefined;
43
43
  }>>;
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 normalActionDefaultSchema: 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 normalActionDefaultSchema: 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 normalActionDefaultSchema: 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 normalActionDefaultSchema: 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 normalActionDefaultSchema: 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 normalActionDefaultSchema: 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 normalActionDefaultSchema: 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 normalActionDefaultSchema: 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 normalActionDefaultSchema: 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 normalActionDefaultSchema: 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 normalActionDefaultSchema: 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,38 +861,7 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
859
861
  } | undefined;
860
862
  from?: string | undefined;
861
863
  to?: string | undefined;
862
- }>, z.ZodEffects<z.ZodObject<{
863
- price: z.ZodOptional<z.ZodObject<{
864
- cryptoCurrencyId: z.ZodString;
865
- fiatCurrencyId: z.ZodString;
866
- price: z.ZodObject<{
867
- value: z.ZodBigInt;
868
- decimals: z.ZodNumber;
869
- }, "strip", z.ZodTypeAny, {
870
- value: bigint;
871
- decimals: number;
872
- }, {
873
- value: bigint;
874
- decimals: number;
875
- }>;
876
- timestamp: z.ZodNumber;
877
- }, "strip", z.ZodTypeAny, {
878
- cryptoCurrencyId: string;
879
- fiatCurrencyId: string;
880
- price: {
881
- value: bigint;
882
- decimals: number;
883
- };
884
- timestamp: number;
885
- }, {
886
- cryptoCurrencyId: string;
887
- fiatCurrencyId: string;
888
- price: {
889
- value: bigint;
890
- decimals: number;
891
- };
892
- timestamp: number;
893
- }>>;
864
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
894
865
  from: z.ZodOptional<z.ZodString>;
895
866
  to: z.ZodOptional<z.ZodString>;
896
867
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -1040,16 +1011,16 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
1040
1011
  type: "Nft";
1041
1012
  id: string;
1042
1013
  updatedAt: number;
1043
- name?: string | undefined;
1044
1014
  symbol?: string | undefined;
1015
+ name?: string | undefined;
1045
1016
  image?: string | undefined;
1046
1017
  metadata?: string | undefined;
1047
1018
  }, {
1048
1019
  type: "Nft";
1049
1020
  id: string;
1050
1021
  updatedAt: number;
1051
- name?: string | undefined;
1052
1022
  symbol?: string | undefined;
1023
+ name?: string | undefined;
1053
1024
  image?: string | undefined;
1054
1025
  metadata?: string | undefined;
1055
1026
  }>, {
@@ -1064,8 +1035,8 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
1064
1035
  type: "Nft";
1065
1036
  id: string;
1066
1037
  updatedAt: number;
1067
- name?: string | undefined;
1068
1038
  symbol?: string | undefined;
1039
+ name?: string | undefined;
1069
1040
  image?: string | undefined;
1070
1041
  metadata?: string | undefined;
1071
1042
  }>]>;
@@ -1079,8 +1050,40 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
1079
1050
  value: bigint;
1080
1051
  decimals: number;
1081
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
+ }, {
1082
1085
  direction: z.ZodLiteral<"none">;
1083
- }, "strip", z.ZodTypeAny, {
1086
+ }>, "strip", z.ZodTypeAny, {
1084
1087
  asset: {
1085
1088
  icon: string | undefined;
1086
1089
  priceDatasourceId: string | undefined;
@@ -1153,8 +1156,8 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
1153
1156
  type: "Nft";
1154
1157
  id: string;
1155
1158
  updatedAt: number;
1156
- name?: string | undefined;
1157
1159
  symbol?: string | undefined;
1160
+ name?: string | undefined;
1158
1161
  image?: string | undefined;
1159
1162
  metadata?: string | undefined;
1160
1163
  };
@@ -1247,8 +1250,8 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
1247
1250
  type: "Nft";
1248
1251
  id: string;
1249
1252
  updatedAt: number;
1250
- name?: string | undefined;
1251
1253
  symbol?: string | undefined;
1254
+ name?: string | undefined;
1252
1255
  image?: string | undefined;
1253
1256
  metadata?: string | undefined;
1254
1257
  };
@@ -1456,8 +1459,8 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
1456
1459
  type: "Nft";
1457
1460
  id: string;
1458
1461
  updatedAt: number;
1459
- name?: string | undefined;
1460
1462
  symbol?: string | undefined;
1463
+ name?: string | undefined;
1461
1464
  image?: string | undefined;
1462
1465
  metadata?: string | undefined;
1463
1466
  };
@@ -1503,8 +1506,8 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
1503
1506
  type: "Nft";
1504
1507
  id: string;
1505
1508
  updatedAt: number;
1506
- name?: string | undefined;
1507
1509
  symbol?: string | undefined;
1510
+ name?: string | undefined;
1508
1511
  image?: string | undefined;
1509
1512
  metadata?: string | undefined;
1510
1513
  };
@@ -1550,8 +1553,8 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
1550
1553
  type: "Nft";
1551
1554
  id: string;
1552
1555
  updatedAt: number;
1553
- name?: string | undefined;
1554
1556
  symbol?: string | undefined;
1557
+ name?: string | undefined;
1555
1558
  image?: string | undefined;
1556
1559
  metadata?: string | undefined;
1557
1560
  };
@@ -1577,15 +1580,16 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
1577
1580
  id: string;
1578
1581
  name: string;
1579
1582
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1583
+ icon?: string | undefined;
1580
1584
  description?: string | undefined;
1581
1585
  website?: string | undefined;
1582
- icon?: string | undefined;
1583
1586
  } | undefined;
1584
1587
  }>;
1585
- export declare const crossNormalActionDefaultSchema: z.ZodObject<{
1586
- timestamp: z.ZodNumber;
1588
+ export declare const crossNormalActionDefaultSchema: z.ZodObject<z.objectUtil.extendShape<{
1589
+ type: z.ZodLiteral<"NormalAction">;
1587
1590
  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">]>;
1588
1591
  evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
1592
+ timestamp: z.ZodNumber;
1589
1593
  comment: z.ZodOptional<z.ZodString>;
1590
1594
  app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1591
1595
  id: z.ZodString;
@@ -1598,16 +1602,16 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
1598
1602
  id: string;
1599
1603
  name: string;
1600
1604
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1605
+ icon?: string | undefined;
1601
1606
  description?: string | undefined;
1602
1607
  website?: string | undefined;
1603
- icon?: string | undefined;
1604
1608
  }, {
1605
1609
  id: string;
1606
1610
  name: string;
1607
1611
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1612
+ icon?: string | undefined;
1608
1613
  description?: string | undefined;
1609
1614
  website?: string | undefined;
1610
- icon?: string | undefined;
1611
1615
  }>, {
1612
1616
  description: string | undefined;
1613
1617
  website: string | undefined;
@@ -1619,42 +1623,11 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
1619
1623
  id: string;
1620
1624
  name: string;
1621
1625
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1626
+ icon?: string | undefined;
1622
1627
  description?: string | undefined;
1623
1628
  website?: string | undefined;
1624
- icon?: string | undefined;
1625
1629
  }>>;
1626
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1627
- price: z.ZodOptional<z.ZodObject<{
1628
- cryptoCurrencyId: z.ZodString;
1629
- fiatCurrencyId: z.ZodString;
1630
- price: z.ZodObject<{
1631
- value: z.ZodBigInt;
1632
- decimals: z.ZodNumber;
1633
- }, "strip", z.ZodTypeAny, {
1634
- value: bigint;
1635
- decimals: number;
1636
- }, {
1637
- value: bigint;
1638
- decimals: number;
1639
- }>;
1640
- timestamp: z.ZodNumber;
1641
- }, "strip", z.ZodTypeAny, {
1642
- cryptoCurrencyId: string;
1643
- fiatCurrencyId: string;
1644
- price: {
1645
- value: bigint;
1646
- decimals: number;
1647
- };
1648
- timestamp: number;
1649
- }, {
1650
- cryptoCurrencyId: string;
1651
- fiatCurrencyId: string;
1652
- price: {
1653
- value: bigint;
1654
- decimals: number;
1655
- };
1656
- timestamp: number;
1657
- }>>;
1630
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1658
1631
  from: z.ZodOptional<z.ZodString>;
1659
1632
  to: z.ZodOptional<z.ZodString>;
1660
1633
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -1804,16 +1777,16 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
1804
1777
  type: "Nft";
1805
1778
  id: string;
1806
1779
  updatedAt: number;
1807
- name?: string | undefined;
1808
1780
  symbol?: string | undefined;
1781
+ name?: string | undefined;
1809
1782
  image?: string | undefined;
1810
1783
  metadata?: string | undefined;
1811
1784
  }, {
1812
1785
  type: "Nft";
1813
1786
  id: string;
1814
1787
  updatedAt: number;
1815
- name?: string | undefined;
1816
1788
  symbol?: string | undefined;
1789
+ name?: string | undefined;
1817
1790
  image?: string | undefined;
1818
1791
  metadata?: string | undefined;
1819
1792
  }>, {
@@ -1828,8 +1801,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
1828
1801
  type: "Nft";
1829
1802
  id: string;
1830
1803
  updatedAt: number;
1831
- name?: string | undefined;
1832
1804
  symbol?: string | undefined;
1805
+ name?: string | undefined;
1833
1806
  image?: string | undefined;
1834
1807
  metadata?: string | undefined;
1835
1808
  }>]>;
@@ -1843,8 +1816,40 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
1843
1816
  value: bigint;
1844
1817
  decimals: number;
1845
1818
  }>;
1819
+ price: z.ZodOptional<z.ZodObject<{
1820
+ cryptoCurrencyId: z.ZodString;
1821
+ fiatCurrencyId: z.ZodString;
1822
+ price: z.ZodObject<{
1823
+ value: z.ZodBigInt;
1824
+ decimals: z.ZodNumber;
1825
+ }, "strip", z.ZodTypeAny, {
1826
+ value: bigint;
1827
+ decimals: number;
1828
+ }, {
1829
+ value: bigint;
1830
+ decimals: number;
1831
+ }>;
1832
+ timestamp: z.ZodNumber;
1833
+ }, "strip", z.ZodTypeAny, {
1834
+ cryptoCurrencyId: string;
1835
+ fiatCurrencyId: string;
1836
+ price: {
1837
+ value: bigint;
1838
+ decimals: number;
1839
+ };
1840
+ timestamp: number;
1841
+ }, {
1842
+ cryptoCurrencyId: string;
1843
+ fiatCurrencyId: string;
1844
+ price: {
1845
+ value: bigint;
1846
+ decimals: number;
1847
+ };
1848
+ timestamp: number;
1849
+ }>>;
1850
+ }, {
1846
1851
  direction: z.ZodLiteral<"in">;
1847
- }, "strip", z.ZodTypeAny, {
1852
+ }>, "strip", z.ZodTypeAny, {
1848
1853
  asset: {
1849
1854
  icon: string | undefined;
1850
1855
  priceDatasourceId: string | undefined;
@@ -1917,8 +1922,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
1917
1922
  type: "Nft";
1918
1923
  id: string;
1919
1924
  updatedAt: number;
1920
- name?: string | undefined;
1921
1925
  symbol?: string | undefined;
1926
+ name?: string | undefined;
1922
1927
  image?: string | undefined;
1923
1928
  metadata?: string | undefined;
1924
1929
  };
@@ -2011,8 +2016,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2011
2016
  type: "Nft";
2012
2017
  id: string;
2013
2018
  updatedAt: number;
2014
- name?: string | undefined;
2015
2019
  symbol?: string | undefined;
2020
+ name?: string | undefined;
2016
2021
  image?: string | undefined;
2017
2022
  metadata?: string | undefined;
2018
2023
  };
@@ -2032,38 +2037,7 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2032
2037
  } | undefined;
2033
2038
  from?: string | undefined;
2034
2039
  to?: string | undefined;
2035
- }>, z.ZodEffects<z.ZodObject<{
2036
- price: z.ZodOptional<z.ZodObject<{
2037
- cryptoCurrencyId: z.ZodString;
2038
- fiatCurrencyId: z.ZodString;
2039
- price: z.ZodObject<{
2040
- value: z.ZodBigInt;
2041
- decimals: z.ZodNumber;
2042
- }, "strip", z.ZodTypeAny, {
2043
- value: bigint;
2044
- decimals: number;
2045
- }, {
2046
- value: bigint;
2047
- decimals: number;
2048
- }>;
2049
- timestamp: z.ZodNumber;
2050
- }, "strip", z.ZodTypeAny, {
2051
- cryptoCurrencyId: string;
2052
- fiatCurrencyId: string;
2053
- price: {
2054
- value: bigint;
2055
- decimals: number;
2056
- };
2057
- timestamp: number;
2058
- }, {
2059
- cryptoCurrencyId: string;
2060
- fiatCurrencyId: string;
2061
- price: {
2062
- value: bigint;
2063
- decimals: number;
2064
- };
2065
- timestamp: number;
2066
- }>>;
2040
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2067
2041
  from: z.ZodOptional<z.ZodString>;
2068
2042
  to: z.ZodOptional<z.ZodString>;
2069
2043
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -2213,16 +2187,16 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2213
2187
  type: "Nft";
2214
2188
  id: string;
2215
2189
  updatedAt: number;
2216
- name?: string | undefined;
2217
2190
  symbol?: string | undefined;
2191
+ name?: string | undefined;
2218
2192
  image?: string | undefined;
2219
2193
  metadata?: string | undefined;
2220
2194
  }, {
2221
2195
  type: "Nft";
2222
2196
  id: string;
2223
2197
  updatedAt: number;
2224
- name?: string | undefined;
2225
2198
  symbol?: string | undefined;
2199
+ name?: string | undefined;
2226
2200
  image?: string | undefined;
2227
2201
  metadata?: string | undefined;
2228
2202
  }>, {
@@ -2237,8 +2211,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2237
2211
  type: "Nft";
2238
2212
  id: string;
2239
2213
  updatedAt: number;
2240
- name?: string | undefined;
2241
2214
  symbol?: string | undefined;
2215
+ name?: string | undefined;
2242
2216
  image?: string | undefined;
2243
2217
  metadata?: string | undefined;
2244
2218
  }>]>;
@@ -2252,8 +2226,40 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2252
2226
  value: bigint;
2253
2227
  decimals: number;
2254
2228
  }>;
2229
+ price: z.ZodOptional<z.ZodObject<{
2230
+ cryptoCurrencyId: z.ZodString;
2231
+ fiatCurrencyId: z.ZodString;
2232
+ price: z.ZodObject<{
2233
+ value: z.ZodBigInt;
2234
+ decimals: z.ZodNumber;
2235
+ }, "strip", z.ZodTypeAny, {
2236
+ value: bigint;
2237
+ decimals: number;
2238
+ }, {
2239
+ value: bigint;
2240
+ decimals: number;
2241
+ }>;
2242
+ timestamp: z.ZodNumber;
2243
+ }, "strip", z.ZodTypeAny, {
2244
+ cryptoCurrencyId: string;
2245
+ fiatCurrencyId: string;
2246
+ price: {
2247
+ value: bigint;
2248
+ decimals: number;
2249
+ };
2250
+ timestamp: number;
2251
+ }, {
2252
+ cryptoCurrencyId: string;
2253
+ fiatCurrencyId: string;
2254
+ price: {
2255
+ value: bigint;
2256
+ decimals: number;
2257
+ };
2258
+ timestamp: number;
2259
+ }>>;
2260
+ }, {
2255
2261
  direction: z.ZodLiteral<"out">;
2256
- }, "strip", z.ZodTypeAny, {
2262
+ }>, "strip", z.ZodTypeAny, {
2257
2263
  asset: {
2258
2264
  icon: string | undefined;
2259
2265
  priceDatasourceId: string | undefined;
@@ -2326,8 +2332,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2326
2332
  type: "Nft";
2327
2333
  id: string;
2328
2334
  updatedAt: number;
2329
- name?: string | undefined;
2330
2335
  symbol?: string | undefined;
2336
+ name?: string | undefined;
2331
2337
  image?: string | undefined;
2332
2338
  metadata?: string | undefined;
2333
2339
  };
@@ -2420,8 +2426,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2420
2426
  type: "Nft";
2421
2427
  id: string;
2422
2428
  updatedAt: number;
2423
- name?: string | undefined;
2424
2429
  symbol?: string | undefined;
2430
+ name?: string | undefined;
2425
2431
  image?: string | undefined;
2426
2432
  metadata?: string | undefined;
2427
2433
  };
@@ -2441,38 +2447,7 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2441
2447
  } | undefined;
2442
2448
  from?: string | undefined;
2443
2449
  to?: string | undefined;
2444
- }>, z.ZodEffects<z.ZodObject<{
2445
- price: z.ZodOptional<z.ZodObject<{
2446
- cryptoCurrencyId: z.ZodString;
2447
- fiatCurrencyId: z.ZodString;
2448
- price: z.ZodObject<{
2449
- value: z.ZodBigInt;
2450
- decimals: z.ZodNumber;
2451
- }, "strip", z.ZodTypeAny, {
2452
- value: bigint;
2453
- decimals: number;
2454
- }, {
2455
- value: bigint;
2456
- decimals: number;
2457
- }>;
2458
- timestamp: z.ZodNumber;
2459
- }, "strip", z.ZodTypeAny, {
2460
- cryptoCurrencyId: string;
2461
- fiatCurrencyId: string;
2462
- price: {
2463
- value: bigint;
2464
- decimals: number;
2465
- };
2466
- timestamp: number;
2467
- }, {
2468
- cryptoCurrencyId: string;
2469
- fiatCurrencyId: string;
2470
- price: {
2471
- value: bigint;
2472
- decimals: number;
2473
- };
2474
- timestamp: number;
2475
- }>>;
2450
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2476
2451
  from: z.ZodOptional<z.ZodString>;
2477
2452
  to: z.ZodOptional<z.ZodString>;
2478
2453
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -2622,16 +2597,16 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2622
2597
  type: "Nft";
2623
2598
  id: string;
2624
2599
  updatedAt: number;
2625
- name?: string | undefined;
2626
2600
  symbol?: string | undefined;
2601
+ name?: string | undefined;
2627
2602
  image?: string | undefined;
2628
2603
  metadata?: string | undefined;
2629
2604
  }, {
2630
2605
  type: "Nft";
2631
2606
  id: string;
2632
2607
  updatedAt: number;
2633
- name?: string | undefined;
2634
2608
  symbol?: string | undefined;
2609
+ name?: string | undefined;
2635
2610
  image?: string | undefined;
2636
2611
  metadata?: string | undefined;
2637
2612
  }>, {
@@ -2646,8 +2621,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2646
2621
  type: "Nft";
2647
2622
  id: string;
2648
2623
  updatedAt: number;
2649
- name?: string | undefined;
2650
2624
  symbol?: string | undefined;
2625
+ name?: string | undefined;
2651
2626
  image?: string | undefined;
2652
2627
  metadata?: string | undefined;
2653
2628
  }>]>;
@@ -2661,8 +2636,40 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2661
2636
  value: bigint;
2662
2637
  decimals: number;
2663
2638
  }>;
2639
+ price: z.ZodOptional<z.ZodObject<{
2640
+ cryptoCurrencyId: z.ZodString;
2641
+ fiatCurrencyId: z.ZodString;
2642
+ price: z.ZodObject<{
2643
+ value: z.ZodBigInt;
2644
+ decimals: z.ZodNumber;
2645
+ }, "strip", z.ZodTypeAny, {
2646
+ value: bigint;
2647
+ decimals: number;
2648
+ }, {
2649
+ value: bigint;
2650
+ decimals: number;
2651
+ }>;
2652
+ timestamp: z.ZodNumber;
2653
+ }, "strip", z.ZodTypeAny, {
2654
+ cryptoCurrencyId: string;
2655
+ fiatCurrencyId: string;
2656
+ price: {
2657
+ value: bigint;
2658
+ decimals: number;
2659
+ };
2660
+ timestamp: number;
2661
+ }, {
2662
+ cryptoCurrencyId: string;
2663
+ fiatCurrencyId: string;
2664
+ price: {
2665
+ value: bigint;
2666
+ decimals: number;
2667
+ };
2668
+ timestamp: number;
2669
+ }>>;
2670
+ }, {
2664
2671
  direction: z.ZodLiteral<"none">;
2665
- }, "strip", z.ZodTypeAny, {
2672
+ }>, "strip", z.ZodTypeAny, {
2666
2673
  asset: {
2667
2674
  icon: string | undefined;
2668
2675
  priceDatasourceId: string | undefined;
@@ -2735,8 +2742,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2735
2742
  type: "Nft";
2736
2743
  id: string;
2737
2744
  updatedAt: number;
2738
- name?: string | undefined;
2739
2745
  symbol?: string | undefined;
2746
+ name?: string | undefined;
2740
2747
  image?: string | undefined;
2741
2748
  metadata?: string | undefined;
2742
2749
  };
@@ -2829,8 +2836,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2829
2836
  type: "Nft";
2830
2837
  id: string;
2831
2838
  updatedAt: number;
2832
- name?: string | undefined;
2833
2839
  symbol?: string | undefined;
2840
+ name?: string | undefined;
2834
2841
  image?: string | undefined;
2835
2842
  metadata?: string | undefined;
2836
2843
  };
@@ -2851,10 +2858,11 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2851
2858
  from?: string | undefined;
2852
2859
  to?: string | undefined;
2853
2860
  }>]>, "many">;
2861
+ }, {
2854
2862
  type: z.ZodLiteral<"CrossNormalAction">;
2855
2863
  crossId: z.ZodString;
2856
2864
  crossType: z.ZodUnion<[z.ZodLiteral<"start">, z.ZodLiteral<"middle">, z.ZodLiteral<"end">]>;
2857
- }, "strip", z.ZodTypeAny, {
2865
+ }>, "strip", z.ZodTypeAny, {
2858
2866
  type: "CrossNormalAction";
2859
2867
  timestamp: number;
2860
2868
  action: "add-liquidity" | "approve" | "atomic-arbitrage" | "borrow" | "bridge-from" | "bridge-to" | "buy-nft" | "buy-crypto" | "cross-replace" | "cross-trade" | "deposit" | "deposit-with-bond" | "fail-tx" | "fee" | "free-mint-nft" | "mint-nft" | "remove-liquidity" | "repayment" | "repayment-with-debt" | "revoke" | "sell-crypto" | "spam" | "stake" | "swap-nft" | "trade" | "transaction-fee" | "transfer" | "unstake" | "unwrap" | "valuedown" | "valueup" | "withdraw" | "withdraw-with-bond" | "wrap";
@@ -3043,8 +3051,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
3043
3051
  type: "Nft";
3044
3052
  id: string;
3045
3053
  updatedAt: number;
3046
- name?: string | undefined;
3047
3054
  symbol?: string | undefined;
3055
+ name?: string | undefined;
3048
3056
  image?: string | undefined;
3049
3057
  metadata?: string | undefined;
3050
3058
  };
@@ -3090,8 +3098,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
3090
3098
  type: "Nft";
3091
3099
  id: string;
3092
3100
  updatedAt: number;
3093
- name?: string | undefined;
3094
3101
  symbol?: string | undefined;
3102
+ name?: string | undefined;
3095
3103
  image?: string | undefined;
3096
3104
  metadata?: string | undefined;
3097
3105
  };
@@ -3137,8 +3145,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
3137
3145
  type: "Nft";
3138
3146
  id: string;
3139
3147
  updatedAt: number;
3140
- name?: string | undefined;
3141
3148
  symbol?: string | undefined;
3149
+ name?: string | undefined;
3142
3150
  image?: string | undefined;
3143
3151
  metadata?: string | undefined;
3144
3152
  };
@@ -3166,15 +3174,16 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
3166
3174
  id: string;
3167
3175
  name: string;
3168
3176
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3177
+ icon?: string | undefined;
3169
3178
  description?: string | undefined;
3170
3179
  website?: string | undefined;
3171
- icon?: string | undefined;
3172
3180
  } | undefined;
3173
3181
  }>;
3174
- export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3175
- timestamp: z.ZodNumber;
3182
+ export declare const loanNormalActionDefaultSchema: z.ZodObject<z.objectUtil.extendShape<{
3183
+ type: z.ZodLiteral<"NormalAction">;
3176
3184
  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">]>;
3177
3185
  evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
3186
+ timestamp: z.ZodNumber;
3178
3187
  comment: z.ZodOptional<z.ZodString>;
3179
3188
  app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3180
3189
  id: z.ZodString;
@@ -3187,16 +3196,16 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3187
3196
  id: string;
3188
3197
  name: string;
3189
3198
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3199
+ icon?: string | undefined;
3190
3200
  description?: string | undefined;
3191
3201
  website?: string | undefined;
3192
- icon?: string | undefined;
3193
3202
  }, {
3194
3203
  id: string;
3195
3204
  name: string;
3196
3205
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3206
+ icon?: string | undefined;
3197
3207
  description?: string | undefined;
3198
3208
  website?: string | undefined;
3199
- icon?: string | undefined;
3200
3209
  }>, {
3201
3210
  description: string | undefined;
3202
3211
  website: string | undefined;
@@ -3208,42 +3217,11 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3208
3217
  id: string;
3209
3218
  name: string;
3210
3219
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3220
+ icon?: string | undefined;
3211
3221
  description?: string | undefined;
3212
3222
  website?: string | undefined;
3213
- icon?: string | undefined;
3214
3223
  }>>;
3215
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3216
- price: z.ZodOptional<z.ZodObject<{
3217
- cryptoCurrencyId: z.ZodString;
3218
- fiatCurrencyId: z.ZodString;
3219
- price: z.ZodObject<{
3220
- value: z.ZodBigInt;
3221
- decimals: z.ZodNumber;
3222
- }, "strip", z.ZodTypeAny, {
3223
- value: bigint;
3224
- decimals: number;
3225
- }, {
3226
- value: bigint;
3227
- decimals: number;
3228
- }>;
3229
- timestamp: z.ZodNumber;
3230
- }, "strip", z.ZodTypeAny, {
3231
- cryptoCurrencyId: string;
3232
- fiatCurrencyId: string;
3233
- price: {
3234
- value: bigint;
3235
- decimals: number;
3236
- };
3237
- timestamp: number;
3238
- }, {
3239
- cryptoCurrencyId: string;
3240
- fiatCurrencyId: string;
3241
- price: {
3242
- value: bigint;
3243
- decimals: number;
3244
- };
3245
- timestamp: number;
3246
- }>>;
3224
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
3247
3225
  from: z.ZodOptional<z.ZodString>;
3248
3226
  to: z.ZodOptional<z.ZodString>;
3249
3227
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -3393,16 +3371,16 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3393
3371
  type: "Nft";
3394
3372
  id: string;
3395
3373
  updatedAt: number;
3396
- name?: string | undefined;
3397
3374
  symbol?: string | undefined;
3375
+ name?: string | undefined;
3398
3376
  image?: string | undefined;
3399
3377
  metadata?: string | undefined;
3400
3378
  }, {
3401
3379
  type: "Nft";
3402
3380
  id: string;
3403
3381
  updatedAt: number;
3404
- name?: string | undefined;
3405
3382
  symbol?: string | undefined;
3383
+ name?: string | undefined;
3406
3384
  image?: string | undefined;
3407
3385
  metadata?: string | undefined;
3408
3386
  }>, {
@@ -3417,8 +3395,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3417
3395
  type: "Nft";
3418
3396
  id: string;
3419
3397
  updatedAt: number;
3420
- name?: string | undefined;
3421
3398
  symbol?: string | undefined;
3399
+ name?: string | undefined;
3422
3400
  image?: string | undefined;
3423
3401
  metadata?: string | undefined;
3424
3402
  }>]>;
@@ -3432,8 +3410,40 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3432
3410
  value: bigint;
3433
3411
  decimals: number;
3434
3412
  }>;
3413
+ price: z.ZodOptional<z.ZodObject<{
3414
+ cryptoCurrencyId: z.ZodString;
3415
+ fiatCurrencyId: z.ZodString;
3416
+ price: z.ZodObject<{
3417
+ value: z.ZodBigInt;
3418
+ decimals: z.ZodNumber;
3419
+ }, "strip", z.ZodTypeAny, {
3420
+ value: bigint;
3421
+ decimals: number;
3422
+ }, {
3423
+ value: bigint;
3424
+ decimals: number;
3425
+ }>;
3426
+ timestamp: z.ZodNumber;
3427
+ }, "strip", z.ZodTypeAny, {
3428
+ cryptoCurrencyId: string;
3429
+ fiatCurrencyId: string;
3430
+ price: {
3431
+ value: bigint;
3432
+ decimals: number;
3433
+ };
3434
+ timestamp: number;
3435
+ }, {
3436
+ cryptoCurrencyId: string;
3437
+ fiatCurrencyId: string;
3438
+ price: {
3439
+ value: bigint;
3440
+ decimals: number;
3441
+ };
3442
+ timestamp: number;
3443
+ }>>;
3444
+ }, {
3435
3445
  direction: z.ZodLiteral<"in">;
3436
- }, "strip", z.ZodTypeAny, {
3446
+ }>, "strip", z.ZodTypeAny, {
3437
3447
  asset: {
3438
3448
  icon: string | undefined;
3439
3449
  priceDatasourceId: string | undefined;
@@ -3506,8 +3516,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3506
3516
  type: "Nft";
3507
3517
  id: string;
3508
3518
  updatedAt: number;
3509
- name?: string | undefined;
3510
3519
  symbol?: string | undefined;
3520
+ name?: string | undefined;
3511
3521
  image?: string | undefined;
3512
3522
  metadata?: string | undefined;
3513
3523
  };
@@ -3600,8 +3610,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3600
3610
  type: "Nft";
3601
3611
  id: string;
3602
3612
  updatedAt: number;
3603
- name?: string | undefined;
3604
3613
  symbol?: string | undefined;
3614
+ name?: string | undefined;
3605
3615
  image?: string | undefined;
3606
3616
  metadata?: string | undefined;
3607
3617
  };
@@ -3621,38 +3631,7 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3621
3631
  } | undefined;
3622
3632
  from?: string | undefined;
3623
3633
  to?: string | undefined;
3624
- }>, z.ZodEffects<z.ZodObject<{
3625
- price: z.ZodOptional<z.ZodObject<{
3626
- cryptoCurrencyId: z.ZodString;
3627
- fiatCurrencyId: z.ZodString;
3628
- price: z.ZodObject<{
3629
- value: z.ZodBigInt;
3630
- decimals: z.ZodNumber;
3631
- }, "strip", z.ZodTypeAny, {
3632
- value: bigint;
3633
- decimals: number;
3634
- }, {
3635
- value: bigint;
3636
- decimals: number;
3637
- }>;
3638
- timestamp: z.ZodNumber;
3639
- }, "strip", z.ZodTypeAny, {
3640
- cryptoCurrencyId: string;
3641
- fiatCurrencyId: string;
3642
- price: {
3643
- value: bigint;
3644
- decimals: number;
3645
- };
3646
- timestamp: number;
3647
- }, {
3648
- cryptoCurrencyId: string;
3649
- fiatCurrencyId: string;
3650
- price: {
3651
- value: bigint;
3652
- decimals: number;
3653
- };
3654
- timestamp: number;
3655
- }>>;
3634
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
3656
3635
  from: z.ZodOptional<z.ZodString>;
3657
3636
  to: z.ZodOptional<z.ZodString>;
3658
3637
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -3802,16 +3781,16 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3802
3781
  type: "Nft";
3803
3782
  id: string;
3804
3783
  updatedAt: number;
3805
- name?: string | undefined;
3806
3784
  symbol?: string | undefined;
3785
+ name?: string | undefined;
3807
3786
  image?: string | undefined;
3808
3787
  metadata?: string | undefined;
3809
3788
  }, {
3810
3789
  type: "Nft";
3811
3790
  id: string;
3812
3791
  updatedAt: number;
3813
- name?: string | undefined;
3814
3792
  symbol?: string | undefined;
3793
+ name?: string | undefined;
3815
3794
  image?: string | undefined;
3816
3795
  metadata?: string | undefined;
3817
3796
  }>, {
@@ -3826,8 +3805,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3826
3805
  type: "Nft";
3827
3806
  id: string;
3828
3807
  updatedAt: number;
3829
- name?: string | undefined;
3830
3808
  symbol?: string | undefined;
3809
+ name?: string | undefined;
3831
3810
  image?: string | undefined;
3832
3811
  metadata?: string | undefined;
3833
3812
  }>]>;
@@ -3841,8 +3820,40 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3841
3820
  value: bigint;
3842
3821
  decimals: number;
3843
3822
  }>;
3823
+ price: z.ZodOptional<z.ZodObject<{
3824
+ cryptoCurrencyId: z.ZodString;
3825
+ fiatCurrencyId: z.ZodString;
3826
+ price: z.ZodObject<{
3827
+ value: z.ZodBigInt;
3828
+ decimals: z.ZodNumber;
3829
+ }, "strip", z.ZodTypeAny, {
3830
+ value: bigint;
3831
+ decimals: number;
3832
+ }, {
3833
+ value: bigint;
3834
+ decimals: number;
3835
+ }>;
3836
+ timestamp: z.ZodNumber;
3837
+ }, "strip", z.ZodTypeAny, {
3838
+ cryptoCurrencyId: string;
3839
+ fiatCurrencyId: string;
3840
+ price: {
3841
+ value: bigint;
3842
+ decimals: number;
3843
+ };
3844
+ timestamp: number;
3845
+ }, {
3846
+ cryptoCurrencyId: string;
3847
+ fiatCurrencyId: string;
3848
+ price: {
3849
+ value: bigint;
3850
+ decimals: number;
3851
+ };
3852
+ timestamp: number;
3853
+ }>>;
3854
+ }, {
3844
3855
  direction: z.ZodLiteral<"out">;
3845
- }, "strip", z.ZodTypeAny, {
3856
+ }>, "strip", z.ZodTypeAny, {
3846
3857
  asset: {
3847
3858
  icon: string | undefined;
3848
3859
  priceDatasourceId: string | undefined;
@@ -3915,8 +3926,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3915
3926
  type: "Nft";
3916
3927
  id: string;
3917
3928
  updatedAt: number;
3918
- name?: string | undefined;
3919
3929
  symbol?: string | undefined;
3930
+ name?: string | undefined;
3920
3931
  image?: string | undefined;
3921
3932
  metadata?: string | undefined;
3922
3933
  };
@@ -4009,8 +4020,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4009
4020
  type: "Nft";
4010
4021
  id: string;
4011
4022
  updatedAt: number;
4012
- name?: string | undefined;
4013
4023
  symbol?: string | undefined;
4024
+ name?: string | undefined;
4014
4025
  image?: string | undefined;
4015
4026
  metadata?: string | undefined;
4016
4027
  };
@@ -4030,38 +4041,7 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4030
4041
  } | undefined;
4031
4042
  from?: string | undefined;
4032
4043
  to?: string | undefined;
4033
- }>, z.ZodEffects<z.ZodObject<{
4034
- price: z.ZodOptional<z.ZodObject<{
4035
- cryptoCurrencyId: z.ZodString;
4036
- fiatCurrencyId: z.ZodString;
4037
- price: z.ZodObject<{
4038
- value: z.ZodBigInt;
4039
- decimals: z.ZodNumber;
4040
- }, "strip", z.ZodTypeAny, {
4041
- value: bigint;
4042
- decimals: number;
4043
- }, {
4044
- value: bigint;
4045
- decimals: number;
4046
- }>;
4047
- timestamp: z.ZodNumber;
4048
- }, "strip", z.ZodTypeAny, {
4049
- cryptoCurrencyId: string;
4050
- fiatCurrencyId: string;
4051
- price: {
4052
- value: bigint;
4053
- decimals: number;
4054
- };
4055
- timestamp: number;
4056
- }, {
4057
- cryptoCurrencyId: string;
4058
- fiatCurrencyId: string;
4059
- price: {
4060
- value: bigint;
4061
- decimals: number;
4062
- };
4063
- timestamp: number;
4064
- }>>;
4044
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
4065
4045
  from: z.ZodOptional<z.ZodString>;
4066
4046
  to: z.ZodOptional<z.ZodString>;
4067
4047
  asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
@@ -4211,16 +4191,16 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4211
4191
  type: "Nft";
4212
4192
  id: string;
4213
4193
  updatedAt: number;
4214
- name?: string | undefined;
4215
4194
  symbol?: string | undefined;
4195
+ name?: string | undefined;
4216
4196
  image?: string | undefined;
4217
4197
  metadata?: string | undefined;
4218
4198
  }, {
4219
4199
  type: "Nft";
4220
4200
  id: string;
4221
4201
  updatedAt: number;
4222
- name?: string | undefined;
4223
4202
  symbol?: string | undefined;
4203
+ name?: string | undefined;
4224
4204
  image?: string | undefined;
4225
4205
  metadata?: string | undefined;
4226
4206
  }>, {
@@ -4235,8 +4215,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4235
4215
  type: "Nft";
4236
4216
  id: string;
4237
4217
  updatedAt: number;
4238
- name?: string | undefined;
4239
4218
  symbol?: string | undefined;
4219
+ name?: string | undefined;
4240
4220
  image?: string | undefined;
4241
4221
  metadata?: string | undefined;
4242
4222
  }>]>;
@@ -4250,8 +4230,40 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4250
4230
  value: bigint;
4251
4231
  decimals: number;
4252
4232
  }>;
4233
+ price: z.ZodOptional<z.ZodObject<{
4234
+ cryptoCurrencyId: z.ZodString;
4235
+ fiatCurrencyId: z.ZodString;
4236
+ price: z.ZodObject<{
4237
+ value: z.ZodBigInt;
4238
+ decimals: z.ZodNumber;
4239
+ }, "strip", z.ZodTypeAny, {
4240
+ value: bigint;
4241
+ decimals: number;
4242
+ }, {
4243
+ value: bigint;
4244
+ decimals: number;
4245
+ }>;
4246
+ timestamp: z.ZodNumber;
4247
+ }, "strip", z.ZodTypeAny, {
4248
+ cryptoCurrencyId: string;
4249
+ fiatCurrencyId: string;
4250
+ price: {
4251
+ value: bigint;
4252
+ decimals: number;
4253
+ };
4254
+ timestamp: number;
4255
+ }, {
4256
+ cryptoCurrencyId: string;
4257
+ fiatCurrencyId: string;
4258
+ price: {
4259
+ value: bigint;
4260
+ decimals: number;
4261
+ };
4262
+ timestamp: number;
4263
+ }>>;
4264
+ }, {
4253
4265
  direction: z.ZodLiteral<"none">;
4254
- }, "strip", z.ZodTypeAny, {
4266
+ }>, "strip", z.ZodTypeAny, {
4255
4267
  asset: {
4256
4268
  icon: string | undefined;
4257
4269
  priceDatasourceId: string | undefined;
@@ -4324,8 +4336,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4324
4336
  type: "Nft";
4325
4337
  id: string;
4326
4338
  updatedAt: number;
4327
- name?: string | undefined;
4328
4339
  symbol?: string | undefined;
4340
+ name?: string | undefined;
4329
4341
  image?: string | undefined;
4330
4342
  metadata?: string | undefined;
4331
4343
  };
@@ -4418,8 +4430,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4418
4430
  type: "Nft";
4419
4431
  id: string;
4420
4432
  updatedAt: number;
4421
- name?: string | undefined;
4422
4433
  symbol?: string | undefined;
4434
+ name?: string | undefined;
4423
4435
  image?: string | undefined;
4424
4436
  metadata?: string | undefined;
4425
4437
  };
@@ -4440,9 +4452,10 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4440
4452
  from?: string | undefined;
4441
4453
  to?: string | undefined;
4442
4454
  }>]>, "many">;
4455
+ }, {
4443
4456
  type: z.ZodLiteral<"LoanNormalAction">;
4444
4457
  loanId: z.ZodString;
4445
- }, "strip", z.ZodTypeAny, {
4458
+ }>, "strip", z.ZodTypeAny, {
4446
4459
  type: "LoanNormalAction";
4447
4460
  timestamp: number;
4448
4461
  action: "add-liquidity" | "approve" | "atomic-arbitrage" | "borrow" | "bridge-from" | "bridge-to" | "buy-nft" | "buy-crypto" | "cross-replace" | "cross-trade" | "deposit" | "deposit-with-bond" | "fail-tx" | "fee" | "free-mint-nft" | "mint-nft" | "remove-liquidity" | "repayment" | "repayment-with-debt" | "revoke" | "sell-crypto" | "spam" | "stake" | "swap-nft" | "trade" | "transaction-fee" | "transfer" | "unstake" | "unwrap" | "valuedown" | "valueup" | "withdraw" | "withdraw-with-bond" | "wrap";
@@ -4630,8 +4643,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4630
4643
  type: "Nft";
4631
4644
  id: string;
4632
4645
  updatedAt: number;
4633
- name?: string | undefined;
4634
4646
  symbol?: string | undefined;
4647
+ name?: string | undefined;
4635
4648
  image?: string | undefined;
4636
4649
  metadata?: string | undefined;
4637
4650
  };
@@ -4677,8 +4690,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4677
4690
  type: "Nft";
4678
4691
  id: string;
4679
4692
  updatedAt: number;
4680
- name?: string | undefined;
4681
4693
  symbol?: string | undefined;
4694
+ name?: string | undefined;
4682
4695
  image?: string | undefined;
4683
4696
  metadata?: string | undefined;
4684
4697
  };
@@ -4724,8 +4737,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4724
4737
  type: "Nft";
4725
4738
  id: string;
4726
4739
  updatedAt: number;
4727
- name?: string | undefined;
4728
4740
  symbol?: string | undefined;
4741
+ name?: string | undefined;
4729
4742
  image?: string | undefined;
4730
4743
  metadata?: string | undefined;
4731
4744
  };
@@ -4752,9 +4765,9 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4752
4765
  id: string;
4753
4766
  name: string;
4754
4767
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4768
+ icon?: string | undefined;
4755
4769
  description?: string | undefined;
4756
4770
  website?: string | undefined;
4757
- icon?: string | undefined;
4758
4771
  } | undefined;
4759
4772
  }>;
4760
4773
  //# sourceMappingURL=normalAction.d.ts.map