@0xtorch/core 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/_cjs/actions/schemas/action.js.map +1 -1
  2. package/_esm/actions/schemas/action.js.map +1 -1
  3. package/_types/actions/schemas/action.d.ts +103 -80694
  4. package/_types/actions/schemas/action.d.ts.map +1 -1
  5. package/_types/actions/schemas/borrow/borrow.d.ts +3523 -342
  6. package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
  7. package/_types/actions/schemas/crossActionBundle.d.ts +6773 -1121
  8. package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
  9. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +3528 -347
  10. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
  11. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +3525 -344
  12. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
  13. package/_types/actions/schemas/crossReplace/crossReplace.d.ts +2862 -389
  14. package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
  15. package/_types/actions/schemas/crossTrade/crossTrade.d.ts +2862 -389
  16. package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
  17. package/_types/actions/schemas/default/accountAction.d.ts +387 -375
  18. package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
  19. package/_types/actions/schemas/default/normalAction.d.ts +382 -369
  20. package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
  21. package/_types/actions/schemas/default/transfer.d.ts +2932 -1323
  22. package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
  23. package/_types/actions/schemas/deposit/addLiquidity.d.ts +4667 -774
  24. package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
  25. package/_types/actions/schemas/deposit/deposit.d.ts +3526 -345
  26. package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
  27. package/_types/actions/schemas/deposit/depositWithBond.d.ts +4667 -774
  28. package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
  29. package/_types/actions/schemas/deposit/stake.d.ts +3526 -345
  30. package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
  31. package/_types/actions/schemas/fee/fee.d.ts +3510 -331
  32. package/_types/actions/schemas/fee/fee.d.ts.map +1 -1
  33. package/_types/actions/schemas/fee/transactionFee.d.ts +3038 -215
  34. package/_types/actions/schemas/fee/transactionFee.d.ts.map +1 -1
  35. package/_types/actions/schemas/ignore/approve.d.ts +2485 -18
  36. package/_types/actions/schemas/ignore/approve.d.ts.map +1 -1
  37. package/_types/actions/schemas/ignore/failTx.d.ts +2485 -18
  38. package/_types/actions/schemas/ignore/failTx.d.ts.map +1 -1
  39. package/_types/actions/schemas/ignore/ignore.d.ts +136 -130
  40. package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
  41. package/_types/actions/schemas/ignore/move.d.ts +136 -130
  42. package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
  43. package/_types/actions/schemas/ignore/receiveFromCex.d.ts +3518 -339
  44. package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
  45. package/_types/actions/schemas/ignore/revoke.d.ts +2485 -18
  46. package/_types/actions/schemas/ignore/revoke.d.ts.map +1 -1
  47. package/_types/actions/schemas/ignore/sendToCex.d.ts +3521 -342
  48. package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
  49. package/_types/actions/schemas/ignore/spam.d.ts +4663 -772
  50. package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
  51. package/_types/actions/schemas/income/atomicArbitrage.d.ts +3559 -380
  52. package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
  53. package/_types/actions/schemas/income/freeMintNft.d.ts +3014 -191
  54. package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -1
  55. package/_types/actions/schemas/income/income.d.ts +2682 -213
  56. package/_types/actions/schemas/income/income.d.ts.map +1 -1
  57. package/_types/actions/schemas/income/nftRoyalty.d.ts +1629 -39
  58. package/_types/actions/schemas/income/nftRoyalty.d.ts.map +1 -1
  59. package/_types/actions/schemas/income/swapIncome.d.ts +1636 -46
  60. package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
  61. package/_types/actions/schemas/reduce/reduce.d.ts +1636 -46
  62. package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
  63. package/_types/actions/schemas/repayment/repayment.d.ts +3526 -345
  64. package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
  65. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +4667 -774
  66. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
  67. package/_types/actions/schemas/replace/replace.d.ts +4663 -772
  68. package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
  69. package/_types/actions/schemas/replace/swapNft.d.ts +3510 -331
  70. package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -1
  71. package/_types/actions/schemas/replace/unwrap.d.ts +3559 -380
  72. package/_types/actions/schemas/replace/unwrap.d.ts.map +1 -1
  73. package/_types/actions/schemas/replace/wrap.d.ts +3559 -380
  74. package/_types/actions/schemas/replace/wrap.d.ts.map +1 -1
  75. package/_types/actions/schemas/trade/buyCrypto.d.ts +3506 -327
  76. package/_types/actions/schemas/trade/buyCrypto.d.ts.map +1 -1
  77. package/_types/actions/schemas/trade/buyNft.d.ts +4144 -609
  78. package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
  79. package/_types/actions/schemas/trade/mintNft.d.ts +4144 -609
  80. package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
  81. package/_types/actions/schemas/trade/sellCrypto.d.ts +3514 -335
  82. package/_types/actions/schemas/trade/sellCrypto.d.ts.map +1 -1
  83. package/_types/actions/schemas/trade/sellNft.d.ts +4144 -609
  84. package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
  85. package/_types/actions/schemas/trade/trade.d.ts +2854 -383
  86. package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
  87. package/_types/actions/schemas/transfer/swapTransfer.d.ts +1636 -46
  88. package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
  89. package/_types/actions/schemas/transfer/transfer.d.ts +1388 -148
  90. package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
  91. package/_types/actions/schemas/valuedown/valuedown.d.ts +2756 -287
  92. package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
  93. package/_types/actions/schemas/valueup/valueup.d.ts +2761 -292
  94. package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
  95. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +4667 -774
  96. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
  97. package/_types/actions/schemas/withdraw/unstake.d.ts +3523 -342
  98. package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
  99. package/_types/actions/schemas/withdraw/withdraw.d.ts +3523 -342
  100. package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
  101. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +4667 -774
  102. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
  103. package/_types/apps/schemas.d.ts +3 -3
  104. package/_types/assets/schemas/asset.d.ts +3 -3
  105. package/_types/assets/schemas/nft.d.ts +3 -3
  106. package/actions/schemas/action.ts +92 -2
  107. package/package.json +2 -2
  108. package/.DS_Store +0 -0
  109. package/actions/.DS_Store +0 -0
  110. package/assets/.DS_Store +0 -0
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod';
2
- export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<{
2
+ export declare const normalActionTransactionFeeSchema: 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 normalActionTransactionFeeSchema: 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,14 @@ export declare const normalActionTransactionFeeSchema: 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<"transaction-fee">;
44
- transfers: z.ZodArray<z.ZodEffects<z.ZodObject<{
45
- price: z.ZodOptional<z.ZodObject<{
46
- cryptoCurrencyId: z.ZodString;
47
- fiatCurrencyId: z.ZodString;
48
- price: z.ZodObject<{
49
- value: z.ZodBigInt;
50
- decimals: z.ZodNumber;
51
- }, "strip", z.ZodTypeAny, {
52
- value: bigint;
53
- decimals: number;
54
- }, {
55
- value: bigint;
56
- decimals: number;
57
- }>;
58
- timestamp: z.ZodNumber;
59
- }, "strip", z.ZodTypeAny, {
60
- cryptoCurrencyId: string;
61
- fiatCurrencyId: string;
62
- price: {
63
- value: bigint;
64
- decimals: number;
65
- };
66
- timestamp: number;
67
- }, {
68
- cryptoCurrencyId: string;
69
- fiatCurrencyId: string;
70
- price: {
71
- value: bigint;
72
- decimals: number;
73
- };
74
- timestamp: number;
75
- }>>;
44
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
76
45
  from: z.ZodOptional<z.ZodString>;
77
46
  to: z.ZodOptional<z.ZodString>;
78
- amount: z.ZodObject<{
79
- value: z.ZodBigInt;
80
- decimals: z.ZodNumber;
81
- }, "strip", z.ZodTypeAny, {
82
- value: bigint;
83
- decimals: number;
84
- }, {
85
- value: bigint;
86
- decimals: number;
87
- }>;
88
- direction: z.ZodLiteral<"out">;
89
- asset: z.ZodEffects<z.ZodObject<{
47
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
90
48
  type: z.ZodLiteral<"CryptoCurrency">;
91
49
  id: z.ZodString;
92
50
  name: z.ZodString;
@@ -191,8 +149,121 @@ export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<
191
149
  updatedAt: number;
192
150
  icon?: string | undefined;
193
151
  priceDatasourceId?: string | undefined;
152
+ }>, z.ZodEffects<z.ZodObject<{
153
+ type: z.ZodLiteral<"FiatCurrency">;
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">]>;
155
+ name: z.ZodString;
156
+ symbol: z.ZodString;
157
+ icon: z.ZodOptional<z.ZodString>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ symbol: string;
160
+ type: "FiatCurrency";
161
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
162
+ name: string;
163
+ icon?: string | undefined;
164
+ }, {
165
+ symbol: string;
166
+ type: "FiatCurrency";
167
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
168
+ name: string;
169
+ icon?: string | undefined;
170
+ }>, {
171
+ icon: string | undefined;
172
+ symbol: string;
173
+ type: "FiatCurrency";
174
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
175
+ name: string;
176
+ }, {
177
+ symbol: string;
178
+ type: "FiatCurrency";
179
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
180
+ name: string;
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;
194
232
  }>;
195
- }, "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, {
196
267
  asset: {
197
268
  icon: string | undefined;
198
269
  priceDatasourceId: string | undefined;
@@ -208,12 +279,26 @@ export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<
208
279
  } | undefined;
209
280
  };
210
281
  updatedAt: number;
282
+ } | {
283
+ icon: string | undefined;
284
+ symbol: string;
285
+ type: "FiatCurrency";
286
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
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;
211
296
  };
212
297
  amount: {
213
298
  value: bigint;
214
299
  decimals: number;
215
300
  };
216
- direction: "out";
301
+ direction: "in";
217
302
  price?: {
218
303
  cryptoCurrencyId: string;
219
304
  fiatCurrencyId: string;
@@ -241,12 +326,26 @@ export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<
241
326
  updatedAt: number;
242
327
  icon?: string | undefined;
243
328
  priceDatasourceId?: string | undefined;
329
+ } | {
330
+ symbol: string;
331
+ type: "FiatCurrency";
332
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
333
+ name: string;
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;
244
343
  };
245
344
  amount: {
246
345
  value: bigint;
247
346
  decimals: number;
248
347
  };
249
- direction: "out";
348
+ direction: "in";
250
349
  price?: {
251
350
  cryptoCurrencyId: string;
252
351
  fiatCurrencyId: string;
@@ -285,12 +384,26 @@ export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<
285
384
  } | undefined;
286
385
  };
287
386
  updatedAt: number;
387
+ } | {
388
+ icon: string | undefined;
389
+ symbol: string;
390
+ type: "FiatCurrency";
391
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
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;
288
401
  };
289
402
  amount: {
290
403
  value: bigint;
291
404
  decimals: number;
292
405
  };
293
- direction: "out";
406
+ direction: "in";
294
407
  }, {
295
408
  asset: {
296
409
  symbol: string;
@@ -307,12 +420,26 @@ export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<
307
420
  updatedAt: number;
308
421
  icon?: string | undefined;
309
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;
310
437
  };
311
438
  amount: {
312
439
  value: bigint;
313
440
  decimals: number;
314
441
  };
315
- direction: "out";
442
+ direction: "in";
316
443
  price?: {
317
444
  cryptoCurrencyId: string;
318
445
  fiatCurrencyId: string;
@@ -324,27 +451,55 @@ export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<
324
451
  } | undefined;
325
452
  from?: string | undefined;
326
453
  to?: string | undefined;
327
- }>, "many">;
328
- }, "strip", z.ZodTypeAny, {
329
- type: "NormalAction";
330
- timestamp: number;
331
- action: "transaction-fee";
332
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
333
- transfers: {
334
- from: string | undefined;
335
- to: string | undefined;
336
- price: {
337
- cryptoCurrencyId: string;
338
- fiatCurrencyId: string;
339
- price: {
340
- value: bigint;
341
- decimals: number;
342
- };
343
- timestamp: number;
344
- } | undefined;
345
- asset: {
346
- icon: string | undefined;
347
- priceDatasourceId: string | undefined;
454
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
455
+ from: z.ZodOptional<z.ZodString>;
456
+ to: z.ZodOptional<z.ZodString>;
457
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
458
+ type: z.ZodLiteral<"CryptoCurrency">;
459
+ id: z.ZodString;
460
+ name: z.ZodString;
461
+ symbol: z.ZodString;
462
+ icon: z.ZodOptional<z.ZodString>;
463
+ market: z.ZodEffects<z.ZodObject<{
464
+ coingeckoId: z.ZodOptional<z.ZodString>;
465
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
466
+ value: z.ZodBigInt;
467
+ decimals: z.ZodNumber;
468
+ }, "strip", z.ZodTypeAny, {
469
+ value: bigint;
470
+ decimals: number;
471
+ }, {
472
+ value: bigint;
473
+ decimals: number;
474
+ }>>;
475
+ }, "strip", z.ZodTypeAny, {
476
+ coingeckoId?: string | undefined;
477
+ marketCapUsd?: {
478
+ value: bigint;
479
+ decimals: number;
480
+ } | undefined;
481
+ }, {
482
+ coingeckoId?: string | undefined;
483
+ marketCapUsd?: {
484
+ value: bigint;
485
+ decimals: number;
486
+ } | undefined;
487
+ }>, {
488
+ coingeckoId: string | undefined;
489
+ marketCapUsd: {
490
+ value: bigint;
491
+ decimals: number;
492
+ } | undefined;
493
+ }, {
494
+ coingeckoId?: string | undefined;
495
+ marketCapUsd?: {
496
+ value: bigint;
497
+ decimals: number;
498
+ } | undefined;
499
+ }>;
500
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
501
+ updatedAt: z.ZodNumber;
502
+ }, "strip", z.ZodTypeAny, {
348
503
  symbol: string;
349
504
  type: "CryptoCurrency";
350
505
  id: string;
@@ -357,29 +512,9 @@ export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<
357
512
  } | undefined;
358
513
  };
359
514
  updatedAt: number;
360
- };
361
- amount: {
362
- value: bigint;
363
- decimals: number;
364
- };
365
- direction: "out";
366
- }[];
367
- comment?: string | undefined;
368
- app?: {
369
- description: string | undefined;
370
- website: string | undefined;
371
- icon: string | undefined;
372
- id: string;
373
- name: string;
374
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
375
- } | undefined;
376
- }, {
377
- type: "NormalAction";
378
- timestamp: number;
379
- action: "transaction-fee";
380
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
381
- transfers: {
382
- asset: {
515
+ icon?: string | undefined;
516
+ priceDatasourceId?: string | undefined;
517
+ }, {
383
518
  symbol: string;
384
519
  type: "CryptoCurrency";
385
520
  id: string;
@@ -394,48 +529,2586 @@ export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<
394
529
  updatedAt: number;
395
530
  icon?: string | undefined;
396
531
  priceDatasourceId?: string | undefined;
397
- };
398
- amount: {
399
- value: bigint;
400
- decimals: number;
401
- };
402
- direction: "out";
403
- price?: {
404
- cryptoCurrencyId: string;
405
- fiatCurrencyId: string;
406
- price: {
407
- value: bigint;
408
- decimals: number;
532
+ }>, {
533
+ icon: string | undefined;
534
+ priceDatasourceId: string | undefined;
535
+ symbol: string;
536
+ type: "CryptoCurrency";
537
+ id: string;
538
+ name: string;
539
+ market: {
540
+ coingeckoId: string | undefined;
541
+ marketCapUsd: {
542
+ value: bigint;
543
+ decimals: number;
544
+ } | undefined;
545
+ };
546
+ updatedAt: number;
547
+ }, {
548
+ symbol: string;
549
+ type: "CryptoCurrency";
550
+ id: string;
551
+ name: string;
552
+ market: {
553
+ coingeckoId?: string | undefined;
554
+ marketCapUsd?: {
555
+ value: bigint;
556
+ decimals: number;
557
+ } | undefined;
558
+ };
559
+ updatedAt: number;
560
+ icon?: string | undefined;
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;
642
+ }>;
643
+ price: z.ZodOptional<z.ZodObject<{
644
+ cryptoCurrencyId: z.ZodString;
645
+ fiatCurrencyId: z.ZodString;
646
+ price: z.ZodObject<{
647
+ value: z.ZodBigInt;
648
+ decimals: z.ZodNumber;
649
+ }, "strip", z.ZodTypeAny, {
650
+ value: bigint;
651
+ decimals: number;
652
+ }, {
653
+ value: bigint;
654
+ decimals: number;
655
+ }>;
656
+ timestamp: z.ZodNumber;
657
+ }, "strip", z.ZodTypeAny, {
658
+ cryptoCurrencyId: string;
659
+ fiatCurrencyId: string;
660
+ price: {
661
+ value: bigint;
662
+ decimals: number;
663
+ };
664
+ timestamp: number;
665
+ }, {
666
+ cryptoCurrencyId: string;
667
+ fiatCurrencyId: string;
668
+ price: {
669
+ value: bigint;
670
+ decimals: number;
671
+ };
672
+ timestamp: number;
673
+ }>>;
674
+ }, {
675
+ direction: z.ZodLiteral<"out">;
676
+ }>, "strip", z.ZodTypeAny, {
677
+ asset: {
678
+ icon: string | undefined;
679
+ priceDatasourceId: string | undefined;
680
+ symbol: string;
681
+ type: "CryptoCurrency";
682
+ id: string;
683
+ name: string;
684
+ market: {
685
+ coingeckoId: string | undefined;
686
+ marketCapUsd: {
687
+ value: bigint;
688
+ decimals: number;
689
+ } | undefined;
690
+ };
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;
706
+ };
707
+ amount: {
708
+ value: bigint;
709
+ decimals: number;
710
+ };
711
+ direction: "out";
712
+ price?: {
713
+ cryptoCurrencyId: string;
714
+ fiatCurrencyId: string;
715
+ price: {
716
+ value: bigint;
717
+ decimals: number;
718
+ };
719
+ timestamp: number;
720
+ } | undefined;
721
+ from?: string | undefined;
722
+ to?: string | undefined;
723
+ }, {
724
+ asset: {
725
+ symbol: string;
726
+ type: "CryptoCurrency";
727
+ id: string;
728
+ name: string;
729
+ market: {
730
+ coingeckoId?: string | undefined;
731
+ marketCapUsd?: {
732
+ value: bigint;
733
+ decimals: number;
734
+ } | undefined;
735
+ };
736
+ updatedAt: number;
737
+ icon?: string | undefined;
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;
753
+ };
754
+ amount: {
755
+ value: bigint;
756
+ decimals: number;
757
+ };
758
+ direction: "out";
759
+ price?: {
760
+ cryptoCurrencyId: string;
761
+ fiatCurrencyId: string;
762
+ price: {
763
+ value: bigint;
764
+ decimals: number;
765
+ };
766
+ timestamp: number;
767
+ } | undefined;
768
+ from?: string | undefined;
769
+ to?: string | undefined;
770
+ }>, {
771
+ from: string | undefined;
772
+ to: string | undefined;
773
+ price: {
774
+ cryptoCurrencyId: string;
775
+ fiatCurrencyId: string;
776
+ price: {
777
+ value: bigint;
778
+ decimals: number;
779
+ };
780
+ timestamp: number;
781
+ } | undefined;
782
+ asset: {
783
+ icon: string | undefined;
784
+ priceDatasourceId: string | undefined;
785
+ symbol: string;
786
+ type: "CryptoCurrency";
787
+ id: string;
788
+ name: string;
789
+ market: {
790
+ coingeckoId: string | undefined;
791
+ marketCapUsd: {
792
+ value: bigint;
793
+ decimals: number;
794
+ } | undefined;
795
+ };
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;
811
+ };
812
+ amount: {
813
+ value: bigint;
814
+ decimals: number;
815
+ };
816
+ direction: "out";
817
+ }, {
818
+ asset: {
819
+ symbol: string;
820
+ type: "CryptoCurrency";
821
+ id: string;
822
+ name: string;
823
+ market: {
824
+ coingeckoId?: string | undefined;
825
+ marketCapUsd?: {
826
+ value: bigint;
827
+ decimals: number;
828
+ } | undefined;
829
+ };
830
+ updatedAt: number;
831
+ icon?: string | undefined;
832
+ priceDatasourceId?: string | undefined;
833
+ } | {
834
+ symbol: string;
835
+ type: "FiatCurrency";
836
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
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;
847
+ };
848
+ amount: {
849
+ value: bigint;
850
+ decimals: number;
851
+ };
852
+ direction: "out";
853
+ price?: {
854
+ cryptoCurrencyId: string;
855
+ fiatCurrencyId: string;
856
+ price: {
857
+ value: bigint;
858
+ decimals: number;
859
+ };
860
+ timestamp: number;
861
+ } | undefined;
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?: {
888
+ value: bigint;
889
+ decimals: number;
890
+ } | undefined;
891
+ }, {
892
+ coingeckoId?: string | undefined;
893
+ marketCapUsd?: {
894
+ value: bigint;
895
+ decimals: number;
896
+ } | undefined;
897
+ }>, {
898
+ coingeckoId: string | undefined;
899
+ marketCapUsd: {
900
+ value: bigint;
901
+ decimals: number;
902
+ } | undefined;
903
+ }, {
904
+ coingeckoId?: string | undefined;
905
+ marketCapUsd?: {
906
+ value: bigint;
907
+ decimals: number;
908
+ } | undefined;
909
+ }>;
910
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
911
+ updatedAt: z.ZodNumber;
912
+ }, "strip", z.ZodTypeAny, {
913
+ symbol: string;
914
+ type: "CryptoCurrency";
915
+ id: string;
916
+ name: string;
917
+ market: {
918
+ coingeckoId: string | undefined;
919
+ marketCapUsd: {
920
+ value: bigint;
921
+ decimals: number;
922
+ } | undefined;
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<"transaction-fee">;
1277
+ transfers: z.ZodArray<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<"out">;
1499
+ }>, {
1500
+ asset: z.ZodEffects<z.ZodObject<{
1501
+ type: z.ZodLiteral<"CryptoCurrency">;
1502
+ id: z.ZodString;
1503
+ name: z.ZodString;
1504
+ symbol: z.ZodString;
1505
+ icon: z.ZodOptional<z.ZodString>;
1506
+ market: z.ZodEffects<z.ZodObject<{
1507
+ coingeckoId: z.ZodOptional<z.ZodString>;
1508
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1509
+ value: z.ZodBigInt;
1510
+ decimals: z.ZodNumber;
1511
+ }, "strip", z.ZodTypeAny, {
1512
+ value: bigint;
1513
+ decimals: number;
1514
+ }, {
1515
+ value: bigint;
1516
+ decimals: number;
1517
+ }>>;
1518
+ }, "strip", z.ZodTypeAny, {
1519
+ coingeckoId?: string | undefined;
1520
+ marketCapUsd?: {
1521
+ value: bigint;
1522
+ decimals: number;
1523
+ } | undefined;
1524
+ }, {
1525
+ coingeckoId?: string | undefined;
1526
+ marketCapUsd?: {
1527
+ value: bigint;
1528
+ decimals: number;
1529
+ } | undefined;
1530
+ }>, {
1531
+ coingeckoId: string | undefined;
1532
+ marketCapUsd: {
1533
+ value: bigint;
1534
+ decimals: number;
1535
+ } | undefined;
1536
+ }, {
1537
+ coingeckoId?: string | undefined;
1538
+ marketCapUsd?: {
1539
+ value: bigint;
1540
+ decimals: number;
1541
+ } | undefined;
1542
+ }>;
1543
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1544
+ updatedAt: z.ZodNumber;
1545
+ }, "strip", z.ZodTypeAny, {
1546
+ symbol: string;
1547
+ type: "CryptoCurrency";
1548
+ id: string;
1549
+ name: string;
1550
+ market: {
1551
+ coingeckoId: string | undefined;
1552
+ marketCapUsd: {
1553
+ value: bigint;
1554
+ decimals: number;
1555
+ } | undefined;
1556
+ };
1557
+ updatedAt: number;
1558
+ icon?: string | undefined;
1559
+ priceDatasourceId?: string | undefined;
1560
+ }, {
1561
+ symbol: string;
1562
+ type: "CryptoCurrency";
1563
+ id: string;
1564
+ name: string;
1565
+ market: {
1566
+ coingeckoId?: string | undefined;
1567
+ marketCapUsd?: {
1568
+ value: bigint;
1569
+ decimals: number;
1570
+ } | undefined;
1571
+ };
1572
+ updatedAt: number;
1573
+ icon?: string | undefined;
1574
+ priceDatasourceId?: string | undefined;
1575
+ }>, {
1576
+ icon: string | undefined;
1577
+ priceDatasourceId: string | undefined;
1578
+ symbol: string;
1579
+ type: "CryptoCurrency";
1580
+ id: string;
1581
+ name: string;
1582
+ market: {
1583
+ coingeckoId: string | undefined;
1584
+ marketCapUsd: {
1585
+ value: bigint;
1586
+ decimals: number;
1587
+ } | undefined;
1588
+ };
1589
+ updatedAt: number;
1590
+ }, {
1591
+ symbol: string;
1592
+ type: "CryptoCurrency";
1593
+ id: string;
1594
+ name: string;
1595
+ market: {
1596
+ coingeckoId?: string | undefined;
1597
+ marketCapUsd?: {
1598
+ value: bigint;
1599
+ decimals: number;
1600
+ } | undefined;
1601
+ };
1602
+ updatedAt: number;
1603
+ icon?: string | undefined;
1604
+ priceDatasourceId?: string | undefined;
1605
+ }>;
1606
+ }>, "strip", z.ZodTypeAny, {
1607
+ asset: {
1608
+ icon: string | undefined;
1609
+ priceDatasourceId: string | undefined;
1610
+ symbol: string;
1611
+ type: "CryptoCurrency";
1612
+ id: string;
1613
+ name: string;
1614
+ market: {
1615
+ coingeckoId: string | undefined;
1616
+ marketCapUsd: {
1617
+ value: bigint;
1618
+ decimals: number;
1619
+ } | undefined;
1620
+ };
1621
+ updatedAt: number;
1622
+ };
1623
+ amount: {
1624
+ value: bigint;
1625
+ decimals: number;
1626
+ };
1627
+ direction: "out";
1628
+ price?: {
1629
+ cryptoCurrencyId: string;
1630
+ fiatCurrencyId: string;
1631
+ price: {
1632
+ value: bigint;
1633
+ decimals: number;
1634
+ };
1635
+ timestamp: number;
1636
+ } | undefined;
1637
+ from?: string | undefined;
1638
+ to?: string | undefined;
1639
+ }, {
1640
+ asset: {
1641
+ symbol: string;
1642
+ type: "CryptoCurrency";
1643
+ id: string;
1644
+ name: string;
1645
+ market: {
1646
+ coingeckoId?: string | undefined;
1647
+ marketCapUsd?: {
1648
+ value: bigint;
1649
+ decimals: number;
1650
+ } | undefined;
1651
+ };
1652
+ updatedAt: number;
1653
+ icon?: string | undefined;
1654
+ priceDatasourceId?: string | undefined;
1655
+ };
1656
+ amount: {
1657
+ value: bigint;
1658
+ decimals: number;
1659
+ };
1660
+ direction: "out";
1661
+ price?: {
1662
+ cryptoCurrencyId: string;
1663
+ fiatCurrencyId: string;
1664
+ price: {
1665
+ value: bigint;
1666
+ decimals: number;
1667
+ };
1668
+ timestamp: number;
1669
+ } | undefined;
1670
+ from?: string | undefined;
1671
+ to?: string | undefined;
1672
+ }>, {
1673
+ from: string | undefined;
1674
+ to: string | undefined;
1675
+ price: {
1676
+ cryptoCurrencyId: string;
1677
+ fiatCurrencyId: string;
1678
+ price: {
1679
+ value: bigint;
1680
+ decimals: number;
1681
+ };
1682
+ timestamp: number;
1683
+ } | undefined;
1684
+ asset: {
1685
+ icon: string | undefined;
1686
+ priceDatasourceId: string | undefined;
1687
+ symbol: string;
1688
+ type: "CryptoCurrency";
1689
+ id: string;
1690
+ name: string;
1691
+ market: {
1692
+ coingeckoId: string | undefined;
1693
+ marketCapUsd: {
1694
+ value: bigint;
1695
+ decimals: number;
1696
+ } | undefined;
1697
+ };
1698
+ updatedAt: number;
1699
+ };
1700
+ amount: {
1701
+ value: bigint;
1702
+ decimals: number;
1703
+ };
1704
+ direction: "out";
1705
+ }, {
1706
+ asset: {
1707
+ symbol: string;
1708
+ type: "CryptoCurrency";
1709
+ id: string;
1710
+ name: string;
1711
+ market: {
1712
+ coingeckoId?: string | undefined;
1713
+ marketCapUsd?: {
1714
+ value: bigint;
1715
+ decimals: number;
1716
+ } | undefined;
1717
+ };
1718
+ updatedAt: number;
1719
+ icon?: string | undefined;
1720
+ priceDatasourceId?: string | undefined;
1721
+ };
1722
+ amount: {
1723
+ value: bigint;
1724
+ decimals: number;
1725
+ };
1726
+ direction: "out";
1727
+ price?: {
1728
+ cryptoCurrencyId: string;
1729
+ fiatCurrencyId: string;
1730
+ price: {
1731
+ value: bigint;
1732
+ decimals: number;
1733
+ };
1734
+ timestamp: number;
1735
+ } | undefined;
1736
+ from?: string | undefined;
1737
+ to?: string | undefined;
1738
+ }>, "many">;
1739
+ }>, "strip", z.ZodTypeAny, {
1740
+ type: "NormalAction";
1741
+ timestamp: number;
1742
+ action: "transaction-fee";
1743
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1744
+ transfers: {
1745
+ from: string | undefined;
1746
+ to: string | undefined;
1747
+ price: {
1748
+ cryptoCurrencyId: string;
1749
+ fiatCurrencyId: string;
1750
+ price: {
1751
+ value: bigint;
1752
+ decimals: number;
1753
+ };
1754
+ timestamp: number;
1755
+ } | undefined;
1756
+ asset: {
1757
+ icon: string | undefined;
1758
+ priceDatasourceId: string | undefined;
1759
+ symbol: string;
1760
+ type: "CryptoCurrency";
1761
+ id: string;
1762
+ name: string;
1763
+ market: {
1764
+ coingeckoId: string | undefined;
1765
+ marketCapUsd: {
1766
+ value: bigint;
1767
+ decimals: number;
1768
+ } | undefined;
1769
+ };
1770
+ updatedAt: number;
1771
+ };
1772
+ amount: {
1773
+ value: bigint;
1774
+ decimals: number;
1775
+ };
1776
+ direction: "out";
1777
+ }[];
1778
+ comment?: string | undefined;
1779
+ app?: {
1780
+ description: string | undefined;
1781
+ website: string | undefined;
1782
+ icon: string | undefined;
1783
+ id: string;
1784
+ name: string;
1785
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1786
+ } | undefined;
1787
+ }, {
1788
+ type: "NormalAction";
1789
+ timestamp: number;
1790
+ action: "transaction-fee";
1791
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1792
+ transfers: {
1793
+ asset: {
1794
+ symbol: string;
1795
+ type: "CryptoCurrency";
1796
+ id: string;
1797
+ name: string;
1798
+ market: {
1799
+ coingeckoId?: string | undefined;
1800
+ marketCapUsd?: {
1801
+ value: bigint;
1802
+ decimals: number;
1803
+ } | undefined;
1804
+ };
1805
+ updatedAt: number;
1806
+ icon?: string | undefined;
1807
+ priceDatasourceId?: string | undefined;
1808
+ };
1809
+ amount: {
1810
+ value: bigint;
1811
+ decimals: number;
1812
+ };
1813
+ direction: "out";
1814
+ price?: {
1815
+ cryptoCurrencyId: string;
1816
+ fiatCurrencyId: string;
1817
+ price: {
1818
+ value: bigint;
1819
+ decimals: number;
1820
+ };
1821
+ timestamp: number;
1822
+ } | undefined;
1823
+ from?: string | undefined;
1824
+ to?: string | undefined;
1825
+ }[];
1826
+ comment?: string | undefined;
1827
+ app?: {
1828
+ id: string;
1829
+ name: string;
1830
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1831
+ icon?: string | undefined;
1832
+ description?: string | undefined;
1833
+ website?: string | undefined;
1834
+ } | undefined;
1835
+ }>, {
1836
+ comment: string | undefined;
1837
+ app: {
1838
+ description: string | undefined;
1839
+ website: string | undefined;
1840
+ icon: string | undefined;
1841
+ id: string;
1842
+ name: string;
1843
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1844
+ } | undefined;
1845
+ type: "NormalAction";
1846
+ timestamp: number;
1847
+ action: "transaction-fee";
1848
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1849
+ transfers: {
1850
+ from: string | undefined;
1851
+ to: string | undefined;
1852
+ price: {
1853
+ cryptoCurrencyId: string;
1854
+ fiatCurrencyId: string;
1855
+ price: {
1856
+ value: bigint;
1857
+ decimals: number;
1858
+ };
1859
+ timestamp: number;
1860
+ } | undefined;
1861
+ asset: {
1862
+ icon: string | undefined;
1863
+ priceDatasourceId: string | undefined;
1864
+ symbol: string;
1865
+ type: "CryptoCurrency";
1866
+ id: string;
1867
+ name: string;
1868
+ market: {
1869
+ coingeckoId: string | undefined;
1870
+ marketCapUsd: {
1871
+ value: bigint;
1872
+ decimals: number;
1873
+ } | undefined;
1874
+ };
1875
+ updatedAt: number;
1876
+ };
1877
+ amount: {
1878
+ value: bigint;
1879
+ decimals: number;
1880
+ };
1881
+ direction: "out";
1882
+ }[];
1883
+ }, {
1884
+ type: "NormalAction";
1885
+ timestamp: number;
1886
+ action: "transaction-fee";
1887
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1888
+ transfers: {
1889
+ asset: {
1890
+ symbol: string;
1891
+ type: "CryptoCurrency";
1892
+ id: string;
1893
+ name: string;
1894
+ market: {
1895
+ coingeckoId?: string | undefined;
1896
+ marketCapUsd?: {
1897
+ value: bigint;
1898
+ decimals: number;
1899
+ } | undefined;
1900
+ };
1901
+ updatedAt: number;
1902
+ icon?: string | undefined;
1903
+ priceDatasourceId?: string | undefined;
1904
+ };
1905
+ amount: {
1906
+ value: bigint;
1907
+ decimals: number;
1908
+ };
1909
+ direction: "out";
1910
+ price?: {
1911
+ cryptoCurrencyId: string;
1912
+ fiatCurrencyId: string;
1913
+ price: {
1914
+ value: bigint;
1915
+ decimals: number;
1916
+ };
1917
+ timestamp: number;
1918
+ } | undefined;
1919
+ from?: string | undefined;
1920
+ to?: string | undefined;
1921
+ }[];
1922
+ comment?: string | undefined;
1923
+ app?: {
1924
+ id: string;
1925
+ name: string;
1926
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1927
+ icon?: string | undefined;
1928
+ description?: string | undefined;
1929
+ website?: string | undefined;
1930
+ } | undefined;
1931
+ }>;
1932
+ export declare const accountActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1933
+ 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">]>;
1934
+ source: z.ZodString;
1935
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
1936
+ timestamp: z.ZodNumber;
1937
+ order: z.ZodNumber;
1938
+ comment: z.ZodOptional<z.ZodString>;
1939
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1940
+ id: z.ZodString;
1941
+ 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">;
1942
+ name: z.ZodString;
1943
+ description: z.ZodOptional<z.ZodString>;
1944
+ website: z.ZodOptional<z.ZodString>;
1945
+ icon: z.ZodOptional<z.ZodString>;
1946
+ }, "strip", z.ZodTypeAny, {
1947
+ id: string;
1948
+ name: string;
1949
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1950
+ icon?: string | undefined;
1951
+ description?: string | undefined;
1952
+ website?: string | undefined;
1953
+ }, {
1954
+ id: string;
1955
+ name: string;
1956
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1957
+ icon?: string | undefined;
1958
+ description?: string | undefined;
1959
+ website?: string | undefined;
1960
+ }>, {
1961
+ description: string | undefined;
1962
+ website: string | undefined;
1963
+ icon: string | undefined;
1964
+ id: string;
1965
+ name: string;
1966
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1967
+ }, {
1968
+ id: string;
1969
+ name: string;
1970
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1971
+ icon?: string | undefined;
1972
+ description?: string | undefined;
1973
+ website?: string | undefined;
1974
+ }>>;
1975
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1976
+ from: z.ZodOptional<z.ZodString>;
1977
+ to: z.ZodOptional<z.ZodString>;
1978
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1979
+ type: z.ZodLiteral<"CryptoCurrency">;
1980
+ id: z.ZodString;
1981
+ name: z.ZodString;
1982
+ symbol: z.ZodString;
1983
+ icon: z.ZodOptional<z.ZodString>;
1984
+ market: z.ZodEffects<z.ZodObject<{
1985
+ coingeckoId: z.ZodOptional<z.ZodString>;
1986
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1987
+ value: z.ZodBigInt;
1988
+ decimals: z.ZodNumber;
1989
+ }, "strip", z.ZodTypeAny, {
1990
+ value: bigint;
1991
+ decimals: number;
1992
+ }, {
1993
+ value: bigint;
1994
+ decimals: number;
1995
+ }>>;
1996
+ }, "strip", z.ZodTypeAny, {
1997
+ coingeckoId?: string | undefined;
1998
+ marketCapUsd?: {
1999
+ value: bigint;
2000
+ decimals: number;
2001
+ } | undefined;
2002
+ }, {
2003
+ coingeckoId?: string | undefined;
2004
+ marketCapUsd?: {
2005
+ value: bigint;
2006
+ decimals: number;
2007
+ } | undefined;
2008
+ }>, {
2009
+ coingeckoId: string | undefined;
2010
+ marketCapUsd: {
2011
+ value: bigint;
2012
+ decimals: number;
2013
+ } | undefined;
2014
+ }, {
2015
+ coingeckoId?: string | undefined;
2016
+ marketCapUsd?: {
2017
+ value: bigint;
2018
+ decimals: number;
2019
+ } | undefined;
2020
+ }>;
2021
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2022
+ updatedAt: z.ZodNumber;
2023
+ }, "strip", z.ZodTypeAny, {
2024
+ symbol: string;
2025
+ type: "CryptoCurrency";
2026
+ id: string;
2027
+ name: string;
2028
+ market: {
2029
+ coingeckoId: string | undefined;
2030
+ marketCapUsd: {
2031
+ value: bigint;
2032
+ decimals: number;
2033
+ } | undefined;
2034
+ };
2035
+ updatedAt: number;
2036
+ icon?: string | undefined;
2037
+ priceDatasourceId?: string | undefined;
2038
+ }, {
2039
+ symbol: string;
2040
+ type: "CryptoCurrency";
2041
+ id: string;
2042
+ name: string;
2043
+ market: {
2044
+ coingeckoId?: string | undefined;
2045
+ marketCapUsd?: {
2046
+ value: bigint;
2047
+ decimals: number;
2048
+ } | undefined;
2049
+ };
2050
+ updatedAt: number;
2051
+ icon?: string | undefined;
2052
+ priceDatasourceId?: string | undefined;
2053
+ }>, {
2054
+ icon: string | undefined;
2055
+ priceDatasourceId: string | undefined;
2056
+ symbol: string;
2057
+ type: "CryptoCurrency";
2058
+ id: string;
2059
+ name: string;
2060
+ market: {
2061
+ coingeckoId: string | undefined;
2062
+ marketCapUsd: {
2063
+ value: bigint;
2064
+ decimals: number;
2065
+ } | undefined;
2066
+ };
2067
+ updatedAt: number;
2068
+ }, {
2069
+ symbol: string;
2070
+ type: "CryptoCurrency";
2071
+ id: string;
2072
+ name: string;
2073
+ market: {
2074
+ coingeckoId?: string | undefined;
2075
+ marketCapUsd?: {
2076
+ value: bigint;
2077
+ decimals: number;
2078
+ } | undefined;
2079
+ };
2080
+ updatedAt: number;
2081
+ icon?: string | undefined;
2082
+ priceDatasourceId?: string | undefined;
2083
+ }>, z.ZodEffects<z.ZodObject<{
2084
+ type: z.ZodLiteral<"FiatCurrency">;
2085
+ 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">]>;
2086
+ name: z.ZodString;
2087
+ symbol: z.ZodString;
2088
+ icon: z.ZodOptional<z.ZodString>;
2089
+ }, "strip", z.ZodTypeAny, {
2090
+ symbol: string;
2091
+ type: "FiatCurrency";
2092
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2093
+ name: string;
2094
+ icon?: string | undefined;
2095
+ }, {
2096
+ symbol: string;
2097
+ type: "FiatCurrency";
2098
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2099
+ name: string;
2100
+ icon?: string | undefined;
2101
+ }>, {
2102
+ icon: string | undefined;
2103
+ symbol: string;
2104
+ type: "FiatCurrency";
2105
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2106
+ name: string;
2107
+ }, {
2108
+ symbol: string;
2109
+ type: "FiatCurrency";
2110
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2111
+ name: string;
2112
+ icon?: string | undefined;
2113
+ }>, z.ZodEffects<z.ZodObject<{
2114
+ type: z.ZodLiteral<"Nft">;
2115
+ id: z.ZodString;
2116
+ name: z.ZodOptional<z.ZodString>;
2117
+ symbol: z.ZodOptional<z.ZodString>;
2118
+ image: z.ZodOptional<z.ZodString>;
2119
+ metadata: z.ZodOptional<z.ZodString>;
2120
+ updatedAt: z.ZodNumber;
2121
+ }, "strip", z.ZodTypeAny, {
2122
+ type: "Nft";
2123
+ id: string;
2124
+ updatedAt: number;
2125
+ symbol?: string | undefined;
2126
+ name?: string | undefined;
2127
+ image?: string | undefined;
2128
+ metadata?: string | undefined;
2129
+ }, {
2130
+ type: "Nft";
2131
+ id: string;
2132
+ updatedAt: number;
2133
+ symbol?: string | undefined;
2134
+ name?: string | undefined;
2135
+ image?: string | undefined;
2136
+ metadata?: string | undefined;
2137
+ }>, {
2138
+ name: string | undefined;
2139
+ symbol: string | undefined;
2140
+ image: string | undefined;
2141
+ metadata: string | undefined;
2142
+ type: "Nft";
2143
+ id: string;
2144
+ updatedAt: number;
2145
+ }, {
2146
+ type: "Nft";
2147
+ id: string;
2148
+ updatedAt: number;
2149
+ symbol?: string | undefined;
2150
+ name?: string | undefined;
2151
+ image?: string | undefined;
2152
+ metadata?: string | undefined;
2153
+ }>]>;
2154
+ amount: z.ZodObject<{
2155
+ value: z.ZodBigInt;
2156
+ decimals: z.ZodNumber;
2157
+ }, "strip", z.ZodTypeAny, {
2158
+ value: bigint;
2159
+ decimals: number;
2160
+ }, {
2161
+ value: bigint;
2162
+ decimals: number;
2163
+ }>;
2164
+ price: z.ZodOptional<z.ZodObject<{
2165
+ cryptoCurrencyId: z.ZodString;
2166
+ fiatCurrencyId: z.ZodString;
2167
+ price: z.ZodObject<{
2168
+ value: z.ZodBigInt;
2169
+ decimals: z.ZodNumber;
2170
+ }, "strip", z.ZodTypeAny, {
2171
+ value: bigint;
2172
+ decimals: number;
2173
+ }, {
2174
+ value: bigint;
2175
+ decimals: number;
2176
+ }>;
2177
+ timestamp: z.ZodNumber;
2178
+ }, "strip", z.ZodTypeAny, {
2179
+ cryptoCurrencyId: string;
2180
+ fiatCurrencyId: string;
2181
+ price: {
2182
+ value: bigint;
2183
+ decimals: number;
2184
+ };
2185
+ timestamp: number;
2186
+ }, {
2187
+ cryptoCurrencyId: string;
2188
+ fiatCurrencyId: string;
2189
+ price: {
2190
+ value: bigint;
2191
+ decimals: number;
2192
+ };
2193
+ timestamp: number;
2194
+ }>>;
2195
+ }, {
2196
+ direction: z.ZodLiteral<"in">;
2197
+ }>, "strip", z.ZodTypeAny, {
2198
+ asset: {
2199
+ icon: string | undefined;
2200
+ priceDatasourceId: string | undefined;
2201
+ symbol: string;
2202
+ type: "CryptoCurrency";
2203
+ id: string;
2204
+ name: string;
2205
+ market: {
2206
+ coingeckoId: string | undefined;
2207
+ marketCapUsd: {
2208
+ value: bigint;
2209
+ decimals: number;
2210
+ } | undefined;
2211
+ };
2212
+ updatedAt: number;
2213
+ } | {
2214
+ icon: string | undefined;
2215
+ symbol: string;
2216
+ type: "FiatCurrency";
2217
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2218
+ name: string;
2219
+ } | {
2220
+ name: string | undefined;
2221
+ symbol: string | undefined;
2222
+ image: string | undefined;
2223
+ metadata: string | undefined;
2224
+ type: "Nft";
2225
+ id: string;
2226
+ updatedAt: number;
2227
+ };
2228
+ amount: {
2229
+ value: bigint;
2230
+ decimals: number;
2231
+ };
2232
+ direction: "in";
2233
+ price?: {
2234
+ cryptoCurrencyId: string;
2235
+ fiatCurrencyId: string;
2236
+ price: {
2237
+ value: bigint;
2238
+ decimals: number;
2239
+ };
2240
+ timestamp: number;
2241
+ } | undefined;
2242
+ from?: string | undefined;
2243
+ to?: string | undefined;
2244
+ }, {
2245
+ asset: {
2246
+ symbol: string;
2247
+ type: "CryptoCurrency";
2248
+ id: string;
2249
+ name: string;
2250
+ market: {
2251
+ coingeckoId?: string | undefined;
2252
+ marketCapUsd?: {
2253
+ value: bigint;
2254
+ decimals: number;
2255
+ } | undefined;
2256
+ };
2257
+ updatedAt: number;
2258
+ icon?: string | undefined;
2259
+ priceDatasourceId?: string | undefined;
2260
+ } | {
2261
+ symbol: string;
2262
+ type: "FiatCurrency";
2263
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2264
+ name: string;
2265
+ icon?: string | undefined;
2266
+ } | {
2267
+ type: "Nft";
2268
+ id: string;
2269
+ updatedAt: number;
2270
+ symbol?: string | undefined;
2271
+ name?: string | undefined;
2272
+ image?: string | undefined;
2273
+ metadata?: string | undefined;
2274
+ };
2275
+ amount: {
2276
+ value: bigint;
2277
+ decimals: number;
2278
+ };
2279
+ direction: "in";
2280
+ price?: {
2281
+ cryptoCurrencyId: string;
2282
+ fiatCurrencyId: string;
2283
+ price: {
2284
+ value: bigint;
2285
+ decimals: number;
2286
+ };
2287
+ timestamp: number;
2288
+ } | undefined;
2289
+ from?: string | undefined;
2290
+ to?: string | undefined;
2291
+ }>, {
2292
+ from: string | undefined;
2293
+ to: string | undefined;
2294
+ price: {
2295
+ cryptoCurrencyId: string;
2296
+ fiatCurrencyId: string;
2297
+ price: {
2298
+ value: bigint;
2299
+ decimals: number;
2300
+ };
2301
+ timestamp: number;
2302
+ } | undefined;
2303
+ asset: {
2304
+ icon: string | undefined;
2305
+ priceDatasourceId: string | undefined;
2306
+ symbol: string;
2307
+ type: "CryptoCurrency";
2308
+ id: string;
2309
+ name: string;
2310
+ market: {
2311
+ coingeckoId: string | undefined;
2312
+ marketCapUsd: {
2313
+ value: bigint;
2314
+ decimals: number;
2315
+ } | undefined;
2316
+ };
2317
+ updatedAt: number;
2318
+ } | {
2319
+ icon: string | undefined;
2320
+ symbol: string;
2321
+ type: "FiatCurrency";
2322
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2323
+ name: string;
2324
+ } | {
2325
+ name: string | undefined;
2326
+ symbol: string | undefined;
2327
+ image: string | undefined;
2328
+ metadata: string | undefined;
2329
+ type: "Nft";
2330
+ id: string;
2331
+ updatedAt: number;
2332
+ };
2333
+ amount: {
2334
+ value: bigint;
2335
+ decimals: number;
2336
+ };
2337
+ direction: "in";
2338
+ }, {
2339
+ asset: {
2340
+ symbol: string;
2341
+ type: "CryptoCurrency";
2342
+ id: string;
2343
+ name: string;
2344
+ market: {
2345
+ coingeckoId?: string | undefined;
2346
+ marketCapUsd?: {
2347
+ value: bigint;
2348
+ decimals: number;
2349
+ } | undefined;
2350
+ };
2351
+ updatedAt: number;
2352
+ icon?: string | undefined;
2353
+ priceDatasourceId?: string | undefined;
2354
+ } | {
2355
+ symbol: string;
2356
+ type: "FiatCurrency";
2357
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2358
+ name: string;
2359
+ icon?: string | undefined;
2360
+ } | {
2361
+ type: "Nft";
2362
+ id: string;
2363
+ updatedAt: number;
2364
+ symbol?: string | undefined;
2365
+ name?: string | undefined;
2366
+ image?: string | undefined;
2367
+ metadata?: string | undefined;
2368
+ };
2369
+ amount: {
2370
+ value: bigint;
2371
+ decimals: number;
2372
+ };
2373
+ direction: "in";
2374
+ price?: {
2375
+ cryptoCurrencyId: string;
2376
+ fiatCurrencyId: string;
2377
+ price: {
2378
+ value: bigint;
2379
+ decimals: number;
2380
+ };
2381
+ timestamp: number;
2382
+ } | undefined;
2383
+ from?: string | undefined;
2384
+ to?: string | undefined;
2385
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2386
+ from: z.ZodOptional<z.ZodString>;
2387
+ to: z.ZodOptional<z.ZodString>;
2388
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2389
+ type: z.ZodLiteral<"CryptoCurrency">;
2390
+ id: z.ZodString;
2391
+ name: z.ZodString;
2392
+ symbol: z.ZodString;
2393
+ icon: z.ZodOptional<z.ZodString>;
2394
+ market: z.ZodEffects<z.ZodObject<{
2395
+ coingeckoId: z.ZodOptional<z.ZodString>;
2396
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2397
+ value: z.ZodBigInt;
2398
+ decimals: z.ZodNumber;
2399
+ }, "strip", z.ZodTypeAny, {
2400
+ value: bigint;
2401
+ decimals: number;
2402
+ }, {
2403
+ value: bigint;
2404
+ decimals: number;
2405
+ }>>;
2406
+ }, "strip", z.ZodTypeAny, {
2407
+ coingeckoId?: string | undefined;
2408
+ marketCapUsd?: {
2409
+ value: bigint;
2410
+ decimals: number;
2411
+ } | undefined;
2412
+ }, {
2413
+ coingeckoId?: string | undefined;
2414
+ marketCapUsd?: {
2415
+ value: bigint;
2416
+ decimals: number;
2417
+ } | undefined;
2418
+ }>, {
2419
+ coingeckoId: string | undefined;
2420
+ marketCapUsd: {
2421
+ value: bigint;
2422
+ decimals: number;
2423
+ } | undefined;
2424
+ }, {
2425
+ coingeckoId?: string | undefined;
2426
+ marketCapUsd?: {
2427
+ value: bigint;
2428
+ decimals: number;
2429
+ } | undefined;
2430
+ }>;
2431
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2432
+ updatedAt: z.ZodNumber;
2433
+ }, "strip", z.ZodTypeAny, {
2434
+ symbol: string;
2435
+ type: "CryptoCurrency";
2436
+ id: string;
2437
+ name: string;
2438
+ market: {
2439
+ coingeckoId: string | undefined;
2440
+ marketCapUsd: {
2441
+ value: bigint;
2442
+ decimals: number;
2443
+ } | undefined;
2444
+ };
2445
+ updatedAt: number;
2446
+ icon?: string | undefined;
2447
+ priceDatasourceId?: string | undefined;
2448
+ }, {
2449
+ symbol: string;
2450
+ type: "CryptoCurrency";
2451
+ id: string;
2452
+ name: string;
2453
+ market: {
2454
+ coingeckoId?: string | undefined;
2455
+ marketCapUsd?: {
2456
+ value: bigint;
2457
+ decimals: number;
2458
+ } | undefined;
2459
+ };
2460
+ updatedAt: number;
2461
+ icon?: string | undefined;
2462
+ priceDatasourceId?: string | undefined;
2463
+ }>, {
2464
+ icon: string | undefined;
2465
+ priceDatasourceId: string | undefined;
2466
+ symbol: string;
2467
+ type: "CryptoCurrency";
2468
+ id: string;
2469
+ name: string;
2470
+ market: {
2471
+ coingeckoId: string | undefined;
2472
+ marketCapUsd: {
2473
+ value: bigint;
2474
+ decimals: number;
2475
+ } | undefined;
2476
+ };
2477
+ updatedAt: number;
2478
+ }, {
2479
+ symbol: string;
2480
+ type: "CryptoCurrency";
2481
+ id: string;
2482
+ name: string;
2483
+ market: {
2484
+ coingeckoId?: string | undefined;
2485
+ marketCapUsd?: {
2486
+ value: bigint;
2487
+ decimals: number;
2488
+ } | undefined;
2489
+ };
2490
+ updatedAt: number;
2491
+ icon?: string | undefined;
2492
+ priceDatasourceId?: string | undefined;
2493
+ }>, z.ZodEffects<z.ZodObject<{
2494
+ type: z.ZodLiteral<"FiatCurrency">;
2495
+ 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">]>;
2496
+ name: z.ZodString;
2497
+ symbol: z.ZodString;
2498
+ icon: z.ZodOptional<z.ZodString>;
2499
+ }, "strip", z.ZodTypeAny, {
2500
+ symbol: string;
2501
+ type: "FiatCurrency";
2502
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2503
+ name: string;
2504
+ icon?: string | undefined;
2505
+ }, {
2506
+ symbol: string;
2507
+ type: "FiatCurrency";
2508
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2509
+ name: string;
2510
+ icon?: string | undefined;
2511
+ }>, {
2512
+ icon: string | undefined;
2513
+ symbol: string;
2514
+ type: "FiatCurrency";
2515
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2516
+ name: string;
2517
+ }, {
2518
+ symbol: string;
2519
+ type: "FiatCurrency";
2520
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2521
+ name: string;
2522
+ icon?: string | undefined;
2523
+ }>, z.ZodEffects<z.ZodObject<{
2524
+ type: z.ZodLiteral<"Nft">;
2525
+ id: z.ZodString;
2526
+ name: z.ZodOptional<z.ZodString>;
2527
+ symbol: z.ZodOptional<z.ZodString>;
2528
+ image: z.ZodOptional<z.ZodString>;
2529
+ metadata: z.ZodOptional<z.ZodString>;
2530
+ updatedAt: z.ZodNumber;
2531
+ }, "strip", z.ZodTypeAny, {
2532
+ type: "Nft";
2533
+ id: string;
2534
+ updatedAt: number;
2535
+ symbol?: string | undefined;
2536
+ name?: string | undefined;
2537
+ image?: string | undefined;
2538
+ metadata?: string | undefined;
2539
+ }, {
2540
+ type: "Nft";
2541
+ id: string;
2542
+ updatedAt: number;
2543
+ symbol?: string | undefined;
2544
+ name?: string | undefined;
2545
+ image?: string | undefined;
2546
+ metadata?: string | undefined;
2547
+ }>, {
2548
+ name: string | undefined;
2549
+ symbol: string | undefined;
2550
+ image: string | undefined;
2551
+ metadata: string | undefined;
2552
+ type: "Nft";
2553
+ id: string;
2554
+ updatedAt: number;
2555
+ }, {
2556
+ type: "Nft";
2557
+ id: string;
2558
+ updatedAt: number;
2559
+ symbol?: string | undefined;
2560
+ name?: string | undefined;
2561
+ image?: string | undefined;
2562
+ metadata?: string | undefined;
2563
+ }>]>;
2564
+ amount: z.ZodObject<{
2565
+ value: z.ZodBigInt;
2566
+ decimals: z.ZodNumber;
2567
+ }, "strip", z.ZodTypeAny, {
2568
+ value: bigint;
2569
+ decimals: number;
2570
+ }, {
2571
+ value: bigint;
2572
+ decimals: number;
2573
+ }>;
2574
+ price: z.ZodOptional<z.ZodObject<{
2575
+ cryptoCurrencyId: z.ZodString;
2576
+ fiatCurrencyId: z.ZodString;
2577
+ price: z.ZodObject<{
2578
+ value: z.ZodBigInt;
2579
+ decimals: z.ZodNumber;
2580
+ }, "strip", z.ZodTypeAny, {
2581
+ value: bigint;
2582
+ decimals: number;
2583
+ }, {
2584
+ value: bigint;
2585
+ decimals: number;
2586
+ }>;
2587
+ timestamp: z.ZodNumber;
2588
+ }, "strip", z.ZodTypeAny, {
2589
+ cryptoCurrencyId: string;
2590
+ fiatCurrencyId: string;
2591
+ price: {
2592
+ value: bigint;
2593
+ decimals: number;
2594
+ };
2595
+ timestamp: number;
2596
+ }, {
2597
+ cryptoCurrencyId: string;
2598
+ fiatCurrencyId: string;
2599
+ price: {
2600
+ value: bigint;
2601
+ decimals: number;
2602
+ };
2603
+ timestamp: number;
2604
+ }>>;
2605
+ }, {
2606
+ direction: z.ZodLiteral<"out">;
2607
+ }>, "strip", z.ZodTypeAny, {
2608
+ asset: {
2609
+ icon: string | undefined;
2610
+ priceDatasourceId: string | undefined;
2611
+ symbol: string;
2612
+ type: "CryptoCurrency";
2613
+ id: string;
2614
+ name: string;
2615
+ market: {
2616
+ coingeckoId: string | undefined;
2617
+ marketCapUsd: {
2618
+ value: bigint;
2619
+ decimals: number;
2620
+ } | undefined;
2621
+ };
2622
+ updatedAt: number;
2623
+ } | {
2624
+ icon: string | undefined;
2625
+ symbol: string;
2626
+ type: "FiatCurrency";
2627
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2628
+ name: string;
2629
+ } | {
2630
+ name: string | undefined;
2631
+ symbol: string | undefined;
2632
+ image: string | undefined;
2633
+ metadata: string | undefined;
2634
+ type: "Nft";
2635
+ id: string;
2636
+ updatedAt: number;
2637
+ };
2638
+ amount: {
2639
+ value: bigint;
2640
+ decimals: number;
2641
+ };
2642
+ direction: "out";
2643
+ price?: {
2644
+ cryptoCurrencyId: string;
2645
+ fiatCurrencyId: string;
2646
+ price: {
2647
+ value: bigint;
2648
+ decimals: number;
2649
+ };
2650
+ timestamp: number;
2651
+ } | undefined;
2652
+ from?: string | undefined;
2653
+ to?: string | undefined;
2654
+ }, {
2655
+ asset: {
2656
+ symbol: string;
2657
+ type: "CryptoCurrency";
2658
+ id: string;
2659
+ name: string;
2660
+ market: {
2661
+ coingeckoId?: string | undefined;
2662
+ marketCapUsd?: {
2663
+ value: bigint;
2664
+ decimals: number;
2665
+ } | undefined;
2666
+ };
2667
+ updatedAt: number;
2668
+ icon?: string | undefined;
2669
+ priceDatasourceId?: string | undefined;
2670
+ } | {
2671
+ symbol: string;
2672
+ type: "FiatCurrency";
2673
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2674
+ name: string;
2675
+ icon?: string | undefined;
2676
+ } | {
2677
+ type: "Nft";
2678
+ id: string;
2679
+ updatedAt: number;
2680
+ symbol?: string | undefined;
2681
+ name?: string | undefined;
2682
+ image?: string | undefined;
2683
+ metadata?: string | undefined;
2684
+ };
2685
+ amount: {
2686
+ value: bigint;
2687
+ decimals: number;
2688
+ };
2689
+ direction: "out";
2690
+ price?: {
2691
+ cryptoCurrencyId: string;
2692
+ fiatCurrencyId: string;
2693
+ price: {
2694
+ value: bigint;
2695
+ decimals: number;
2696
+ };
2697
+ timestamp: number;
2698
+ } | undefined;
2699
+ from?: string | undefined;
2700
+ to?: string | undefined;
2701
+ }>, {
2702
+ from: string | undefined;
2703
+ to: string | undefined;
2704
+ price: {
2705
+ cryptoCurrencyId: string;
2706
+ fiatCurrencyId: string;
2707
+ price: {
2708
+ value: bigint;
2709
+ decimals: number;
2710
+ };
2711
+ timestamp: number;
2712
+ } | undefined;
2713
+ asset: {
2714
+ icon: string | undefined;
2715
+ priceDatasourceId: string | undefined;
2716
+ symbol: string;
2717
+ type: "CryptoCurrency";
2718
+ id: string;
2719
+ name: string;
2720
+ market: {
2721
+ coingeckoId: string | undefined;
2722
+ marketCapUsd: {
2723
+ value: bigint;
2724
+ decimals: number;
2725
+ } | undefined;
2726
+ };
2727
+ updatedAt: number;
2728
+ } | {
2729
+ icon: string | undefined;
2730
+ symbol: string;
2731
+ type: "FiatCurrency";
2732
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2733
+ name: string;
2734
+ } | {
2735
+ name: string | undefined;
2736
+ symbol: string | undefined;
2737
+ image: string | undefined;
2738
+ metadata: string | undefined;
2739
+ type: "Nft";
2740
+ id: string;
2741
+ updatedAt: number;
2742
+ };
2743
+ amount: {
2744
+ value: bigint;
2745
+ decimals: number;
2746
+ };
2747
+ direction: "out";
2748
+ }, {
2749
+ asset: {
2750
+ symbol: string;
2751
+ type: "CryptoCurrency";
2752
+ id: string;
2753
+ name: string;
2754
+ market: {
2755
+ coingeckoId?: string | undefined;
2756
+ marketCapUsd?: {
2757
+ value: bigint;
2758
+ decimals: number;
2759
+ } | undefined;
2760
+ };
2761
+ updatedAt: number;
2762
+ icon?: string | undefined;
2763
+ priceDatasourceId?: string | undefined;
2764
+ } | {
2765
+ symbol: string;
2766
+ type: "FiatCurrency";
2767
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2768
+ name: string;
2769
+ icon?: string | undefined;
2770
+ } | {
2771
+ type: "Nft";
2772
+ id: string;
2773
+ updatedAt: number;
2774
+ symbol?: string | undefined;
2775
+ name?: string | undefined;
2776
+ image?: string | undefined;
2777
+ metadata?: string | undefined;
2778
+ };
2779
+ amount: {
2780
+ value: bigint;
2781
+ decimals: number;
2782
+ };
2783
+ direction: "out";
2784
+ price?: {
2785
+ cryptoCurrencyId: string;
2786
+ fiatCurrencyId: string;
2787
+ price: {
2788
+ value: bigint;
2789
+ decimals: number;
2790
+ };
2791
+ timestamp: number;
2792
+ } | undefined;
2793
+ from?: string | undefined;
2794
+ to?: string | undefined;
2795
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2796
+ from: z.ZodOptional<z.ZodString>;
2797
+ to: z.ZodOptional<z.ZodString>;
2798
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2799
+ type: z.ZodLiteral<"CryptoCurrency">;
2800
+ id: z.ZodString;
2801
+ name: z.ZodString;
2802
+ symbol: z.ZodString;
2803
+ icon: z.ZodOptional<z.ZodString>;
2804
+ market: z.ZodEffects<z.ZodObject<{
2805
+ coingeckoId: z.ZodOptional<z.ZodString>;
2806
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2807
+ value: z.ZodBigInt;
2808
+ decimals: z.ZodNumber;
2809
+ }, "strip", z.ZodTypeAny, {
2810
+ value: bigint;
2811
+ decimals: number;
2812
+ }, {
2813
+ value: bigint;
2814
+ decimals: number;
2815
+ }>>;
2816
+ }, "strip", z.ZodTypeAny, {
2817
+ coingeckoId?: string | undefined;
2818
+ marketCapUsd?: {
2819
+ value: bigint;
2820
+ decimals: number;
2821
+ } | undefined;
2822
+ }, {
2823
+ coingeckoId?: string | undefined;
2824
+ marketCapUsd?: {
2825
+ value: bigint;
2826
+ decimals: number;
2827
+ } | undefined;
2828
+ }>, {
2829
+ coingeckoId: string | undefined;
2830
+ marketCapUsd: {
2831
+ value: bigint;
2832
+ decimals: number;
2833
+ } | undefined;
2834
+ }, {
2835
+ coingeckoId?: string | undefined;
2836
+ marketCapUsd?: {
2837
+ value: bigint;
2838
+ decimals: number;
2839
+ } | undefined;
2840
+ }>;
2841
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2842
+ updatedAt: z.ZodNumber;
2843
+ }, "strip", z.ZodTypeAny, {
2844
+ symbol: string;
2845
+ type: "CryptoCurrency";
2846
+ id: string;
2847
+ name: string;
2848
+ market: {
2849
+ coingeckoId: string | undefined;
2850
+ marketCapUsd: {
2851
+ value: bigint;
2852
+ decimals: number;
2853
+ } | undefined;
2854
+ };
2855
+ updatedAt: number;
2856
+ icon?: string | undefined;
2857
+ priceDatasourceId?: string | undefined;
2858
+ }, {
2859
+ symbol: string;
2860
+ type: "CryptoCurrency";
2861
+ id: string;
2862
+ name: string;
2863
+ market: {
2864
+ coingeckoId?: string | undefined;
2865
+ marketCapUsd?: {
2866
+ value: bigint;
2867
+ decimals: number;
2868
+ } | undefined;
2869
+ };
2870
+ updatedAt: number;
2871
+ icon?: string | undefined;
2872
+ priceDatasourceId?: string | undefined;
2873
+ }>, {
2874
+ icon: string | undefined;
2875
+ priceDatasourceId: string | undefined;
2876
+ symbol: string;
2877
+ type: "CryptoCurrency";
2878
+ id: string;
2879
+ name: string;
2880
+ market: {
2881
+ coingeckoId: string | undefined;
2882
+ marketCapUsd: {
2883
+ value: bigint;
2884
+ decimals: number;
2885
+ } | undefined;
2886
+ };
2887
+ updatedAt: number;
2888
+ }, {
2889
+ symbol: string;
2890
+ type: "CryptoCurrency";
2891
+ id: string;
2892
+ name: string;
2893
+ market: {
2894
+ coingeckoId?: string | undefined;
2895
+ marketCapUsd?: {
2896
+ value: bigint;
2897
+ decimals: number;
2898
+ } | undefined;
2899
+ };
2900
+ updatedAt: number;
2901
+ icon?: string | undefined;
2902
+ priceDatasourceId?: string | undefined;
2903
+ }>, z.ZodEffects<z.ZodObject<{
2904
+ type: z.ZodLiteral<"FiatCurrency">;
2905
+ 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">]>;
2906
+ name: z.ZodString;
2907
+ symbol: z.ZodString;
2908
+ icon: z.ZodOptional<z.ZodString>;
2909
+ }, "strip", z.ZodTypeAny, {
2910
+ symbol: string;
2911
+ type: "FiatCurrency";
2912
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2913
+ name: string;
2914
+ icon?: string | undefined;
2915
+ }, {
2916
+ symbol: string;
2917
+ type: "FiatCurrency";
2918
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2919
+ name: string;
2920
+ icon?: string | undefined;
2921
+ }>, {
2922
+ icon: string | undefined;
2923
+ symbol: string;
2924
+ type: "FiatCurrency";
2925
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2926
+ name: string;
2927
+ }, {
2928
+ symbol: string;
2929
+ type: "FiatCurrency";
2930
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2931
+ name: string;
2932
+ icon?: string | undefined;
2933
+ }>, z.ZodEffects<z.ZodObject<{
2934
+ type: z.ZodLiteral<"Nft">;
2935
+ id: z.ZodString;
2936
+ name: z.ZodOptional<z.ZodString>;
2937
+ symbol: z.ZodOptional<z.ZodString>;
2938
+ image: z.ZodOptional<z.ZodString>;
2939
+ metadata: z.ZodOptional<z.ZodString>;
2940
+ updatedAt: z.ZodNumber;
2941
+ }, "strip", z.ZodTypeAny, {
2942
+ type: "Nft";
2943
+ id: string;
2944
+ updatedAt: number;
2945
+ symbol?: string | undefined;
2946
+ name?: string | undefined;
2947
+ image?: string | undefined;
2948
+ metadata?: string | undefined;
2949
+ }, {
2950
+ type: "Nft";
2951
+ id: string;
2952
+ updatedAt: number;
2953
+ symbol?: string | undefined;
2954
+ name?: string | undefined;
2955
+ image?: string | undefined;
2956
+ metadata?: string | undefined;
2957
+ }>, {
2958
+ name: string | undefined;
2959
+ symbol: string | undefined;
2960
+ image: string | undefined;
2961
+ metadata: string | undefined;
2962
+ type: "Nft";
2963
+ id: string;
2964
+ updatedAt: number;
2965
+ }, {
2966
+ type: "Nft";
2967
+ id: string;
2968
+ updatedAt: number;
2969
+ symbol?: string | undefined;
2970
+ name?: string | undefined;
2971
+ image?: string | undefined;
2972
+ metadata?: string | undefined;
2973
+ }>]>;
2974
+ amount: z.ZodObject<{
2975
+ value: z.ZodBigInt;
2976
+ decimals: z.ZodNumber;
2977
+ }, "strip", z.ZodTypeAny, {
2978
+ value: bigint;
2979
+ decimals: number;
2980
+ }, {
2981
+ value: bigint;
2982
+ decimals: number;
2983
+ }>;
2984
+ price: z.ZodOptional<z.ZodObject<{
2985
+ cryptoCurrencyId: z.ZodString;
2986
+ fiatCurrencyId: z.ZodString;
2987
+ price: z.ZodObject<{
2988
+ value: z.ZodBigInt;
2989
+ decimals: z.ZodNumber;
2990
+ }, "strip", z.ZodTypeAny, {
2991
+ value: bigint;
2992
+ decimals: number;
2993
+ }, {
2994
+ value: bigint;
2995
+ decimals: number;
2996
+ }>;
2997
+ timestamp: z.ZodNumber;
2998
+ }, "strip", z.ZodTypeAny, {
2999
+ cryptoCurrencyId: string;
3000
+ fiatCurrencyId: string;
3001
+ price: {
3002
+ value: bigint;
3003
+ decimals: number;
3004
+ };
3005
+ timestamp: number;
3006
+ }, {
3007
+ cryptoCurrencyId: string;
3008
+ fiatCurrencyId: string;
3009
+ price: {
3010
+ value: bigint;
3011
+ decimals: number;
3012
+ };
3013
+ timestamp: number;
3014
+ }>>;
3015
+ }, {
3016
+ direction: z.ZodLiteral<"none">;
3017
+ }>, "strip", z.ZodTypeAny, {
3018
+ asset: {
3019
+ icon: string | undefined;
3020
+ priceDatasourceId: string | undefined;
3021
+ symbol: string;
3022
+ type: "CryptoCurrency";
3023
+ id: string;
3024
+ name: string;
3025
+ market: {
3026
+ coingeckoId: string | undefined;
3027
+ marketCapUsd: {
3028
+ value: bigint;
3029
+ decimals: number;
3030
+ } | undefined;
3031
+ };
3032
+ updatedAt: number;
3033
+ } | {
3034
+ icon: string | undefined;
3035
+ symbol: string;
3036
+ type: "FiatCurrency";
3037
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3038
+ name: string;
3039
+ } | {
3040
+ name: string | undefined;
3041
+ symbol: string | undefined;
3042
+ image: string | undefined;
3043
+ metadata: string | undefined;
3044
+ type: "Nft";
3045
+ id: string;
3046
+ updatedAt: number;
3047
+ };
3048
+ amount: {
3049
+ value: bigint;
3050
+ decimals: number;
3051
+ };
3052
+ direction: "none";
3053
+ price?: {
3054
+ cryptoCurrencyId: string;
3055
+ fiatCurrencyId: string;
3056
+ price: {
3057
+ value: bigint;
3058
+ decimals: number;
409
3059
  };
410
3060
  timestamp: number;
411
3061
  } | undefined;
412
3062
  from?: string | undefined;
413
3063
  to?: string | undefined;
414
- }[];
415
- comment?: string | undefined;
416
- app?: {
417
- id: string;
418
- name: string;
419
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
420
- description?: string | undefined;
421
- website?: string | undefined;
422
- icon?: string | undefined;
423
- } | undefined;
424
- }>, {
425
- comment: string | undefined;
426
- app: {
427
- description: string | undefined;
428
- website: string | undefined;
429
- icon: string | undefined;
430
- id: string;
431
- name: string;
432
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
433
- } | undefined;
434
- type: "NormalAction";
435
- timestamp: number;
436
- action: "transaction-fee";
437
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
438
- transfers: {
3064
+ }, {
3065
+ asset: {
3066
+ symbol: string;
3067
+ type: "CryptoCurrency";
3068
+ id: string;
3069
+ name: string;
3070
+ market: {
3071
+ coingeckoId?: string | undefined;
3072
+ marketCapUsd?: {
3073
+ value: bigint;
3074
+ decimals: number;
3075
+ } | undefined;
3076
+ };
3077
+ updatedAt: number;
3078
+ icon?: string | undefined;
3079
+ priceDatasourceId?: string | undefined;
3080
+ } | {
3081
+ symbol: string;
3082
+ type: "FiatCurrency";
3083
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3084
+ name: string;
3085
+ icon?: string | undefined;
3086
+ } | {
3087
+ type: "Nft";
3088
+ id: string;
3089
+ updatedAt: number;
3090
+ symbol?: string | undefined;
3091
+ name?: string | undefined;
3092
+ image?: string | undefined;
3093
+ metadata?: string | undefined;
3094
+ };
3095
+ amount: {
3096
+ value: bigint;
3097
+ decimals: number;
3098
+ };
3099
+ direction: "none";
3100
+ price?: {
3101
+ cryptoCurrencyId: string;
3102
+ fiatCurrencyId: string;
3103
+ price: {
3104
+ value: bigint;
3105
+ decimals: number;
3106
+ };
3107
+ timestamp: number;
3108
+ } | undefined;
3109
+ from?: string | undefined;
3110
+ to?: string | undefined;
3111
+ }>, {
439
3112
  from: string | undefined;
440
3113
  to: string | undefined;
441
3114
  price: {
@@ -462,19 +3135,27 @@ export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<
462
3135
  } | undefined;
463
3136
  };
464
3137
  updatedAt: number;
3138
+ } | {
3139
+ icon: string | undefined;
3140
+ symbol: string;
3141
+ type: "FiatCurrency";
3142
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3143
+ name: string;
3144
+ } | {
3145
+ name: string | undefined;
3146
+ symbol: string | undefined;
3147
+ image: string | undefined;
3148
+ metadata: string | undefined;
3149
+ type: "Nft";
3150
+ id: string;
3151
+ updatedAt: number;
465
3152
  };
466
3153
  amount: {
467
3154
  value: bigint;
468
3155
  decimals: number;
469
3156
  };
470
- direction: "out";
471
- }[];
472
- }, {
473
- type: "NormalAction";
474
- timestamp: number;
475
- action: "transaction-fee";
476
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
477
- transfers: {
3157
+ direction: "none";
3158
+ }, {
478
3159
  asset: {
479
3160
  symbol: string;
480
3161
  type: "CryptoCurrency";
@@ -490,12 +3171,26 @@ export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<
490
3171
  updatedAt: number;
491
3172
  icon?: string | undefined;
492
3173
  priceDatasourceId?: string | undefined;
3174
+ } | {
3175
+ symbol: string;
3176
+ type: "FiatCurrency";
3177
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3178
+ name: string;
3179
+ icon?: string | undefined;
3180
+ } | {
3181
+ type: "Nft";
3182
+ id: string;
3183
+ updatedAt: number;
3184
+ symbol?: string | undefined;
3185
+ name?: string | undefined;
3186
+ image?: string | undefined;
3187
+ metadata?: string | undefined;
493
3188
  };
494
3189
  amount: {
495
3190
  value: bigint;
496
3191
  decimals: number;
497
3192
  };
498
- direction: "out";
3193
+ direction: "none";
499
3194
  price?: {
500
3195
  cryptoCurrencyId: string;
501
3196
  fiatCurrencyId: string;
@@ -507,62 +3202,200 @@ export declare const normalActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<
507
3202
  } | undefined;
508
3203
  from?: string | undefined;
509
3204
  to?: string | undefined;
510
- }[];
511
- comment?: string | undefined;
512
- app?: {
513
- id: string;
514
- name: string;
515
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
516
- description?: string | undefined;
517
- website?: string | undefined;
518
- icon?: string | undefined;
519
- } | undefined;
520
- }>;
521
- export declare const accountActionTransactionFeeSchema: z.ZodEffects<z.ZodObject<{
3205
+ }>]>, "many">;
3206
+ }, {
522
3207
  type: z.ZodLiteral<"NormalAccountAction">;
523
- timestamp: z.ZodNumber;
524
- order: z.ZodNumber;
525
- source: z.ZodString;
526
- evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
527
- comment: z.ZodOptional<z.ZodString>;
528
- app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
529
- id: z.ZodString;
530
- 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">;
531
- name: z.ZodString;
532
- description: z.ZodOptional<z.ZodString>;
533
- website: z.ZodOptional<z.ZodString>;
534
- icon: z.ZodOptional<z.ZodString>;
535
- }, "strip", z.ZodTypeAny, {
536
- id: string;
537
- name: string;
538
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
539
- description?: string | undefined;
540
- website?: string | undefined;
541
- icon?: string | undefined;
542
- }, {
543
- id: string;
544
- name: string;
545
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
546
- description?: string | undefined;
547
- website?: string | undefined;
548
- icon?: string | undefined;
549
- }>, {
550
- description: string | undefined;
551
- website: string | undefined;
552
- icon: string | undefined;
553
- id: string;
554
- name: string;
555
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
556
- }, {
557
- id: string;
558
- name: string;
559
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
560
- description?: string | undefined;
561
- website?: string | undefined;
562
- icon?: string | undefined;
563
- }>>;
3208
+ }>, {
564
3209
  action: z.ZodLiteral<"transaction-fee">;
565
- transfers: z.ZodArray<z.ZodEffects<z.ZodObject<{
3210
+ transfers: z.ZodArray<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3211
+ from: z.ZodOptional<z.ZodString>;
3212
+ to: z.ZodOptional<z.ZodString>;
3213
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3214
+ type: z.ZodLiteral<"CryptoCurrency">;
3215
+ id: z.ZodString;
3216
+ name: z.ZodString;
3217
+ symbol: z.ZodString;
3218
+ icon: z.ZodOptional<z.ZodString>;
3219
+ market: z.ZodEffects<z.ZodObject<{
3220
+ coingeckoId: z.ZodOptional<z.ZodString>;
3221
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3222
+ value: z.ZodBigInt;
3223
+ decimals: z.ZodNumber;
3224
+ }, "strip", z.ZodTypeAny, {
3225
+ value: bigint;
3226
+ decimals: number;
3227
+ }, {
3228
+ value: bigint;
3229
+ decimals: number;
3230
+ }>>;
3231
+ }, "strip", z.ZodTypeAny, {
3232
+ coingeckoId?: string | undefined;
3233
+ marketCapUsd?: {
3234
+ value: bigint;
3235
+ decimals: number;
3236
+ } | undefined;
3237
+ }, {
3238
+ coingeckoId?: string | undefined;
3239
+ marketCapUsd?: {
3240
+ value: bigint;
3241
+ decimals: number;
3242
+ } | undefined;
3243
+ }>, {
3244
+ coingeckoId: string | undefined;
3245
+ marketCapUsd: {
3246
+ value: bigint;
3247
+ decimals: number;
3248
+ } | undefined;
3249
+ }, {
3250
+ coingeckoId?: string | undefined;
3251
+ marketCapUsd?: {
3252
+ value: bigint;
3253
+ decimals: number;
3254
+ } | undefined;
3255
+ }>;
3256
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3257
+ updatedAt: z.ZodNumber;
3258
+ }, "strip", z.ZodTypeAny, {
3259
+ symbol: string;
3260
+ type: "CryptoCurrency";
3261
+ id: string;
3262
+ name: string;
3263
+ market: {
3264
+ coingeckoId: string | undefined;
3265
+ marketCapUsd: {
3266
+ value: bigint;
3267
+ decimals: number;
3268
+ } | undefined;
3269
+ };
3270
+ updatedAt: number;
3271
+ icon?: string | undefined;
3272
+ priceDatasourceId?: string | undefined;
3273
+ }, {
3274
+ symbol: string;
3275
+ type: "CryptoCurrency";
3276
+ id: string;
3277
+ name: string;
3278
+ market: {
3279
+ coingeckoId?: string | undefined;
3280
+ marketCapUsd?: {
3281
+ value: bigint;
3282
+ decimals: number;
3283
+ } | undefined;
3284
+ };
3285
+ updatedAt: number;
3286
+ icon?: string | undefined;
3287
+ priceDatasourceId?: string | undefined;
3288
+ }>, {
3289
+ icon: string | undefined;
3290
+ priceDatasourceId: string | undefined;
3291
+ symbol: string;
3292
+ type: "CryptoCurrency";
3293
+ id: string;
3294
+ name: string;
3295
+ market: {
3296
+ coingeckoId: string | undefined;
3297
+ marketCapUsd: {
3298
+ value: bigint;
3299
+ decimals: number;
3300
+ } | undefined;
3301
+ };
3302
+ updatedAt: number;
3303
+ }, {
3304
+ symbol: string;
3305
+ type: "CryptoCurrency";
3306
+ id: string;
3307
+ name: string;
3308
+ market: {
3309
+ coingeckoId?: string | undefined;
3310
+ marketCapUsd?: {
3311
+ value: bigint;
3312
+ decimals: number;
3313
+ } | undefined;
3314
+ };
3315
+ updatedAt: number;
3316
+ icon?: string | undefined;
3317
+ priceDatasourceId?: string | undefined;
3318
+ }>, z.ZodEffects<z.ZodObject<{
3319
+ type: z.ZodLiteral<"FiatCurrency">;
3320
+ 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">]>;
3321
+ name: z.ZodString;
3322
+ symbol: z.ZodString;
3323
+ icon: z.ZodOptional<z.ZodString>;
3324
+ }, "strip", z.ZodTypeAny, {
3325
+ symbol: string;
3326
+ type: "FiatCurrency";
3327
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3328
+ name: string;
3329
+ icon?: string | undefined;
3330
+ }, {
3331
+ symbol: string;
3332
+ type: "FiatCurrency";
3333
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3334
+ name: string;
3335
+ icon?: string | undefined;
3336
+ }>, {
3337
+ icon: string | undefined;
3338
+ symbol: string;
3339
+ type: "FiatCurrency";
3340
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3341
+ name: string;
3342
+ }, {
3343
+ symbol: string;
3344
+ type: "FiatCurrency";
3345
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3346
+ name: string;
3347
+ icon?: string | undefined;
3348
+ }>, z.ZodEffects<z.ZodObject<{
3349
+ type: z.ZodLiteral<"Nft">;
3350
+ id: z.ZodString;
3351
+ name: z.ZodOptional<z.ZodString>;
3352
+ symbol: z.ZodOptional<z.ZodString>;
3353
+ image: z.ZodOptional<z.ZodString>;
3354
+ metadata: z.ZodOptional<z.ZodString>;
3355
+ updatedAt: z.ZodNumber;
3356
+ }, "strip", z.ZodTypeAny, {
3357
+ type: "Nft";
3358
+ id: string;
3359
+ updatedAt: number;
3360
+ symbol?: string | undefined;
3361
+ name?: string | undefined;
3362
+ image?: string | undefined;
3363
+ metadata?: string | undefined;
3364
+ }, {
3365
+ type: "Nft";
3366
+ id: string;
3367
+ updatedAt: number;
3368
+ symbol?: string | undefined;
3369
+ name?: string | undefined;
3370
+ image?: string | undefined;
3371
+ metadata?: string | undefined;
3372
+ }>, {
3373
+ name: string | undefined;
3374
+ symbol: string | undefined;
3375
+ image: string | undefined;
3376
+ metadata: string | undefined;
3377
+ type: "Nft";
3378
+ id: string;
3379
+ updatedAt: number;
3380
+ }, {
3381
+ type: "Nft";
3382
+ id: string;
3383
+ updatedAt: number;
3384
+ symbol?: string | undefined;
3385
+ name?: string | undefined;
3386
+ image?: string | undefined;
3387
+ metadata?: string | undefined;
3388
+ }>]>;
3389
+ amount: z.ZodObject<{
3390
+ value: z.ZodBigInt;
3391
+ decimals: z.ZodNumber;
3392
+ }, "strip", z.ZodTypeAny, {
3393
+ value: bigint;
3394
+ decimals: number;
3395
+ }, {
3396
+ value: bigint;
3397
+ decimals: number;
3398
+ }>;
566
3399
  price: z.ZodOptional<z.ZodObject<{
567
3400
  cryptoCurrencyId: z.ZodString;
568
3401
  fiatCurrencyId: z.ZodString;
@@ -594,19 +3427,9 @@ export declare const accountActionTransactionFeeSchema: z.ZodEffects<z.ZodObject
594
3427
  };
595
3428
  timestamp: number;
596
3429
  }>>;
597
- from: z.ZodOptional<z.ZodString>;
598
- to: z.ZodOptional<z.ZodString>;
599
- amount: z.ZodObject<{
600
- value: z.ZodBigInt;
601
- decimals: z.ZodNumber;
602
- }, "strip", z.ZodTypeAny, {
603
- value: bigint;
604
- decimals: number;
605
- }, {
606
- value: bigint;
607
- decimals: number;
608
- }>;
3430
+ }, {
609
3431
  direction: z.ZodLiteral<"out">;
3432
+ }>, {
610
3433
  asset: z.ZodEffects<z.ZodObject<{
611
3434
  type: z.ZodLiteral<"CryptoCurrency">;
612
3435
  id: z.ZodString;
@@ -713,7 +3536,7 @@ export declare const accountActionTransactionFeeSchema: z.ZodEffects<z.ZodObject
713
3536
  icon?: string | undefined;
714
3537
  priceDatasourceId?: string | undefined;
715
3538
  }>;
716
- }, "strip", z.ZodTypeAny, {
3539
+ }>, "strip", z.ZodTypeAny, {
717
3540
  asset: {
718
3541
  icon: string | undefined;
719
3542
  priceDatasourceId: string | undefined;
@@ -846,7 +3669,7 @@ export declare const accountActionTransactionFeeSchema: z.ZodEffects<z.ZodObject
846
3669
  from?: string | undefined;
847
3670
  to?: string | undefined;
848
3671
  }>, "many">;
849
- }, "strip", z.ZodTypeAny, {
3672
+ }>, "strip", z.ZodTypeAny, {
850
3673
  type: "NormalAccountAction";
851
3674
  timestamp: number;
852
3675
  order: number;
@@ -942,9 +3765,9 @@ export declare const accountActionTransactionFeeSchema: z.ZodEffects<z.ZodObject
942
3765
  id: string;
943
3766
  name: string;
944
3767
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3768
+ icon?: string | undefined;
945
3769
  description?: string | undefined;
946
3770
  website?: string | undefined;
947
- icon?: string | undefined;
948
3771
  } | undefined;
949
3772
  }>, {
950
3773
  comment: string | undefined;
@@ -1042,9 +3865,9 @@ export declare const accountActionTransactionFeeSchema: z.ZodEffects<z.ZodObject
1042
3865
  id: string;
1043
3866
  name: string;
1044
3867
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
3868
+ icon?: string | undefined;
1045
3869
  description?: string | undefined;
1046
3870
  website?: string | undefined;
1047
- icon?: string | undefined;
1048
3871
  } | undefined;
1049
3872
  }>;
1050
3873
  //# sourceMappingURL=transactionFee.d.ts.map