@0xtorch/core 0.0.32 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/_cjs/actions/schemas/action.js.map +1 -1
  2. package/_cjs/actions/utils/createEvidenceNoneAccountActions.js +4 -2
  3. package/_cjs/actions/utils/createEvidenceNoneAccountActions.js.map +1 -1
  4. package/_esm/actions/schemas/action.js.map +1 -1
  5. package/_esm/actions/utils/createEvidenceNoneAccountActions.js +6 -4
  6. package/_esm/actions/utils/createEvidenceNoneAccountActions.js.map +1 -1
  7. package/_types/actions/schemas/action.d.ts +103 -80694
  8. package/_types/actions/schemas/action.d.ts.map +1 -1
  9. package/_types/actions/schemas/borrow/borrow.d.ts +3523 -342
  10. package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
  11. package/_types/actions/schemas/crossActionBundle.d.ts +6773 -1121
  12. package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
  13. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +3528 -347
  14. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
  15. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +3525 -344
  16. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
  17. package/_types/actions/schemas/crossReplace/crossReplace.d.ts +2862 -389
  18. package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
  19. package/_types/actions/schemas/crossTrade/crossTrade.d.ts +2862 -389
  20. package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
  21. package/_types/actions/schemas/default/accountAction.d.ts +387 -375
  22. package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
  23. package/_types/actions/schemas/default/normalAction.d.ts +382 -369
  24. package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
  25. package/_types/actions/schemas/default/transfer.d.ts +2932 -1323
  26. package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
  27. package/_types/actions/schemas/deposit/addLiquidity.d.ts +4667 -774
  28. package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
  29. package/_types/actions/schemas/deposit/deposit.d.ts +3526 -345
  30. package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
  31. package/_types/actions/schemas/deposit/depositWithBond.d.ts +4667 -774
  32. package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
  33. package/_types/actions/schemas/deposit/stake.d.ts +3526 -345
  34. package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
  35. package/_types/actions/schemas/fee/fee.d.ts +3510 -331
  36. package/_types/actions/schemas/fee/fee.d.ts.map +1 -1
  37. package/_types/actions/schemas/fee/transactionFee.d.ts +3038 -215
  38. package/_types/actions/schemas/fee/transactionFee.d.ts.map +1 -1
  39. package/_types/actions/schemas/ignore/approve.d.ts +2485 -18
  40. package/_types/actions/schemas/ignore/approve.d.ts.map +1 -1
  41. package/_types/actions/schemas/ignore/failTx.d.ts +2485 -18
  42. package/_types/actions/schemas/ignore/failTx.d.ts.map +1 -1
  43. package/_types/actions/schemas/ignore/ignore.d.ts +136 -130
  44. package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
  45. package/_types/actions/schemas/ignore/move.d.ts +136 -130
  46. package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
  47. package/_types/actions/schemas/ignore/receiveFromCex.d.ts +3518 -339
  48. package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
  49. package/_types/actions/schemas/ignore/revoke.d.ts +2485 -18
  50. package/_types/actions/schemas/ignore/revoke.d.ts.map +1 -1
  51. package/_types/actions/schemas/ignore/sendToCex.d.ts +3521 -342
  52. package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
  53. package/_types/actions/schemas/ignore/spam.d.ts +4663 -772
  54. package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
  55. package/_types/actions/schemas/income/atomicArbitrage.d.ts +3559 -380
  56. package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
  57. package/_types/actions/schemas/income/freeMintNft.d.ts +3014 -191
  58. package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -1
  59. package/_types/actions/schemas/income/income.d.ts +2682 -213
  60. package/_types/actions/schemas/income/income.d.ts.map +1 -1
  61. package/_types/actions/schemas/income/nftRoyalty.d.ts +1629 -39
  62. package/_types/actions/schemas/income/nftRoyalty.d.ts.map +1 -1
  63. package/_types/actions/schemas/income/swapIncome.d.ts +1636 -46
  64. package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
  65. package/_types/actions/schemas/reduce/reduce.d.ts +1636 -46
  66. package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
  67. package/_types/actions/schemas/repayment/repayment.d.ts +3526 -345
  68. package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
  69. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +4667 -774
  70. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
  71. package/_types/actions/schemas/replace/replace.d.ts +4663 -772
  72. package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
  73. package/_types/actions/schemas/replace/swapNft.d.ts +3510 -331
  74. package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -1
  75. package/_types/actions/schemas/replace/unwrap.d.ts +3559 -380
  76. package/_types/actions/schemas/replace/unwrap.d.ts.map +1 -1
  77. package/_types/actions/schemas/replace/wrap.d.ts +3559 -380
  78. package/_types/actions/schemas/replace/wrap.d.ts.map +1 -1
  79. package/_types/actions/schemas/trade/buyCrypto.d.ts +3506 -327
  80. package/_types/actions/schemas/trade/buyCrypto.d.ts.map +1 -1
  81. package/_types/actions/schemas/trade/buyNft.d.ts +4144 -609
  82. package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
  83. package/_types/actions/schemas/trade/mintNft.d.ts +4144 -609
  84. package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
  85. package/_types/actions/schemas/trade/sellCrypto.d.ts +3514 -335
  86. package/_types/actions/schemas/trade/sellCrypto.d.ts.map +1 -1
  87. package/_types/actions/schemas/trade/sellNft.d.ts +4144 -609
  88. package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
  89. package/_types/actions/schemas/trade/trade.d.ts +2854 -383
  90. package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
  91. package/_types/actions/schemas/transfer/swapTransfer.d.ts +1636 -46
  92. package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
  93. package/_types/actions/schemas/transfer/transfer.d.ts +1388 -148
  94. package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
  95. package/_types/actions/schemas/valuedown/valuedown.d.ts +2756 -287
  96. package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
  97. package/_types/actions/schemas/valueup/valueup.d.ts +2761 -292
  98. package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
  99. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +4667 -774
  100. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
  101. package/_types/actions/schemas/withdraw/unstake.d.ts +3523 -342
  102. package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
  103. package/_types/actions/schemas/withdraw/withdraw.d.ts +3523 -342
  104. package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
  105. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +4667 -774
  106. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
  107. package/_types/actions/utils/createEvidenceNoneAccountActions.d.ts.map +1 -1
  108. package/_types/apps/schemas.d.ts +3 -3
  109. package/_types/assets/schemas/asset.d.ts +3 -3
  110. package/_types/assets/schemas/nft.d.ts +3 -3
  111. package/actions/schemas/action.ts +92 -2
  112. package/actions/utils/createEvidenceNoneAccountActions.ts +12 -4
  113. package/package.json +2 -2
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod';
2
- export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
2
+ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
3
3
  type: z.ZodLiteral<"NormalAction">;
4
- timestamp: z.ZodNumber;
4
+ action: z.ZodUnion<[z.ZodLiteral<"add-liquidity">, z.ZodLiteral<"approve">, z.ZodLiteral<"atomic-arbitrage">, z.ZodLiteral<"borrow">, z.ZodLiteral<"bridge-from">, z.ZodLiteral<"bridge-to">, z.ZodLiteral<"buy-nft">, z.ZodLiteral<"buy-crypto">, z.ZodLiteral<"cross-replace">, z.ZodLiteral<"cross-trade">, z.ZodLiteral<"deposit">, z.ZodLiteral<"deposit-with-bond">, z.ZodLiteral<"fail-tx">, z.ZodLiteral<"fee">, z.ZodLiteral<"free-mint-nft">, z.ZodLiteral<"mint-nft">, z.ZodLiteral<"remove-liquidity">, z.ZodLiteral<"repayment">, z.ZodLiteral<"repayment-with-debt">, z.ZodLiteral<"revoke">, z.ZodLiteral<"sell-crypto">, z.ZodLiteral<"spam">, z.ZodLiteral<"stake">, z.ZodLiteral<"swap-nft">, z.ZodLiteral<"trade">, z.ZodLiteral<"transaction-fee">, z.ZodLiteral<"transfer">, z.ZodLiteral<"unstake">, z.ZodLiteral<"unwrap">, z.ZodLiteral<"valuedown">, z.ZodLiteral<"valueup">, z.ZodLiteral<"withdraw">, z.ZodLiteral<"withdraw-with-bond">, z.ZodLiteral<"wrap">]>;
5
5
  evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
6
+ timestamp: z.ZodNumber;
6
7
  comment: z.ZodOptional<z.ZodString>;
7
8
  app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
8
9
  id: z.ZodString;
@@ -15,16 +16,16 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
15
16
  id: string;
16
17
  name: string;
17
18
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
19
+ icon?: string | undefined;
18
20
  description?: string | undefined;
19
21
  website?: string | undefined;
20
- icon?: string | undefined;
21
22
  }, {
22
23
  id: string;
23
24
  name: string;
24
25
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
26
+ icon?: string | undefined;
25
27
  description?: string | undefined;
26
28
  website?: string | undefined;
27
- icon?: string | undefined;
28
29
  }>, {
29
30
  description: string | undefined;
30
31
  website: string | undefined;
@@ -36,57 +37,119 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
36
37
  id: string;
37
38
  name: string;
38
39
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
40
+ icon?: string | undefined;
39
41
  description?: string | undefined;
40
42
  website?: string | undefined;
41
- icon?: string | undefined;
42
43
  }>>;
43
- action: z.ZodLiteral<"sell-crypto">;
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;
44
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
45
+ from: z.ZodOptional<z.ZodString>;
46
+ to: z.ZodOptional<z.ZodString>;
47
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
48
+ type: z.ZodLiteral<"CryptoCurrency">;
49
+ id: z.ZodString;
50
+ name: z.ZodString;
51
+ symbol: z.ZodString;
52
+ icon: z.ZodOptional<z.ZodString>;
53
+ market: z.ZodEffects<z.ZodObject<{
54
+ coingeckoId: z.ZodOptional<z.ZodString>;
55
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
56
+ value: z.ZodBigInt;
57
+ decimals: z.ZodNumber;
58
+ }, "strip", z.ZodTypeAny, {
59
+ value: bigint;
60
+ decimals: number;
61
+ }, {
62
+ value: bigint;
63
+ decimals: number;
64
+ }>>;
51
65
  }, "strip", z.ZodTypeAny, {
52
- value: bigint;
53
- decimals: number;
66
+ coingeckoId?: string | undefined;
67
+ marketCapUsd?: {
68
+ value: bigint;
69
+ decimals: number;
70
+ } | undefined;
54
71
  }, {
55
- value: bigint;
56
- decimals: number;
72
+ coingeckoId?: string | undefined;
73
+ marketCapUsd?: {
74
+ value: bigint;
75
+ decimals: number;
76
+ } | undefined;
77
+ }>, {
78
+ coingeckoId: string | undefined;
79
+ marketCapUsd: {
80
+ value: bigint;
81
+ decimals: number;
82
+ } | undefined;
83
+ }, {
84
+ coingeckoId?: string | undefined;
85
+ marketCapUsd?: {
86
+ value: bigint;
87
+ decimals: number;
88
+ } | undefined;
57
89
  }>;
58
- timestamp: z.ZodNumber;
90
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
91
+ updatedAt: z.ZodNumber;
59
92
  }, "strip", z.ZodTypeAny, {
60
- cryptoCurrencyId: string;
61
- fiatCurrencyId: string;
62
- price: {
63
- value: bigint;
64
- decimals: number;
93
+ symbol: string;
94
+ type: "CryptoCurrency";
95
+ id: string;
96
+ name: string;
97
+ market: {
98
+ coingeckoId: string | undefined;
99
+ marketCapUsd: {
100
+ value: bigint;
101
+ decimals: number;
102
+ } | undefined;
65
103
  };
66
- timestamp: number;
104
+ updatedAt: number;
105
+ icon?: string | undefined;
106
+ priceDatasourceId?: string | undefined;
67
107
  }, {
68
- cryptoCurrencyId: string;
69
- fiatCurrencyId: string;
70
- price: {
71
- value: bigint;
72
- decimals: number;
108
+ symbol: string;
109
+ type: "CryptoCurrency";
110
+ id: string;
111
+ name: string;
112
+ market: {
113
+ coingeckoId?: string | undefined;
114
+ marketCapUsd?: {
115
+ value: bigint;
116
+ decimals: number;
117
+ } | undefined;
73
118
  };
74
- timestamp: number;
75
- }>>;
76
- from: z.ZodOptional<z.ZodString>;
77
- to: z.ZodOptional<z.ZodString>;
78
- amount: z.ZodObject<{
79
- value: z.ZodBigInt;
80
- decimals: z.ZodNumber;
81
- }, "strip", z.ZodTypeAny, {
82
- value: bigint;
83
- decimals: number;
119
+ updatedAt: number;
120
+ icon?: string | undefined;
121
+ priceDatasourceId?: string | undefined;
122
+ }>, {
123
+ icon: string | undefined;
124
+ priceDatasourceId: string | undefined;
125
+ symbol: string;
126
+ type: "CryptoCurrency";
127
+ id: string;
128
+ name: string;
129
+ market: {
130
+ coingeckoId: string | undefined;
131
+ marketCapUsd: {
132
+ value: bigint;
133
+ decimals: number;
134
+ } | undefined;
135
+ };
136
+ updatedAt: number;
84
137
  }, {
85
- value: bigint;
86
- decimals: number;
87
- }>;
88
- direction: z.ZodLiteral<"in">;
89
- asset: z.ZodEffects<z.ZodObject<{
138
+ symbol: string;
139
+ type: "CryptoCurrency";
140
+ id: string;
141
+ name: string;
142
+ market: {
143
+ coingeckoId?: string | undefined;
144
+ marketCapUsd?: {
145
+ value: bigint;
146
+ decimals: number;
147
+ } | undefined;
148
+ };
149
+ updatedAt: number;
150
+ icon?: string | undefined;
151
+ priceDatasourceId?: string | undefined;
152
+ }>, z.ZodEffects<z.ZodObject<{
90
153
  type: z.ZodLiteral<"FiatCurrency">;
91
154
  id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
92
155
  name: z.ZodString;
@@ -116,14 +179,120 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
116
179
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
117
180
  name: string;
118
181
  icon?: string | undefined;
182
+ }>, z.ZodEffects<z.ZodObject<{
183
+ type: z.ZodLiteral<"Nft">;
184
+ id: z.ZodString;
185
+ name: z.ZodOptional<z.ZodString>;
186
+ symbol: z.ZodOptional<z.ZodString>;
187
+ image: z.ZodOptional<z.ZodString>;
188
+ metadata: z.ZodOptional<z.ZodString>;
189
+ updatedAt: z.ZodNumber;
190
+ }, "strip", z.ZodTypeAny, {
191
+ type: "Nft";
192
+ id: string;
193
+ updatedAt: number;
194
+ symbol?: string | undefined;
195
+ name?: string | undefined;
196
+ image?: string | undefined;
197
+ metadata?: string | undefined;
198
+ }, {
199
+ type: "Nft";
200
+ id: string;
201
+ updatedAt: number;
202
+ symbol?: string | undefined;
203
+ name?: string | undefined;
204
+ image?: string | undefined;
205
+ metadata?: string | undefined;
206
+ }>, {
207
+ name: string | undefined;
208
+ symbol: string | undefined;
209
+ image: string | undefined;
210
+ metadata: string | undefined;
211
+ type: "Nft";
212
+ id: string;
213
+ updatedAt: number;
214
+ }, {
215
+ type: "Nft";
216
+ id: string;
217
+ updatedAt: number;
218
+ symbol?: string | undefined;
219
+ name?: string | undefined;
220
+ image?: string | undefined;
221
+ metadata?: string | undefined;
222
+ }>]>;
223
+ amount: z.ZodObject<{
224
+ value: z.ZodBigInt;
225
+ decimals: z.ZodNumber;
226
+ }, "strip", z.ZodTypeAny, {
227
+ value: bigint;
228
+ decimals: number;
229
+ }, {
230
+ value: bigint;
231
+ decimals: number;
119
232
  }>;
120
- }, "strip", z.ZodTypeAny, {
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
+ }, {
265
+ direction: z.ZodLiteral<"in">;
266
+ }>, "strip", z.ZodTypeAny, {
121
267
  asset: {
268
+ icon: string | undefined;
269
+ priceDatasourceId: string | undefined;
270
+ symbol: string;
271
+ type: "CryptoCurrency";
272
+ id: string;
273
+ name: string;
274
+ market: {
275
+ coingeckoId: string | undefined;
276
+ marketCapUsd: {
277
+ value: bigint;
278
+ decimals: number;
279
+ } | undefined;
280
+ };
281
+ updatedAt: number;
282
+ } | {
122
283
  icon: string | undefined;
123
284
  symbol: string;
124
285
  type: "FiatCurrency";
125
286
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
126
287
  name: string;
288
+ } | {
289
+ name: string | undefined;
290
+ symbol: string | undefined;
291
+ image: string | undefined;
292
+ metadata: string | undefined;
293
+ type: "Nft";
294
+ id: string;
295
+ updatedAt: number;
127
296
  };
128
297
  amount: {
129
298
  value: bigint;
@@ -143,11 +312,34 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
143
312
  to?: string | undefined;
144
313
  }, {
145
314
  asset: {
315
+ symbol: string;
316
+ type: "CryptoCurrency";
317
+ id: string;
318
+ name: string;
319
+ market: {
320
+ coingeckoId?: string | undefined;
321
+ marketCapUsd?: {
322
+ value: bigint;
323
+ decimals: number;
324
+ } | undefined;
325
+ };
326
+ updatedAt: number;
327
+ icon?: string | undefined;
328
+ priceDatasourceId?: string | undefined;
329
+ } | {
146
330
  symbol: string;
147
331
  type: "FiatCurrency";
148
332
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
149
333
  name: string;
150
334
  icon?: string | undefined;
335
+ } | {
336
+ type: "Nft";
337
+ id: string;
338
+ updatedAt: number;
339
+ symbol?: string | undefined;
340
+ name?: string | undefined;
341
+ image?: string | undefined;
342
+ metadata?: string | undefined;
151
343
  };
152
344
  amount: {
153
345
  value: bigint;
@@ -178,11 +370,34 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
178
370
  timestamp: number;
179
371
  } | undefined;
180
372
  asset: {
373
+ icon: string | undefined;
374
+ priceDatasourceId: string | undefined;
375
+ symbol: string;
376
+ type: "CryptoCurrency";
377
+ id: string;
378
+ name: string;
379
+ market: {
380
+ coingeckoId: string | undefined;
381
+ marketCapUsd: {
382
+ value: bigint;
383
+ decimals: number;
384
+ } | undefined;
385
+ };
386
+ updatedAt: number;
387
+ } | {
181
388
  icon: string | undefined;
182
389
  symbol: string;
183
390
  type: "FiatCurrency";
184
391
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
185
392
  name: string;
393
+ } | {
394
+ name: string | undefined;
395
+ symbol: string | undefined;
396
+ image: string | undefined;
397
+ metadata: string | undefined;
398
+ type: "Nft";
399
+ id: string;
400
+ updatedAt: number;
186
401
  };
187
402
  amount: {
188
403
  value: bigint;
@@ -192,12 +407,35 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
192
407
  }, {
193
408
  asset: {
194
409
  symbol: string;
195
- type: "FiatCurrency";
196
- id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
410
+ type: "CryptoCurrency";
411
+ id: string;
197
412
  name: string;
198
- icon?: string | undefined;
199
- };
200
- amount: {
413
+ market: {
414
+ coingeckoId?: string | undefined;
415
+ marketCapUsd?: {
416
+ value: bigint;
417
+ decimals: number;
418
+ } | undefined;
419
+ };
420
+ updatedAt: number;
421
+ icon?: string | undefined;
422
+ priceDatasourceId?: string | undefined;
423
+ } | {
424
+ symbol: string;
425
+ type: "FiatCurrency";
426
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
427
+ name: string;
428
+ icon?: string | undefined;
429
+ } | {
430
+ type: "Nft";
431
+ id: string;
432
+ updatedAt: number;
433
+ symbol?: string | undefined;
434
+ name?: string | undefined;
435
+ image?: string | undefined;
436
+ metadata?: string | undefined;
437
+ };
438
+ amount: {
201
439
  value: bigint;
202
440
  decimals: number;
203
441
  };
@@ -213,52 +451,10 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
213
451
  } | undefined;
214
452
  from?: string | undefined;
215
453
  to?: string | undefined;
216
- }>, z.ZodEffects<z.ZodObject<{
217
- price: z.ZodOptional<z.ZodObject<{
218
- cryptoCurrencyId: z.ZodString;
219
- fiatCurrencyId: z.ZodString;
220
- price: z.ZodObject<{
221
- value: z.ZodBigInt;
222
- decimals: z.ZodNumber;
223
- }, "strip", z.ZodTypeAny, {
224
- value: bigint;
225
- decimals: number;
226
- }, {
227
- value: bigint;
228
- decimals: number;
229
- }>;
230
- timestamp: z.ZodNumber;
231
- }, "strip", z.ZodTypeAny, {
232
- cryptoCurrencyId: string;
233
- fiatCurrencyId: string;
234
- price: {
235
- value: bigint;
236
- decimals: number;
237
- };
238
- timestamp: number;
239
- }, {
240
- cryptoCurrencyId: string;
241
- fiatCurrencyId: string;
242
- price: {
243
- value: bigint;
244
- decimals: number;
245
- };
246
- timestamp: number;
247
- }>>;
454
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
248
455
  from: z.ZodOptional<z.ZodString>;
249
456
  to: z.ZodOptional<z.ZodString>;
250
- amount: z.ZodObject<{
251
- value: z.ZodBigInt;
252
- decimals: z.ZodNumber;
253
- }, "strip", z.ZodTypeAny, {
254
- value: bigint;
255
- decimals: number;
256
- }, {
257
- value: bigint;
258
- decimals: number;
259
- }>;
260
- direction: z.ZodLiteral<"out">;
261
- asset: z.ZodEffects<z.ZodObject<{
457
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
262
458
  type: z.ZodLiteral<"CryptoCurrency">;
263
459
  id: z.ZodString;
264
460
  name: z.ZodString;
@@ -363,8 +559,121 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
363
559
  updatedAt: number;
364
560
  icon?: string | undefined;
365
561
  priceDatasourceId?: string | undefined;
562
+ }>, z.ZodEffects<z.ZodObject<{
563
+ type: z.ZodLiteral<"FiatCurrency">;
564
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
565
+ name: z.ZodString;
566
+ symbol: z.ZodString;
567
+ icon: z.ZodOptional<z.ZodString>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ symbol: string;
570
+ type: "FiatCurrency";
571
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
572
+ name: string;
573
+ icon?: string | undefined;
574
+ }, {
575
+ symbol: string;
576
+ type: "FiatCurrency";
577
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
578
+ name: string;
579
+ icon?: string | undefined;
580
+ }>, {
581
+ icon: string | undefined;
582
+ symbol: string;
583
+ type: "FiatCurrency";
584
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
585
+ name: string;
586
+ }, {
587
+ symbol: string;
588
+ type: "FiatCurrency";
589
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
590
+ name: string;
591
+ icon?: string | undefined;
592
+ }>, z.ZodEffects<z.ZodObject<{
593
+ type: z.ZodLiteral<"Nft">;
594
+ id: z.ZodString;
595
+ name: z.ZodOptional<z.ZodString>;
596
+ symbol: z.ZodOptional<z.ZodString>;
597
+ image: z.ZodOptional<z.ZodString>;
598
+ metadata: z.ZodOptional<z.ZodString>;
599
+ updatedAt: z.ZodNumber;
600
+ }, "strip", z.ZodTypeAny, {
601
+ type: "Nft";
602
+ id: string;
603
+ updatedAt: number;
604
+ symbol?: string | undefined;
605
+ name?: string | undefined;
606
+ image?: string | undefined;
607
+ metadata?: string | undefined;
608
+ }, {
609
+ type: "Nft";
610
+ id: string;
611
+ updatedAt: number;
612
+ symbol?: string | undefined;
613
+ name?: string | undefined;
614
+ image?: string | undefined;
615
+ metadata?: string | undefined;
616
+ }>, {
617
+ name: string | undefined;
618
+ symbol: string | undefined;
619
+ image: string | undefined;
620
+ metadata: string | undefined;
621
+ type: "Nft";
622
+ id: string;
623
+ updatedAt: number;
624
+ }, {
625
+ type: "Nft";
626
+ id: string;
627
+ updatedAt: number;
628
+ symbol?: string | undefined;
629
+ name?: string | undefined;
630
+ image?: string | undefined;
631
+ metadata?: string | undefined;
632
+ }>]>;
633
+ amount: z.ZodObject<{
634
+ value: z.ZodBigInt;
635
+ decimals: z.ZodNumber;
636
+ }, "strip", z.ZodTypeAny, {
637
+ value: bigint;
638
+ decimals: number;
639
+ }, {
640
+ value: bigint;
641
+ decimals: number;
366
642
  }>;
367
- }, "strip", z.ZodTypeAny, {
643
+ price: z.ZodOptional<z.ZodObject<{
644
+ cryptoCurrencyId: z.ZodString;
645
+ fiatCurrencyId: z.ZodString;
646
+ price: z.ZodObject<{
647
+ value: z.ZodBigInt;
648
+ decimals: z.ZodNumber;
649
+ }, "strip", z.ZodTypeAny, {
650
+ value: bigint;
651
+ decimals: number;
652
+ }, {
653
+ value: bigint;
654
+ decimals: number;
655
+ }>;
656
+ timestamp: z.ZodNumber;
657
+ }, "strip", z.ZodTypeAny, {
658
+ cryptoCurrencyId: string;
659
+ fiatCurrencyId: string;
660
+ price: {
661
+ value: bigint;
662
+ decimals: number;
663
+ };
664
+ timestamp: number;
665
+ }, {
666
+ cryptoCurrencyId: string;
667
+ fiatCurrencyId: string;
668
+ price: {
669
+ value: bigint;
670
+ decimals: number;
671
+ };
672
+ timestamp: number;
673
+ }>>;
674
+ }, {
675
+ direction: z.ZodLiteral<"out">;
676
+ }>, "strip", z.ZodTypeAny, {
368
677
  asset: {
369
678
  icon: string | undefined;
370
679
  priceDatasourceId: string | undefined;
@@ -380,6 +689,20 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
380
689
  } | undefined;
381
690
  };
382
691
  updatedAt: number;
692
+ } | {
693
+ icon: string | undefined;
694
+ symbol: string;
695
+ type: "FiatCurrency";
696
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
697
+ name: string;
698
+ } | {
699
+ name: string | undefined;
700
+ symbol: string | undefined;
701
+ image: string | undefined;
702
+ metadata: string | undefined;
703
+ type: "Nft";
704
+ id: string;
705
+ updatedAt: number;
383
706
  };
384
707
  amount: {
385
708
  value: bigint;
@@ -413,6 +736,20 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
413
736
  updatedAt: number;
414
737
  icon?: string | undefined;
415
738
  priceDatasourceId?: string | undefined;
739
+ } | {
740
+ symbol: string;
741
+ type: "FiatCurrency";
742
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
743
+ name: string;
744
+ icon?: string | undefined;
745
+ } | {
746
+ type: "Nft";
747
+ id: string;
748
+ updatedAt: number;
749
+ symbol?: string | undefined;
750
+ name?: string | undefined;
751
+ image?: string | undefined;
752
+ metadata?: string | undefined;
416
753
  };
417
754
  amount: {
418
755
  value: bigint;
@@ -457,6 +794,20 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
457
794
  } | undefined;
458
795
  };
459
796
  updatedAt: number;
797
+ } | {
798
+ icon: string | undefined;
799
+ symbol: string;
800
+ type: "FiatCurrency";
801
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
802
+ name: string;
803
+ } | {
804
+ name: string | undefined;
805
+ symbol: string | undefined;
806
+ image: string | undefined;
807
+ metadata: string | undefined;
808
+ type: "Nft";
809
+ id: string;
810
+ updatedAt: number;
460
811
  };
461
812
  amount: {
462
813
  value: bigint;
@@ -479,57 +830,27 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
479
830
  updatedAt: number;
480
831
  icon?: string | undefined;
481
832
  priceDatasourceId?: string | undefined;
482
- };
483
- amount: {
484
- value: bigint;
485
- decimals: number;
486
- };
487
- direction: "out";
488
- price?: {
489
- cryptoCurrencyId: string;
490
- fiatCurrencyId: string;
491
- price: {
492
- value: bigint;
493
- decimals: number;
494
- };
495
- timestamp: number;
496
- } | undefined;
497
- from?: string | undefined;
498
- to?: string | undefined;
499
- }>]>, "many">;
500
- }, "strip", z.ZodTypeAny, {
501
- type: "NormalAction";
502
- timestamp: number;
503
- action: "sell-crypto";
504
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
505
- transfers: ({
506
- from: string | undefined;
507
- to: string | undefined;
508
- price: {
509
- cryptoCurrencyId: string;
510
- fiatCurrencyId: string;
511
- price: {
512
- value: bigint;
513
- decimals: number;
514
- };
515
- timestamp: number;
516
- } | undefined;
517
- asset: {
518
- icon: string | undefined;
833
+ } | {
519
834
  symbol: string;
520
835
  type: "FiatCurrency";
521
836
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
522
837
  name: string;
838
+ icon?: string | undefined;
839
+ } | {
840
+ type: "Nft";
841
+ id: string;
842
+ updatedAt: number;
843
+ symbol?: string | undefined;
844
+ name?: string | undefined;
845
+ image?: string | undefined;
846
+ metadata?: string | undefined;
523
847
  };
524
848
  amount: {
525
849
  value: bigint;
526
850
  decimals: number;
527
851
  };
528
- direction: "in";
529
- } | {
530
- from: string | undefined;
531
- to: string | undefined;
532
- price: {
852
+ direction: "out";
853
+ price?: {
533
854
  cryptoCurrencyId: string;
534
855
  fiatCurrencyId: string;
535
856
  price: {
@@ -538,55 +859,2643 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
538
859
  };
539
860
  timestamp: number;
540
861
  } | undefined;
541
- asset: {
542
- icon: string | undefined;
543
- priceDatasourceId: string | undefined;
544
- symbol: string;
545
- type: "CryptoCurrency";
546
- id: string;
547
- name: string;
548
- market: {
549
- coingeckoId: string | undefined;
550
- marketCapUsd: {
862
+ from?: string | undefined;
863
+ to?: string | undefined;
864
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
865
+ from: z.ZodOptional<z.ZodString>;
866
+ to: z.ZodOptional<z.ZodString>;
867
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
868
+ type: z.ZodLiteral<"CryptoCurrency">;
869
+ id: z.ZodString;
870
+ name: z.ZodString;
871
+ symbol: z.ZodString;
872
+ icon: z.ZodOptional<z.ZodString>;
873
+ market: z.ZodEffects<z.ZodObject<{
874
+ coingeckoId: z.ZodOptional<z.ZodString>;
875
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
876
+ value: z.ZodBigInt;
877
+ decimals: z.ZodNumber;
878
+ }, "strip", z.ZodTypeAny, {
879
+ value: bigint;
880
+ decimals: number;
881
+ }, {
882
+ value: bigint;
883
+ decimals: number;
884
+ }>>;
885
+ }, "strip", z.ZodTypeAny, {
886
+ coingeckoId?: string | undefined;
887
+ marketCapUsd?: {
551
888
  value: bigint;
552
889
  decimals: number;
553
890
  } | undefined;
554
- };
555
- updatedAt: number;
556
- };
557
- amount: {
558
- value: bigint;
559
- decimals: number;
560
- };
891
+ }, {
892
+ coingeckoId?: string | undefined;
893
+ marketCapUsd?: {
894
+ value: bigint;
895
+ decimals: number;
896
+ } | undefined;
897
+ }>, {
898
+ coingeckoId: string | undefined;
899
+ marketCapUsd: {
900
+ value: bigint;
901
+ decimals: number;
902
+ } | undefined;
903
+ }, {
904
+ coingeckoId?: string | undefined;
905
+ marketCapUsd?: {
906
+ value: bigint;
907
+ decimals: number;
908
+ } | undefined;
909
+ }>;
910
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
911
+ updatedAt: z.ZodNumber;
912
+ }, "strip", z.ZodTypeAny, {
913
+ symbol: string;
914
+ type: "CryptoCurrency";
915
+ id: string;
916
+ name: string;
917
+ market: {
918
+ coingeckoId: string | undefined;
919
+ marketCapUsd: {
920
+ value: bigint;
921
+ decimals: number;
922
+ } | undefined;
923
+ };
924
+ updatedAt: number;
925
+ icon?: string | undefined;
926
+ priceDatasourceId?: string | undefined;
927
+ }, {
928
+ symbol: string;
929
+ type: "CryptoCurrency";
930
+ id: string;
931
+ name: string;
932
+ market: {
933
+ coingeckoId?: string | undefined;
934
+ marketCapUsd?: {
935
+ value: bigint;
936
+ decimals: number;
937
+ } | undefined;
938
+ };
939
+ updatedAt: number;
940
+ icon?: string | undefined;
941
+ priceDatasourceId?: string | undefined;
942
+ }>, {
943
+ icon: string | undefined;
944
+ priceDatasourceId: string | undefined;
945
+ symbol: string;
946
+ type: "CryptoCurrency";
947
+ id: string;
948
+ name: string;
949
+ market: {
950
+ coingeckoId: string | undefined;
951
+ marketCapUsd: {
952
+ value: bigint;
953
+ decimals: number;
954
+ } | undefined;
955
+ };
956
+ updatedAt: number;
957
+ }, {
958
+ symbol: string;
959
+ type: "CryptoCurrency";
960
+ id: string;
961
+ name: string;
962
+ market: {
963
+ coingeckoId?: string | undefined;
964
+ marketCapUsd?: {
965
+ value: bigint;
966
+ decimals: number;
967
+ } | undefined;
968
+ };
969
+ updatedAt: number;
970
+ icon?: string | undefined;
971
+ priceDatasourceId?: string | undefined;
972
+ }>, z.ZodEffects<z.ZodObject<{
973
+ type: z.ZodLiteral<"FiatCurrency">;
974
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
975
+ name: z.ZodString;
976
+ symbol: z.ZodString;
977
+ icon: z.ZodOptional<z.ZodString>;
978
+ }, "strip", z.ZodTypeAny, {
979
+ symbol: string;
980
+ type: "FiatCurrency";
981
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
982
+ name: string;
983
+ icon?: string | undefined;
984
+ }, {
985
+ symbol: string;
986
+ type: "FiatCurrency";
987
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
988
+ name: string;
989
+ icon?: string | undefined;
990
+ }>, {
991
+ icon: string | undefined;
992
+ symbol: string;
993
+ type: "FiatCurrency";
994
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
995
+ name: string;
996
+ }, {
997
+ symbol: string;
998
+ type: "FiatCurrency";
999
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1000
+ name: string;
1001
+ icon?: string | undefined;
1002
+ }>, z.ZodEffects<z.ZodObject<{
1003
+ type: z.ZodLiteral<"Nft">;
1004
+ id: z.ZodString;
1005
+ name: z.ZodOptional<z.ZodString>;
1006
+ symbol: z.ZodOptional<z.ZodString>;
1007
+ image: z.ZodOptional<z.ZodString>;
1008
+ metadata: z.ZodOptional<z.ZodString>;
1009
+ updatedAt: z.ZodNumber;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ type: "Nft";
1012
+ id: string;
1013
+ updatedAt: number;
1014
+ symbol?: string | undefined;
1015
+ name?: string | undefined;
1016
+ image?: string | undefined;
1017
+ metadata?: string | undefined;
1018
+ }, {
1019
+ type: "Nft";
1020
+ id: string;
1021
+ updatedAt: number;
1022
+ symbol?: string | undefined;
1023
+ name?: string | undefined;
1024
+ image?: string | undefined;
1025
+ metadata?: string | undefined;
1026
+ }>, {
1027
+ name: string | undefined;
1028
+ symbol: string | undefined;
1029
+ image: string | undefined;
1030
+ metadata: string | undefined;
1031
+ type: "Nft";
1032
+ id: string;
1033
+ updatedAt: number;
1034
+ }, {
1035
+ type: "Nft";
1036
+ id: string;
1037
+ updatedAt: number;
1038
+ symbol?: string | undefined;
1039
+ name?: string | undefined;
1040
+ image?: string | undefined;
1041
+ metadata?: string | undefined;
1042
+ }>]>;
1043
+ amount: z.ZodObject<{
1044
+ value: z.ZodBigInt;
1045
+ decimals: z.ZodNumber;
1046
+ }, "strip", z.ZodTypeAny, {
1047
+ value: bigint;
1048
+ decimals: number;
1049
+ }, {
1050
+ value: bigint;
1051
+ decimals: number;
1052
+ }>;
1053
+ price: z.ZodOptional<z.ZodObject<{
1054
+ cryptoCurrencyId: z.ZodString;
1055
+ fiatCurrencyId: z.ZodString;
1056
+ price: z.ZodObject<{
1057
+ value: z.ZodBigInt;
1058
+ decimals: z.ZodNumber;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ value: bigint;
1061
+ decimals: number;
1062
+ }, {
1063
+ value: bigint;
1064
+ decimals: number;
1065
+ }>;
1066
+ timestamp: z.ZodNumber;
1067
+ }, "strip", z.ZodTypeAny, {
1068
+ cryptoCurrencyId: string;
1069
+ fiatCurrencyId: string;
1070
+ price: {
1071
+ value: bigint;
1072
+ decimals: number;
1073
+ };
1074
+ timestamp: number;
1075
+ }, {
1076
+ cryptoCurrencyId: string;
1077
+ fiatCurrencyId: string;
1078
+ price: {
1079
+ value: bigint;
1080
+ decimals: number;
1081
+ };
1082
+ timestamp: number;
1083
+ }>>;
1084
+ }, {
1085
+ direction: z.ZodLiteral<"none">;
1086
+ }>, "strip", z.ZodTypeAny, {
1087
+ asset: {
1088
+ icon: string | undefined;
1089
+ priceDatasourceId: string | undefined;
1090
+ symbol: string;
1091
+ type: "CryptoCurrency";
1092
+ id: string;
1093
+ name: string;
1094
+ market: {
1095
+ coingeckoId: string | undefined;
1096
+ marketCapUsd: {
1097
+ value: bigint;
1098
+ decimals: number;
1099
+ } | undefined;
1100
+ };
1101
+ updatedAt: number;
1102
+ } | {
1103
+ icon: string | undefined;
1104
+ symbol: string;
1105
+ type: "FiatCurrency";
1106
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1107
+ name: string;
1108
+ } | {
1109
+ name: string | undefined;
1110
+ symbol: string | undefined;
1111
+ image: string | undefined;
1112
+ metadata: string | undefined;
1113
+ type: "Nft";
1114
+ id: string;
1115
+ updatedAt: number;
1116
+ };
1117
+ amount: {
1118
+ value: bigint;
1119
+ decimals: number;
1120
+ };
1121
+ direction: "none";
1122
+ price?: {
1123
+ cryptoCurrencyId: string;
1124
+ fiatCurrencyId: string;
1125
+ price: {
1126
+ value: bigint;
1127
+ decimals: number;
1128
+ };
1129
+ timestamp: number;
1130
+ } | undefined;
1131
+ from?: string | undefined;
1132
+ to?: string | undefined;
1133
+ }, {
1134
+ asset: {
1135
+ symbol: string;
1136
+ type: "CryptoCurrency";
1137
+ id: string;
1138
+ name: string;
1139
+ market: {
1140
+ coingeckoId?: string | undefined;
1141
+ marketCapUsd?: {
1142
+ value: bigint;
1143
+ decimals: number;
1144
+ } | undefined;
1145
+ };
1146
+ updatedAt: number;
1147
+ icon?: string | undefined;
1148
+ priceDatasourceId?: string | undefined;
1149
+ } | {
1150
+ symbol: string;
1151
+ type: "FiatCurrency";
1152
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1153
+ name: string;
1154
+ icon?: string | undefined;
1155
+ } | {
1156
+ type: "Nft";
1157
+ id: string;
1158
+ updatedAt: number;
1159
+ symbol?: string | undefined;
1160
+ name?: string | undefined;
1161
+ image?: string | undefined;
1162
+ metadata?: string | undefined;
1163
+ };
1164
+ amount: {
1165
+ value: bigint;
1166
+ decimals: number;
1167
+ };
1168
+ direction: "none";
1169
+ price?: {
1170
+ cryptoCurrencyId: string;
1171
+ fiatCurrencyId: string;
1172
+ price: {
1173
+ value: bigint;
1174
+ decimals: number;
1175
+ };
1176
+ timestamp: number;
1177
+ } | undefined;
1178
+ from?: string | undefined;
1179
+ to?: string | undefined;
1180
+ }>, {
1181
+ from: string | undefined;
1182
+ to: string | undefined;
1183
+ price: {
1184
+ cryptoCurrencyId: string;
1185
+ fiatCurrencyId: string;
1186
+ price: {
1187
+ value: bigint;
1188
+ decimals: number;
1189
+ };
1190
+ timestamp: number;
1191
+ } | undefined;
1192
+ asset: {
1193
+ icon: string | undefined;
1194
+ priceDatasourceId: string | undefined;
1195
+ symbol: string;
1196
+ type: "CryptoCurrency";
1197
+ id: string;
1198
+ name: string;
1199
+ market: {
1200
+ coingeckoId: string | undefined;
1201
+ marketCapUsd: {
1202
+ value: bigint;
1203
+ decimals: number;
1204
+ } | undefined;
1205
+ };
1206
+ updatedAt: number;
1207
+ } | {
1208
+ icon: string | undefined;
1209
+ symbol: string;
1210
+ type: "FiatCurrency";
1211
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1212
+ name: string;
1213
+ } | {
1214
+ name: string | undefined;
1215
+ symbol: string | undefined;
1216
+ image: string | undefined;
1217
+ metadata: string | undefined;
1218
+ type: "Nft";
1219
+ id: string;
1220
+ updatedAt: number;
1221
+ };
1222
+ amount: {
1223
+ value: bigint;
1224
+ decimals: number;
1225
+ };
1226
+ direction: "none";
1227
+ }, {
1228
+ asset: {
1229
+ symbol: string;
1230
+ type: "CryptoCurrency";
1231
+ id: string;
1232
+ name: string;
1233
+ market: {
1234
+ coingeckoId?: string | undefined;
1235
+ marketCapUsd?: {
1236
+ value: bigint;
1237
+ decimals: number;
1238
+ } | undefined;
1239
+ };
1240
+ updatedAt: number;
1241
+ icon?: string | undefined;
1242
+ priceDatasourceId?: string | undefined;
1243
+ } | {
1244
+ symbol: string;
1245
+ type: "FiatCurrency";
1246
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1247
+ name: string;
1248
+ icon?: string | undefined;
1249
+ } | {
1250
+ type: "Nft";
1251
+ id: string;
1252
+ updatedAt: number;
1253
+ symbol?: string | undefined;
1254
+ name?: string | undefined;
1255
+ image?: string | undefined;
1256
+ metadata?: string | undefined;
1257
+ };
1258
+ amount: {
1259
+ value: bigint;
1260
+ decimals: number;
1261
+ };
1262
+ direction: "none";
1263
+ price?: {
1264
+ cryptoCurrencyId: string;
1265
+ fiatCurrencyId: string;
1266
+ price: {
1267
+ value: bigint;
1268
+ decimals: number;
1269
+ };
1270
+ timestamp: number;
1271
+ } | undefined;
1272
+ from?: string | undefined;
1273
+ to?: string | undefined;
1274
+ }>]>, "many">;
1275
+ }, {
1276
+ action: z.ZodLiteral<"sell-crypto">;
1277
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1278
+ from: z.ZodOptional<z.ZodString>;
1279
+ to: z.ZodOptional<z.ZodString>;
1280
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1281
+ type: z.ZodLiteral<"CryptoCurrency">;
1282
+ id: z.ZodString;
1283
+ name: z.ZodString;
1284
+ symbol: z.ZodString;
1285
+ icon: z.ZodOptional<z.ZodString>;
1286
+ market: z.ZodEffects<z.ZodObject<{
1287
+ coingeckoId: z.ZodOptional<z.ZodString>;
1288
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1289
+ value: z.ZodBigInt;
1290
+ decimals: z.ZodNumber;
1291
+ }, "strip", z.ZodTypeAny, {
1292
+ value: bigint;
1293
+ decimals: number;
1294
+ }, {
1295
+ value: bigint;
1296
+ decimals: number;
1297
+ }>>;
1298
+ }, "strip", z.ZodTypeAny, {
1299
+ coingeckoId?: string | undefined;
1300
+ marketCapUsd?: {
1301
+ value: bigint;
1302
+ decimals: number;
1303
+ } | undefined;
1304
+ }, {
1305
+ coingeckoId?: string | undefined;
1306
+ marketCapUsd?: {
1307
+ value: bigint;
1308
+ decimals: number;
1309
+ } | undefined;
1310
+ }>, {
1311
+ coingeckoId: string | undefined;
1312
+ marketCapUsd: {
1313
+ value: bigint;
1314
+ decimals: number;
1315
+ } | undefined;
1316
+ }, {
1317
+ coingeckoId?: string | undefined;
1318
+ marketCapUsd?: {
1319
+ value: bigint;
1320
+ decimals: number;
1321
+ } | undefined;
1322
+ }>;
1323
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1324
+ updatedAt: z.ZodNumber;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ symbol: string;
1327
+ type: "CryptoCurrency";
1328
+ id: string;
1329
+ name: string;
1330
+ market: {
1331
+ coingeckoId: string | undefined;
1332
+ marketCapUsd: {
1333
+ value: bigint;
1334
+ decimals: number;
1335
+ } | undefined;
1336
+ };
1337
+ updatedAt: number;
1338
+ icon?: string | undefined;
1339
+ priceDatasourceId?: string | undefined;
1340
+ }, {
1341
+ symbol: string;
1342
+ type: "CryptoCurrency";
1343
+ id: string;
1344
+ name: string;
1345
+ market: {
1346
+ coingeckoId?: string | undefined;
1347
+ marketCapUsd?: {
1348
+ value: bigint;
1349
+ decimals: number;
1350
+ } | undefined;
1351
+ };
1352
+ updatedAt: number;
1353
+ icon?: string | undefined;
1354
+ priceDatasourceId?: string | undefined;
1355
+ }>, {
1356
+ icon: string | undefined;
1357
+ priceDatasourceId: string | undefined;
1358
+ symbol: string;
1359
+ type: "CryptoCurrency";
1360
+ id: string;
1361
+ name: string;
1362
+ market: {
1363
+ coingeckoId: string | undefined;
1364
+ marketCapUsd: {
1365
+ value: bigint;
1366
+ decimals: number;
1367
+ } | undefined;
1368
+ };
1369
+ updatedAt: number;
1370
+ }, {
1371
+ symbol: string;
1372
+ type: "CryptoCurrency";
1373
+ id: string;
1374
+ name: string;
1375
+ market: {
1376
+ coingeckoId?: string | undefined;
1377
+ marketCapUsd?: {
1378
+ value: bigint;
1379
+ decimals: number;
1380
+ } | undefined;
1381
+ };
1382
+ updatedAt: number;
1383
+ icon?: string | undefined;
1384
+ priceDatasourceId?: string | undefined;
1385
+ }>, z.ZodEffects<z.ZodObject<{
1386
+ type: z.ZodLiteral<"FiatCurrency">;
1387
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
1388
+ name: z.ZodString;
1389
+ symbol: z.ZodString;
1390
+ icon: z.ZodOptional<z.ZodString>;
1391
+ }, "strip", z.ZodTypeAny, {
1392
+ symbol: string;
1393
+ type: "FiatCurrency";
1394
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1395
+ name: string;
1396
+ icon?: string | undefined;
1397
+ }, {
1398
+ symbol: string;
1399
+ type: "FiatCurrency";
1400
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1401
+ name: string;
1402
+ icon?: string | undefined;
1403
+ }>, {
1404
+ icon: string | undefined;
1405
+ symbol: string;
1406
+ type: "FiatCurrency";
1407
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1408
+ name: string;
1409
+ }, {
1410
+ symbol: string;
1411
+ type: "FiatCurrency";
1412
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1413
+ name: string;
1414
+ icon?: string | undefined;
1415
+ }>, z.ZodEffects<z.ZodObject<{
1416
+ type: z.ZodLiteral<"Nft">;
1417
+ id: z.ZodString;
1418
+ name: z.ZodOptional<z.ZodString>;
1419
+ symbol: z.ZodOptional<z.ZodString>;
1420
+ image: z.ZodOptional<z.ZodString>;
1421
+ metadata: z.ZodOptional<z.ZodString>;
1422
+ updatedAt: z.ZodNumber;
1423
+ }, "strip", z.ZodTypeAny, {
1424
+ type: "Nft";
1425
+ id: string;
1426
+ updatedAt: number;
1427
+ symbol?: string | undefined;
1428
+ name?: string | undefined;
1429
+ image?: string | undefined;
1430
+ metadata?: string | undefined;
1431
+ }, {
1432
+ type: "Nft";
1433
+ id: string;
1434
+ updatedAt: number;
1435
+ symbol?: string | undefined;
1436
+ name?: string | undefined;
1437
+ image?: string | undefined;
1438
+ metadata?: string | undefined;
1439
+ }>, {
1440
+ name: string | undefined;
1441
+ symbol: string | undefined;
1442
+ image: string | undefined;
1443
+ metadata: string | undefined;
1444
+ type: "Nft";
1445
+ id: string;
1446
+ updatedAt: number;
1447
+ }, {
1448
+ type: "Nft";
1449
+ id: string;
1450
+ updatedAt: number;
1451
+ symbol?: string | undefined;
1452
+ name?: string | undefined;
1453
+ image?: string | undefined;
1454
+ metadata?: string | undefined;
1455
+ }>]>;
1456
+ amount: z.ZodObject<{
1457
+ value: z.ZodBigInt;
1458
+ decimals: z.ZodNumber;
1459
+ }, "strip", z.ZodTypeAny, {
1460
+ value: bigint;
1461
+ decimals: number;
1462
+ }, {
1463
+ value: bigint;
1464
+ decimals: number;
1465
+ }>;
1466
+ price: z.ZodOptional<z.ZodObject<{
1467
+ cryptoCurrencyId: z.ZodString;
1468
+ fiatCurrencyId: z.ZodString;
1469
+ price: z.ZodObject<{
1470
+ value: z.ZodBigInt;
1471
+ decimals: z.ZodNumber;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ value: bigint;
1474
+ decimals: number;
1475
+ }, {
1476
+ value: bigint;
1477
+ decimals: number;
1478
+ }>;
1479
+ timestamp: z.ZodNumber;
1480
+ }, "strip", z.ZodTypeAny, {
1481
+ cryptoCurrencyId: string;
1482
+ fiatCurrencyId: string;
1483
+ price: {
1484
+ value: bigint;
1485
+ decimals: number;
1486
+ };
1487
+ timestamp: number;
1488
+ }, {
1489
+ cryptoCurrencyId: string;
1490
+ fiatCurrencyId: string;
1491
+ price: {
1492
+ value: bigint;
1493
+ decimals: number;
1494
+ };
1495
+ timestamp: number;
1496
+ }>>;
1497
+ }, {
1498
+ direction: z.ZodLiteral<"in">;
1499
+ }>, {
1500
+ asset: z.ZodEffects<z.ZodObject<{
1501
+ type: z.ZodLiteral<"FiatCurrency">;
1502
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
1503
+ name: z.ZodString;
1504
+ symbol: z.ZodString;
1505
+ icon: z.ZodOptional<z.ZodString>;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ symbol: string;
1508
+ type: "FiatCurrency";
1509
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1510
+ name: string;
1511
+ icon?: string | undefined;
1512
+ }, {
1513
+ symbol: string;
1514
+ type: "FiatCurrency";
1515
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1516
+ name: string;
1517
+ icon?: string | undefined;
1518
+ }>, {
1519
+ icon: string | undefined;
1520
+ symbol: string;
1521
+ type: "FiatCurrency";
1522
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1523
+ name: string;
1524
+ }, {
1525
+ symbol: string;
1526
+ type: "FiatCurrency";
1527
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1528
+ name: string;
1529
+ icon?: string | undefined;
1530
+ }>;
1531
+ }>, "strip", z.ZodTypeAny, {
1532
+ asset: {
1533
+ icon: string | undefined;
1534
+ symbol: string;
1535
+ type: "FiatCurrency";
1536
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1537
+ name: string;
1538
+ };
1539
+ amount: {
1540
+ value: bigint;
1541
+ decimals: number;
1542
+ };
1543
+ direction: "in";
1544
+ price?: {
1545
+ cryptoCurrencyId: string;
1546
+ fiatCurrencyId: string;
1547
+ price: {
1548
+ value: bigint;
1549
+ decimals: number;
1550
+ };
1551
+ timestamp: number;
1552
+ } | undefined;
1553
+ from?: string | undefined;
1554
+ to?: string | undefined;
1555
+ }, {
1556
+ asset: {
1557
+ symbol: string;
1558
+ type: "FiatCurrency";
1559
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1560
+ name: string;
1561
+ icon?: string | undefined;
1562
+ };
1563
+ amount: {
1564
+ value: bigint;
1565
+ decimals: number;
1566
+ };
1567
+ direction: "in";
1568
+ price?: {
1569
+ cryptoCurrencyId: string;
1570
+ fiatCurrencyId: string;
1571
+ price: {
1572
+ value: bigint;
1573
+ decimals: number;
1574
+ };
1575
+ timestamp: number;
1576
+ } | undefined;
1577
+ from?: string | undefined;
1578
+ to?: string | undefined;
1579
+ }>, {
1580
+ from: string | undefined;
1581
+ to: string | undefined;
1582
+ price: {
1583
+ cryptoCurrencyId: string;
1584
+ fiatCurrencyId: string;
1585
+ price: {
1586
+ value: bigint;
1587
+ decimals: number;
1588
+ };
1589
+ timestamp: number;
1590
+ } | undefined;
1591
+ asset: {
1592
+ icon: string | undefined;
1593
+ symbol: string;
1594
+ type: "FiatCurrency";
1595
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1596
+ name: string;
1597
+ };
1598
+ amount: {
1599
+ value: bigint;
1600
+ decimals: number;
1601
+ };
1602
+ direction: "in";
1603
+ }, {
1604
+ asset: {
1605
+ symbol: string;
1606
+ type: "FiatCurrency";
1607
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1608
+ name: string;
1609
+ icon?: string | undefined;
1610
+ };
1611
+ amount: {
1612
+ value: bigint;
1613
+ decimals: number;
1614
+ };
1615
+ direction: "in";
1616
+ price?: {
1617
+ cryptoCurrencyId: string;
1618
+ fiatCurrencyId: string;
1619
+ price: {
1620
+ value: bigint;
1621
+ decimals: number;
1622
+ };
1623
+ timestamp: number;
1624
+ } | undefined;
1625
+ from?: string | undefined;
1626
+ to?: string | undefined;
1627
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1628
+ from: z.ZodOptional<z.ZodString>;
1629
+ to: z.ZodOptional<z.ZodString>;
1630
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1631
+ type: z.ZodLiteral<"CryptoCurrency">;
1632
+ id: z.ZodString;
1633
+ name: z.ZodString;
1634
+ symbol: z.ZodString;
1635
+ icon: z.ZodOptional<z.ZodString>;
1636
+ market: z.ZodEffects<z.ZodObject<{
1637
+ coingeckoId: z.ZodOptional<z.ZodString>;
1638
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1639
+ value: z.ZodBigInt;
1640
+ decimals: z.ZodNumber;
1641
+ }, "strip", z.ZodTypeAny, {
1642
+ value: bigint;
1643
+ decimals: number;
1644
+ }, {
1645
+ value: bigint;
1646
+ decimals: number;
1647
+ }>>;
1648
+ }, "strip", z.ZodTypeAny, {
1649
+ coingeckoId?: string | undefined;
1650
+ marketCapUsd?: {
1651
+ value: bigint;
1652
+ decimals: number;
1653
+ } | undefined;
1654
+ }, {
1655
+ coingeckoId?: string | undefined;
1656
+ marketCapUsd?: {
1657
+ value: bigint;
1658
+ decimals: number;
1659
+ } | undefined;
1660
+ }>, {
1661
+ coingeckoId: string | undefined;
1662
+ marketCapUsd: {
1663
+ value: bigint;
1664
+ decimals: number;
1665
+ } | undefined;
1666
+ }, {
1667
+ coingeckoId?: string | undefined;
1668
+ marketCapUsd?: {
1669
+ value: bigint;
1670
+ decimals: number;
1671
+ } | undefined;
1672
+ }>;
1673
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1674
+ updatedAt: z.ZodNumber;
1675
+ }, "strip", z.ZodTypeAny, {
1676
+ symbol: string;
1677
+ type: "CryptoCurrency";
1678
+ id: string;
1679
+ name: string;
1680
+ market: {
1681
+ coingeckoId: string | undefined;
1682
+ marketCapUsd: {
1683
+ value: bigint;
1684
+ decimals: number;
1685
+ } | undefined;
1686
+ };
1687
+ updatedAt: number;
1688
+ icon?: string | undefined;
1689
+ priceDatasourceId?: string | undefined;
1690
+ }, {
1691
+ symbol: string;
1692
+ type: "CryptoCurrency";
1693
+ id: string;
1694
+ name: string;
1695
+ market: {
1696
+ coingeckoId?: string | undefined;
1697
+ marketCapUsd?: {
1698
+ value: bigint;
1699
+ decimals: number;
1700
+ } | undefined;
1701
+ };
1702
+ updatedAt: number;
1703
+ icon?: string | undefined;
1704
+ priceDatasourceId?: string | undefined;
1705
+ }>, {
1706
+ icon: string | undefined;
1707
+ priceDatasourceId: string | undefined;
1708
+ symbol: string;
1709
+ type: "CryptoCurrency";
1710
+ id: string;
1711
+ name: string;
1712
+ market: {
1713
+ coingeckoId: string | undefined;
1714
+ marketCapUsd: {
1715
+ value: bigint;
1716
+ decimals: number;
1717
+ } | undefined;
1718
+ };
1719
+ updatedAt: number;
1720
+ }, {
1721
+ symbol: string;
1722
+ type: "CryptoCurrency";
1723
+ id: string;
1724
+ name: string;
1725
+ market: {
1726
+ coingeckoId?: string | undefined;
1727
+ marketCapUsd?: {
1728
+ value: bigint;
1729
+ decimals: number;
1730
+ } | undefined;
1731
+ };
1732
+ updatedAt: number;
1733
+ icon?: string | undefined;
1734
+ priceDatasourceId?: string | undefined;
1735
+ }>, z.ZodEffects<z.ZodObject<{
1736
+ type: z.ZodLiteral<"FiatCurrency">;
1737
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
1738
+ name: z.ZodString;
1739
+ symbol: z.ZodString;
1740
+ icon: z.ZodOptional<z.ZodString>;
1741
+ }, "strip", z.ZodTypeAny, {
1742
+ symbol: string;
1743
+ type: "FiatCurrency";
1744
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1745
+ name: string;
1746
+ icon?: string | undefined;
1747
+ }, {
1748
+ symbol: string;
1749
+ type: "FiatCurrency";
1750
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1751
+ name: string;
1752
+ icon?: string | undefined;
1753
+ }>, {
1754
+ icon: string | undefined;
1755
+ symbol: string;
1756
+ type: "FiatCurrency";
1757
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1758
+ name: string;
1759
+ }, {
1760
+ symbol: string;
1761
+ type: "FiatCurrency";
1762
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1763
+ name: string;
1764
+ icon?: string | undefined;
1765
+ }>, z.ZodEffects<z.ZodObject<{
1766
+ type: z.ZodLiteral<"Nft">;
1767
+ id: z.ZodString;
1768
+ name: z.ZodOptional<z.ZodString>;
1769
+ symbol: z.ZodOptional<z.ZodString>;
1770
+ image: z.ZodOptional<z.ZodString>;
1771
+ metadata: z.ZodOptional<z.ZodString>;
1772
+ updatedAt: z.ZodNumber;
1773
+ }, "strip", z.ZodTypeAny, {
1774
+ type: "Nft";
1775
+ id: string;
1776
+ updatedAt: number;
1777
+ symbol?: string | undefined;
1778
+ name?: string | undefined;
1779
+ image?: string | undefined;
1780
+ metadata?: string | undefined;
1781
+ }, {
1782
+ type: "Nft";
1783
+ id: string;
1784
+ updatedAt: number;
1785
+ symbol?: string | undefined;
1786
+ name?: string | undefined;
1787
+ image?: string | undefined;
1788
+ metadata?: string | undefined;
1789
+ }>, {
1790
+ name: string | undefined;
1791
+ symbol: string | undefined;
1792
+ image: string | undefined;
1793
+ metadata: string | undefined;
1794
+ type: "Nft";
1795
+ id: string;
1796
+ updatedAt: number;
1797
+ }, {
1798
+ type: "Nft";
1799
+ id: string;
1800
+ updatedAt: number;
1801
+ symbol?: string | undefined;
1802
+ name?: string | undefined;
1803
+ image?: string | undefined;
1804
+ metadata?: string | undefined;
1805
+ }>]>;
1806
+ amount: z.ZodObject<{
1807
+ value: z.ZodBigInt;
1808
+ decimals: z.ZodNumber;
1809
+ }, "strip", z.ZodTypeAny, {
1810
+ value: bigint;
1811
+ decimals: number;
1812
+ }, {
1813
+ value: bigint;
1814
+ decimals: number;
1815
+ }>;
1816
+ price: z.ZodOptional<z.ZodObject<{
1817
+ cryptoCurrencyId: z.ZodString;
1818
+ fiatCurrencyId: z.ZodString;
1819
+ price: z.ZodObject<{
1820
+ value: z.ZodBigInt;
1821
+ decimals: z.ZodNumber;
1822
+ }, "strip", z.ZodTypeAny, {
1823
+ value: bigint;
1824
+ decimals: number;
1825
+ }, {
1826
+ value: bigint;
1827
+ decimals: number;
1828
+ }>;
1829
+ timestamp: z.ZodNumber;
1830
+ }, "strip", z.ZodTypeAny, {
1831
+ cryptoCurrencyId: string;
1832
+ fiatCurrencyId: string;
1833
+ price: {
1834
+ value: bigint;
1835
+ decimals: number;
1836
+ };
1837
+ timestamp: number;
1838
+ }, {
1839
+ cryptoCurrencyId: string;
1840
+ fiatCurrencyId: string;
1841
+ price: {
1842
+ value: bigint;
1843
+ decimals: number;
1844
+ };
1845
+ timestamp: number;
1846
+ }>>;
1847
+ }, {
1848
+ direction: z.ZodLiteral<"out">;
1849
+ }>, {
1850
+ asset: z.ZodEffects<z.ZodObject<{
1851
+ type: z.ZodLiteral<"CryptoCurrency">;
1852
+ id: z.ZodString;
1853
+ name: z.ZodString;
1854
+ symbol: z.ZodString;
1855
+ icon: z.ZodOptional<z.ZodString>;
1856
+ market: z.ZodEffects<z.ZodObject<{
1857
+ coingeckoId: z.ZodOptional<z.ZodString>;
1858
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1859
+ value: z.ZodBigInt;
1860
+ decimals: z.ZodNumber;
1861
+ }, "strip", z.ZodTypeAny, {
1862
+ value: bigint;
1863
+ decimals: number;
1864
+ }, {
1865
+ value: bigint;
1866
+ decimals: number;
1867
+ }>>;
1868
+ }, "strip", z.ZodTypeAny, {
1869
+ coingeckoId?: string | undefined;
1870
+ marketCapUsd?: {
1871
+ value: bigint;
1872
+ decimals: number;
1873
+ } | undefined;
1874
+ }, {
1875
+ coingeckoId?: string | undefined;
1876
+ marketCapUsd?: {
1877
+ value: bigint;
1878
+ decimals: number;
1879
+ } | undefined;
1880
+ }>, {
1881
+ coingeckoId: string | undefined;
1882
+ marketCapUsd: {
1883
+ value: bigint;
1884
+ decimals: number;
1885
+ } | undefined;
1886
+ }, {
1887
+ coingeckoId?: string | undefined;
1888
+ marketCapUsd?: {
1889
+ value: bigint;
1890
+ decimals: number;
1891
+ } | undefined;
1892
+ }>;
1893
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1894
+ updatedAt: z.ZodNumber;
1895
+ }, "strip", z.ZodTypeAny, {
1896
+ symbol: string;
1897
+ type: "CryptoCurrency";
1898
+ id: string;
1899
+ name: string;
1900
+ market: {
1901
+ coingeckoId: string | undefined;
1902
+ marketCapUsd: {
1903
+ value: bigint;
1904
+ decimals: number;
1905
+ } | undefined;
1906
+ };
1907
+ updatedAt: number;
1908
+ icon?: string | undefined;
1909
+ priceDatasourceId?: string | undefined;
1910
+ }, {
1911
+ symbol: string;
1912
+ type: "CryptoCurrency";
1913
+ id: string;
1914
+ name: string;
1915
+ market: {
1916
+ coingeckoId?: string | undefined;
1917
+ marketCapUsd?: {
1918
+ value: bigint;
1919
+ decimals: number;
1920
+ } | undefined;
1921
+ };
1922
+ updatedAt: number;
1923
+ icon?: string | undefined;
1924
+ priceDatasourceId?: string | undefined;
1925
+ }>, {
1926
+ icon: string | undefined;
1927
+ priceDatasourceId: string | undefined;
1928
+ symbol: string;
1929
+ type: "CryptoCurrency";
1930
+ id: string;
1931
+ name: string;
1932
+ market: {
1933
+ coingeckoId: string | undefined;
1934
+ marketCapUsd: {
1935
+ value: bigint;
1936
+ decimals: number;
1937
+ } | undefined;
1938
+ };
1939
+ updatedAt: number;
1940
+ }, {
1941
+ symbol: string;
1942
+ type: "CryptoCurrency";
1943
+ id: string;
1944
+ name: string;
1945
+ market: {
1946
+ coingeckoId?: string | undefined;
1947
+ marketCapUsd?: {
1948
+ value: bigint;
1949
+ decimals: number;
1950
+ } | undefined;
1951
+ };
1952
+ updatedAt: number;
1953
+ icon?: string | undefined;
1954
+ priceDatasourceId?: string | undefined;
1955
+ }>;
1956
+ }>, "strip", z.ZodTypeAny, {
1957
+ asset: {
1958
+ icon: string | undefined;
1959
+ priceDatasourceId: string | undefined;
1960
+ symbol: string;
1961
+ type: "CryptoCurrency";
1962
+ id: string;
1963
+ name: string;
1964
+ market: {
1965
+ coingeckoId: string | undefined;
1966
+ marketCapUsd: {
1967
+ value: bigint;
1968
+ decimals: number;
1969
+ } | undefined;
1970
+ };
1971
+ updatedAt: number;
1972
+ };
1973
+ amount: {
1974
+ value: bigint;
1975
+ decimals: number;
1976
+ };
1977
+ direction: "out";
1978
+ price?: {
1979
+ cryptoCurrencyId: string;
1980
+ fiatCurrencyId: string;
1981
+ price: {
1982
+ value: bigint;
1983
+ decimals: number;
1984
+ };
1985
+ timestamp: number;
1986
+ } | undefined;
1987
+ from?: string | undefined;
1988
+ to?: string | undefined;
1989
+ }, {
1990
+ asset: {
1991
+ symbol: string;
1992
+ type: "CryptoCurrency";
1993
+ id: string;
1994
+ name: string;
1995
+ market: {
1996
+ coingeckoId?: string | undefined;
1997
+ marketCapUsd?: {
1998
+ value: bigint;
1999
+ decimals: number;
2000
+ } | undefined;
2001
+ };
2002
+ updatedAt: number;
2003
+ icon?: string | undefined;
2004
+ priceDatasourceId?: string | undefined;
2005
+ };
2006
+ amount: {
2007
+ value: bigint;
2008
+ decimals: number;
2009
+ };
2010
+ direction: "out";
2011
+ price?: {
2012
+ cryptoCurrencyId: string;
2013
+ fiatCurrencyId: string;
2014
+ price: {
2015
+ value: bigint;
2016
+ decimals: number;
2017
+ };
2018
+ timestamp: number;
2019
+ } | undefined;
2020
+ from?: string | undefined;
2021
+ to?: string | undefined;
2022
+ }>, {
2023
+ from: string | undefined;
2024
+ to: string | undefined;
2025
+ price: {
2026
+ cryptoCurrencyId: string;
2027
+ fiatCurrencyId: string;
2028
+ price: {
2029
+ value: bigint;
2030
+ decimals: number;
2031
+ };
2032
+ timestamp: number;
2033
+ } | undefined;
2034
+ asset: {
2035
+ icon: string | undefined;
2036
+ priceDatasourceId: string | undefined;
2037
+ symbol: string;
2038
+ type: "CryptoCurrency";
2039
+ id: string;
2040
+ name: string;
2041
+ market: {
2042
+ coingeckoId: string | undefined;
2043
+ marketCapUsd: {
2044
+ value: bigint;
2045
+ decimals: number;
2046
+ } | undefined;
2047
+ };
2048
+ updatedAt: number;
2049
+ };
2050
+ amount: {
2051
+ value: bigint;
2052
+ decimals: number;
2053
+ };
2054
+ direction: "out";
2055
+ }, {
2056
+ asset: {
2057
+ symbol: string;
2058
+ type: "CryptoCurrency";
2059
+ id: string;
2060
+ name: string;
2061
+ market: {
2062
+ coingeckoId?: string | undefined;
2063
+ marketCapUsd?: {
2064
+ value: bigint;
2065
+ decimals: number;
2066
+ } | undefined;
2067
+ };
2068
+ updatedAt: number;
2069
+ icon?: string | undefined;
2070
+ priceDatasourceId?: string | undefined;
2071
+ };
2072
+ amount: {
2073
+ value: bigint;
2074
+ decimals: number;
2075
+ };
2076
+ direction: "out";
2077
+ price?: {
2078
+ cryptoCurrencyId: string;
2079
+ fiatCurrencyId: string;
2080
+ price: {
2081
+ value: bigint;
2082
+ decimals: number;
2083
+ };
2084
+ timestamp: number;
2085
+ } | undefined;
2086
+ from?: string | undefined;
2087
+ to?: string | undefined;
2088
+ }>]>, "many">;
2089
+ }>, "strip", z.ZodTypeAny, {
2090
+ type: "NormalAction";
2091
+ timestamp: number;
2092
+ action: "sell-crypto";
2093
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2094
+ transfers: ({
2095
+ from: string | undefined;
2096
+ to: string | undefined;
2097
+ price: {
2098
+ cryptoCurrencyId: string;
2099
+ fiatCurrencyId: string;
2100
+ price: {
2101
+ value: bigint;
2102
+ decimals: number;
2103
+ };
2104
+ timestamp: number;
2105
+ } | undefined;
2106
+ asset: {
2107
+ icon: string | undefined;
2108
+ symbol: string;
2109
+ type: "FiatCurrency";
2110
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2111
+ name: string;
2112
+ };
2113
+ amount: {
2114
+ value: bigint;
2115
+ decimals: number;
2116
+ };
2117
+ direction: "in";
2118
+ } | {
2119
+ from: string | undefined;
2120
+ to: string | undefined;
2121
+ price: {
2122
+ cryptoCurrencyId: string;
2123
+ fiatCurrencyId: string;
2124
+ price: {
2125
+ value: bigint;
2126
+ decimals: number;
2127
+ };
2128
+ timestamp: number;
2129
+ } | undefined;
2130
+ asset: {
2131
+ icon: string | undefined;
2132
+ priceDatasourceId: string | undefined;
2133
+ symbol: string;
2134
+ type: "CryptoCurrency";
2135
+ id: string;
2136
+ name: string;
2137
+ market: {
2138
+ coingeckoId: string | undefined;
2139
+ marketCapUsd: {
2140
+ value: bigint;
2141
+ decimals: number;
2142
+ } | undefined;
2143
+ };
2144
+ updatedAt: number;
2145
+ };
2146
+ amount: {
2147
+ value: bigint;
2148
+ decimals: number;
2149
+ };
2150
+ direction: "out";
2151
+ })[];
2152
+ comment?: string | undefined;
2153
+ app?: {
2154
+ description: string | undefined;
2155
+ website: string | undefined;
2156
+ icon: string | undefined;
2157
+ id: string;
2158
+ name: string;
2159
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2160
+ } | undefined;
2161
+ }, {
2162
+ type: "NormalAction";
2163
+ timestamp: number;
2164
+ action: "sell-crypto";
2165
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2166
+ transfers: ({
2167
+ asset: {
2168
+ symbol: string;
2169
+ type: "FiatCurrency";
2170
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2171
+ name: string;
2172
+ icon?: string | undefined;
2173
+ };
2174
+ amount: {
2175
+ value: bigint;
2176
+ decimals: number;
2177
+ };
2178
+ direction: "in";
2179
+ price?: {
2180
+ cryptoCurrencyId: string;
2181
+ fiatCurrencyId: string;
2182
+ price: {
2183
+ value: bigint;
2184
+ decimals: number;
2185
+ };
2186
+ timestamp: number;
2187
+ } | undefined;
2188
+ from?: string | undefined;
2189
+ to?: string | undefined;
2190
+ } | {
2191
+ asset: {
2192
+ symbol: string;
2193
+ type: "CryptoCurrency";
2194
+ id: string;
2195
+ name: string;
2196
+ market: {
2197
+ coingeckoId?: string | undefined;
2198
+ marketCapUsd?: {
2199
+ value: bigint;
2200
+ decimals: number;
2201
+ } | undefined;
2202
+ };
2203
+ updatedAt: number;
2204
+ icon?: string | undefined;
2205
+ priceDatasourceId?: string | undefined;
2206
+ };
2207
+ amount: {
2208
+ value: bigint;
2209
+ decimals: number;
2210
+ };
2211
+ direction: "out";
2212
+ price?: {
2213
+ cryptoCurrencyId: string;
2214
+ fiatCurrencyId: string;
2215
+ price: {
2216
+ value: bigint;
2217
+ decimals: number;
2218
+ };
2219
+ timestamp: number;
2220
+ } | undefined;
2221
+ from?: string | undefined;
2222
+ to?: string | undefined;
2223
+ })[];
2224
+ comment?: string | undefined;
2225
+ app?: {
2226
+ id: string;
2227
+ name: string;
2228
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2229
+ icon?: string | undefined;
2230
+ description?: string | undefined;
2231
+ website?: string | undefined;
2232
+ } | undefined;
2233
+ }>, {
2234
+ comment: string | undefined;
2235
+ app: {
2236
+ description: string | undefined;
2237
+ website: string | undefined;
2238
+ icon: string | undefined;
2239
+ id: string;
2240
+ name: string;
2241
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2242
+ } | undefined;
2243
+ type: "NormalAction";
2244
+ timestamp: number;
2245
+ action: "sell-crypto";
2246
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2247
+ transfers: ({
2248
+ from: string | undefined;
2249
+ to: string | undefined;
2250
+ price: {
2251
+ cryptoCurrencyId: string;
2252
+ fiatCurrencyId: string;
2253
+ price: {
2254
+ value: bigint;
2255
+ decimals: number;
2256
+ };
2257
+ timestamp: number;
2258
+ } | undefined;
2259
+ asset: {
2260
+ icon: string | undefined;
2261
+ symbol: string;
2262
+ type: "FiatCurrency";
2263
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2264
+ name: string;
2265
+ };
2266
+ amount: {
2267
+ value: bigint;
2268
+ decimals: number;
2269
+ };
2270
+ direction: "in";
2271
+ } | {
2272
+ from: string | undefined;
2273
+ to: string | undefined;
2274
+ price: {
2275
+ cryptoCurrencyId: string;
2276
+ fiatCurrencyId: string;
2277
+ price: {
2278
+ value: bigint;
2279
+ decimals: number;
2280
+ };
2281
+ timestamp: number;
2282
+ } | undefined;
2283
+ asset: {
2284
+ icon: string | undefined;
2285
+ priceDatasourceId: string | undefined;
2286
+ symbol: string;
2287
+ type: "CryptoCurrency";
2288
+ id: string;
2289
+ name: string;
2290
+ market: {
2291
+ coingeckoId: string | undefined;
2292
+ marketCapUsd: {
2293
+ value: bigint;
2294
+ decimals: number;
2295
+ } | undefined;
2296
+ };
2297
+ updatedAt: number;
2298
+ };
2299
+ amount: {
2300
+ value: bigint;
2301
+ decimals: number;
2302
+ };
2303
+ direction: "out";
2304
+ })[];
2305
+ }, {
2306
+ type: "NormalAction";
2307
+ timestamp: number;
2308
+ action: "sell-crypto";
2309
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2310
+ transfers: ({
2311
+ asset: {
2312
+ symbol: string;
2313
+ type: "FiatCurrency";
2314
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2315
+ name: string;
2316
+ icon?: string | undefined;
2317
+ };
2318
+ amount: {
2319
+ value: bigint;
2320
+ decimals: number;
2321
+ };
2322
+ direction: "in";
2323
+ price?: {
2324
+ cryptoCurrencyId: string;
2325
+ fiatCurrencyId: string;
2326
+ price: {
2327
+ value: bigint;
2328
+ decimals: number;
2329
+ };
2330
+ timestamp: number;
2331
+ } | undefined;
2332
+ from?: string | undefined;
2333
+ to?: string | undefined;
2334
+ } | {
2335
+ asset: {
2336
+ symbol: string;
2337
+ type: "CryptoCurrency";
2338
+ id: string;
2339
+ name: string;
2340
+ market: {
2341
+ coingeckoId?: string | undefined;
2342
+ marketCapUsd?: {
2343
+ value: bigint;
2344
+ decimals: number;
2345
+ } | undefined;
2346
+ };
2347
+ updatedAt: number;
2348
+ icon?: string | undefined;
2349
+ priceDatasourceId?: string | undefined;
2350
+ };
2351
+ amount: {
2352
+ value: bigint;
2353
+ decimals: number;
2354
+ };
2355
+ direction: "out";
2356
+ price?: {
2357
+ cryptoCurrencyId: string;
2358
+ fiatCurrencyId: string;
2359
+ price: {
2360
+ value: bigint;
2361
+ decimals: number;
2362
+ };
2363
+ timestamp: number;
2364
+ } | undefined;
2365
+ from?: string | undefined;
2366
+ to?: string | undefined;
2367
+ })[];
2368
+ comment?: string | undefined;
2369
+ app?: {
2370
+ id: string;
2371
+ name: string;
2372
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2373
+ icon?: string | undefined;
2374
+ description?: string | undefined;
2375
+ website?: string | undefined;
2376
+ } | undefined;
2377
+ }>;
2378
+ export declare const accountActionSellCryptoSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2379
+ action: z.ZodUnion<[z.ZodLiteral<"add-liquidity">, z.ZodLiteral<"approve">, z.ZodLiteral<"atomic-arbitrage">, z.ZodLiteral<"borrow">, z.ZodLiteral<"bridge-from">, z.ZodLiteral<"bridge-to">, z.ZodLiteral<"buy-nft">, z.ZodLiteral<"buy-crypto">, z.ZodLiteral<"cross-replace">, z.ZodLiteral<"cross-trade">, z.ZodLiteral<"deposit">, z.ZodLiteral<"deposit-with-bond">, z.ZodLiteral<"fail-tx">, z.ZodLiteral<"fee">, z.ZodLiteral<"free-mint-nft">, z.ZodLiteral<"ignore">, z.ZodLiteral<"income">, z.ZodLiteral<"mint-nft">, z.ZodLiteral<"move">, z.ZodLiteral<"nft-royalty">, z.ZodLiteral<"receive-from-cex">, z.ZodLiteral<"reduce">, z.ZodLiteral<"remove-liquidity">, z.ZodLiteral<"repayment">, z.ZodLiteral<"repayment-with-debt">, z.ZodLiteral<"revoke">, z.ZodLiteral<"sell-crypto">, z.ZodLiteral<"sell-nft">, z.ZodLiteral<"send-to-cex">, z.ZodLiteral<"spam">, z.ZodLiteral<"stake">, z.ZodLiteral<"swap-income">, z.ZodLiteral<"swap-nft">, z.ZodLiteral<"swap-transfer">, z.ZodLiteral<"trade">, z.ZodLiteral<"transaction-fee">, z.ZodLiteral<"transfer">, z.ZodLiteral<"unstake">, z.ZodLiteral<"unwrap">, z.ZodLiteral<"valuedown">, z.ZodLiteral<"valueup">, z.ZodLiteral<"withdraw">, z.ZodLiteral<"withdraw-with-bond">, z.ZodLiteral<"wrap">]>;
2380
+ source: z.ZodString;
2381
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
2382
+ timestamp: z.ZodNumber;
2383
+ order: z.ZodNumber;
2384
+ comment: z.ZodOptional<z.ZodString>;
2385
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2386
+ id: z.ZodString;
2387
+ categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
2388
+ name: z.ZodString;
2389
+ description: z.ZodOptional<z.ZodString>;
2390
+ website: z.ZodOptional<z.ZodString>;
2391
+ icon: z.ZodOptional<z.ZodString>;
2392
+ }, "strip", z.ZodTypeAny, {
2393
+ id: string;
2394
+ name: string;
2395
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2396
+ icon?: string | undefined;
2397
+ description?: string | undefined;
2398
+ website?: string | undefined;
2399
+ }, {
2400
+ id: string;
2401
+ name: string;
2402
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2403
+ icon?: string | undefined;
2404
+ description?: string | undefined;
2405
+ website?: string | undefined;
2406
+ }>, {
2407
+ description: string | undefined;
2408
+ website: string | undefined;
2409
+ icon: string | undefined;
2410
+ id: string;
2411
+ name: string;
2412
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2413
+ }, {
2414
+ id: string;
2415
+ name: string;
2416
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2417
+ icon?: string | undefined;
2418
+ description?: string | undefined;
2419
+ website?: string | undefined;
2420
+ }>>;
2421
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2422
+ from: z.ZodOptional<z.ZodString>;
2423
+ to: z.ZodOptional<z.ZodString>;
2424
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2425
+ type: z.ZodLiteral<"CryptoCurrency">;
2426
+ id: z.ZodString;
2427
+ name: z.ZodString;
2428
+ symbol: z.ZodString;
2429
+ icon: z.ZodOptional<z.ZodString>;
2430
+ market: z.ZodEffects<z.ZodObject<{
2431
+ coingeckoId: z.ZodOptional<z.ZodString>;
2432
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2433
+ value: z.ZodBigInt;
2434
+ decimals: z.ZodNumber;
2435
+ }, "strip", z.ZodTypeAny, {
2436
+ value: bigint;
2437
+ decimals: number;
2438
+ }, {
2439
+ value: bigint;
2440
+ decimals: number;
2441
+ }>>;
2442
+ }, "strip", z.ZodTypeAny, {
2443
+ coingeckoId?: string | undefined;
2444
+ marketCapUsd?: {
2445
+ value: bigint;
2446
+ decimals: number;
2447
+ } | undefined;
2448
+ }, {
2449
+ coingeckoId?: string | undefined;
2450
+ marketCapUsd?: {
2451
+ value: bigint;
2452
+ decimals: number;
2453
+ } | undefined;
2454
+ }>, {
2455
+ coingeckoId: string | undefined;
2456
+ marketCapUsd: {
2457
+ value: bigint;
2458
+ decimals: number;
2459
+ } | undefined;
2460
+ }, {
2461
+ coingeckoId?: string | undefined;
2462
+ marketCapUsd?: {
2463
+ value: bigint;
2464
+ decimals: number;
2465
+ } | undefined;
2466
+ }>;
2467
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2468
+ updatedAt: z.ZodNumber;
2469
+ }, "strip", z.ZodTypeAny, {
2470
+ symbol: string;
2471
+ type: "CryptoCurrency";
2472
+ id: string;
2473
+ name: string;
2474
+ market: {
2475
+ coingeckoId: string | undefined;
2476
+ marketCapUsd: {
2477
+ value: bigint;
2478
+ decimals: number;
2479
+ } | undefined;
2480
+ };
2481
+ updatedAt: number;
2482
+ icon?: string | undefined;
2483
+ priceDatasourceId?: string | undefined;
2484
+ }, {
2485
+ symbol: string;
2486
+ type: "CryptoCurrency";
2487
+ id: string;
2488
+ name: string;
2489
+ market: {
2490
+ coingeckoId?: string | undefined;
2491
+ marketCapUsd?: {
2492
+ value: bigint;
2493
+ decimals: number;
2494
+ } | undefined;
2495
+ };
2496
+ updatedAt: number;
2497
+ icon?: string | undefined;
2498
+ priceDatasourceId?: string | undefined;
2499
+ }>, {
2500
+ icon: string | undefined;
2501
+ priceDatasourceId: string | undefined;
2502
+ symbol: string;
2503
+ type: "CryptoCurrency";
2504
+ id: string;
2505
+ name: string;
2506
+ market: {
2507
+ coingeckoId: string | undefined;
2508
+ marketCapUsd: {
2509
+ value: bigint;
2510
+ decimals: number;
2511
+ } | undefined;
2512
+ };
2513
+ updatedAt: number;
2514
+ }, {
2515
+ symbol: string;
2516
+ type: "CryptoCurrency";
2517
+ id: string;
2518
+ name: string;
2519
+ market: {
2520
+ coingeckoId?: string | undefined;
2521
+ marketCapUsd?: {
2522
+ value: bigint;
2523
+ decimals: number;
2524
+ } | undefined;
2525
+ };
2526
+ updatedAt: number;
2527
+ icon?: string | undefined;
2528
+ priceDatasourceId?: string | undefined;
2529
+ }>, z.ZodEffects<z.ZodObject<{
2530
+ type: z.ZodLiteral<"FiatCurrency">;
2531
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
2532
+ name: z.ZodString;
2533
+ symbol: z.ZodString;
2534
+ icon: z.ZodOptional<z.ZodString>;
2535
+ }, "strip", z.ZodTypeAny, {
2536
+ symbol: string;
2537
+ type: "FiatCurrency";
2538
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2539
+ name: string;
2540
+ icon?: string | undefined;
2541
+ }, {
2542
+ symbol: string;
2543
+ type: "FiatCurrency";
2544
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2545
+ name: string;
2546
+ icon?: string | undefined;
2547
+ }>, {
2548
+ icon: string | undefined;
2549
+ symbol: string;
2550
+ type: "FiatCurrency";
2551
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2552
+ name: string;
2553
+ }, {
2554
+ symbol: string;
2555
+ type: "FiatCurrency";
2556
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2557
+ name: string;
2558
+ icon?: string | undefined;
2559
+ }>, z.ZodEffects<z.ZodObject<{
2560
+ type: z.ZodLiteral<"Nft">;
2561
+ id: z.ZodString;
2562
+ name: z.ZodOptional<z.ZodString>;
2563
+ symbol: z.ZodOptional<z.ZodString>;
2564
+ image: z.ZodOptional<z.ZodString>;
2565
+ metadata: z.ZodOptional<z.ZodString>;
2566
+ updatedAt: z.ZodNumber;
2567
+ }, "strip", z.ZodTypeAny, {
2568
+ type: "Nft";
2569
+ id: string;
2570
+ updatedAt: number;
2571
+ symbol?: string | undefined;
2572
+ name?: string | undefined;
2573
+ image?: string | undefined;
2574
+ metadata?: string | undefined;
2575
+ }, {
2576
+ type: "Nft";
2577
+ id: string;
2578
+ updatedAt: number;
2579
+ symbol?: string | undefined;
2580
+ name?: string | undefined;
2581
+ image?: string | undefined;
2582
+ metadata?: string | undefined;
2583
+ }>, {
2584
+ name: string | undefined;
2585
+ symbol: string | undefined;
2586
+ image: string | undefined;
2587
+ metadata: string | undefined;
2588
+ type: "Nft";
2589
+ id: string;
2590
+ updatedAt: number;
2591
+ }, {
2592
+ type: "Nft";
2593
+ id: string;
2594
+ updatedAt: number;
2595
+ symbol?: string | undefined;
2596
+ name?: string | undefined;
2597
+ image?: string | undefined;
2598
+ metadata?: string | undefined;
2599
+ }>]>;
2600
+ amount: z.ZodObject<{
2601
+ value: z.ZodBigInt;
2602
+ decimals: z.ZodNumber;
2603
+ }, "strip", z.ZodTypeAny, {
2604
+ value: bigint;
2605
+ decimals: number;
2606
+ }, {
2607
+ value: bigint;
2608
+ decimals: number;
2609
+ }>;
2610
+ price: z.ZodOptional<z.ZodObject<{
2611
+ cryptoCurrencyId: z.ZodString;
2612
+ fiatCurrencyId: z.ZodString;
2613
+ price: z.ZodObject<{
2614
+ value: z.ZodBigInt;
2615
+ decimals: z.ZodNumber;
2616
+ }, "strip", z.ZodTypeAny, {
2617
+ value: bigint;
2618
+ decimals: number;
2619
+ }, {
2620
+ value: bigint;
2621
+ decimals: number;
2622
+ }>;
2623
+ timestamp: z.ZodNumber;
2624
+ }, "strip", z.ZodTypeAny, {
2625
+ cryptoCurrencyId: string;
2626
+ fiatCurrencyId: string;
2627
+ price: {
2628
+ value: bigint;
2629
+ decimals: number;
2630
+ };
2631
+ timestamp: number;
2632
+ }, {
2633
+ cryptoCurrencyId: string;
2634
+ fiatCurrencyId: string;
2635
+ price: {
2636
+ value: bigint;
2637
+ decimals: number;
2638
+ };
2639
+ timestamp: number;
2640
+ }>>;
2641
+ }, {
2642
+ direction: z.ZodLiteral<"in">;
2643
+ }>, "strip", z.ZodTypeAny, {
2644
+ asset: {
2645
+ icon: string | undefined;
2646
+ priceDatasourceId: string | undefined;
2647
+ symbol: string;
2648
+ type: "CryptoCurrency";
2649
+ id: string;
2650
+ name: string;
2651
+ market: {
2652
+ coingeckoId: string | undefined;
2653
+ marketCapUsd: {
2654
+ value: bigint;
2655
+ decimals: number;
2656
+ } | undefined;
2657
+ };
2658
+ updatedAt: number;
2659
+ } | {
2660
+ icon: string | undefined;
2661
+ symbol: string;
2662
+ type: "FiatCurrency";
2663
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2664
+ name: string;
2665
+ } | {
2666
+ name: string | undefined;
2667
+ symbol: string | undefined;
2668
+ image: string | undefined;
2669
+ metadata: string | undefined;
2670
+ type: "Nft";
2671
+ id: string;
2672
+ updatedAt: number;
2673
+ };
2674
+ amount: {
2675
+ value: bigint;
2676
+ decimals: number;
2677
+ };
2678
+ direction: "in";
2679
+ price?: {
2680
+ cryptoCurrencyId: string;
2681
+ fiatCurrencyId: string;
2682
+ price: {
2683
+ value: bigint;
2684
+ decimals: number;
2685
+ };
2686
+ timestamp: number;
2687
+ } | undefined;
2688
+ from?: string | undefined;
2689
+ to?: string | undefined;
2690
+ }, {
2691
+ asset: {
2692
+ symbol: string;
2693
+ type: "CryptoCurrency";
2694
+ id: string;
2695
+ name: string;
2696
+ market: {
2697
+ coingeckoId?: string | undefined;
2698
+ marketCapUsd?: {
2699
+ value: bigint;
2700
+ decimals: number;
2701
+ } | undefined;
2702
+ };
2703
+ updatedAt: number;
2704
+ icon?: string | undefined;
2705
+ priceDatasourceId?: string | undefined;
2706
+ } | {
2707
+ symbol: string;
2708
+ type: "FiatCurrency";
2709
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2710
+ name: string;
2711
+ icon?: string | undefined;
2712
+ } | {
2713
+ type: "Nft";
2714
+ id: string;
2715
+ updatedAt: number;
2716
+ symbol?: string | undefined;
2717
+ name?: string | undefined;
2718
+ image?: string | undefined;
2719
+ metadata?: string | undefined;
2720
+ };
2721
+ amount: {
2722
+ value: bigint;
2723
+ decimals: number;
2724
+ };
2725
+ direction: "in";
2726
+ price?: {
2727
+ cryptoCurrencyId: string;
2728
+ fiatCurrencyId: string;
2729
+ price: {
2730
+ value: bigint;
2731
+ decimals: number;
2732
+ };
2733
+ timestamp: number;
2734
+ } | undefined;
2735
+ from?: string | undefined;
2736
+ to?: string | undefined;
2737
+ }>, {
2738
+ from: string | undefined;
2739
+ to: string | undefined;
2740
+ price: {
2741
+ cryptoCurrencyId: string;
2742
+ fiatCurrencyId: string;
2743
+ price: {
2744
+ value: bigint;
2745
+ decimals: number;
2746
+ };
2747
+ timestamp: number;
2748
+ } | undefined;
2749
+ asset: {
2750
+ icon: string | undefined;
2751
+ priceDatasourceId: string | undefined;
2752
+ symbol: string;
2753
+ type: "CryptoCurrency";
2754
+ id: string;
2755
+ name: string;
2756
+ market: {
2757
+ coingeckoId: string | undefined;
2758
+ marketCapUsd: {
2759
+ value: bigint;
2760
+ decimals: number;
2761
+ } | undefined;
2762
+ };
2763
+ updatedAt: number;
2764
+ } | {
2765
+ icon: string | undefined;
2766
+ symbol: string;
2767
+ type: "FiatCurrency";
2768
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2769
+ name: string;
2770
+ } | {
2771
+ name: string | undefined;
2772
+ symbol: string | undefined;
2773
+ image: string | undefined;
2774
+ metadata: string | undefined;
2775
+ type: "Nft";
2776
+ id: string;
2777
+ updatedAt: number;
2778
+ };
2779
+ amount: {
2780
+ value: bigint;
2781
+ decimals: number;
2782
+ };
2783
+ direction: "in";
2784
+ }, {
2785
+ asset: {
2786
+ symbol: string;
2787
+ type: "CryptoCurrency";
2788
+ id: string;
2789
+ name: string;
2790
+ market: {
2791
+ coingeckoId?: string | undefined;
2792
+ marketCapUsd?: {
2793
+ value: bigint;
2794
+ decimals: number;
2795
+ } | undefined;
2796
+ };
2797
+ updatedAt: number;
2798
+ icon?: string | undefined;
2799
+ priceDatasourceId?: string | undefined;
2800
+ } | {
2801
+ symbol: string;
2802
+ type: "FiatCurrency";
2803
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2804
+ name: string;
2805
+ icon?: string | undefined;
2806
+ } | {
2807
+ type: "Nft";
2808
+ id: string;
2809
+ updatedAt: number;
2810
+ symbol?: string | undefined;
2811
+ name?: string | undefined;
2812
+ image?: string | undefined;
2813
+ metadata?: string | undefined;
2814
+ };
2815
+ amount: {
2816
+ value: bigint;
2817
+ decimals: number;
2818
+ };
2819
+ direction: "in";
2820
+ price?: {
2821
+ cryptoCurrencyId: string;
2822
+ fiatCurrencyId: string;
2823
+ price: {
2824
+ value: bigint;
2825
+ decimals: number;
2826
+ };
2827
+ timestamp: number;
2828
+ } | undefined;
2829
+ from?: string | undefined;
2830
+ to?: string | undefined;
2831
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2832
+ from: z.ZodOptional<z.ZodString>;
2833
+ to: z.ZodOptional<z.ZodString>;
2834
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2835
+ type: z.ZodLiteral<"CryptoCurrency">;
2836
+ id: z.ZodString;
2837
+ name: z.ZodString;
2838
+ symbol: z.ZodString;
2839
+ icon: z.ZodOptional<z.ZodString>;
2840
+ market: z.ZodEffects<z.ZodObject<{
2841
+ coingeckoId: z.ZodOptional<z.ZodString>;
2842
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2843
+ value: z.ZodBigInt;
2844
+ decimals: z.ZodNumber;
2845
+ }, "strip", z.ZodTypeAny, {
2846
+ value: bigint;
2847
+ decimals: number;
2848
+ }, {
2849
+ value: bigint;
2850
+ decimals: number;
2851
+ }>>;
2852
+ }, "strip", z.ZodTypeAny, {
2853
+ coingeckoId?: string | undefined;
2854
+ marketCapUsd?: {
2855
+ value: bigint;
2856
+ decimals: number;
2857
+ } | undefined;
2858
+ }, {
2859
+ coingeckoId?: string | undefined;
2860
+ marketCapUsd?: {
2861
+ value: bigint;
2862
+ decimals: number;
2863
+ } | undefined;
2864
+ }>, {
2865
+ coingeckoId: string | undefined;
2866
+ marketCapUsd: {
2867
+ value: bigint;
2868
+ decimals: number;
2869
+ } | undefined;
2870
+ }, {
2871
+ coingeckoId?: string | undefined;
2872
+ marketCapUsd?: {
2873
+ value: bigint;
2874
+ decimals: number;
2875
+ } | undefined;
2876
+ }>;
2877
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2878
+ updatedAt: z.ZodNumber;
2879
+ }, "strip", z.ZodTypeAny, {
2880
+ symbol: string;
2881
+ type: "CryptoCurrency";
2882
+ id: string;
2883
+ name: string;
2884
+ market: {
2885
+ coingeckoId: string | undefined;
2886
+ marketCapUsd: {
2887
+ value: bigint;
2888
+ decimals: number;
2889
+ } | undefined;
2890
+ };
2891
+ updatedAt: number;
2892
+ icon?: string | undefined;
2893
+ priceDatasourceId?: string | undefined;
2894
+ }, {
2895
+ symbol: string;
2896
+ type: "CryptoCurrency";
2897
+ id: string;
2898
+ name: string;
2899
+ market: {
2900
+ coingeckoId?: string | undefined;
2901
+ marketCapUsd?: {
2902
+ value: bigint;
2903
+ decimals: number;
2904
+ } | undefined;
2905
+ };
2906
+ updatedAt: number;
2907
+ icon?: string | undefined;
2908
+ priceDatasourceId?: string | undefined;
2909
+ }>, {
2910
+ icon: string | undefined;
2911
+ priceDatasourceId: string | undefined;
2912
+ symbol: string;
2913
+ type: "CryptoCurrency";
2914
+ id: string;
2915
+ name: string;
2916
+ market: {
2917
+ coingeckoId: string | undefined;
2918
+ marketCapUsd: {
2919
+ value: bigint;
2920
+ decimals: number;
2921
+ } | undefined;
2922
+ };
2923
+ updatedAt: number;
2924
+ }, {
2925
+ symbol: string;
2926
+ type: "CryptoCurrency";
2927
+ id: string;
2928
+ name: string;
2929
+ market: {
2930
+ coingeckoId?: string | undefined;
2931
+ marketCapUsd?: {
2932
+ value: bigint;
2933
+ decimals: number;
2934
+ } | undefined;
2935
+ };
2936
+ updatedAt: number;
2937
+ icon?: string | undefined;
2938
+ priceDatasourceId?: string | undefined;
2939
+ }>, z.ZodEffects<z.ZodObject<{
2940
+ type: z.ZodLiteral<"FiatCurrency">;
2941
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
2942
+ name: z.ZodString;
2943
+ symbol: z.ZodString;
2944
+ icon: z.ZodOptional<z.ZodString>;
2945
+ }, "strip", z.ZodTypeAny, {
2946
+ symbol: string;
2947
+ type: "FiatCurrency";
2948
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2949
+ name: string;
2950
+ icon?: string | undefined;
2951
+ }, {
2952
+ symbol: string;
2953
+ type: "FiatCurrency";
2954
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2955
+ name: string;
2956
+ icon?: string | undefined;
2957
+ }>, {
2958
+ icon: string | undefined;
2959
+ symbol: string;
2960
+ type: "FiatCurrency";
2961
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2962
+ name: string;
2963
+ }, {
2964
+ symbol: string;
2965
+ type: "FiatCurrency";
2966
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2967
+ name: string;
2968
+ icon?: string | undefined;
2969
+ }>, z.ZodEffects<z.ZodObject<{
2970
+ type: z.ZodLiteral<"Nft">;
2971
+ id: z.ZodString;
2972
+ name: z.ZodOptional<z.ZodString>;
2973
+ symbol: z.ZodOptional<z.ZodString>;
2974
+ image: z.ZodOptional<z.ZodString>;
2975
+ metadata: z.ZodOptional<z.ZodString>;
2976
+ updatedAt: z.ZodNumber;
2977
+ }, "strip", z.ZodTypeAny, {
2978
+ type: "Nft";
2979
+ id: string;
2980
+ updatedAt: number;
2981
+ symbol?: string | undefined;
2982
+ name?: string | undefined;
2983
+ image?: string | undefined;
2984
+ metadata?: string | undefined;
2985
+ }, {
2986
+ type: "Nft";
2987
+ id: string;
2988
+ updatedAt: number;
2989
+ symbol?: string | undefined;
2990
+ name?: string | undefined;
2991
+ image?: string | undefined;
2992
+ metadata?: string | undefined;
2993
+ }>, {
2994
+ name: string | undefined;
2995
+ symbol: string | undefined;
2996
+ image: string | undefined;
2997
+ metadata: string | undefined;
2998
+ type: "Nft";
2999
+ id: string;
3000
+ updatedAt: number;
3001
+ }, {
3002
+ type: "Nft";
3003
+ id: string;
3004
+ updatedAt: number;
3005
+ symbol?: string | undefined;
3006
+ name?: string | undefined;
3007
+ image?: string | undefined;
3008
+ metadata?: string | undefined;
3009
+ }>]>;
3010
+ amount: z.ZodObject<{
3011
+ value: z.ZodBigInt;
3012
+ decimals: z.ZodNumber;
3013
+ }, "strip", z.ZodTypeAny, {
3014
+ value: bigint;
3015
+ decimals: number;
3016
+ }, {
3017
+ value: bigint;
3018
+ decimals: number;
3019
+ }>;
3020
+ price: z.ZodOptional<z.ZodObject<{
3021
+ cryptoCurrencyId: z.ZodString;
3022
+ fiatCurrencyId: z.ZodString;
3023
+ price: z.ZodObject<{
3024
+ value: z.ZodBigInt;
3025
+ decimals: z.ZodNumber;
3026
+ }, "strip", z.ZodTypeAny, {
3027
+ value: bigint;
3028
+ decimals: number;
3029
+ }, {
3030
+ value: bigint;
3031
+ decimals: number;
3032
+ }>;
3033
+ timestamp: z.ZodNumber;
3034
+ }, "strip", z.ZodTypeAny, {
3035
+ cryptoCurrencyId: string;
3036
+ fiatCurrencyId: string;
3037
+ price: {
3038
+ value: bigint;
3039
+ decimals: number;
3040
+ };
3041
+ timestamp: number;
3042
+ }, {
3043
+ cryptoCurrencyId: string;
3044
+ fiatCurrencyId: string;
3045
+ price: {
3046
+ value: bigint;
3047
+ decimals: number;
3048
+ };
3049
+ timestamp: number;
3050
+ }>>;
3051
+ }, {
3052
+ direction: z.ZodLiteral<"out">;
3053
+ }>, "strip", z.ZodTypeAny, {
3054
+ asset: {
3055
+ icon: string | undefined;
3056
+ priceDatasourceId: string | undefined;
3057
+ symbol: string;
3058
+ type: "CryptoCurrency";
3059
+ id: string;
3060
+ name: string;
3061
+ market: {
3062
+ coingeckoId: string | undefined;
3063
+ marketCapUsd: {
3064
+ value: bigint;
3065
+ decimals: number;
3066
+ } | undefined;
3067
+ };
3068
+ updatedAt: number;
3069
+ } | {
3070
+ icon: string | undefined;
3071
+ symbol: string;
3072
+ type: "FiatCurrency";
3073
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3074
+ name: string;
3075
+ } | {
3076
+ name: string | undefined;
3077
+ symbol: string | undefined;
3078
+ image: string | undefined;
3079
+ metadata: string | undefined;
3080
+ type: "Nft";
3081
+ id: string;
3082
+ updatedAt: number;
3083
+ };
3084
+ amount: {
3085
+ value: bigint;
3086
+ decimals: number;
3087
+ };
3088
+ direction: "out";
3089
+ price?: {
3090
+ cryptoCurrencyId: string;
3091
+ fiatCurrencyId: string;
3092
+ price: {
3093
+ value: bigint;
3094
+ decimals: number;
3095
+ };
3096
+ timestamp: number;
3097
+ } | undefined;
3098
+ from?: string | undefined;
3099
+ to?: string | undefined;
3100
+ }, {
3101
+ asset: {
3102
+ symbol: string;
3103
+ type: "CryptoCurrency";
3104
+ id: string;
3105
+ name: string;
3106
+ market: {
3107
+ coingeckoId?: string | undefined;
3108
+ marketCapUsd?: {
3109
+ value: bigint;
3110
+ decimals: number;
3111
+ } | undefined;
3112
+ };
3113
+ updatedAt: number;
3114
+ icon?: string | undefined;
3115
+ priceDatasourceId?: string | undefined;
3116
+ } | {
3117
+ symbol: string;
3118
+ type: "FiatCurrency";
3119
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3120
+ name: string;
3121
+ icon?: string | undefined;
3122
+ } | {
3123
+ type: "Nft";
3124
+ id: string;
3125
+ updatedAt: number;
3126
+ symbol?: string | undefined;
3127
+ name?: string | undefined;
3128
+ image?: string | undefined;
3129
+ metadata?: string | undefined;
3130
+ };
3131
+ amount: {
3132
+ value: bigint;
3133
+ decimals: number;
3134
+ };
3135
+ direction: "out";
3136
+ price?: {
3137
+ cryptoCurrencyId: string;
3138
+ fiatCurrencyId: string;
3139
+ price: {
3140
+ value: bigint;
3141
+ decimals: number;
3142
+ };
3143
+ timestamp: number;
3144
+ } | undefined;
3145
+ from?: string | undefined;
3146
+ to?: string | undefined;
3147
+ }>, {
3148
+ from: string | undefined;
3149
+ to: string | undefined;
3150
+ price: {
3151
+ cryptoCurrencyId: string;
3152
+ fiatCurrencyId: string;
3153
+ price: {
3154
+ value: bigint;
3155
+ decimals: number;
3156
+ };
3157
+ timestamp: number;
3158
+ } | undefined;
3159
+ asset: {
3160
+ icon: string | undefined;
3161
+ priceDatasourceId: string | undefined;
3162
+ symbol: string;
3163
+ type: "CryptoCurrency";
3164
+ id: string;
3165
+ name: string;
3166
+ market: {
3167
+ coingeckoId: string | undefined;
3168
+ marketCapUsd: {
3169
+ value: bigint;
3170
+ decimals: number;
3171
+ } | undefined;
3172
+ };
3173
+ updatedAt: number;
3174
+ } | {
3175
+ icon: string | undefined;
3176
+ symbol: string;
3177
+ type: "FiatCurrency";
3178
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3179
+ name: string;
3180
+ } | {
3181
+ name: string | undefined;
3182
+ symbol: string | undefined;
3183
+ image: string | undefined;
3184
+ metadata: string | undefined;
3185
+ type: "Nft";
3186
+ id: string;
3187
+ updatedAt: number;
3188
+ };
3189
+ amount: {
3190
+ value: bigint;
3191
+ decimals: number;
3192
+ };
3193
+ direction: "out";
3194
+ }, {
3195
+ asset: {
3196
+ symbol: string;
3197
+ type: "CryptoCurrency";
3198
+ id: string;
3199
+ name: string;
3200
+ market: {
3201
+ coingeckoId?: string | undefined;
3202
+ marketCapUsd?: {
3203
+ value: bigint;
3204
+ decimals: number;
3205
+ } | undefined;
3206
+ };
3207
+ updatedAt: number;
3208
+ icon?: string | undefined;
3209
+ priceDatasourceId?: string | undefined;
3210
+ } | {
3211
+ symbol: string;
3212
+ type: "FiatCurrency";
3213
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3214
+ name: string;
3215
+ icon?: string | undefined;
3216
+ } | {
3217
+ type: "Nft";
3218
+ id: string;
3219
+ updatedAt: number;
3220
+ symbol?: string | undefined;
3221
+ name?: string | undefined;
3222
+ image?: string | undefined;
3223
+ metadata?: string | undefined;
3224
+ };
3225
+ amount: {
3226
+ value: bigint;
3227
+ decimals: number;
3228
+ };
561
3229
  direction: "out";
562
- })[];
563
- comment?: string | undefined;
564
- app?: {
565
- description: string | undefined;
566
- website: string | undefined;
567
- icon: string | undefined;
568
- id: string;
569
- name: string;
570
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
571
- } | undefined;
572
- }, {
573
- type: "NormalAction";
574
- timestamp: number;
575
- action: "sell-crypto";
576
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
577
- transfers: ({
3230
+ price?: {
3231
+ cryptoCurrencyId: string;
3232
+ fiatCurrencyId: string;
3233
+ price: {
3234
+ value: bigint;
3235
+ decimals: number;
3236
+ };
3237
+ timestamp: number;
3238
+ } | undefined;
3239
+ from?: string | undefined;
3240
+ to?: string | undefined;
3241
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
3242
+ from: z.ZodOptional<z.ZodString>;
3243
+ to: z.ZodOptional<z.ZodString>;
3244
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3245
+ type: z.ZodLiteral<"CryptoCurrency">;
3246
+ id: z.ZodString;
3247
+ name: z.ZodString;
3248
+ symbol: z.ZodString;
3249
+ icon: z.ZodOptional<z.ZodString>;
3250
+ market: z.ZodEffects<z.ZodObject<{
3251
+ coingeckoId: z.ZodOptional<z.ZodString>;
3252
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3253
+ value: z.ZodBigInt;
3254
+ decimals: z.ZodNumber;
3255
+ }, "strip", z.ZodTypeAny, {
3256
+ value: bigint;
3257
+ decimals: number;
3258
+ }, {
3259
+ value: bigint;
3260
+ decimals: number;
3261
+ }>>;
3262
+ }, "strip", z.ZodTypeAny, {
3263
+ coingeckoId?: string | undefined;
3264
+ marketCapUsd?: {
3265
+ value: bigint;
3266
+ decimals: number;
3267
+ } | undefined;
3268
+ }, {
3269
+ coingeckoId?: string | undefined;
3270
+ marketCapUsd?: {
3271
+ value: bigint;
3272
+ decimals: number;
3273
+ } | undefined;
3274
+ }>, {
3275
+ coingeckoId: string | undefined;
3276
+ marketCapUsd: {
3277
+ value: bigint;
3278
+ decimals: number;
3279
+ } | undefined;
3280
+ }, {
3281
+ coingeckoId?: string | undefined;
3282
+ marketCapUsd?: {
3283
+ value: bigint;
3284
+ decimals: number;
3285
+ } | undefined;
3286
+ }>;
3287
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3288
+ updatedAt: z.ZodNumber;
3289
+ }, "strip", z.ZodTypeAny, {
3290
+ symbol: string;
3291
+ type: "CryptoCurrency";
3292
+ id: string;
3293
+ name: string;
3294
+ market: {
3295
+ coingeckoId: string | undefined;
3296
+ marketCapUsd: {
3297
+ value: bigint;
3298
+ decimals: number;
3299
+ } | undefined;
3300
+ };
3301
+ updatedAt: number;
3302
+ icon?: string | undefined;
3303
+ priceDatasourceId?: string | undefined;
3304
+ }, {
3305
+ symbol: string;
3306
+ type: "CryptoCurrency";
3307
+ id: string;
3308
+ name: string;
3309
+ market: {
3310
+ coingeckoId?: string | undefined;
3311
+ marketCapUsd?: {
3312
+ value: bigint;
3313
+ decimals: number;
3314
+ } | undefined;
3315
+ };
3316
+ updatedAt: number;
3317
+ icon?: string | undefined;
3318
+ priceDatasourceId?: string | undefined;
3319
+ }>, {
3320
+ icon: string | undefined;
3321
+ priceDatasourceId: string | undefined;
3322
+ symbol: string;
3323
+ type: "CryptoCurrency";
3324
+ id: string;
3325
+ name: string;
3326
+ market: {
3327
+ coingeckoId: string | undefined;
3328
+ marketCapUsd: {
3329
+ value: bigint;
3330
+ decimals: number;
3331
+ } | undefined;
3332
+ };
3333
+ updatedAt: number;
3334
+ }, {
3335
+ symbol: string;
3336
+ type: "CryptoCurrency";
3337
+ id: string;
3338
+ name: string;
3339
+ market: {
3340
+ coingeckoId?: string | undefined;
3341
+ marketCapUsd?: {
3342
+ value: bigint;
3343
+ decimals: number;
3344
+ } | undefined;
3345
+ };
3346
+ updatedAt: number;
3347
+ icon?: string | undefined;
3348
+ priceDatasourceId?: string | undefined;
3349
+ }>, z.ZodEffects<z.ZodObject<{
3350
+ type: z.ZodLiteral<"FiatCurrency">;
3351
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
3352
+ name: z.ZodString;
3353
+ symbol: z.ZodString;
3354
+ icon: z.ZodOptional<z.ZodString>;
3355
+ }, "strip", z.ZodTypeAny, {
3356
+ symbol: string;
3357
+ type: "FiatCurrency";
3358
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3359
+ name: string;
3360
+ icon?: string | undefined;
3361
+ }, {
3362
+ symbol: string;
3363
+ type: "FiatCurrency";
3364
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3365
+ name: string;
3366
+ icon?: string | undefined;
3367
+ }>, {
3368
+ icon: string | undefined;
3369
+ symbol: string;
3370
+ type: "FiatCurrency";
3371
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3372
+ name: string;
3373
+ }, {
3374
+ symbol: string;
3375
+ type: "FiatCurrency";
3376
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3377
+ name: string;
3378
+ icon?: string | undefined;
3379
+ }>, z.ZodEffects<z.ZodObject<{
3380
+ type: z.ZodLiteral<"Nft">;
3381
+ id: z.ZodString;
3382
+ name: z.ZodOptional<z.ZodString>;
3383
+ symbol: z.ZodOptional<z.ZodString>;
3384
+ image: z.ZodOptional<z.ZodString>;
3385
+ metadata: z.ZodOptional<z.ZodString>;
3386
+ updatedAt: z.ZodNumber;
3387
+ }, "strip", z.ZodTypeAny, {
3388
+ type: "Nft";
3389
+ id: string;
3390
+ updatedAt: number;
3391
+ symbol?: string | undefined;
3392
+ name?: string | undefined;
3393
+ image?: string | undefined;
3394
+ metadata?: string | undefined;
3395
+ }, {
3396
+ type: "Nft";
3397
+ id: string;
3398
+ updatedAt: number;
3399
+ symbol?: string | undefined;
3400
+ name?: string | undefined;
3401
+ image?: string | undefined;
3402
+ metadata?: string | undefined;
3403
+ }>, {
3404
+ name: string | undefined;
3405
+ symbol: string | undefined;
3406
+ image: string | undefined;
3407
+ metadata: string | undefined;
3408
+ type: "Nft";
3409
+ id: string;
3410
+ updatedAt: number;
3411
+ }, {
3412
+ type: "Nft";
3413
+ id: string;
3414
+ updatedAt: number;
3415
+ symbol?: string | undefined;
3416
+ name?: string | undefined;
3417
+ image?: string | undefined;
3418
+ metadata?: string | undefined;
3419
+ }>]>;
3420
+ amount: z.ZodObject<{
3421
+ value: z.ZodBigInt;
3422
+ decimals: z.ZodNumber;
3423
+ }, "strip", z.ZodTypeAny, {
3424
+ value: bigint;
3425
+ decimals: number;
3426
+ }, {
3427
+ value: bigint;
3428
+ decimals: number;
3429
+ }>;
3430
+ price: z.ZodOptional<z.ZodObject<{
3431
+ cryptoCurrencyId: z.ZodString;
3432
+ fiatCurrencyId: z.ZodString;
3433
+ price: z.ZodObject<{
3434
+ value: z.ZodBigInt;
3435
+ decimals: z.ZodNumber;
3436
+ }, "strip", z.ZodTypeAny, {
3437
+ value: bigint;
3438
+ decimals: number;
3439
+ }, {
3440
+ value: bigint;
3441
+ decimals: number;
3442
+ }>;
3443
+ timestamp: z.ZodNumber;
3444
+ }, "strip", z.ZodTypeAny, {
3445
+ cryptoCurrencyId: string;
3446
+ fiatCurrencyId: string;
3447
+ price: {
3448
+ value: bigint;
3449
+ decimals: number;
3450
+ };
3451
+ timestamp: number;
3452
+ }, {
3453
+ cryptoCurrencyId: string;
3454
+ fiatCurrencyId: string;
3455
+ price: {
3456
+ value: bigint;
3457
+ decimals: number;
3458
+ };
3459
+ timestamp: number;
3460
+ }>>;
3461
+ }, {
3462
+ direction: z.ZodLiteral<"none">;
3463
+ }>, "strip", z.ZodTypeAny, {
578
3464
  asset: {
3465
+ icon: string | undefined;
3466
+ priceDatasourceId: string | undefined;
3467
+ symbol: string;
3468
+ type: "CryptoCurrency";
3469
+ id: string;
3470
+ name: string;
3471
+ market: {
3472
+ coingeckoId: string | undefined;
3473
+ marketCapUsd: {
3474
+ value: bigint;
3475
+ decimals: number;
3476
+ } | undefined;
3477
+ };
3478
+ updatedAt: number;
3479
+ } | {
3480
+ icon: string | undefined;
579
3481
  symbol: string;
580
3482
  type: "FiatCurrency";
581
3483
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
582
3484
  name: string;
583
- icon?: string | undefined;
3485
+ } | {
3486
+ name: string | undefined;
3487
+ symbol: string | undefined;
3488
+ image: string | undefined;
3489
+ metadata: string | undefined;
3490
+ type: "Nft";
3491
+ id: string;
3492
+ updatedAt: number;
584
3493
  };
585
3494
  amount: {
586
3495
  value: bigint;
587
3496
  decimals: number;
588
3497
  };
589
- direction: "in";
3498
+ direction: "none";
590
3499
  price?: {
591
3500
  cryptoCurrencyId: string;
592
3501
  fiatCurrencyId: string;
@@ -598,7 +3507,7 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
598
3507
  } | undefined;
599
3508
  from?: string | undefined;
600
3509
  to?: string | undefined;
601
- } | {
3510
+ }, {
602
3511
  asset: {
603
3512
  symbol: string;
604
3513
  type: "CryptoCurrency";
@@ -614,12 +3523,26 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
614
3523
  updatedAt: number;
615
3524
  icon?: string | undefined;
616
3525
  priceDatasourceId?: string | undefined;
3526
+ } | {
3527
+ symbol: string;
3528
+ type: "FiatCurrency";
3529
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3530
+ name: string;
3531
+ icon?: string | undefined;
3532
+ } | {
3533
+ type: "Nft";
3534
+ id: string;
3535
+ updatedAt: number;
3536
+ symbol?: string | undefined;
3537
+ name?: string | undefined;
3538
+ image?: string | undefined;
3539
+ metadata?: string | undefined;
617
3540
  };
618
3541
  amount: {
619
3542
  value: bigint;
620
3543
  decimals: number;
621
3544
  };
622
- direction: "out";
3545
+ direction: "none";
623
3546
  price?: {
624
3547
  cryptoCurrencyId: string;
625
3548
  fiatCurrencyId: string;
@@ -631,31 +3554,7 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
631
3554
  } | undefined;
632
3555
  from?: string | undefined;
633
3556
  to?: string | undefined;
634
- })[];
635
- comment?: string | undefined;
636
- app?: {
637
- id: string;
638
- name: string;
639
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
640
- description?: string | undefined;
641
- website?: string | undefined;
642
- icon?: string | undefined;
643
- } | undefined;
644
- }>, {
645
- comment: string | undefined;
646
- app: {
647
- description: string | undefined;
648
- website: string | undefined;
649
- icon: string | undefined;
650
- id: string;
651
- name: string;
652
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
653
- } | undefined;
654
- type: "NormalAction";
655
- timestamp: number;
656
- action: "sell-crypto";
657
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
658
- transfers: ({
3557
+ }>, {
659
3558
  from: string | undefined;
660
3559
  to: string | undefined;
661
3560
  price: {
@@ -668,69 +3567,76 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
668
3567
  timestamp: number;
669
3568
  } | undefined;
670
3569
  asset: {
3570
+ icon: string | undefined;
3571
+ priceDatasourceId: string | undefined;
3572
+ symbol: string;
3573
+ type: "CryptoCurrency";
3574
+ id: string;
3575
+ name: string;
3576
+ market: {
3577
+ coingeckoId: string | undefined;
3578
+ marketCapUsd: {
3579
+ value: bigint;
3580
+ decimals: number;
3581
+ } | undefined;
3582
+ };
3583
+ updatedAt: number;
3584
+ } | {
671
3585
  icon: string | undefined;
672
3586
  symbol: string;
673
3587
  type: "FiatCurrency";
674
3588
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
675
3589
  name: string;
3590
+ } | {
3591
+ name: string | undefined;
3592
+ symbol: string | undefined;
3593
+ image: string | undefined;
3594
+ metadata: string | undefined;
3595
+ type: "Nft";
3596
+ id: string;
3597
+ updatedAt: number;
676
3598
  };
677
3599
  amount: {
678
3600
  value: bigint;
679
3601
  decimals: number;
680
3602
  };
681
- direction: "in";
682
- } | {
683
- from: string | undefined;
684
- to: string | undefined;
685
- price: {
686
- cryptoCurrencyId: string;
687
- fiatCurrencyId: string;
688
- price: {
689
- value: bigint;
690
- decimals: number;
691
- };
692
- timestamp: number;
693
- } | undefined;
3603
+ direction: "none";
3604
+ }, {
694
3605
  asset: {
695
- icon: string | undefined;
696
- priceDatasourceId: string | undefined;
697
3606
  symbol: string;
698
3607
  type: "CryptoCurrency";
699
3608
  id: string;
700
3609
  name: string;
701
3610
  market: {
702
- coingeckoId: string | undefined;
703
- marketCapUsd: {
3611
+ coingeckoId?: string | undefined;
3612
+ marketCapUsd?: {
704
3613
  value: bigint;
705
3614
  decimals: number;
706
3615
  } | undefined;
707
3616
  };
708
3617
  updatedAt: number;
709
- };
710
- amount: {
711
- value: bigint;
712
- decimals: number;
713
- };
714
- direction: "out";
715
- })[];
716
- }, {
717
- type: "NormalAction";
718
- timestamp: number;
719
- action: "sell-crypto";
720
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
721
- transfers: ({
722
- asset: {
3618
+ icon?: string | undefined;
3619
+ priceDatasourceId?: string | undefined;
3620
+ } | {
723
3621
  symbol: string;
724
3622
  type: "FiatCurrency";
725
3623
  id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
726
3624
  name: string;
727
3625
  icon?: string | undefined;
3626
+ } | {
3627
+ type: "Nft";
3628
+ id: string;
3629
+ updatedAt: number;
3630
+ symbol?: string | undefined;
3631
+ name?: string | undefined;
3632
+ image?: string | undefined;
3633
+ metadata?: string | undefined;
728
3634
  };
729
3635
  amount: {
730
3636
  value: bigint;
731
3637
  decimals: number;
732
3638
  };
733
- direction: "in";
3639
+ direction: "none";
734
3640
  price?: {
735
3641
  cryptoCurrencyId: string;
736
3642
  fiatCurrencyId: string;
@@ -742,8 +3648,75 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
742
3648
  } | undefined;
743
3649
  from?: string | undefined;
744
3650
  to?: string | undefined;
745
- } | {
746
- asset: {
3651
+ }>]>, "many">;
3652
+ }, {
3653
+ type: z.ZodLiteral<"NormalAccountAction">;
3654
+ }>, {
3655
+ action: z.ZodLiteral<"sell-crypto">;
3656
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3657
+ from: z.ZodOptional<z.ZodString>;
3658
+ to: z.ZodOptional<z.ZodString>;
3659
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3660
+ type: z.ZodLiteral<"CryptoCurrency">;
3661
+ id: z.ZodString;
3662
+ name: z.ZodString;
3663
+ symbol: z.ZodString;
3664
+ icon: z.ZodOptional<z.ZodString>;
3665
+ market: z.ZodEffects<z.ZodObject<{
3666
+ coingeckoId: z.ZodOptional<z.ZodString>;
3667
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3668
+ value: z.ZodBigInt;
3669
+ decimals: z.ZodNumber;
3670
+ }, "strip", z.ZodTypeAny, {
3671
+ value: bigint;
3672
+ decimals: number;
3673
+ }, {
3674
+ value: bigint;
3675
+ decimals: number;
3676
+ }>>;
3677
+ }, "strip", z.ZodTypeAny, {
3678
+ coingeckoId?: string | undefined;
3679
+ marketCapUsd?: {
3680
+ value: bigint;
3681
+ decimals: number;
3682
+ } | undefined;
3683
+ }, {
3684
+ coingeckoId?: string | undefined;
3685
+ marketCapUsd?: {
3686
+ value: bigint;
3687
+ decimals: number;
3688
+ } | undefined;
3689
+ }>, {
3690
+ coingeckoId: string | undefined;
3691
+ marketCapUsd: {
3692
+ value: bigint;
3693
+ decimals: number;
3694
+ } | undefined;
3695
+ }, {
3696
+ coingeckoId?: string | undefined;
3697
+ marketCapUsd?: {
3698
+ value: bigint;
3699
+ decimals: number;
3700
+ } | undefined;
3701
+ }>;
3702
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3703
+ updatedAt: z.ZodNumber;
3704
+ }, "strip", z.ZodTypeAny, {
3705
+ symbol: string;
3706
+ type: "CryptoCurrency";
3707
+ id: string;
3708
+ name: string;
3709
+ market: {
3710
+ coingeckoId: string | undefined;
3711
+ marketCapUsd: {
3712
+ value: bigint;
3713
+ decimals: number;
3714
+ } | undefined;
3715
+ };
3716
+ updatedAt: number;
3717
+ icon?: string | undefined;
3718
+ priceDatasourceId?: string | undefined;
3719
+ }, {
747
3720
  symbol: string;
748
3721
  type: "CryptoCurrency";
749
3722
  id: string;
@@ -758,79 +3731,117 @@ export declare const normalActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
758
3731
  updatedAt: number;
759
3732
  icon?: string | undefined;
760
3733
  priceDatasourceId?: string | undefined;
761
- };
762
- amount: {
763
- value: bigint;
764
- decimals: number;
765
- };
766
- direction: "out";
767
- price?: {
768
- cryptoCurrencyId: string;
769
- fiatCurrencyId: string;
770
- price: {
771
- value: bigint;
772
- decimals: number;
3734
+ }>, {
3735
+ icon: string | undefined;
3736
+ priceDatasourceId: string | undefined;
3737
+ symbol: string;
3738
+ type: "CryptoCurrency";
3739
+ id: string;
3740
+ name: string;
3741
+ market: {
3742
+ coingeckoId: string | undefined;
3743
+ marketCapUsd: {
3744
+ value: bigint;
3745
+ decimals: number;
3746
+ } | undefined;
773
3747
  };
774
- timestamp: number;
775
- } | undefined;
776
- from?: string | undefined;
777
- to?: string | undefined;
778
- })[];
779
- comment?: string | undefined;
780
- app?: {
781
- id: string;
782
- name: string;
783
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
784
- description?: string | undefined;
785
- website?: string | undefined;
786
- icon?: string | undefined;
787
- } | undefined;
788
- }>;
789
- export declare const accountActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
790
- type: z.ZodLiteral<"NormalAccountAction">;
791
- timestamp: z.ZodNumber;
792
- order: z.ZodNumber;
793
- source: z.ZodString;
794
- evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
795
- comment: z.ZodOptional<z.ZodString>;
796
- app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
797
- id: z.ZodString;
798
- categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
799
- name: z.ZodString;
800
- description: z.ZodOptional<z.ZodString>;
801
- website: z.ZodOptional<z.ZodString>;
802
- icon: z.ZodOptional<z.ZodString>;
803
- }, "strip", z.ZodTypeAny, {
804
- id: string;
805
- name: string;
806
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
807
- description?: string | undefined;
808
- website?: string | undefined;
809
- icon?: string | undefined;
810
- }, {
811
- id: string;
812
- name: string;
813
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
814
- description?: string | undefined;
815
- website?: string | undefined;
816
- icon?: string | undefined;
817
- }>, {
818
- description: string | undefined;
819
- website: string | undefined;
820
- icon: string | undefined;
821
- id: string;
822
- name: string;
823
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
824
- }, {
825
- id: string;
826
- name: string;
827
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
828
- description?: string | undefined;
829
- website?: string | undefined;
830
- icon?: string | undefined;
831
- }>>;
832
- action: z.ZodLiteral<"sell-crypto">;
833
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3748
+ updatedAt: number;
3749
+ }, {
3750
+ symbol: string;
3751
+ type: "CryptoCurrency";
3752
+ id: string;
3753
+ name: string;
3754
+ market: {
3755
+ coingeckoId?: string | undefined;
3756
+ marketCapUsd?: {
3757
+ value: bigint;
3758
+ decimals: number;
3759
+ } | undefined;
3760
+ };
3761
+ updatedAt: number;
3762
+ icon?: string | undefined;
3763
+ priceDatasourceId?: string | undefined;
3764
+ }>, z.ZodEffects<z.ZodObject<{
3765
+ type: z.ZodLiteral<"FiatCurrency">;
3766
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
3767
+ name: z.ZodString;
3768
+ symbol: z.ZodString;
3769
+ icon: z.ZodOptional<z.ZodString>;
3770
+ }, "strip", z.ZodTypeAny, {
3771
+ symbol: string;
3772
+ type: "FiatCurrency";
3773
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3774
+ name: string;
3775
+ icon?: string | undefined;
3776
+ }, {
3777
+ symbol: string;
3778
+ type: "FiatCurrency";
3779
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3780
+ name: string;
3781
+ icon?: string | undefined;
3782
+ }>, {
3783
+ icon: string | undefined;
3784
+ symbol: string;
3785
+ type: "FiatCurrency";
3786
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3787
+ name: string;
3788
+ }, {
3789
+ symbol: string;
3790
+ type: "FiatCurrency";
3791
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3792
+ name: string;
3793
+ icon?: string | undefined;
3794
+ }>, z.ZodEffects<z.ZodObject<{
3795
+ type: z.ZodLiteral<"Nft">;
3796
+ id: z.ZodString;
3797
+ name: z.ZodOptional<z.ZodString>;
3798
+ symbol: z.ZodOptional<z.ZodString>;
3799
+ image: z.ZodOptional<z.ZodString>;
3800
+ metadata: z.ZodOptional<z.ZodString>;
3801
+ updatedAt: z.ZodNumber;
3802
+ }, "strip", z.ZodTypeAny, {
3803
+ type: "Nft";
3804
+ id: string;
3805
+ updatedAt: number;
3806
+ symbol?: string | undefined;
3807
+ name?: string | undefined;
3808
+ image?: string | undefined;
3809
+ metadata?: string | undefined;
3810
+ }, {
3811
+ type: "Nft";
3812
+ id: string;
3813
+ updatedAt: number;
3814
+ symbol?: string | undefined;
3815
+ name?: string | undefined;
3816
+ image?: string | undefined;
3817
+ metadata?: string | undefined;
3818
+ }>, {
3819
+ name: string | undefined;
3820
+ symbol: string | undefined;
3821
+ image: string | undefined;
3822
+ metadata: string | undefined;
3823
+ type: "Nft";
3824
+ id: string;
3825
+ updatedAt: number;
3826
+ }, {
3827
+ type: "Nft";
3828
+ id: string;
3829
+ updatedAt: number;
3830
+ symbol?: string | undefined;
3831
+ name?: string | undefined;
3832
+ image?: string | undefined;
3833
+ metadata?: string | undefined;
3834
+ }>]>;
3835
+ amount: z.ZodObject<{
3836
+ value: z.ZodBigInt;
3837
+ decimals: z.ZodNumber;
3838
+ }, "strip", z.ZodTypeAny, {
3839
+ value: bigint;
3840
+ decimals: number;
3841
+ }, {
3842
+ value: bigint;
3843
+ decimals: number;
3844
+ }>;
834
3845
  price: z.ZodOptional<z.ZodObject<{
835
3846
  cryptoCurrencyId: z.ZodString;
836
3847
  fiatCurrencyId: z.ZodString;
@@ -862,19 +3873,9 @@ export declare const accountActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
862
3873
  };
863
3874
  timestamp: number;
864
3875
  }>>;
865
- from: z.ZodOptional<z.ZodString>;
866
- to: z.ZodOptional<z.ZodString>;
867
- amount: z.ZodObject<{
868
- value: z.ZodBigInt;
869
- decimals: z.ZodNumber;
870
- }, "strip", z.ZodTypeAny, {
871
- value: bigint;
872
- decimals: number;
873
- }, {
874
- value: bigint;
875
- decimals: number;
876
- }>;
3876
+ }, {
877
3877
  direction: z.ZodLiteral<"in">;
3878
+ }>, {
878
3879
  asset: z.ZodEffects<z.ZodObject<{
879
3880
  type: z.ZodLiteral<"FiatCurrency">;
880
3881
  id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
@@ -906,7 +3907,7 @@ export declare const accountActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
906
3907
  name: string;
907
3908
  icon?: string | undefined;
908
3909
  }>;
909
- }, "strip", z.ZodTypeAny, {
3910
+ }>, "strip", z.ZodTypeAny, {
910
3911
  asset: {
911
3912
  icon: string | undefined;
912
3913
  symbol: string;
@@ -1002,7 +4003,195 @@ export declare const accountActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
1002
4003
  } | undefined;
1003
4004
  from?: string | undefined;
1004
4005
  to?: string | undefined;
1005
- }>, z.ZodEffects<z.ZodObject<{
4006
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4007
+ from: z.ZodOptional<z.ZodString>;
4008
+ to: z.ZodOptional<z.ZodString>;
4009
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4010
+ type: z.ZodLiteral<"CryptoCurrency">;
4011
+ id: z.ZodString;
4012
+ name: z.ZodString;
4013
+ symbol: z.ZodString;
4014
+ icon: z.ZodOptional<z.ZodString>;
4015
+ market: z.ZodEffects<z.ZodObject<{
4016
+ coingeckoId: z.ZodOptional<z.ZodString>;
4017
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
4018
+ value: z.ZodBigInt;
4019
+ decimals: z.ZodNumber;
4020
+ }, "strip", z.ZodTypeAny, {
4021
+ value: bigint;
4022
+ decimals: number;
4023
+ }, {
4024
+ value: bigint;
4025
+ decimals: number;
4026
+ }>>;
4027
+ }, "strip", z.ZodTypeAny, {
4028
+ coingeckoId?: string | undefined;
4029
+ marketCapUsd?: {
4030
+ value: bigint;
4031
+ decimals: number;
4032
+ } | undefined;
4033
+ }, {
4034
+ coingeckoId?: string | undefined;
4035
+ marketCapUsd?: {
4036
+ value: bigint;
4037
+ decimals: number;
4038
+ } | undefined;
4039
+ }>, {
4040
+ coingeckoId: string | undefined;
4041
+ marketCapUsd: {
4042
+ value: bigint;
4043
+ decimals: number;
4044
+ } | undefined;
4045
+ }, {
4046
+ coingeckoId?: string | undefined;
4047
+ marketCapUsd?: {
4048
+ value: bigint;
4049
+ decimals: number;
4050
+ } | undefined;
4051
+ }>;
4052
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
4053
+ updatedAt: z.ZodNumber;
4054
+ }, "strip", z.ZodTypeAny, {
4055
+ symbol: string;
4056
+ type: "CryptoCurrency";
4057
+ id: string;
4058
+ name: string;
4059
+ market: {
4060
+ coingeckoId: string | undefined;
4061
+ marketCapUsd: {
4062
+ value: bigint;
4063
+ decimals: number;
4064
+ } | undefined;
4065
+ };
4066
+ updatedAt: number;
4067
+ icon?: string | undefined;
4068
+ priceDatasourceId?: string | undefined;
4069
+ }, {
4070
+ symbol: string;
4071
+ type: "CryptoCurrency";
4072
+ id: string;
4073
+ name: string;
4074
+ market: {
4075
+ coingeckoId?: string | undefined;
4076
+ marketCapUsd?: {
4077
+ value: bigint;
4078
+ decimals: number;
4079
+ } | undefined;
4080
+ };
4081
+ updatedAt: number;
4082
+ icon?: string | undefined;
4083
+ priceDatasourceId?: string | undefined;
4084
+ }>, {
4085
+ icon: string | undefined;
4086
+ priceDatasourceId: string | undefined;
4087
+ symbol: string;
4088
+ type: "CryptoCurrency";
4089
+ id: string;
4090
+ name: string;
4091
+ market: {
4092
+ coingeckoId: string | undefined;
4093
+ marketCapUsd: {
4094
+ value: bigint;
4095
+ decimals: number;
4096
+ } | undefined;
4097
+ };
4098
+ updatedAt: number;
4099
+ }, {
4100
+ symbol: string;
4101
+ type: "CryptoCurrency";
4102
+ id: string;
4103
+ name: string;
4104
+ market: {
4105
+ coingeckoId?: string | undefined;
4106
+ marketCapUsd?: {
4107
+ value: bigint;
4108
+ decimals: number;
4109
+ } | undefined;
4110
+ };
4111
+ updatedAt: number;
4112
+ icon?: string | undefined;
4113
+ priceDatasourceId?: string | undefined;
4114
+ }>, z.ZodEffects<z.ZodObject<{
4115
+ type: z.ZodLiteral<"FiatCurrency">;
4116
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
4117
+ name: z.ZodString;
4118
+ symbol: z.ZodString;
4119
+ icon: z.ZodOptional<z.ZodString>;
4120
+ }, "strip", z.ZodTypeAny, {
4121
+ symbol: string;
4122
+ type: "FiatCurrency";
4123
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4124
+ name: string;
4125
+ icon?: string | undefined;
4126
+ }, {
4127
+ symbol: string;
4128
+ type: "FiatCurrency";
4129
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4130
+ name: string;
4131
+ icon?: string | undefined;
4132
+ }>, {
4133
+ icon: string | undefined;
4134
+ symbol: string;
4135
+ type: "FiatCurrency";
4136
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4137
+ name: string;
4138
+ }, {
4139
+ symbol: string;
4140
+ type: "FiatCurrency";
4141
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4142
+ name: string;
4143
+ icon?: string | undefined;
4144
+ }>, z.ZodEffects<z.ZodObject<{
4145
+ type: z.ZodLiteral<"Nft">;
4146
+ id: z.ZodString;
4147
+ name: z.ZodOptional<z.ZodString>;
4148
+ symbol: z.ZodOptional<z.ZodString>;
4149
+ image: z.ZodOptional<z.ZodString>;
4150
+ metadata: z.ZodOptional<z.ZodString>;
4151
+ updatedAt: z.ZodNumber;
4152
+ }, "strip", z.ZodTypeAny, {
4153
+ type: "Nft";
4154
+ id: string;
4155
+ updatedAt: number;
4156
+ symbol?: string | undefined;
4157
+ name?: string | undefined;
4158
+ image?: string | undefined;
4159
+ metadata?: string | undefined;
4160
+ }, {
4161
+ type: "Nft";
4162
+ id: string;
4163
+ updatedAt: number;
4164
+ symbol?: string | undefined;
4165
+ name?: string | undefined;
4166
+ image?: string | undefined;
4167
+ metadata?: string | undefined;
4168
+ }>, {
4169
+ name: string | undefined;
4170
+ symbol: string | undefined;
4171
+ image: string | undefined;
4172
+ metadata: string | undefined;
4173
+ type: "Nft";
4174
+ id: string;
4175
+ updatedAt: number;
4176
+ }, {
4177
+ type: "Nft";
4178
+ id: string;
4179
+ updatedAt: number;
4180
+ symbol?: string | undefined;
4181
+ name?: string | undefined;
4182
+ image?: string | undefined;
4183
+ metadata?: string | undefined;
4184
+ }>]>;
4185
+ amount: z.ZodObject<{
4186
+ value: z.ZodBigInt;
4187
+ decimals: z.ZodNumber;
4188
+ }, "strip", z.ZodTypeAny, {
4189
+ value: bigint;
4190
+ decimals: number;
4191
+ }, {
4192
+ value: bigint;
4193
+ decimals: number;
4194
+ }>;
1006
4195
  price: z.ZodOptional<z.ZodObject<{
1007
4196
  cryptoCurrencyId: z.ZodString;
1008
4197
  fiatCurrencyId: z.ZodString;
@@ -1034,19 +4223,9 @@ export declare const accountActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
1034
4223
  };
1035
4224
  timestamp: number;
1036
4225
  }>>;
1037
- from: z.ZodOptional<z.ZodString>;
1038
- to: z.ZodOptional<z.ZodString>;
1039
- amount: z.ZodObject<{
1040
- value: z.ZodBigInt;
1041
- decimals: z.ZodNumber;
1042
- }, "strip", z.ZodTypeAny, {
1043
- value: bigint;
1044
- decimals: number;
1045
- }, {
1046
- value: bigint;
1047
- decimals: number;
1048
- }>;
4226
+ }, {
1049
4227
  direction: z.ZodLiteral<"out">;
4228
+ }>, {
1050
4229
  asset: z.ZodEffects<z.ZodObject<{
1051
4230
  type: z.ZodLiteral<"CryptoCurrency">;
1052
4231
  id: z.ZodString;
@@ -1153,7 +4332,7 @@ export declare const accountActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
1153
4332
  icon?: string | undefined;
1154
4333
  priceDatasourceId?: string | undefined;
1155
4334
  }>;
1156
- }, "strip", z.ZodTypeAny, {
4335
+ }>, "strip", z.ZodTypeAny, {
1157
4336
  asset: {
1158
4337
  icon: string | undefined;
1159
4338
  priceDatasourceId: string | undefined;
@@ -1286,7 +4465,7 @@ export declare const accountActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
1286
4465
  from?: string | undefined;
1287
4466
  to?: string | undefined;
1288
4467
  }>]>, "many">;
1289
- }, "strip", z.ZodTypeAny, {
4468
+ }>, "strip", z.ZodTypeAny, {
1290
4469
  type: "NormalAccountAction";
1291
4470
  timestamp: number;
1292
4471
  order: number;
@@ -1430,9 +4609,9 @@ export declare const accountActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
1430
4609
  id: string;
1431
4610
  name: string;
1432
4611
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4612
+ icon?: string | undefined;
1433
4613
  description?: string | undefined;
1434
4614
  website?: string | undefined;
1435
- icon?: string | undefined;
1436
4615
  } | undefined;
1437
4616
  }>, {
1438
4617
  comment: string | undefined;
@@ -1578,9 +4757,9 @@ export declare const accountActionSellCryptoSchema: z.ZodEffects<z.ZodObject<{
1578
4757
  id: string;
1579
4758
  name: string;
1580
4759
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4760
+ icon?: string | undefined;
1581
4761
  description?: string | undefined;
1582
4762
  website?: string | undefined;
1583
- icon?: string | undefined;
1584
4763
  } | undefined;
1585
4764
  }>;
1586
4765
  //# sourceMappingURL=sellCrypto.d.ts.map