@0xtorch/core 0.0.14 → 0.0.16

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 (86) hide show
  1. package/_cjs/actions/index.js +3 -1
  2. package/_cjs/actions/index.js.map +1 -1
  3. package/_cjs/actions/schemas/crossActionBundle.js +8 -2
  4. package/_cjs/actions/schemas/crossActionBundle.js.map +1 -1
  5. package/_cjs/actions/utils.js +1318 -1
  6. package/_cjs/actions/utils.js.map +1 -1
  7. package/_cjs/index.js +3 -1
  8. package/_cjs/index.js.map +1 -1
  9. package/_esm/actions/index.js +1 -1
  10. package/_esm/actions/index.js.map +1 -1
  11. package/_esm/actions/schemas/crossActionBundle.js +8 -2
  12. package/_esm/actions/schemas/crossActionBundle.js.map +1 -1
  13. package/_esm/actions/utils.js +1389 -0
  14. package/_esm/actions/utils.js.map +1 -1
  15. package/_esm/index.js +1 -1
  16. package/_esm/index.js.map +1 -1
  17. package/_types/actions/index.d.ts +2 -2
  18. package/_types/actions/index.d.ts.map +1 -1
  19. package/_types/actions/parsers/default.d.ts +1 -1
  20. package/_types/actions/schemas/action.d.ts +950 -950
  21. package/_types/actions/schemas/borrow/borrow.d.ts +16 -16
  22. package/_types/actions/schemas/borrow/borrowWithDebt.d.ts +16 -16
  23. package/_types/actions/schemas/crossActionBundle.d.ts +1578 -45107
  24. package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
  25. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +16 -16
  26. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +16 -16
  27. package/_types/actions/schemas/crossReplace/crossReplace.d.ts +16 -16
  28. package/_types/actions/schemas/crossTrade/crossTrade.d.ts +16 -16
  29. package/_types/actions/schemas/default/accountAction.d.ts +18 -18
  30. package/_types/actions/schemas/default/normalAction.d.ts +18 -18
  31. package/_types/actions/schemas/deposit/addLiquidity.d.ts +16 -16
  32. package/_types/actions/schemas/deposit/deposit.d.ts +16 -16
  33. package/_types/actions/schemas/deposit/depositWithBond.d.ts +16 -16
  34. package/_types/actions/schemas/deposit/stake.d.ts +16 -16
  35. package/_types/actions/schemas/fee/fee.d.ts +16 -16
  36. package/_types/actions/schemas/fee/transactionFee.d.ts +16 -16
  37. package/_types/actions/schemas/ignore/approve.d.ts +16 -16
  38. package/_types/actions/schemas/ignore/failTx.d.ts +16 -16
  39. package/_types/actions/schemas/ignore/ignore.d.ts +8 -8
  40. package/_types/actions/schemas/ignore/move.d.ts +8 -8
  41. package/_types/actions/schemas/ignore/receiveFromCex.d.ts +16 -16
  42. package/_types/actions/schemas/ignore/revoke.d.ts +16 -16
  43. package/_types/actions/schemas/ignore/sendToCex.d.ts +16 -16
  44. package/_types/actions/schemas/ignore/spam.d.ts +16 -16
  45. package/_types/actions/schemas/income/atomicArbitrage.d.ts +16 -16
  46. package/_types/actions/schemas/income/freeMintNft.d.ts +16 -16
  47. package/_types/actions/schemas/income/income.d.ts +16 -16
  48. package/_types/actions/schemas/income/nftRoyalty.d.ts +8 -8
  49. package/_types/actions/schemas/income/swapIncome.d.ts +8 -8
  50. package/_types/actions/schemas/reduce/reduce.d.ts +8 -8
  51. package/_types/actions/schemas/repayment/repayment.d.ts +16 -16
  52. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +16 -16
  53. package/_types/actions/schemas/replace/replace.d.ts +16 -16
  54. package/_types/actions/schemas/replace/swapNft.d.ts +16 -16
  55. package/_types/actions/schemas/replace/unwrap.d.ts +16 -16
  56. package/_types/actions/schemas/replace/wrap.d.ts +16 -16
  57. package/_types/actions/schemas/trade/buyCrypto.d.ts +16 -16
  58. package/_types/actions/schemas/trade/buyNft.d.ts +16 -16
  59. package/_types/actions/schemas/trade/mintNft.d.ts +16 -16
  60. package/_types/actions/schemas/trade/sellCrypto.d.ts +16 -16
  61. package/_types/actions/schemas/trade/sellNft.d.ts +16 -16
  62. package/_types/actions/schemas/trade/trade.d.ts +16 -16
  63. package/_types/actions/schemas/transfer/swapTransfer.d.ts +8 -8
  64. package/_types/actions/schemas/transfer/transfer.d.ts +16 -16
  65. package/_types/actions/schemas/valuedown/valuedown.d.ts +16 -16
  66. package/_types/actions/schemas/valueup/valueup.d.ts +16 -16
  67. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +16 -16
  68. package/_types/actions/schemas/withdraw/unstake.d.ts +16 -16
  69. package/_types/actions/schemas/withdraw/withdraw.d.ts +16 -16
  70. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +16 -16
  71. package/_types/actions/types/action.d.ts +17 -1
  72. package/_types/actions/types/action.d.ts.map +1 -1
  73. package/_types/actions/types/index.d.ts +1 -1
  74. package/_types/actions/types/index.d.ts.map +1 -1
  75. package/_types/actions/utils.d.ts +3 -0
  76. package/_types/actions/utils.d.ts.map +1 -1
  77. package/_types/apps/schemas.d.ts +4 -4
  78. package/_types/index.d.ts +2 -2
  79. package/_types/index.d.ts.map +1 -1
  80. package/actions/index.ts +4 -0
  81. package/actions/schemas/crossActionBundle.ts +14 -2
  82. package/actions/types/action.ts +26 -1
  83. package/actions/types/index.ts +2 -0
  84. package/actions/utils.ts +1951 -0
  85. package/index.ts +4 -0
  86. package/package.json +1 -1
@@ -13,15 +13,15 @@ export declare const normalActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
13
13
  icon: z.ZodOptional<z.ZodString>;
14
14
  }, "strip", z.ZodTypeAny, {
15
15
  id: string;
16
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
17
16
  name: string;
17
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
18
18
  description?: string | undefined;
19
19
  website?: string | undefined;
20
20
  icon?: string | undefined;
21
21
  }, {
22
22
  id: string;
23
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
24
23
  name: string;
24
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
25
25
  description?: string | undefined;
26
26
  website?: string | undefined;
27
27
  icon?: string | undefined;
@@ -30,12 +30,12 @@ export declare const normalActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
30
30
  website: string | undefined;
31
31
  icon: string | undefined;
32
32
  id: string;
33
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
34
33
  name: string;
34
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
35
35
  }, {
36
36
  id: string;
37
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
38
37
  name: string;
38
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
39
39
  description?: string | undefined;
40
40
  website?: string | undefined;
41
41
  icon?: string | undefined;
@@ -838,8 +838,8 @@ export declare const normalActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
838
838
  website: string | undefined;
839
839
  icon: string | undefined;
840
840
  id: string;
841
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
842
841
  name: string;
842
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
843
843
  } | undefined;
844
844
  }, {
845
845
  type: "CrossNormalAction";
@@ -934,8 +934,8 @@ export declare const normalActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
934
934
  comment?: string | undefined;
935
935
  app?: {
936
936
  id: string;
937
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
938
937
  name: string;
938
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
939
939
  description?: string | undefined;
940
940
  website?: string | undefined;
941
941
  icon?: string | undefined;
@@ -947,8 +947,8 @@ export declare const normalActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
947
947
  website: string | undefined;
948
948
  icon: string | undefined;
949
949
  id: string;
950
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
951
950
  name: string;
951
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
952
952
  } | undefined;
953
953
  type: "CrossNormalAction";
954
954
  timestamp: number;
@@ -1132,8 +1132,8 @@ export declare const normalActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
1132
1132
  comment?: string | undefined;
1133
1133
  app?: {
1134
1134
  id: string;
1135
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1136
1135
  name: string;
1136
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1137
1137
  description?: string | undefined;
1138
1138
  website?: string | undefined;
1139
1139
  icon?: string | undefined;
@@ -1155,15 +1155,15 @@ export declare const accountActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
1155
1155
  icon: z.ZodOptional<z.ZodString>;
1156
1156
  }, "strip", z.ZodTypeAny, {
1157
1157
  id: string;
1158
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1159
1158
  name: string;
1159
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1160
1160
  description?: string | undefined;
1161
1161
  website?: string | undefined;
1162
1162
  icon?: string | undefined;
1163
1163
  }, {
1164
1164
  id: string;
1165
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1166
1165
  name: string;
1166
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1167
1167
  description?: string | undefined;
1168
1168
  website?: string | undefined;
1169
1169
  icon?: string | undefined;
@@ -1172,12 +1172,12 @@ export declare const accountActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
1172
1172
  website: string | undefined;
1173
1173
  icon: string | undefined;
1174
1174
  id: string;
1175
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1176
1175
  name: string;
1176
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1177
1177
  }, {
1178
1178
  id: string;
1179
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1180
1179
  name: string;
1180
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1181
1181
  description?: string | undefined;
1182
1182
  website?: string | undefined;
1183
1183
  icon?: string | undefined;
@@ -1982,8 +1982,8 @@ export declare const accountActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
1982
1982
  website: string | undefined;
1983
1983
  icon: string | undefined;
1984
1984
  id: string;
1985
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1986
1985
  name: string;
1986
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1987
1987
  } | undefined;
1988
1988
  }, {
1989
1989
  type: "CrossAccountAction";
@@ -2080,8 +2080,8 @@ export declare const accountActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
2080
2080
  comment?: string | undefined;
2081
2081
  app?: {
2082
2082
  id: string;
2083
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2084
2083
  name: string;
2084
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2085
2085
  description?: string | undefined;
2086
2086
  website?: string | undefined;
2087
2087
  icon?: string | undefined;
@@ -2093,8 +2093,8 @@ export declare const accountActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
2093
2093
  website: string | undefined;
2094
2094
  icon: string | undefined;
2095
2095
  id: string;
2096
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2097
2096
  name: string;
2097
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2098
2098
  } | undefined;
2099
2099
  type: "CrossAccountAction";
2100
2100
  timestamp: number;
@@ -2282,8 +2282,8 @@ export declare const accountActionCrossTradeSchema: z.ZodEffects<z.ZodObject<{
2282
2282
  comment?: string | undefined;
2283
2283
  app?: {
2284
2284
  id: string;
2285
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2286
2285
  name: string;
2286
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2287
2287
  description?: string | undefined;
2288
2288
  website?: string | undefined;
2289
2289
  icon?: string | undefined;
@@ -15,15 +15,15 @@ export declare const normalAccountActionDefaultSchema: z.ZodObject<{
15
15
  icon: z.ZodOptional<z.ZodString>;
16
16
  }, "strip", z.ZodTypeAny, {
17
17
  id: string;
18
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
19
18
  name: string;
19
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
20
20
  description?: string | undefined;
21
21
  website?: string | undefined;
22
22
  icon?: string | undefined;
23
23
  }, {
24
24
  id: string;
25
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
26
25
  name: string;
26
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
27
27
  description?: string | undefined;
28
28
  website?: string | undefined;
29
29
  icon?: string | undefined;
@@ -32,12 +32,12 @@ export declare const normalAccountActionDefaultSchema: z.ZodObject<{
32
32
  website: string | undefined;
33
33
  icon: string | undefined;
34
34
  id: string;
35
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
36
35
  name: string;
36
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
37
37
  }, {
38
38
  id: string;
39
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
40
39
  name: string;
40
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
41
41
  description?: string | undefined;
42
42
  website?: string | undefined;
43
43
  icon?: string | undefined;
@@ -1228,8 +1228,8 @@ export declare const normalAccountActionDefaultSchema: z.ZodObject<{
1228
1228
  website: string | undefined;
1229
1229
  icon: string | undefined;
1230
1230
  id: string;
1231
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1232
1231
  name: string;
1232
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1233
1233
  } | undefined;
1234
1234
  }, {
1235
1235
  type: "NormalAccountAction";
@@ -1365,8 +1365,8 @@ export declare const normalAccountActionDefaultSchema: z.ZodObject<{
1365
1365
  comment?: string | undefined;
1366
1366
  app?: {
1367
1367
  id: string;
1368
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1369
1368
  name: string;
1369
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1370
1370
  description?: string | undefined;
1371
1371
  website?: string | undefined;
1372
1372
  icon?: string | undefined;
@@ -1388,15 +1388,15 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
1388
1388
  icon: z.ZodOptional<z.ZodString>;
1389
1389
  }, "strip", z.ZodTypeAny, {
1390
1390
  id: string;
1391
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1392
1391
  name: string;
1392
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1393
1393
  description?: string | undefined;
1394
1394
  website?: string | undefined;
1395
1395
  icon?: string | undefined;
1396
1396
  }, {
1397
1397
  id: string;
1398
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1399
1398
  name: string;
1399
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1400
1400
  description?: string | undefined;
1401
1401
  website?: string | undefined;
1402
1402
  icon?: string | undefined;
@@ -1405,12 +1405,12 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
1405
1405
  website: string | undefined;
1406
1406
  icon: string | undefined;
1407
1407
  id: string;
1408
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1409
1408
  name: string;
1409
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1410
1410
  }, {
1411
1411
  id: string;
1412
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1413
1412
  name: string;
1413
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1414
1414
  description?: string | undefined;
1415
1415
  website?: string | undefined;
1416
1416
  icon?: string | undefined;
@@ -2605,8 +2605,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
2605
2605
  website: string | undefined;
2606
2606
  icon: string | undefined;
2607
2607
  id: string;
2608
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2609
2608
  name: string;
2609
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2610
2610
  } | undefined;
2611
2611
  }, {
2612
2612
  type: "CrossAccountAction";
@@ -2744,8 +2744,8 @@ export declare const crossAccountActionDefaultSchema: z.ZodObject<{
2744
2744
  comment?: string | undefined;
2745
2745
  app?: {
2746
2746
  id: string;
2747
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2748
2747
  name: string;
2748
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2749
2749
  description?: string | undefined;
2750
2750
  website?: string | undefined;
2751
2751
  icon?: string | undefined;
@@ -2767,15 +2767,15 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
2767
2767
  icon: z.ZodOptional<z.ZodString>;
2768
2768
  }, "strip", z.ZodTypeAny, {
2769
2769
  id: string;
2770
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2771
2770
  name: string;
2771
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2772
2772
  description?: string | undefined;
2773
2773
  website?: string | undefined;
2774
2774
  icon?: string | undefined;
2775
2775
  }, {
2776
2776
  id: string;
2777
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2778
2777
  name: string;
2778
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2779
2779
  description?: string | undefined;
2780
2780
  website?: string | undefined;
2781
2781
  icon?: string | undefined;
@@ -2784,12 +2784,12 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
2784
2784
  website: string | undefined;
2785
2785
  icon: string | undefined;
2786
2786
  id: string;
2787
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2788
2787
  name: string;
2788
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2789
2789
  }, {
2790
2790
  id: string;
2791
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2792
2791
  name: string;
2792
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2793
2793
  description?: string | undefined;
2794
2794
  website?: string | undefined;
2795
2795
  icon?: string | undefined;
@@ -3982,8 +3982,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
3982
3982
  website: string | undefined;
3983
3983
  icon: string | undefined;
3984
3984
  id: string;
3985
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3986
3985
  name: string;
3986
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3987
3987
  } | undefined;
3988
3988
  }, {
3989
3989
  type: "LoanAccountAction";
@@ -4120,8 +4120,8 @@ export declare const loanAccountActionDefaultSchema: z.ZodObject<{
4120
4120
  comment?: string | undefined;
4121
4121
  app?: {
4122
4122
  id: string;
4123
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4124
4123
  name: string;
4124
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4125
4125
  description?: string | undefined;
4126
4126
  website?: string | undefined;
4127
4127
  icon?: string | undefined;
@@ -14,15 +14,15 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
14
14
  icon: z.ZodOptional<z.ZodString>;
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  id: string;
17
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
18
17
  name: string;
18
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
19
19
  description?: string | undefined;
20
20
  website?: string | undefined;
21
21
  icon?: string | undefined;
22
22
  }, {
23
23
  id: string;
24
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
25
24
  name: string;
25
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
26
26
  description?: string | undefined;
27
27
  website?: string | undefined;
28
28
  icon?: string | undefined;
@@ -31,12 +31,12 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
31
31
  website: string | undefined;
32
32
  icon: string | undefined;
33
33
  id: string;
34
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
35
34
  name: string;
35
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
36
36
  }, {
37
37
  id: string;
38
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
39
38
  name: string;
39
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
40
40
  description?: string | undefined;
41
41
  website?: string | undefined;
42
42
  icon?: string | undefined;
@@ -1224,8 +1224,8 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
1224
1224
  website: string | undefined;
1225
1225
  icon: string | undefined;
1226
1226
  id: string;
1227
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1228
1227
  name: string;
1228
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1229
1229
  } | undefined;
1230
1230
  }, {
1231
1231
  type: "NormalAction";
@@ -1359,8 +1359,8 @@ export declare const normalActionDefaultSchema: z.ZodObject<{
1359
1359
  comment?: string | undefined;
1360
1360
  app?: {
1361
1361
  id: string;
1362
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1363
1362
  name: string;
1363
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1364
1364
  description?: string | undefined;
1365
1365
  website?: string | undefined;
1366
1366
  icon?: string | undefined;
@@ -1380,15 +1380,15 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
1380
1380
  icon: z.ZodOptional<z.ZodString>;
1381
1381
  }, "strip", z.ZodTypeAny, {
1382
1382
  id: string;
1383
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1384
1383
  name: string;
1384
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1385
1385
  description?: string | undefined;
1386
1386
  website?: string | undefined;
1387
1387
  icon?: string | undefined;
1388
1388
  }, {
1389
1389
  id: string;
1390
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1391
1390
  name: string;
1391
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1392
1392
  description?: string | undefined;
1393
1393
  website?: string | undefined;
1394
1394
  icon?: string | undefined;
@@ -1397,12 +1397,12 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
1397
1397
  website: string | undefined;
1398
1398
  icon: string | undefined;
1399
1399
  id: string;
1400
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1401
1400
  name: string;
1401
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1402
1402
  }, {
1403
1403
  id: string;
1404
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1405
1404
  name: string;
1405
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1406
1406
  description?: string | undefined;
1407
1407
  website?: string | undefined;
1408
1408
  icon?: string | undefined;
@@ -2595,8 +2595,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2595
2595
  website: string | undefined;
2596
2596
  icon: string | undefined;
2597
2597
  id: string;
2598
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2599
2598
  name: string;
2599
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2600
2600
  } | undefined;
2601
2601
  }, {
2602
2602
  type: "CrossNormalAction";
@@ -2732,8 +2732,8 @@ export declare const crossNormalActionDefaultSchema: z.ZodObject<{
2732
2732
  comment?: string | undefined;
2733
2733
  app?: {
2734
2734
  id: string;
2735
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2736
2735
  name: string;
2736
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2737
2737
  description?: string | undefined;
2738
2738
  website?: string | undefined;
2739
2739
  icon?: string | undefined;
@@ -2753,15 +2753,15 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
2753
2753
  icon: z.ZodOptional<z.ZodString>;
2754
2754
  }, "strip", z.ZodTypeAny, {
2755
2755
  id: string;
2756
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2757
2756
  name: string;
2757
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2758
2758
  description?: string | undefined;
2759
2759
  website?: string | undefined;
2760
2760
  icon?: string | undefined;
2761
2761
  }, {
2762
2762
  id: string;
2763
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2764
2763
  name: string;
2764
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2765
2765
  description?: string | undefined;
2766
2766
  website?: string | undefined;
2767
2767
  icon?: string | undefined;
@@ -2770,12 +2770,12 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
2770
2770
  website: string | undefined;
2771
2771
  icon: string | undefined;
2772
2772
  id: string;
2773
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2774
2773
  name: string;
2774
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2775
2775
  }, {
2776
2776
  id: string;
2777
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2778
2777
  name: string;
2778
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2779
2779
  description?: string | undefined;
2780
2780
  website?: string | undefined;
2781
2781
  icon?: string | undefined;
@@ -3966,8 +3966,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
3966
3966
  website: string | undefined;
3967
3967
  icon: string | undefined;
3968
3968
  id: string;
3969
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3970
3969
  name: string;
3970
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3971
3971
  } | undefined;
3972
3972
  }, {
3973
3973
  type: "LoanNormalAction";
@@ -4102,8 +4102,8 @@ export declare const loanNormalActionDefaultSchema: z.ZodObject<{
4102
4102
  comment?: string | undefined;
4103
4103
  app?: {
4104
4104
  id: string;
4105
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4106
4105
  name: string;
4106
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4107
4107
  description?: string | undefined;
4108
4108
  website?: string | undefined;
4109
4109
  icon?: string | undefined;
@@ -13,15 +13,15 @@ export declare const normalActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
13
13
  icon: z.ZodOptional<z.ZodString>;
14
14
  }, "strip", z.ZodTypeAny, {
15
15
  id: string;
16
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
17
16
  name: string;
17
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
18
18
  description?: string | undefined;
19
19
  website?: string | undefined;
20
20
  icon?: string | undefined;
21
21
  }, {
22
22
  id: string;
23
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
24
23
  name: string;
24
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
25
25
  description?: string | undefined;
26
26
  website?: string | undefined;
27
27
  icon?: string | undefined;
@@ -30,12 +30,12 @@ export declare const normalActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
30
30
  website: string | undefined;
31
31
  icon: string | undefined;
32
32
  id: string;
33
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
34
33
  name: string;
34
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
35
35
  }, {
36
36
  id: string;
37
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
38
37
  name: string;
38
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
39
39
  description?: string | undefined;
40
40
  website?: string | undefined;
41
41
  icon?: string | undefined;
@@ -988,8 +988,8 @@ export declare const normalActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
988
988
  website: string | undefined;
989
989
  icon: string | undefined;
990
990
  id: string;
991
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
992
991
  name: string;
992
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
993
993
  } | undefined;
994
994
  }, {
995
995
  type: "LoanNormalAction";
@@ -1107,8 +1107,8 @@ export declare const normalActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
1107
1107
  comment?: string | undefined;
1108
1108
  app?: {
1109
1109
  id: string;
1110
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1111
1110
  name: string;
1111
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1112
1112
  description?: string | undefined;
1113
1113
  website?: string | undefined;
1114
1114
  icon?: string | undefined;
@@ -1120,8 +1120,8 @@ export declare const normalActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
1120
1120
  website: string | undefined;
1121
1121
  icon: string | undefined;
1122
1122
  id: string;
1123
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1124
1123
  name: string;
1124
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1125
1125
  } | undefined;
1126
1126
  type: "LoanNormalAction";
1127
1127
  timestamp: number;
@@ -1351,8 +1351,8 @@ export declare const normalActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
1351
1351
  comment?: string | undefined;
1352
1352
  app?: {
1353
1353
  id: string;
1354
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1355
1354
  name: string;
1355
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1356
1356
  description?: string | undefined;
1357
1357
  website?: string | undefined;
1358
1358
  icon?: string | undefined;
@@ -1374,15 +1374,15 @@ export declare const accountActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
1374
1374
  icon: z.ZodOptional<z.ZodString>;
1375
1375
  }, "strip", z.ZodTypeAny, {
1376
1376
  id: string;
1377
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1378
1377
  name: string;
1378
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1379
1379
  description?: string | undefined;
1380
1380
  website?: string | undefined;
1381
1381
  icon?: string | undefined;
1382
1382
  }, {
1383
1383
  id: string;
1384
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1385
1384
  name: string;
1385
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1386
1386
  description?: string | undefined;
1387
1387
  website?: string | undefined;
1388
1388
  icon?: string | undefined;
@@ -1391,12 +1391,12 @@ export declare const accountActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
1391
1391
  website: string | undefined;
1392
1392
  icon: string | undefined;
1393
1393
  id: string;
1394
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1395
1394
  name: string;
1395
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1396
1396
  }, {
1397
1397
  id: string;
1398
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1399
1398
  name: string;
1399
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1400
1400
  description?: string | undefined;
1401
1401
  website?: string | undefined;
1402
1402
  icon?: string | undefined;
@@ -2351,8 +2351,8 @@ export declare const accountActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
2351
2351
  website: string | undefined;
2352
2352
  icon: string | undefined;
2353
2353
  id: string;
2354
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2355
2354
  name: string;
2355
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2356
2356
  } | undefined;
2357
2357
  }, {
2358
2358
  type: "LoanAccountAction";
@@ -2472,8 +2472,8 @@ export declare const accountActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
2472
2472
  comment?: string | undefined;
2473
2473
  app?: {
2474
2474
  id: string;
2475
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2476
2475
  name: string;
2476
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2477
2477
  description?: string | undefined;
2478
2478
  website?: string | undefined;
2479
2479
  icon?: string | undefined;
@@ -2485,8 +2485,8 @@ export declare const accountActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
2485
2485
  website: string | undefined;
2486
2486
  icon: string | undefined;
2487
2487
  id: string;
2488
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2489
2488
  name: string;
2489
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2490
2490
  } | undefined;
2491
2491
  type: "LoanAccountAction";
2492
2492
  timestamp: number;
@@ -2720,8 +2720,8 @@ export declare const accountActionAddLiquiditySchema: z.ZodEffects<z.ZodObject<{
2720
2720
  comment?: string | undefined;
2721
2721
  app?: {
2722
2722
  id: string;
2723
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2724
2723
  name: string;
2724
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2725
2725
  description?: string | undefined;
2726
2726
  website?: string | undefined;
2727
2727
  icon?: string | undefined;