@0xtorch/core 0.0.32 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/_cjs/actions/schemas/action.js.map +1 -1
  2. package/_cjs/actions/utils/createEvidenceNoneAccountActions.js +4 -2
  3. package/_cjs/actions/utils/createEvidenceNoneAccountActions.js.map +1 -1
  4. package/_esm/actions/schemas/action.js.map +1 -1
  5. package/_esm/actions/utils/createEvidenceNoneAccountActions.js +6 -4
  6. package/_esm/actions/utils/createEvidenceNoneAccountActions.js.map +1 -1
  7. package/_types/actions/schemas/action.d.ts +103 -80694
  8. package/_types/actions/schemas/action.d.ts.map +1 -1
  9. package/_types/actions/schemas/borrow/borrow.d.ts +3523 -342
  10. package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
  11. package/_types/actions/schemas/crossActionBundle.d.ts +6773 -1121
  12. package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
  13. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +3528 -347
  14. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
  15. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +3525 -344
  16. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
  17. package/_types/actions/schemas/crossReplace/crossReplace.d.ts +2862 -389
  18. package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
  19. package/_types/actions/schemas/crossTrade/crossTrade.d.ts +2862 -389
  20. package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
  21. package/_types/actions/schemas/default/accountAction.d.ts +387 -375
  22. package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
  23. package/_types/actions/schemas/default/normalAction.d.ts +382 -369
  24. package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
  25. package/_types/actions/schemas/default/transfer.d.ts +2932 -1323
  26. package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
  27. package/_types/actions/schemas/deposit/addLiquidity.d.ts +4667 -774
  28. package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
  29. package/_types/actions/schemas/deposit/deposit.d.ts +3526 -345
  30. package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
  31. package/_types/actions/schemas/deposit/depositWithBond.d.ts +4667 -774
  32. package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
  33. package/_types/actions/schemas/deposit/stake.d.ts +3526 -345
  34. package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
  35. package/_types/actions/schemas/fee/fee.d.ts +3510 -331
  36. package/_types/actions/schemas/fee/fee.d.ts.map +1 -1
  37. package/_types/actions/schemas/fee/transactionFee.d.ts +3038 -215
  38. package/_types/actions/schemas/fee/transactionFee.d.ts.map +1 -1
  39. package/_types/actions/schemas/ignore/approve.d.ts +2485 -18
  40. package/_types/actions/schemas/ignore/approve.d.ts.map +1 -1
  41. package/_types/actions/schemas/ignore/failTx.d.ts +2485 -18
  42. package/_types/actions/schemas/ignore/failTx.d.ts.map +1 -1
  43. package/_types/actions/schemas/ignore/ignore.d.ts +136 -130
  44. package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
  45. package/_types/actions/schemas/ignore/move.d.ts +136 -130
  46. package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
  47. package/_types/actions/schemas/ignore/receiveFromCex.d.ts +3518 -339
  48. package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
  49. package/_types/actions/schemas/ignore/revoke.d.ts +2485 -18
  50. package/_types/actions/schemas/ignore/revoke.d.ts.map +1 -1
  51. package/_types/actions/schemas/ignore/sendToCex.d.ts +3521 -342
  52. package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
  53. package/_types/actions/schemas/ignore/spam.d.ts +4663 -772
  54. package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
  55. package/_types/actions/schemas/income/atomicArbitrage.d.ts +3559 -380
  56. package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
  57. package/_types/actions/schemas/income/freeMintNft.d.ts +3014 -191
  58. package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -1
  59. package/_types/actions/schemas/income/income.d.ts +2682 -213
  60. package/_types/actions/schemas/income/income.d.ts.map +1 -1
  61. package/_types/actions/schemas/income/nftRoyalty.d.ts +1629 -39
  62. package/_types/actions/schemas/income/nftRoyalty.d.ts.map +1 -1
  63. package/_types/actions/schemas/income/swapIncome.d.ts +1636 -46
  64. package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
  65. package/_types/actions/schemas/reduce/reduce.d.ts +1636 -46
  66. package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
  67. package/_types/actions/schemas/repayment/repayment.d.ts +3526 -345
  68. package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
  69. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +4667 -774
  70. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
  71. package/_types/actions/schemas/replace/replace.d.ts +4663 -772
  72. package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
  73. package/_types/actions/schemas/replace/swapNft.d.ts +3510 -331
  74. package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -1
  75. package/_types/actions/schemas/replace/unwrap.d.ts +3559 -380
  76. package/_types/actions/schemas/replace/unwrap.d.ts.map +1 -1
  77. package/_types/actions/schemas/replace/wrap.d.ts +3559 -380
  78. package/_types/actions/schemas/replace/wrap.d.ts.map +1 -1
  79. package/_types/actions/schemas/trade/buyCrypto.d.ts +3506 -327
  80. package/_types/actions/schemas/trade/buyCrypto.d.ts.map +1 -1
  81. package/_types/actions/schemas/trade/buyNft.d.ts +4144 -609
  82. package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
  83. package/_types/actions/schemas/trade/mintNft.d.ts +4144 -609
  84. package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
  85. package/_types/actions/schemas/trade/sellCrypto.d.ts +3514 -335
  86. package/_types/actions/schemas/trade/sellCrypto.d.ts.map +1 -1
  87. package/_types/actions/schemas/trade/sellNft.d.ts +4144 -609
  88. package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
  89. package/_types/actions/schemas/trade/trade.d.ts +2854 -383
  90. package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
  91. package/_types/actions/schemas/transfer/swapTransfer.d.ts +1636 -46
  92. package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
  93. package/_types/actions/schemas/transfer/transfer.d.ts +1388 -148
  94. package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
  95. package/_types/actions/schemas/valuedown/valuedown.d.ts +2756 -287
  96. package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
  97. package/_types/actions/schemas/valueup/valueup.d.ts +2761 -292
  98. package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
  99. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +4667 -774
  100. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
  101. package/_types/actions/schemas/withdraw/unstake.d.ts +3523 -342
  102. package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
  103. package/_types/actions/schemas/withdraw/withdraw.d.ts +3523 -342
  104. package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
  105. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +4667 -774
  106. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
  107. package/_types/actions/utils/createEvidenceNoneAccountActions.d.ts.map +1 -1
  108. package/_types/apps/schemas.d.ts +3 -3
  109. package/_types/assets/schemas/asset.d.ts +3 -3
  110. package/_types/assets/schemas/nft.d.ts +3 -3
  111. package/actions/schemas/action.ts +92 -2
  112. package/actions/utils/createEvidenceNoneAccountActions.ts +12 -4
  113. package/package.json +2 -2
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod';
2
- export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
2
+ export declare const normalActionUnwrapSchema: 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 normalActionUnwrapSchema: 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 normalActionUnwrapSchema: 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<"unwrap">;
44
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
45
- price: z.ZodOptional<z.ZodObject<{
46
- cryptoCurrencyId: z.ZodString;
47
- fiatCurrencyId: z.ZodString;
48
- price: z.ZodObject<{
49
- value: z.ZodBigInt;
50
- decimals: z.ZodNumber;
51
- }, "strip", z.ZodTypeAny, {
52
- value: bigint;
53
- decimals: number;
54
- }, {
55
- value: bigint;
56
- decimals: number;
57
- }>;
58
- timestamp: z.ZodNumber;
59
- }, "strip", z.ZodTypeAny, {
60
- cryptoCurrencyId: string;
61
- fiatCurrencyId: string;
62
- price: {
63
- value: bigint;
64
- decimals: number;
65
- };
66
- timestamp: number;
67
- }, {
68
- cryptoCurrencyId: string;
69
- fiatCurrencyId: string;
70
- price: {
71
- value: bigint;
72
- decimals: number;
73
- };
74
- timestamp: number;
75
- }>>;
44
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
76
45
  from: z.ZodOptional<z.ZodString>;
77
46
  to: z.ZodOptional<z.ZodString>;
78
- 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<"in">;
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 normalActionUnwrapSchema: 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,6 +279,20 @@ export declare const normalActionUnwrapSchema: 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;
@@ -241,6 +326,20 @@ export declare const normalActionUnwrapSchema: 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;
@@ -285,6 +384,20 @@ export declare const normalActionUnwrapSchema: 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;
@@ -307,6 +420,20 @@ export declare const normalActionUnwrapSchema: 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;
@@ -324,52 +451,10 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
324
451
  } | undefined;
325
452
  from?: string | undefined;
326
453
  to?: string | undefined;
327
- }>, z.ZodEffects<z.ZodObject<{
328
- price: z.ZodOptional<z.ZodObject<{
329
- cryptoCurrencyId: z.ZodString;
330
- fiatCurrencyId: z.ZodString;
331
- price: z.ZodObject<{
332
- value: z.ZodBigInt;
333
- decimals: z.ZodNumber;
334
- }, "strip", z.ZodTypeAny, {
335
- value: bigint;
336
- decimals: number;
337
- }, {
338
- value: bigint;
339
- decimals: number;
340
- }>;
341
- timestamp: z.ZodNumber;
342
- }, "strip", z.ZodTypeAny, {
343
- cryptoCurrencyId: string;
344
- fiatCurrencyId: string;
345
- price: {
346
- value: bigint;
347
- decimals: number;
348
- };
349
- timestamp: number;
350
- }, {
351
- cryptoCurrencyId: string;
352
- fiatCurrencyId: string;
353
- price: {
354
- value: bigint;
355
- decimals: number;
356
- };
357
- timestamp: number;
358
- }>>;
454
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
359
455
  from: z.ZodOptional<z.ZodString>;
360
456
  to: z.ZodOptional<z.ZodString>;
361
- amount: z.ZodObject<{
362
- value: z.ZodBigInt;
363
- decimals: z.ZodNumber;
364
- }, "strip", z.ZodTypeAny, {
365
- value: bigint;
366
- decimals: number;
367
- }, {
368
- value: bigint;
369
- decimals: number;
370
- }>;
371
- direction: z.ZodLiteral<"out">;
372
- asset: z.ZodEffects<z.ZodObject<{
457
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
373
458
  type: z.ZodLiteral<"CryptoCurrency">;
374
459
  id: z.ZodString;
375
460
  name: z.ZodString;
@@ -474,63 +559,102 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
474
559
  updatedAt: number;
475
560
  icon?: string | undefined;
476
561
  priceDatasourceId?: string | undefined;
477
- }>;
478
- }, "strip", z.ZodTypeAny, {
479
- asset: {
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
+ }>, {
480
581
  icon: string | undefined;
481
- priceDatasourceId: string | undefined;
482
582
  symbol: string;
483
- type: "CryptoCurrency";
484
- id: string;
583
+ type: "FiatCurrency";
584
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
485
585
  name: string;
486
- market: {
487
- coingeckoId: string | undefined;
488
- marketCapUsd: {
489
- value: bigint;
490
- decimals: number;
491
- } | undefined;
492
- };
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;
493
603
  updatedAt: number;
494
- };
495
- amount: {
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, {
496
637
  value: bigint;
497
638
  decimals: number;
498
- };
499
- direction: "out";
500
- price?: {
501
- cryptoCurrencyId: string;
502
- fiatCurrencyId: string;
503
- price: {
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, {
504
650
  value: bigint;
505
651
  decimals: number;
506
- };
507
- timestamp: number;
508
- } | undefined;
509
- from?: string | undefined;
510
- to?: string | undefined;
511
- }, {
512
- asset: {
513
- symbol: string;
514
- type: "CryptoCurrency";
515
- id: string;
516
- name: string;
517
- market: {
518
- coingeckoId?: string | undefined;
519
- marketCapUsd?: {
520
- value: bigint;
521
- decimals: number;
522
- } | undefined;
523
- };
524
- updatedAt: number;
525
- icon?: string | undefined;
526
- priceDatasourceId?: string | undefined;
527
- };
528
- amount: {
529
- value: bigint;
530
- decimals: number;
531
- };
532
- direction: "out";
533
- price?: {
652
+ }, {
653
+ value: bigint;
654
+ decimals: number;
655
+ }>;
656
+ timestamp: z.ZodNumber;
657
+ }, "strip", z.ZodTypeAny, {
534
658
  cryptoCurrencyId: string;
535
659
  fiatCurrencyId: string;
536
660
  price: {
@@ -538,13 +662,7 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
538
662
  decimals: number;
539
663
  };
540
664
  timestamp: number;
541
- } | undefined;
542
- from?: string | undefined;
543
- to?: string | undefined;
544
- }>, {
545
- from: string | undefined;
546
- to: string | undefined;
547
- price: {
665
+ }, {
548
666
  cryptoCurrencyId: string;
549
667
  fiatCurrencyId: string;
550
668
  price: {
@@ -552,7 +670,10 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
552
670
  decimals: number;
553
671
  };
554
672
  timestamp: number;
555
- } | undefined;
673
+ }>>;
674
+ }, {
675
+ direction: z.ZodLiteral<"out">;
676
+ }>, "strip", z.ZodTypeAny, {
556
677
  asset: {
557
678
  icon: string | undefined;
558
679
  priceDatasourceId: string | undefined;
@@ -568,12 +689,37 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
568
689
  } | undefined;
569
690
  };
570
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;
571
706
  };
572
707
  amount: {
573
708
  value: bigint;
574
709
  decimals: number;
575
710
  };
576
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;
577
723
  }, {
578
724
  asset: {
579
725
  symbol: string;
@@ -590,6 +736,20 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
590
736
  updatedAt: number;
591
737
  icon?: string | undefined;
592
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;
593
753
  };
594
754
  amount: {
595
755
  value: bigint;
@@ -607,13 +767,7 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
607
767
  } | undefined;
608
768
  from?: string | undefined;
609
769
  to?: string | undefined;
610
- }>]>, "many">;
611
- }, "strip", z.ZodTypeAny, {
612
- type: "NormalAction";
613
- timestamp: number;
614
- action: "unwrap";
615
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
616
- transfers: ({
770
+ }>, {
617
771
  from: string | undefined;
618
772
  to: string | undefined;
619
773
  price: {
@@ -640,38 +794,19 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
640
794
  } | undefined;
641
795
  };
642
796
  updatedAt: number;
643
- };
644
- amount: {
645
- value: bigint;
646
- decimals: number;
647
- };
648
- direction: "in";
649
- } | {
650
- from: string | undefined;
651
- to: string | undefined;
652
- price: {
653
- cryptoCurrencyId: string;
654
- fiatCurrencyId: string;
655
- price: {
656
- value: bigint;
657
- decimals: number;
658
- };
659
- timestamp: number;
660
- } | undefined;
661
- asset: {
797
+ } | {
662
798
  icon: string | undefined;
663
- priceDatasourceId: string | undefined;
664
799
  symbol: string;
665
- type: "CryptoCurrency";
666
- id: string;
800
+ type: "FiatCurrency";
801
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
667
802
  name: string;
668
- market: {
669
- coingeckoId: string | undefined;
670
- marketCapUsd: {
671
- value: bigint;
672
- decimals: number;
673
- } | undefined;
674
- };
803
+ } | {
804
+ name: string | undefined;
805
+ symbol: string | undefined;
806
+ image: string | undefined;
807
+ metadata: string | undefined;
808
+ type: "Nft";
809
+ id: string;
675
810
  updatedAt: number;
676
811
  };
677
812
  amount: {
@@ -679,22 +814,7 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
679
814
  decimals: number;
680
815
  };
681
816
  direction: "out";
682
- })[];
683
- comment?: string | undefined;
684
- app?: {
685
- description: string | undefined;
686
- website: string | undefined;
687
- icon: string | undefined;
688
- id: string;
689
- name: string;
690
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
691
- } | undefined;
692
- }, {
693
- type: "NormalAction";
694
- timestamp: number;
695
- action: "unwrap";
696
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
697
- transfers: ({
817
+ }, {
698
818
  asset: {
699
819
  symbol: string;
700
820
  type: "CryptoCurrency";
@@ -710,12 +830,26 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
710
830
  updatedAt: number;
711
831
  icon?: string | undefined;
712
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;
713
847
  };
714
848
  amount: {
715
849
  value: bigint;
716
850
  decimals: number;
717
851
  };
718
- direction: "in";
852
+ direction: "out";
719
853
  price?: {
720
854
  cryptoCurrencyId: string;
721
855
  fiatCurrencyId: string;
@@ -727,8 +861,70 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
727
861
  } | undefined;
728
862
  from?: string | undefined;
729
863
  to?: string | undefined;
730
- } | {
731
- asset: {
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
+ }, {
732
928
  symbol: string;
733
929
  type: "CryptoCurrency";
734
930
  id: string;
@@ -743,60 +939,7 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
743
939
  updatedAt: number;
744
940
  icon?: string | undefined;
745
941
  priceDatasourceId?: string | undefined;
746
- };
747
- amount: {
748
- value: bigint;
749
- decimals: number;
750
- };
751
- direction: "out";
752
- price?: {
753
- cryptoCurrencyId: string;
754
- fiatCurrencyId: string;
755
- price: {
756
- value: bigint;
757
- decimals: number;
758
- };
759
- timestamp: number;
760
- } | undefined;
761
- from?: string | undefined;
762
- to?: string | undefined;
763
- })[];
764
- comment?: string | undefined;
765
- app?: {
766
- id: string;
767
- name: string;
768
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
769
- description?: string | undefined;
770
- website?: string | undefined;
771
- icon?: string | undefined;
772
- } | undefined;
773
- }>, {
774
- comment: string | undefined;
775
- app: {
776
- description: string | undefined;
777
- website: string | undefined;
778
- icon: string | undefined;
779
- id: string;
780
- name: string;
781
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
782
- } | undefined;
783
- type: "NormalAction";
784
- timestamp: number;
785
- action: "unwrap";
786
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
787
- transfers: ({
788
- from: string | undefined;
789
- to: string | undefined;
790
- price: {
791
- cryptoCurrencyId: string;
792
- fiatCurrencyId: string;
793
- price: {
794
- value: bigint;
795
- decimals: number;
796
- };
797
- timestamp: number;
798
- } | undefined;
799
- asset: {
942
+ }>, {
800
943
  icon: string | undefined;
801
944
  priceDatasourceId: string | undefined;
802
945
  symbol: string;
@@ -811,15 +954,2346 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
811
954
  } | undefined;
812
955
  };
813
956
  updatedAt: number;
814
- };
815
- amount: {
816
- value: bigint;
817
- decimals: number;
818
- };
819
- direction: "in";
820
- } | {
821
- from: string | undefined;
822
- to: string | undefined;
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<"unwrap">;
1277
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1278
+ from: z.ZodOptional<z.ZodString>;
1279
+ to: z.ZodOptional<z.ZodString>;
1280
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1281
+ type: z.ZodLiteral<"CryptoCurrency">;
1282
+ id: z.ZodString;
1283
+ name: z.ZodString;
1284
+ symbol: z.ZodString;
1285
+ icon: z.ZodOptional<z.ZodString>;
1286
+ market: z.ZodEffects<z.ZodObject<{
1287
+ coingeckoId: z.ZodOptional<z.ZodString>;
1288
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1289
+ value: z.ZodBigInt;
1290
+ decimals: z.ZodNumber;
1291
+ }, "strip", z.ZodTypeAny, {
1292
+ value: bigint;
1293
+ decimals: number;
1294
+ }, {
1295
+ value: bigint;
1296
+ decimals: number;
1297
+ }>>;
1298
+ }, "strip", z.ZodTypeAny, {
1299
+ coingeckoId?: string | undefined;
1300
+ marketCapUsd?: {
1301
+ value: bigint;
1302
+ decimals: number;
1303
+ } | undefined;
1304
+ }, {
1305
+ coingeckoId?: string | undefined;
1306
+ marketCapUsd?: {
1307
+ value: bigint;
1308
+ decimals: number;
1309
+ } | undefined;
1310
+ }>, {
1311
+ coingeckoId: string | undefined;
1312
+ marketCapUsd: {
1313
+ value: bigint;
1314
+ decimals: number;
1315
+ } | undefined;
1316
+ }, {
1317
+ coingeckoId?: string | undefined;
1318
+ marketCapUsd?: {
1319
+ value: bigint;
1320
+ decimals: number;
1321
+ } | undefined;
1322
+ }>;
1323
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1324
+ updatedAt: z.ZodNumber;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ symbol: string;
1327
+ type: "CryptoCurrency";
1328
+ id: string;
1329
+ name: string;
1330
+ market: {
1331
+ coingeckoId: string | undefined;
1332
+ marketCapUsd: {
1333
+ value: bigint;
1334
+ decimals: number;
1335
+ } | undefined;
1336
+ };
1337
+ updatedAt: number;
1338
+ icon?: string | undefined;
1339
+ priceDatasourceId?: string | undefined;
1340
+ }, {
1341
+ symbol: string;
1342
+ type: "CryptoCurrency";
1343
+ id: string;
1344
+ name: string;
1345
+ market: {
1346
+ coingeckoId?: string | undefined;
1347
+ marketCapUsd?: {
1348
+ value: bigint;
1349
+ decimals: number;
1350
+ } | undefined;
1351
+ };
1352
+ updatedAt: number;
1353
+ icon?: string | undefined;
1354
+ priceDatasourceId?: string | undefined;
1355
+ }>, {
1356
+ icon: string | undefined;
1357
+ priceDatasourceId: string | undefined;
1358
+ symbol: string;
1359
+ type: "CryptoCurrency";
1360
+ id: string;
1361
+ name: string;
1362
+ market: {
1363
+ coingeckoId: string | undefined;
1364
+ marketCapUsd: {
1365
+ value: bigint;
1366
+ decimals: number;
1367
+ } | undefined;
1368
+ };
1369
+ updatedAt: number;
1370
+ }, {
1371
+ symbol: string;
1372
+ type: "CryptoCurrency";
1373
+ id: string;
1374
+ name: string;
1375
+ market: {
1376
+ coingeckoId?: string | undefined;
1377
+ marketCapUsd?: {
1378
+ value: bigint;
1379
+ decimals: number;
1380
+ } | undefined;
1381
+ };
1382
+ updatedAt: number;
1383
+ icon?: string | undefined;
1384
+ priceDatasourceId?: string | undefined;
1385
+ }>, z.ZodEffects<z.ZodObject<{
1386
+ type: z.ZodLiteral<"FiatCurrency">;
1387
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
1388
+ name: z.ZodString;
1389
+ symbol: z.ZodString;
1390
+ icon: z.ZodOptional<z.ZodString>;
1391
+ }, "strip", z.ZodTypeAny, {
1392
+ symbol: string;
1393
+ type: "FiatCurrency";
1394
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1395
+ name: string;
1396
+ icon?: string | undefined;
1397
+ }, {
1398
+ symbol: string;
1399
+ type: "FiatCurrency";
1400
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1401
+ name: string;
1402
+ icon?: string | undefined;
1403
+ }>, {
1404
+ icon: string | undefined;
1405
+ symbol: string;
1406
+ type: "FiatCurrency";
1407
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1408
+ name: string;
1409
+ }, {
1410
+ symbol: string;
1411
+ type: "FiatCurrency";
1412
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1413
+ name: string;
1414
+ icon?: string | undefined;
1415
+ }>, z.ZodEffects<z.ZodObject<{
1416
+ type: z.ZodLiteral<"Nft">;
1417
+ id: z.ZodString;
1418
+ name: z.ZodOptional<z.ZodString>;
1419
+ symbol: z.ZodOptional<z.ZodString>;
1420
+ image: z.ZodOptional<z.ZodString>;
1421
+ metadata: z.ZodOptional<z.ZodString>;
1422
+ updatedAt: z.ZodNumber;
1423
+ }, "strip", z.ZodTypeAny, {
1424
+ type: "Nft";
1425
+ id: string;
1426
+ updatedAt: number;
1427
+ symbol?: string | undefined;
1428
+ name?: string | undefined;
1429
+ image?: string | undefined;
1430
+ metadata?: string | undefined;
1431
+ }, {
1432
+ type: "Nft";
1433
+ id: string;
1434
+ updatedAt: number;
1435
+ symbol?: string | undefined;
1436
+ name?: string | undefined;
1437
+ image?: string | undefined;
1438
+ metadata?: string | undefined;
1439
+ }>, {
1440
+ name: string | undefined;
1441
+ symbol: string | undefined;
1442
+ image: string | undefined;
1443
+ metadata: string | undefined;
1444
+ type: "Nft";
1445
+ id: string;
1446
+ updatedAt: number;
1447
+ }, {
1448
+ type: "Nft";
1449
+ id: string;
1450
+ updatedAt: number;
1451
+ symbol?: string | undefined;
1452
+ name?: string | undefined;
1453
+ image?: string | undefined;
1454
+ metadata?: string | undefined;
1455
+ }>]>;
1456
+ amount: z.ZodObject<{
1457
+ value: z.ZodBigInt;
1458
+ decimals: z.ZodNumber;
1459
+ }, "strip", z.ZodTypeAny, {
1460
+ value: bigint;
1461
+ decimals: number;
1462
+ }, {
1463
+ value: bigint;
1464
+ decimals: number;
1465
+ }>;
1466
+ price: z.ZodOptional<z.ZodObject<{
1467
+ cryptoCurrencyId: z.ZodString;
1468
+ fiatCurrencyId: z.ZodString;
1469
+ price: z.ZodObject<{
1470
+ value: z.ZodBigInt;
1471
+ decimals: z.ZodNumber;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ value: bigint;
1474
+ decimals: number;
1475
+ }, {
1476
+ value: bigint;
1477
+ decimals: number;
1478
+ }>;
1479
+ timestamp: z.ZodNumber;
1480
+ }, "strip", z.ZodTypeAny, {
1481
+ cryptoCurrencyId: string;
1482
+ fiatCurrencyId: string;
1483
+ price: {
1484
+ value: bigint;
1485
+ decimals: number;
1486
+ };
1487
+ timestamp: number;
1488
+ }, {
1489
+ cryptoCurrencyId: string;
1490
+ fiatCurrencyId: string;
1491
+ price: {
1492
+ value: bigint;
1493
+ decimals: number;
1494
+ };
1495
+ timestamp: number;
1496
+ }>>;
1497
+ }, {
1498
+ direction: z.ZodLiteral<"in">;
1499
+ }>, {
1500
+ asset: z.ZodEffects<z.ZodObject<{
1501
+ type: z.ZodLiteral<"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: "in";
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: "in";
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: "in";
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: "in";
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
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1739
+ from: z.ZodOptional<z.ZodString>;
1740
+ to: z.ZodOptional<z.ZodString>;
1741
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1742
+ type: z.ZodLiteral<"CryptoCurrency">;
1743
+ id: z.ZodString;
1744
+ name: z.ZodString;
1745
+ symbol: z.ZodString;
1746
+ icon: z.ZodOptional<z.ZodString>;
1747
+ market: z.ZodEffects<z.ZodObject<{
1748
+ coingeckoId: z.ZodOptional<z.ZodString>;
1749
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1750
+ value: z.ZodBigInt;
1751
+ decimals: z.ZodNumber;
1752
+ }, "strip", z.ZodTypeAny, {
1753
+ value: bigint;
1754
+ decimals: number;
1755
+ }, {
1756
+ value: bigint;
1757
+ decimals: number;
1758
+ }>>;
1759
+ }, "strip", z.ZodTypeAny, {
1760
+ coingeckoId?: string | undefined;
1761
+ marketCapUsd?: {
1762
+ value: bigint;
1763
+ decimals: number;
1764
+ } | undefined;
1765
+ }, {
1766
+ coingeckoId?: string | undefined;
1767
+ marketCapUsd?: {
1768
+ value: bigint;
1769
+ decimals: number;
1770
+ } | undefined;
1771
+ }>, {
1772
+ coingeckoId: string | undefined;
1773
+ marketCapUsd: {
1774
+ value: bigint;
1775
+ decimals: number;
1776
+ } | undefined;
1777
+ }, {
1778
+ coingeckoId?: string | undefined;
1779
+ marketCapUsd?: {
1780
+ value: bigint;
1781
+ decimals: number;
1782
+ } | undefined;
1783
+ }>;
1784
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1785
+ updatedAt: z.ZodNumber;
1786
+ }, "strip", z.ZodTypeAny, {
1787
+ symbol: string;
1788
+ type: "CryptoCurrency";
1789
+ id: string;
1790
+ name: string;
1791
+ market: {
1792
+ coingeckoId: string | undefined;
1793
+ marketCapUsd: {
1794
+ value: bigint;
1795
+ decimals: number;
1796
+ } | undefined;
1797
+ };
1798
+ updatedAt: number;
1799
+ icon?: string | undefined;
1800
+ priceDatasourceId?: string | undefined;
1801
+ }, {
1802
+ symbol: string;
1803
+ type: "CryptoCurrency";
1804
+ id: string;
1805
+ name: string;
1806
+ market: {
1807
+ coingeckoId?: string | undefined;
1808
+ marketCapUsd?: {
1809
+ value: bigint;
1810
+ decimals: number;
1811
+ } | undefined;
1812
+ };
1813
+ updatedAt: number;
1814
+ icon?: string | undefined;
1815
+ priceDatasourceId?: string | undefined;
1816
+ }>, {
1817
+ icon: string | undefined;
1818
+ priceDatasourceId: string | undefined;
1819
+ symbol: string;
1820
+ type: "CryptoCurrency";
1821
+ id: string;
1822
+ name: string;
1823
+ market: {
1824
+ coingeckoId: string | undefined;
1825
+ marketCapUsd: {
1826
+ value: bigint;
1827
+ decimals: number;
1828
+ } | undefined;
1829
+ };
1830
+ updatedAt: number;
1831
+ }, {
1832
+ symbol: string;
1833
+ type: "CryptoCurrency";
1834
+ id: string;
1835
+ name: string;
1836
+ market: {
1837
+ coingeckoId?: string | undefined;
1838
+ marketCapUsd?: {
1839
+ value: bigint;
1840
+ decimals: number;
1841
+ } | undefined;
1842
+ };
1843
+ updatedAt: number;
1844
+ icon?: string | undefined;
1845
+ priceDatasourceId?: string | undefined;
1846
+ }>, z.ZodEffects<z.ZodObject<{
1847
+ type: z.ZodLiteral<"FiatCurrency">;
1848
+ 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">]>;
1849
+ name: z.ZodString;
1850
+ symbol: z.ZodString;
1851
+ icon: z.ZodOptional<z.ZodString>;
1852
+ }, "strip", z.ZodTypeAny, {
1853
+ symbol: string;
1854
+ type: "FiatCurrency";
1855
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1856
+ name: string;
1857
+ icon?: string | undefined;
1858
+ }, {
1859
+ symbol: string;
1860
+ type: "FiatCurrency";
1861
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1862
+ name: string;
1863
+ icon?: string | undefined;
1864
+ }>, {
1865
+ icon: string | undefined;
1866
+ symbol: string;
1867
+ type: "FiatCurrency";
1868
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1869
+ name: string;
1870
+ }, {
1871
+ symbol: string;
1872
+ type: "FiatCurrency";
1873
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1874
+ name: string;
1875
+ icon?: string | undefined;
1876
+ }>, z.ZodEffects<z.ZodObject<{
1877
+ type: z.ZodLiteral<"Nft">;
1878
+ id: z.ZodString;
1879
+ name: z.ZodOptional<z.ZodString>;
1880
+ symbol: z.ZodOptional<z.ZodString>;
1881
+ image: z.ZodOptional<z.ZodString>;
1882
+ metadata: z.ZodOptional<z.ZodString>;
1883
+ updatedAt: z.ZodNumber;
1884
+ }, "strip", z.ZodTypeAny, {
1885
+ type: "Nft";
1886
+ id: string;
1887
+ updatedAt: number;
1888
+ symbol?: string | undefined;
1889
+ name?: string | undefined;
1890
+ image?: string | undefined;
1891
+ metadata?: string | undefined;
1892
+ }, {
1893
+ type: "Nft";
1894
+ id: string;
1895
+ updatedAt: number;
1896
+ symbol?: string | undefined;
1897
+ name?: string | undefined;
1898
+ image?: string | undefined;
1899
+ metadata?: string | undefined;
1900
+ }>, {
1901
+ name: string | undefined;
1902
+ symbol: string | undefined;
1903
+ image: string | undefined;
1904
+ metadata: string | undefined;
1905
+ type: "Nft";
1906
+ id: string;
1907
+ updatedAt: number;
1908
+ }, {
1909
+ type: "Nft";
1910
+ id: string;
1911
+ updatedAt: number;
1912
+ symbol?: string | undefined;
1913
+ name?: string | undefined;
1914
+ image?: string | undefined;
1915
+ metadata?: string | undefined;
1916
+ }>]>;
1917
+ amount: z.ZodObject<{
1918
+ value: z.ZodBigInt;
1919
+ decimals: z.ZodNumber;
1920
+ }, "strip", z.ZodTypeAny, {
1921
+ value: bigint;
1922
+ decimals: number;
1923
+ }, {
1924
+ value: bigint;
1925
+ decimals: number;
1926
+ }>;
1927
+ price: z.ZodOptional<z.ZodObject<{
1928
+ cryptoCurrencyId: z.ZodString;
1929
+ fiatCurrencyId: z.ZodString;
1930
+ price: z.ZodObject<{
1931
+ value: z.ZodBigInt;
1932
+ decimals: z.ZodNumber;
1933
+ }, "strip", z.ZodTypeAny, {
1934
+ value: bigint;
1935
+ decimals: number;
1936
+ }, {
1937
+ value: bigint;
1938
+ decimals: number;
1939
+ }>;
1940
+ timestamp: z.ZodNumber;
1941
+ }, "strip", z.ZodTypeAny, {
1942
+ cryptoCurrencyId: string;
1943
+ fiatCurrencyId: string;
1944
+ price: {
1945
+ value: bigint;
1946
+ decimals: number;
1947
+ };
1948
+ timestamp: number;
1949
+ }, {
1950
+ cryptoCurrencyId: string;
1951
+ fiatCurrencyId: string;
1952
+ price: {
1953
+ value: bigint;
1954
+ decimals: number;
1955
+ };
1956
+ timestamp: number;
1957
+ }>>;
1958
+ }, {
1959
+ direction: z.ZodLiteral<"out">;
1960
+ }>, {
1961
+ asset: z.ZodEffects<z.ZodObject<{
1962
+ type: z.ZodLiteral<"CryptoCurrency">;
1963
+ id: z.ZodString;
1964
+ name: z.ZodString;
1965
+ symbol: z.ZodString;
1966
+ icon: z.ZodOptional<z.ZodString>;
1967
+ market: z.ZodEffects<z.ZodObject<{
1968
+ coingeckoId: z.ZodOptional<z.ZodString>;
1969
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1970
+ value: z.ZodBigInt;
1971
+ decimals: z.ZodNumber;
1972
+ }, "strip", z.ZodTypeAny, {
1973
+ value: bigint;
1974
+ decimals: number;
1975
+ }, {
1976
+ value: bigint;
1977
+ decimals: number;
1978
+ }>>;
1979
+ }, "strip", z.ZodTypeAny, {
1980
+ coingeckoId?: string | undefined;
1981
+ marketCapUsd?: {
1982
+ value: bigint;
1983
+ decimals: number;
1984
+ } | undefined;
1985
+ }, {
1986
+ coingeckoId?: string | undefined;
1987
+ marketCapUsd?: {
1988
+ value: bigint;
1989
+ decimals: number;
1990
+ } | undefined;
1991
+ }>, {
1992
+ coingeckoId: string | undefined;
1993
+ marketCapUsd: {
1994
+ value: bigint;
1995
+ decimals: number;
1996
+ } | undefined;
1997
+ }, {
1998
+ coingeckoId?: string | undefined;
1999
+ marketCapUsd?: {
2000
+ value: bigint;
2001
+ decimals: number;
2002
+ } | undefined;
2003
+ }>;
2004
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2005
+ updatedAt: z.ZodNumber;
2006
+ }, "strip", z.ZodTypeAny, {
2007
+ symbol: string;
2008
+ type: "CryptoCurrency";
2009
+ id: string;
2010
+ name: string;
2011
+ market: {
2012
+ coingeckoId: string | undefined;
2013
+ marketCapUsd: {
2014
+ value: bigint;
2015
+ decimals: number;
2016
+ } | undefined;
2017
+ };
2018
+ updatedAt: number;
2019
+ icon?: string | undefined;
2020
+ priceDatasourceId?: string | undefined;
2021
+ }, {
2022
+ symbol: string;
2023
+ type: "CryptoCurrency";
2024
+ id: string;
2025
+ name: string;
2026
+ market: {
2027
+ coingeckoId?: string | undefined;
2028
+ marketCapUsd?: {
2029
+ value: bigint;
2030
+ decimals: number;
2031
+ } | undefined;
2032
+ };
2033
+ updatedAt: number;
2034
+ icon?: string | undefined;
2035
+ priceDatasourceId?: string | undefined;
2036
+ }>, {
2037
+ icon: string | undefined;
2038
+ priceDatasourceId: string | undefined;
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
+ }, {
2052
+ symbol: string;
2053
+ type: "CryptoCurrency";
2054
+ id: string;
2055
+ name: string;
2056
+ market: {
2057
+ coingeckoId?: string | undefined;
2058
+ marketCapUsd?: {
2059
+ value: bigint;
2060
+ decimals: number;
2061
+ } | undefined;
2062
+ };
2063
+ updatedAt: number;
2064
+ icon?: string | undefined;
2065
+ priceDatasourceId?: string | undefined;
2066
+ }>;
2067
+ }>, "strip", z.ZodTypeAny, {
2068
+ asset: {
2069
+ icon: string | undefined;
2070
+ priceDatasourceId: string | undefined;
2071
+ symbol: string;
2072
+ type: "CryptoCurrency";
2073
+ id: string;
2074
+ name: string;
2075
+ market: {
2076
+ coingeckoId: string | undefined;
2077
+ marketCapUsd: {
2078
+ value: bigint;
2079
+ decimals: number;
2080
+ } | undefined;
2081
+ };
2082
+ updatedAt: number;
2083
+ };
2084
+ amount: {
2085
+ value: bigint;
2086
+ decimals: number;
2087
+ };
2088
+ direction: "out";
2089
+ price?: {
2090
+ cryptoCurrencyId: string;
2091
+ fiatCurrencyId: string;
2092
+ price: {
2093
+ value: bigint;
2094
+ decimals: number;
2095
+ };
2096
+ timestamp: number;
2097
+ } | undefined;
2098
+ from?: string | undefined;
2099
+ to?: string | undefined;
2100
+ }, {
2101
+ asset: {
2102
+ symbol: string;
2103
+ type: "CryptoCurrency";
2104
+ id: string;
2105
+ name: string;
2106
+ market: {
2107
+ coingeckoId?: string | undefined;
2108
+ marketCapUsd?: {
2109
+ value: bigint;
2110
+ decimals: number;
2111
+ } | undefined;
2112
+ };
2113
+ updatedAt: number;
2114
+ icon?: string | undefined;
2115
+ priceDatasourceId?: string | undefined;
2116
+ };
2117
+ amount: {
2118
+ value: bigint;
2119
+ decimals: number;
2120
+ };
2121
+ direction: "out";
2122
+ price?: {
2123
+ cryptoCurrencyId: string;
2124
+ fiatCurrencyId: string;
2125
+ price: {
2126
+ value: bigint;
2127
+ decimals: number;
2128
+ };
2129
+ timestamp: number;
2130
+ } | undefined;
2131
+ from?: string | undefined;
2132
+ to?: string | undefined;
2133
+ }>, {
2134
+ from: string | undefined;
2135
+ to: string | undefined;
2136
+ price: {
2137
+ cryptoCurrencyId: string;
2138
+ fiatCurrencyId: string;
2139
+ price: {
2140
+ value: bigint;
2141
+ decimals: number;
2142
+ };
2143
+ timestamp: number;
2144
+ } | undefined;
2145
+ asset: {
2146
+ icon: string | undefined;
2147
+ priceDatasourceId: string | undefined;
2148
+ symbol: string;
2149
+ type: "CryptoCurrency";
2150
+ id: string;
2151
+ name: string;
2152
+ market: {
2153
+ coingeckoId: string | undefined;
2154
+ marketCapUsd: {
2155
+ value: bigint;
2156
+ decimals: number;
2157
+ } | undefined;
2158
+ };
2159
+ updatedAt: number;
2160
+ };
2161
+ amount: {
2162
+ value: bigint;
2163
+ decimals: number;
2164
+ };
2165
+ direction: "out";
2166
+ }, {
2167
+ asset: {
2168
+ symbol: string;
2169
+ type: "CryptoCurrency";
2170
+ id: string;
2171
+ name: string;
2172
+ market: {
2173
+ coingeckoId?: string | undefined;
2174
+ marketCapUsd?: {
2175
+ value: bigint;
2176
+ decimals: number;
2177
+ } | undefined;
2178
+ };
2179
+ updatedAt: number;
2180
+ icon?: string | undefined;
2181
+ priceDatasourceId?: string | undefined;
2182
+ };
2183
+ amount: {
2184
+ value: bigint;
2185
+ decimals: number;
2186
+ };
2187
+ direction: "out";
2188
+ price?: {
2189
+ cryptoCurrencyId: string;
2190
+ fiatCurrencyId: string;
2191
+ price: {
2192
+ value: bigint;
2193
+ decimals: number;
2194
+ };
2195
+ timestamp: number;
2196
+ } | undefined;
2197
+ from?: string | undefined;
2198
+ to?: string | undefined;
2199
+ }>]>, "many">;
2200
+ }>, "strip", z.ZodTypeAny, {
2201
+ type: "NormalAction";
2202
+ timestamp: number;
2203
+ action: "unwrap";
2204
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2205
+ transfers: ({
2206
+ from: string | undefined;
2207
+ to: string | undefined;
2208
+ price: {
2209
+ cryptoCurrencyId: string;
2210
+ fiatCurrencyId: string;
2211
+ price: {
2212
+ value: bigint;
2213
+ decimals: number;
2214
+ };
2215
+ timestamp: number;
2216
+ } | undefined;
2217
+ asset: {
2218
+ icon: string | undefined;
2219
+ priceDatasourceId: string | undefined;
2220
+ symbol: string;
2221
+ type: "CryptoCurrency";
2222
+ id: string;
2223
+ name: string;
2224
+ market: {
2225
+ coingeckoId: string | undefined;
2226
+ marketCapUsd: {
2227
+ value: bigint;
2228
+ decimals: number;
2229
+ } | undefined;
2230
+ };
2231
+ updatedAt: number;
2232
+ };
2233
+ amount: {
2234
+ value: bigint;
2235
+ decimals: number;
2236
+ };
2237
+ direction: "in";
2238
+ } | {
2239
+ from: string | undefined;
2240
+ to: string | undefined;
2241
+ price: {
2242
+ cryptoCurrencyId: string;
2243
+ fiatCurrencyId: string;
2244
+ price: {
2245
+ value: bigint;
2246
+ decimals: number;
2247
+ };
2248
+ timestamp: number;
2249
+ } | undefined;
2250
+ asset: {
2251
+ icon: string | undefined;
2252
+ priceDatasourceId: string | undefined;
2253
+ symbol: string;
2254
+ type: "CryptoCurrency";
2255
+ id: string;
2256
+ name: string;
2257
+ market: {
2258
+ coingeckoId: string | undefined;
2259
+ marketCapUsd: {
2260
+ value: bigint;
2261
+ decimals: number;
2262
+ } | undefined;
2263
+ };
2264
+ updatedAt: number;
2265
+ };
2266
+ amount: {
2267
+ value: bigint;
2268
+ decimals: number;
2269
+ };
2270
+ direction: "out";
2271
+ })[];
2272
+ comment?: string | undefined;
2273
+ app?: {
2274
+ description: string | undefined;
2275
+ website: string | undefined;
2276
+ icon: string | undefined;
2277
+ id: string;
2278
+ name: string;
2279
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2280
+ } | undefined;
2281
+ }, {
2282
+ type: "NormalAction";
2283
+ timestamp: number;
2284
+ action: "unwrap";
2285
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2286
+ transfers: ({
2287
+ asset: {
2288
+ symbol: string;
2289
+ type: "CryptoCurrency";
2290
+ id: string;
2291
+ name: string;
2292
+ market: {
2293
+ coingeckoId?: string | undefined;
2294
+ marketCapUsd?: {
2295
+ value: bigint;
2296
+ decimals: number;
2297
+ } | undefined;
2298
+ };
2299
+ updatedAt: number;
2300
+ icon?: string | undefined;
2301
+ priceDatasourceId?: string | undefined;
2302
+ };
2303
+ amount: {
2304
+ value: bigint;
2305
+ decimals: number;
2306
+ };
2307
+ direction: "in";
2308
+ price?: {
2309
+ cryptoCurrencyId: string;
2310
+ fiatCurrencyId: string;
2311
+ price: {
2312
+ value: bigint;
2313
+ decimals: number;
2314
+ };
2315
+ timestamp: number;
2316
+ } | undefined;
2317
+ from?: string | undefined;
2318
+ to?: string | undefined;
2319
+ } | {
2320
+ asset: {
2321
+ symbol: string;
2322
+ type: "CryptoCurrency";
2323
+ id: string;
2324
+ name: string;
2325
+ market: {
2326
+ coingeckoId?: string | undefined;
2327
+ marketCapUsd?: {
2328
+ value: bigint;
2329
+ decimals: number;
2330
+ } | undefined;
2331
+ };
2332
+ updatedAt: number;
2333
+ icon?: string | undefined;
2334
+ priceDatasourceId?: string | undefined;
2335
+ };
2336
+ amount: {
2337
+ value: bigint;
2338
+ decimals: number;
2339
+ };
2340
+ direction: "out";
2341
+ price?: {
2342
+ cryptoCurrencyId: string;
2343
+ fiatCurrencyId: string;
2344
+ price: {
2345
+ value: bigint;
2346
+ decimals: number;
2347
+ };
2348
+ timestamp: number;
2349
+ } | undefined;
2350
+ from?: string | undefined;
2351
+ to?: string | undefined;
2352
+ })[];
2353
+ comment?: string | undefined;
2354
+ app?: {
2355
+ id: string;
2356
+ name: string;
2357
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2358
+ icon?: string | undefined;
2359
+ description?: string | undefined;
2360
+ website?: string | undefined;
2361
+ } | undefined;
2362
+ }>, {
2363
+ comment: string | undefined;
2364
+ app: {
2365
+ description: string | undefined;
2366
+ website: string | undefined;
2367
+ icon: string | undefined;
2368
+ id: string;
2369
+ name: string;
2370
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2371
+ } | undefined;
2372
+ type: "NormalAction";
2373
+ timestamp: number;
2374
+ action: "unwrap";
2375
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2376
+ transfers: ({
2377
+ from: string | undefined;
2378
+ to: string | undefined;
2379
+ price: {
2380
+ cryptoCurrencyId: string;
2381
+ fiatCurrencyId: string;
2382
+ price: {
2383
+ value: bigint;
2384
+ decimals: number;
2385
+ };
2386
+ timestamp: number;
2387
+ } | undefined;
2388
+ asset: {
2389
+ icon: string | undefined;
2390
+ priceDatasourceId: string | undefined;
2391
+ symbol: string;
2392
+ type: "CryptoCurrency";
2393
+ id: string;
2394
+ name: string;
2395
+ market: {
2396
+ coingeckoId: string | undefined;
2397
+ marketCapUsd: {
2398
+ value: bigint;
2399
+ decimals: number;
2400
+ } | undefined;
2401
+ };
2402
+ updatedAt: number;
2403
+ };
2404
+ amount: {
2405
+ value: bigint;
2406
+ decimals: number;
2407
+ };
2408
+ direction: "in";
2409
+ } | {
2410
+ from: string | undefined;
2411
+ to: string | undefined;
2412
+ price: {
2413
+ cryptoCurrencyId: string;
2414
+ fiatCurrencyId: string;
2415
+ price: {
2416
+ value: bigint;
2417
+ decimals: number;
2418
+ };
2419
+ timestamp: number;
2420
+ } | undefined;
2421
+ asset: {
2422
+ icon: string | undefined;
2423
+ priceDatasourceId: string | undefined;
2424
+ symbol: string;
2425
+ type: "CryptoCurrency";
2426
+ id: string;
2427
+ name: string;
2428
+ market: {
2429
+ coingeckoId: string | undefined;
2430
+ marketCapUsd: {
2431
+ value: bigint;
2432
+ decimals: number;
2433
+ } | undefined;
2434
+ };
2435
+ updatedAt: number;
2436
+ };
2437
+ amount: {
2438
+ value: bigint;
2439
+ decimals: number;
2440
+ };
2441
+ direction: "out";
2442
+ })[];
2443
+ }, {
2444
+ type: "NormalAction";
2445
+ timestamp: number;
2446
+ action: "unwrap";
2447
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2448
+ transfers: ({
2449
+ asset: {
2450
+ symbol: string;
2451
+ type: "CryptoCurrency";
2452
+ id: string;
2453
+ name: string;
2454
+ market: {
2455
+ coingeckoId?: string | undefined;
2456
+ marketCapUsd?: {
2457
+ value: bigint;
2458
+ decimals: number;
2459
+ } | undefined;
2460
+ };
2461
+ updatedAt: number;
2462
+ icon?: string | undefined;
2463
+ priceDatasourceId?: string | undefined;
2464
+ };
2465
+ amount: {
2466
+ value: bigint;
2467
+ decimals: number;
2468
+ };
2469
+ direction: "in";
2470
+ price?: {
2471
+ cryptoCurrencyId: string;
2472
+ fiatCurrencyId: string;
2473
+ price: {
2474
+ value: bigint;
2475
+ decimals: number;
2476
+ };
2477
+ timestamp: number;
2478
+ } | undefined;
2479
+ from?: string | undefined;
2480
+ to?: string | undefined;
2481
+ } | {
2482
+ asset: {
2483
+ symbol: string;
2484
+ type: "CryptoCurrency";
2485
+ id: string;
2486
+ name: string;
2487
+ market: {
2488
+ coingeckoId?: string | undefined;
2489
+ marketCapUsd?: {
2490
+ value: bigint;
2491
+ decimals: number;
2492
+ } | undefined;
2493
+ };
2494
+ updatedAt: number;
2495
+ icon?: string | undefined;
2496
+ priceDatasourceId?: string | undefined;
2497
+ };
2498
+ amount: {
2499
+ value: bigint;
2500
+ decimals: number;
2501
+ };
2502
+ direction: "out";
2503
+ price?: {
2504
+ cryptoCurrencyId: string;
2505
+ fiatCurrencyId: string;
2506
+ price: {
2507
+ value: bigint;
2508
+ decimals: number;
2509
+ };
2510
+ timestamp: number;
2511
+ } | undefined;
2512
+ from?: string | undefined;
2513
+ to?: string | undefined;
2514
+ })[];
2515
+ comment?: string | undefined;
2516
+ app?: {
2517
+ id: string;
2518
+ name: string;
2519
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2520
+ icon?: string | undefined;
2521
+ description?: string | undefined;
2522
+ website?: string | undefined;
2523
+ } | undefined;
2524
+ }>;
2525
+ export declare const accountActionUnwrapSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2526
+ 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">]>;
2527
+ source: z.ZodString;
2528
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
2529
+ timestamp: z.ZodNumber;
2530
+ order: z.ZodNumber;
2531
+ comment: z.ZodOptional<z.ZodString>;
2532
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2533
+ id: z.ZodString;
2534
+ 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">;
2535
+ name: z.ZodString;
2536
+ description: z.ZodOptional<z.ZodString>;
2537
+ website: z.ZodOptional<z.ZodString>;
2538
+ icon: z.ZodOptional<z.ZodString>;
2539
+ }, "strip", z.ZodTypeAny, {
2540
+ id: string;
2541
+ name: string;
2542
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2543
+ icon?: string | undefined;
2544
+ description?: string | undefined;
2545
+ website?: string | undefined;
2546
+ }, {
2547
+ id: string;
2548
+ name: string;
2549
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2550
+ icon?: string | undefined;
2551
+ description?: string | undefined;
2552
+ website?: string | undefined;
2553
+ }>, {
2554
+ description: string | undefined;
2555
+ website: string | undefined;
2556
+ icon: string | undefined;
2557
+ id: string;
2558
+ name: string;
2559
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2560
+ }, {
2561
+ id: string;
2562
+ name: string;
2563
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2564
+ icon?: string | undefined;
2565
+ description?: string | undefined;
2566
+ website?: string | undefined;
2567
+ }>>;
2568
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2569
+ from: z.ZodOptional<z.ZodString>;
2570
+ to: z.ZodOptional<z.ZodString>;
2571
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2572
+ type: z.ZodLiteral<"CryptoCurrency">;
2573
+ id: z.ZodString;
2574
+ name: z.ZodString;
2575
+ symbol: z.ZodString;
2576
+ icon: z.ZodOptional<z.ZodString>;
2577
+ market: z.ZodEffects<z.ZodObject<{
2578
+ coingeckoId: z.ZodOptional<z.ZodString>;
2579
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2580
+ value: z.ZodBigInt;
2581
+ decimals: z.ZodNumber;
2582
+ }, "strip", z.ZodTypeAny, {
2583
+ value: bigint;
2584
+ decimals: number;
2585
+ }, {
2586
+ value: bigint;
2587
+ decimals: number;
2588
+ }>>;
2589
+ }, "strip", z.ZodTypeAny, {
2590
+ coingeckoId?: string | undefined;
2591
+ marketCapUsd?: {
2592
+ value: bigint;
2593
+ decimals: number;
2594
+ } | undefined;
2595
+ }, {
2596
+ coingeckoId?: string | undefined;
2597
+ marketCapUsd?: {
2598
+ value: bigint;
2599
+ decimals: number;
2600
+ } | undefined;
2601
+ }>, {
2602
+ coingeckoId: string | undefined;
2603
+ marketCapUsd: {
2604
+ value: bigint;
2605
+ decimals: number;
2606
+ } | undefined;
2607
+ }, {
2608
+ coingeckoId?: string | undefined;
2609
+ marketCapUsd?: {
2610
+ value: bigint;
2611
+ decimals: number;
2612
+ } | undefined;
2613
+ }>;
2614
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2615
+ updatedAt: z.ZodNumber;
2616
+ }, "strip", z.ZodTypeAny, {
2617
+ symbol: string;
2618
+ type: "CryptoCurrency";
2619
+ id: string;
2620
+ name: string;
2621
+ market: {
2622
+ coingeckoId: string | undefined;
2623
+ marketCapUsd: {
2624
+ value: bigint;
2625
+ decimals: number;
2626
+ } | undefined;
2627
+ };
2628
+ updatedAt: number;
2629
+ icon?: string | undefined;
2630
+ priceDatasourceId?: string | undefined;
2631
+ }, {
2632
+ symbol: string;
2633
+ type: "CryptoCurrency";
2634
+ id: string;
2635
+ name: string;
2636
+ market: {
2637
+ coingeckoId?: string | undefined;
2638
+ marketCapUsd?: {
2639
+ value: bigint;
2640
+ decimals: number;
2641
+ } | undefined;
2642
+ };
2643
+ updatedAt: number;
2644
+ icon?: string | undefined;
2645
+ priceDatasourceId?: string | undefined;
2646
+ }>, {
2647
+ icon: string | undefined;
2648
+ priceDatasourceId: string | undefined;
2649
+ symbol: string;
2650
+ type: "CryptoCurrency";
2651
+ id: string;
2652
+ name: string;
2653
+ market: {
2654
+ coingeckoId: string | undefined;
2655
+ marketCapUsd: {
2656
+ value: bigint;
2657
+ decimals: number;
2658
+ } | undefined;
2659
+ };
2660
+ updatedAt: number;
2661
+ }, {
2662
+ symbol: string;
2663
+ type: "CryptoCurrency";
2664
+ id: string;
2665
+ name: string;
2666
+ market: {
2667
+ coingeckoId?: string | undefined;
2668
+ marketCapUsd?: {
2669
+ value: bigint;
2670
+ decimals: number;
2671
+ } | undefined;
2672
+ };
2673
+ updatedAt: number;
2674
+ icon?: string | undefined;
2675
+ priceDatasourceId?: string | undefined;
2676
+ }>, z.ZodEffects<z.ZodObject<{
2677
+ type: z.ZodLiteral<"FiatCurrency">;
2678
+ 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">]>;
2679
+ name: z.ZodString;
2680
+ symbol: z.ZodString;
2681
+ icon: z.ZodOptional<z.ZodString>;
2682
+ }, "strip", z.ZodTypeAny, {
2683
+ symbol: string;
2684
+ type: "FiatCurrency";
2685
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2686
+ name: string;
2687
+ icon?: string | undefined;
2688
+ }, {
2689
+ symbol: string;
2690
+ type: "FiatCurrency";
2691
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2692
+ name: string;
2693
+ icon?: string | undefined;
2694
+ }>, {
2695
+ icon: string | undefined;
2696
+ symbol: string;
2697
+ type: "FiatCurrency";
2698
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2699
+ name: string;
2700
+ }, {
2701
+ symbol: string;
2702
+ type: "FiatCurrency";
2703
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2704
+ name: string;
2705
+ icon?: string | undefined;
2706
+ }>, z.ZodEffects<z.ZodObject<{
2707
+ type: z.ZodLiteral<"Nft">;
2708
+ id: z.ZodString;
2709
+ name: z.ZodOptional<z.ZodString>;
2710
+ symbol: z.ZodOptional<z.ZodString>;
2711
+ image: z.ZodOptional<z.ZodString>;
2712
+ metadata: z.ZodOptional<z.ZodString>;
2713
+ updatedAt: z.ZodNumber;
2714
+ }, "strip", z.ZodTypeAny, {
2715
+ type: "Nft";
2716
+ id: string;
2717
+ updatedAt: number;
2718
+ symbol?: string | undefined;
2719
+ name?: string | undefined;
2720
+ image?: string | undefined;
2721
+ metadata?: string | undefined;
2722
+ }, {
2723
+ type: "Nft";
2724
+ id: string;
2725
+ updatedAt: number;
2726
+ symbol?: string | undefined;
2727
+ name?: string | undefined;
2728
+ image?: string | undefined;
2729
+ metadata?: string | undefined;
2730
+ }>, {
2731
+ name: string | undefined;
2732
+ symbol: string | undefined;
2733
+ image: string | undefined;
2734
+ metadata: string | undefined;
2735
+ type: "Nft";
2736
+ id: string;
2737
+ updatedAt: number;
2738
+ }, {
2739
+ type: "Nft";
2740
+ id: string;
2741
+ updatedAt: number;
2742
+ symbol?: string | undefined;
2743
+ name?: string | undefined;
2744
+ image?: string | undefined;
2745
+ metadata?: string | undefined;
2746
+ }>]>;
2747
+ amount: z.ZodObject<{
2748
+ value: z.ZodBigInt;
2749
+ decimals: z.ZodNumber;
2750
+ }, "strip", z.ZodTypeAny, {
2751
+ value: bigint;
2752
+ decimals: number;
2753
+ }, {
2754
+ value: bigint;
2755
+ decimals: number;
2756
+ }>;
2757
+ price: z.ZodOptional<z.ZodObject<{
2758
+ cryptoCurrencyId: z.ZodString;
2759
+ fiatCurrencyId: z.ZodString;
2760
+ price: z.ZodObject<{
2761
+ value: z.ZodBigInt;
2762
+ decimals: z.ZodNumber;
2763
+ }, "strip", z.ZodTypeAny, {
2764
+ value: bigint;
2765
+ decimals: number;
2766
+ }, {
2767
+ value: bigint;
2768
+ decimals: number;
2769
+ }>;
2770
+ timestamp: z.ZodNumber;
2771
+ }, "strip", z.ZodTypeAny, {
2772
+ cryptoCurrencyId: string;
2773
+ fiatCurrencyId: string;
2774
+ price: {
2775
+ value: bigint;
2776
+ decimals: number;
2777
+ };
2778
+ timestamp: number;
2779
+ }, {
2780
+ cryptoCurrencyId: string;
2781
+ fiatCurrencyId: string;
2782
+ price: {
2783
+ value: bigint;
2784
+ decimals: number;
2785
+ };
2786
+ timestamp: number;
2787
+ }>>;
2788
+ }, {
2789
+ direction: z.ZodLiteral<"in">;
2790
+ }>, "strip", z.ZodTypeAny, {
2791
+ asset: {
2792
+ icon: string | undefined;
2793
+ priceDatasourceId: string | undefined;
2794
+ symbol: string;
2795
+ type: "CryptoCurrency";
2796
+ id: string;
2797
+ name: string;
2798
+ market: {
2799
+ coingeckoId: string | undefined;
2800
+ marketCapUsd: {
2801
+ value: bigint;
2802
+ decimals: number;
2803
+ } | undefined;
2804
+ };
2805
+ updatedAt: number;
2806
+ } | {
2807
+ icon: string | undefined;
2808
+ symbol: string;
2809
+ type: "FiatCurrency";
2810
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2811
+ name: string;
2812
+ } | {
2813
+ name: string | undefined;
2814
+ symbol: string | undefined;
2815
+ image: string | undefined;
2816
+ metadata: string | undefined;
2817
+ type: "Nft";
2818
+ id: string;
2819
+ updatedAt: number;
2820
+ };
2821
+ amount: {
2822
+ value: bigint;
2823
+ decimals: number;
2824
+ };
2825
+ direction: "in";
2826
+ price?: {
2827
+ cryptoCurrencyId: string;
2828
+ fiatCurrencyId: string;
2829
+ price: {
2830
+ value: bigint;
2831
+ decimals: number;
2832
+ };
2833
+ timestamp: number;
2834
+ } | undefined;
2835
+ from?: string | undefined;
2836
+ to?: string | undefined;
2837
+ }, {
2838
+ asset: {
2839
+ symbol: string;
2840
+ type: "CryptoCurrency";
2841
+ id: string;
2842
+ name: string;
2843
+ market: {
2844
+ coingeckoId?: string | undefined;
2845
+ marketCapUsd?: {
2846
+ value: bigint;
2847
+ decimals: number;
2848
+ } | undefined;
2849
+ };
2850
+ updatedAt: number;
2851
+ icon?: string | undefined;
2852
+ priceDatasourceId?: string | undefined;
2853
+ } | {
2854
+ symbol: string;
2855
+ type: "FiatCurrency";
2856
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2857
+ name: string;
2858
+ icon?: string | undefined;
2859
+ } | {
2860
+ type: "Nft";
2861
+ id: string;
2862
+ updatedAt: number;
2863
+ symbol?: string | undefined;
2864
+ name?: string | undefined;
2865
+ image?: string | undefined;
2866
+ metadata?: string | undefined;
2867
+ };
2868
+ amount: {
2869
+ value: bigint;
2870
+ decimals: number;
2871
+ };
2872
+ direction: "in";
2873
+ price?: {
2874
+ cryptoCurrencyId: string;
2875
+ fiatCurrencyId: string;
2876
+ price: {
2877
+ value: bigint;
2878
+ decimals: number;
2879
+ };
2880
+ timestamp: number;
2881
+ } | undefined;
2882
+ from?: string | undefined;
2883
+ to?: string | undefined;
2884
+ }>, {
2885
+ from: string | undefined;
2886
+ to: string | undefined;
2887
+ price: {
2888
+ cryptoCurrencyId: string;
2889
+ fiatCurrencyId: string;
2890
+ price: {
2891
+ value: bigint;
2892
+ decimals: number;
2893
+ };
2894
+ timestamp: number;
2895
+ } | undefined;
2896
+ asset: {
2897
+ icon: string | undefined;
2898
+ priceDatasourceId: string | undefined;
2899
+ symbol: string;
2900
+ type: "CryptoCurrency";
2901
+ id: string;
2902
+ name: string;
2903
+ market: {
2904
+ coingeckoId: string | undefined;
2905
+ marketCapUsd: {
2906
+ value: bigint;
2907
+ decimals: number;
2908
+ } | undefined;
2909
+ };
2910
+ updatedAt: number;
2911
+ } | {
2912
+ icon: string | undefined;
2913
+ symbol: string;
2914
+ type: "FiatCurrency";
2915
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2916
+ name: string;
2917
+ } | {
2918
+ name: string | undefined;
2919
+ symbol: string | undefined;
2920
+ image: string | undefined;
2921
+ metadata: string | undefined;
2922
+ type: "Nft";
2923
+ id: string;
2924
+ updatedAt: number;
2925
+ };
2926
+ amount: {
2927
+ value: bigint;
2928
+ decimals: number;
2929
+ };
2930
+ direction: "in";
2931
+ }, {
2932
+ asset: {
2933
+ symbol: string;
2934
+ type: "CryptoCurrency";
2935
+ id: string;
2936
+ name: string;
2937
+ market: {
2938
+ coingeckoId?: string | undefined;
2939
+ marketCapUsd?: {
2940
+ value: bigint;
2941
+ decimals: number;
2942
+ } | undefined;
2943
+ };
2944
+ updatedAt: number;
2945
+ icon?: string | undefined;
2946
+ priceDatasourceId?: string | undefined;
2947
+ } | {
2948
+ symbol: string;
2949
+ type: "FiatCurrency";
2950
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2951
+ name: string;
2952
+ icon?: string | undefined;
2953
+ } | {
2954
+ type: "Nft";
2955
+ id: string;
2956
+ updatedAt: number;
2957
+ symbol?: string | undefined;
2958
+ name?: string | undefined;
2959
+ image?: string | undefined;
2960
+ metadata?: string | undefined;
2961
+ };
2962
+ amount: {
2963
+ value: bigint;
2964
+ decimals: number;
2965
+ };
2966
+ direction: "in";
2967
+ price?: {
2968
+ cryptoCurrencyId: string;
2969
+ fiatCurrencyId: string;
2970
+ price: {
2971
+ value: bigint;
2972
+ decimals: number;
2973
+ };
2974
+ timestamp: number;
2975
+ } | undefined;
2976
+ from?: string | undefined;
2977
+ to?: string | undefined;
2978
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2979
+ from: z.ZodOptional<z.ZodString>;
2980
+ to: z.ZodOptional<z.ZodString>;
2981
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2982
+ type: z.ZodLiteral<"CryptoCurrency">;
2983
+ id: z.ZodString;
2984
+ name: z.ZodString;
2985
+ symbol: z.ZodString;
2986
+ icon: z.ZodOptional<z.ZodString>;
2987
+ market: z.ZodEffects<z.ZodObject<{
2988
+ coingeckoId: z.ZodOptional<z.ZodString>;
2989
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2990
+ value: z.ZodBigInt;
2991
+ decimals: z.ZodNumber;
2992
+ }, "strip", z.ZodTypeAny, {
2993
+ value: bigint;
2994
+ decimals: number;
2995
+ }, {
2996
+ value: bigint;
2997
+ decimals: number;
2998
+ }>>;
2999
+ }, "strip", z.ZodTypeAny, {
3000
+ coingeckoId?: string | undefined;
3001
+ marketCapUsd?: {
3002
+ value: bigint;
3003
+ decimals: number;
3004
+ } | undefined;
3005
+ }, {
3006
+ coingeckoId?: string | undefined;
3007
+ marketCapUsd?: {
3008
+ value: bigint;
3009
+ decimals: number;
3010
+ } | undefined;
3011
+ }>, {
3012
+ coingeckoId: string | undefined;
3013
+ marketCapUsd: {
3014
+ value: bigint;
3015
+ decimals: number;
3016
+ } | undefined;
3017
+ }, {
3018
+ coingeckoId?: string | undefined;
3019
+ marketCapUsd?: {
3020
+ value: bigint;
3021
+ decimals: number;
3022
+ } | undefined;
3023
+ }>;
3024
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3025
+ updatedAt: z.ZodNumber;
3026
+ }, "strip", z.ZodTypeAny, {
3027
+ symbol: string;
3028
+ type: "CryptoCurrency";
3029
+ id: string;
3030
+ name: string;
3031
+ market: {
3032
+ coingeckoId: string | undefined;
3033
+ marketCapUsd: {
3034
+ value: bigint;
3035
+ decimals: number;
3036
+ } | undefined;
3037
+ };
3038
+ updatedAt: number;
3039
+ icon?: string | undefined;
3040
+ priceDatasourceId?: string | undefined;
3041
+ }, {
3042
+ symbol: string;
3043
+ type: "CryptoCurrency";
3044
+ id: string;
3045
+ name: string;
3046
+ market: {
3047
+ coingeckoId?: string | undefined;
3048
+ marketCapUsd?: {
3049
+ value: bigint;
3050
+ decimals: number;
3051
+ } | undefined;
3052
+ };
3053
+ updatedAt: number;
3054
+ icon?: string | undefined;
3055
+ priceDatasourceId?: string | undefined;
3056
+ }>, {
3057
+ icon: string | undefined;
3058
+ priceDatasourceId: string | undefined;
3059
+ symbol: string;
3060
+ type: "CryptoCurrency";
3061
+ id: string;
3062
+ name: string;
3063
+ market: {
3064
+ coingeckoId: string | undefined;
3065
+ marketCapUsd: {
3066
+ value: bigint;
3067
+ decimals: number;
3068
+ } | undefined;
3069
+ };
3070
+ updatedAt: number;
3071
+ }, {
3072
+ symbol: string;
3073
+ type: "CryptoCurrency";
3074
+ id: string;
3075
+ name: string;
3076
+ market: {
3077
+ coingeckoId?: string | undefined;
3078
+ marketCapUsd?: {
3079
+ value: bigint;
3080
+ decimals: number;
3081
+ } | undefined;
3082
+ };
3083
+ updatedAt: number;
3084
+ icon?: string | undefined;
3085
+ priceDatasourceId?: string | undefined;
3086
+ }>, z.ZodEffects<z.ZodObject<{
3087
+ type: z.ZodLiteral<"FiatCurrency">;
3088
+ 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">]>;
3089
+ name: z.ZodString;
3090
+ symbol: z.ZodString;
3091
+ icon: z.ZodOptional<z.ZodString>;
3092
+ }, "strip", z.ZodTypeAny, {
3093
+ symbol: string;
3094
+ type: "FiatCurrency";
3095
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3096
+ name: string;
3097
+ icon?: string | undefined;
3098
+ }, {
3099
+ symbol: string;
3100
+ type: "FiatCurrency";
3101
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3102
+ name: string;
3103
+ icon?: string | undefined;
3104
+ }>, {
3105
+ icon: string | undefined;
3106
+ symbol: string;
3107
+ type: "FiatCurrency";
3108
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3109
+ name: string;
3110
+ }, {
3111
+ symbol: string;
3112
+ type: "FiatCurrency";
3113
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3114
+ name: string;
3115
+ icon?: string | undefined;
3116
+ }>, z.ZodEffects<z.ZodObject<{
3117
+ type: z.ZodLiteral<"Nft">;
3118
+ id: z.ZodString;
3119
+ name: z.ZodOptional<z.ZodString>;
3120
+ symbol: z.ZodOptional<z.ZodString>;
3121
+ image: z.ZodOptional<z.ZodString>;
3122
+ metadata: z.ZodOptional<z.ZodString>;
3123
+ updatedAt: z.ZodNumber;
3124
+ }, "strip", z.ZodTypeAny, {
3125
+ type: "Nft";
3126
+ id: string;
3127
+ updatedAt: number;
3128
+ symbol?: string | undefined;
3129
+ name?: string | undefined;
3130
+ image?: string | undefined;
3131
+ metadata?: string | undefined;
3132
+ }, {
3133
+ type: "Nft";
3134
+ id: string;
3135
+ updatedAt: number;
3136
+ symbol?: string | undefined;
3137
+ name?: string | undefined;
3138
+ image?: string | undefined;
3139
+ metadata?: string | undefined;
3140
+ }>, {
3141
+ name: string | undefined;
3142
+ symbol: string | undefined;
3143
+ image: string | undefined;
3144
+ metadata: string | undefined;
3145
+ type: "Nft";
3146
+ id: string;
3147
+ updatedAt: number;
3148
+ }, {
3149
+ type: "Nft";
3150
+ id: string;
3151
+ updatedAt: number;
3152
+ symbol?: string | undefined;
3153
+ name?: string | undefined;
3154
+ image?: string | undefined;
3155
+ metadata?: string | undefined;
3156
+ }>]>;
3157
+ amount: z.ZodObject<{
3158
+ value: z.ZodBigInt;
3159
+ decimals: z.ZodNumber;
3160
+ }, "strip", z.ZodTypeAny, {
3161
+ value: bigint;
3162
+ decimals: number;
3163
+ }, {
3164
+ value: bigint;
3165
+ decimals: number;
3166
+ }>;
3167
+ price: z.ZodOptional<z.ZodObject<{
3168
+ cryptoCurrencyId: z.ZodString;
3169
+ fiatCurrencyId: z.ZodString;
3170
+ price: z.ZodObject<{
3171
+ value: z.ZodBigInt;
3172
+ decimals: z.ZodNumber;
3173
+ }, "strip", z.ZodTypeAny, {
3174
+ value: bigint;
3175
+ decimals: number;
3176
+ }, {
3177
+ value: bigint;
3178
+ decimals: number;
3179
+ }>;
3180
+ timestamp: z.ZodNumber;
3181
+ }, "strip", z.ZodTypeAny, {
3182
+ cryptoCurrencyId: string;
3183
+ fiatCurrencyId: string;
3184
+ price: {
3185
+ value: bigint;
3186
+ decimals: number;
3187
+ };
3188
+ timestamp: number;
3189
+ }, {
3190
+ cryptoCurrencyId: string;
3191
+ fiatCurrencyId: string;
3192
+ price: {
3193
+ value: bigint;
3194
+ decimals: number;
3195
+ };
3196
+ timestamp: number;
3197
+ }>>;
3198
+ }, {
3199
+ direction: z.ZodLiteral<"out">;
3200
+ }>, "strip", z.ZodTypeAny, {
3201
+ asset: {
3202
+ icon: string | undefined;
3203
+ priceDatasourceId: string | undefined;
3204
+ symbol: string;
3205
+ type: "CryptoCurrency";
3206
+ id: string;
3207
+ name: string;
3208
+ market: {
3209
+ coingeckoId: string | undefined;
3210
+ marketCapUsd: {
3211
+ value: bigint;
3212
+ decimals: number;
3213
+ } | undefined;
3214
+ };
3215
+ updatedAt: number;
3216
+ } | {
3217
+ icon: string | undefined;
3218
+ symbol: string;
3219
+ type: "FiatCurrency";
3220
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3221
+ name: string;
3222
+ } | {
3223
+ name: string | undefined;
3224
+ symbol: string | undefined;
3225
+ image: string | undefined;
3226
+ metadata: string | undefined;
3227
+ type: "Nft";
3228
+ id: string;
3229
+ updatedAt: number;
3230
+ };
3231
+ amount: {
3232
+ value: bigint;
3233
+ decimals: number;
3234
+ };
3235
+ direction: "out";
3236
+ price?: {
3237
+ cryptoCurrencyId: string;
3238
+ fiatCurrencyId: string;
3239
+ price: {
3240
+ value: bigint;
3241
+ decimals: number;
3242
+ };
3243
+ timestamp: number;
3244
+ } | undefined;
3245
+ from?: string | undefined;
3246
+ to?: string | undefined;
3247
+ }, {
3248
+ asset: {
3249
+ symbol: string;
3250
+ type: "CryptoCurrency";
3251
+ id: string;
3252
+ name: string;
3253
+ market: {
3254
+ coingeckoId?: string | undefined;
3255
+ marketCapUsd?: {
3256
+ value: bigint;
3257
+ decimals: number;
3258
+ } | undefined;
3259
+ };
3260
+ updatedAt: number;
3261
+ icon?: string | undefined;
3262
+ priceDatasourceId?: string | undefined;
3263
+ } | {
3264
+ symbol: string;
3265
+ type: "FiatCurrency";
3266
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3267
+ name: string;
3268
+ icon?: string | undefined;
3269
+ } | {
3270
+ type: "Nft";
3271
+ id: string;
3272
+ updatedAt: number;
3273
+ symbol?: string | undefined;
3274
+ name?: string | undefined;
3275
+ image?: string | undefined;
3276
+ metadata?: string | undefined;
3277
+ };
3278
+ amount: {
3279
+ value: bigint;
3280
+ decimals: number;
3281
+ };
3282
+ direction: "out";
3283
+ price?: {
3284
+ cryptoCurrencyId: string;
3285
+ fiatCurrencyId: string;
3286
+ price: {
3287
+ value: bigint;
3288
+ decimals: number;
3289
+ };
3290
+ timestamp: number;
3291
+ } | undefined;
3292
+ from?: string | undefined;
3293
+ to?: string | undefined;
3294
+ }>, {
3295
+ from: string | undefined;
3296
+ to: string | undefined;
823
3297
  price: {
824
3298
  cryptoCurrencyId: string;
825
3299
  fiatCurrencyId: string;
@@ -828,7 +3302,312 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
828
3302
  decimals: number;
829
3303
  };
830
3304
  timestamp: number;
831
- } | undefined;
3305
+ } | undefined;
3306
+ asset: {
3307
+ icon: string | undefined;
3308
+ priceDatasourceId: string | undefined;
3309
+ symbol: string;
3310
+ type: "CryptoCurrency";
3311
+ id: string;
3312
+ name: string;
3313
+ market: {
3314
+ coingeckoId: string | undefined;
3315
+ marketCapUsd: {
3316
+ value: bigint;
3317
+ decimals: number;
3318
+ } | undefined;
3319
+ };
3320
+ updatedAt: number;
3321
+ } | {
3322
+ icon: string | undefined;
3323
+ symbol: string;
3324
+ type: "FiatCurrency";
3325
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3326
+ name: string;
3327
+ } | {
3328
+ name: string | undefined;
3329
+ symbol: string | undefined;
3330
+ image: string | undefined;
3331
+ metadata: string | undefined;
3332
+ type: "Nft";
3333
+ id: string;
3334
+ updatedAt: number;
3335
+ };
3336
+ amount: {
3337
+ value: bigint;
3338
+ decimals: number;
3339
+ };
3340
+ direction: "out";
3341
+ }, {
3342
+ asset: {
3343
+ symbol: string;
3344
+ type: "CryptoCurrency";
3345
+ id: string;
3346
+ name: string;
3347
+ market: {
3348
+ coingeckoId?: string | undefined;
3349
+ marketCapUsd?: {
3350
+ value: bigint;
3351
+ decimals: number;
3352
+ } | undefined;
3353
+ };
3354
+ updatedAt: number;
3355
+ icon?: string | undefined;
3356
+ priceDatasourceId?: string | undefined;
3357
+ } | {
3358
+ symbol: string;
3359
+ type: "FiatCurrency";
3360
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3361
+ name: string;
3362
+ icon?: string | undefined;
3363
+ } | {
3364
+ type: "Nft";
3365
+ id: string;
3366
+ updatedAt: number;
3367
+ symbol?: string | undefined;
3368
+ name?: string | undefined;
3369
+ image?: string | undefined;
3370
+ metadata?: string | undefined;
3371
+ };
3372
+ amount: {
3373
+ value: bigint;
3374
+ decimals: number;
3375
+ };
3376
+ direction: "out";
3377
+ price?: {
3378
+ cryptoCurrencyId: string;
3379
+ fiatCurrencyId: string;
3380
+ price: {
3381
+ value: bigint;
3382
+ decimals: number;
3383
+ };
3384
+ timestamp: number;
3385
+ } | undefined;
3386
+ from?: string | undefined;
3387
+ to?: string | undefined;
3388
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
3389
+ from: z.ZodOptional<z.ZodString>;
3390
+ to: z.ZodOptional<z.ZodString>;
3391
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3392
+ type: z.ZodLiteral<"CryptoCurrency">;
3393
+ id: z.ZodString;
3394
+ name: z.ZodString;
3395
+ symbol: z.ZodString;
3396
+ icon: z.ZodOptional<z.ZodString>;
3397
+ market: z.ZodEffects<z.ZodObject<{
3398
+ coingeckoId: z.ZodOptional<z.ZodString>;
3399
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3400
+ value: z.ZodBigInt;
3401
+ decimals: z.ZodNumber;
3402
+ }, "strip", z.ZodTypeAny, {
3403
+ value: bigint;
3404
+ decimals: number;
3405
+ }, {
3406
+ value: bigint;
3407
+ decimals: number;
3408
+ }>>;
3409
+ }, "strip", z.ZodTypeAny, {
3410
+ coingeckoId?: string | undefined;
3411
+ marketCapUsd?: {
3412
+ value: bigint;
3413
+ decimals: number;
3414
+ } | undefined;
3415
+ }, {
3416
+ coingeckoId?: string | undefined;
3417
+ marketCapUsd?: {
3418
+ value: bigint;
3419
+ decimals: number;
3420
+ } | undefined;
3421
+ }>, {
3422
+ coingeckoId: string | undefined;
3423
+ marketCapUsd: {
3424
+ value: bigint;
3425
+ decimals: number;
3426
+ } | undefined;
3427
+ }, {
3428
+ coingeckoId?: string | undefined;
3429
+ marketCapUsd?: {
3430
+ value: bigint;
3431
+ decimals: number;
3432
+ } | undefined;
3433
+ }>;
3434
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3435
+ updatedAt: z.ZodNumber;
3436
+ }, "strip", z.ZodTypeAny, {
3437
+ symbol: string;
3438
+ type: "CryptoCurrency";
3439
+ id: string;
3440
+ name: string;
3441
+ market: {
3442
+ coingeckoId: string | undefined;
3443
+ marketCapUsd: {
3444
+ value: bigint;
3445
+ decimals: number;
3446
+ } | undefined;
3447
+ };
3448
+ updatedAt: number;
3449
+ icon?: string | undefined;
3450
+ priceDatasourceId?: string | undefined;
3451
+ }, {
3452
+ symbol: string;
3453
+ type: "CryptoCurrency";
3454
+ id: string;
3455
+ name: string;
3456
+ market: {
3457
+ coingeckoId?: string | undefined;
3458
+ marketCapUsd?: {
3459
+ value: bigint;
3460
+ decimals: number;
3461
+ } | undefined;
3462
+ };
3463
+ updatedAt: number;
3464
+ icon?: string | undefined;
3465
+ priceDatasourceId?: string | undefined;
3466
+ }>, {
3467
+ icon: string | undefined;
3468
+ priceDatasourceId: string | undefined;
3469
+ symbol: string;
3470
+ type: "CryptoCurrency";
3471
+ id: string;
3472
+ name: string;
3473
+ market: {
3474
+ coingeckoId: string | undefined;
3475
+ marketCapUsd: {
3476
+ value: bigint;
3477
+ decimals: number;
3478
+ } | undefined;
3479
+ };
3480
+ updatedAt: number;
3481
+ }, {
3482
+ symbol: string;
3483
+ type: "CryptoCurrency";
3484
+ id: string;
3485
+ name: string;
3486
+ market: {
3487
+ coingeckoId?: string | undefined;
3488
+ marketCapUsd?: {
3489
+ value: bigint;
3490
+ decimals: number;
3491
+ } | undefined;
3492
+ };
3493
+ updatedAt: number;
3494
+ icon?: string | undefined;
3495
+ priceDatasourceId?: string | undefined;
3496
+ }>, z.ZodEffects<z.ZodObject<{
3497
+ type: z.ZodLiteral<"FiatCurrency">;
3498
+ 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">]>;
3499
+ name: z.ZodString;
3500
+ symbol: z.ZodString;
3501
+ icon: z.ZodOptional<z.ZodString>;
3502
+ }, "strip", z.ZodTypeAny, {
3503
+ symbol: string;
3504
+ type: "FiatCurrency";
3505
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3506
+ name: string;
3507
+ icon?: string | undefined;
3508
+ }, {
3509
+ symbol: string;
3510
+ type: "FiatCurrency";
3511
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3512
+ name: string;
3513
+ icon?: string | undefined;
3514
+ }>, {
3515
+ icon: string | undefined;
3516
+ symbol: string;
3517
+ type: "FiatCurrency";
3518
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3519
+ name: string;
3520
+ }, {
3521
+ symbol: string;
3522
+ type: "FiatCurrency";
3523
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3524
+ name: string;
3525
+ icon?: string | undefined;
3526
+ }>, z.ZodEffects<z.ZodObject<{
3527
+ type: z.ZodLiteral<"Nft">;
3528
+ id: z.ZodString;
3529
+ name: z.ZodOptional<z.ZodString>;
3530
+ symbol: z.ZodOptional<z.ZodString>;
3531
+ image: z.ZodOptional<z.ZodString>;
3532
+ metadata: z.ZodOptional<z.ZodString>;
3533
+ updatedAt: z.ZodNumber;
3534
+ }, "strip", z.ZodTypeAny, {
3535
+ type: "Nft";
3536
+ id: string;
3537
+ updatedAt: number;
3538
+ symbol?: string | undefined;
3539
+ name?: string | undefined;
3540
+ image?: string | undefined;
3541
+ metadata?: string | undefined;
3542
+ }, {
3543
+ type: "Nft";
3544
+ id: string;
3545
+ updatedAt: number;
3546
+ symbol?: string | undefined;
3547
+ name?: string | undefined;
3548
+ image?: string | undefined;
3549
+ metadata?: string | undefined;
3550
+ }>, {
3551
+ name: string | undefined;
3552
+ symbol: string | undefined;
3553
+ image: string | undefined;
3554
+ metadata: string | undefined;
3555
+ type: "Nft";
3556
+ id: string;
3557
+ updatedAt: number;
3558
+ }, {
3559
+ type: "Nft";
3560
+ id: string;
3561
+ updatedAt: number;
3562
+ symbol?: string | undefined;
3563
+ name?: string | undefined;
3564
+ image?: string | undefined;
3565
+ metadata?: string | undefined;
3566
+ }>]>;
3567
+ amount: z.ZodObject<{
3568
+ value: z.ZodBigInt;
3569
+ decimals: z.ZodNumber;
3570
+ }, "strip", z.ZodTypeAny, {
3571
+ value: bigint;
3572
+ decimals: number;
3573
+ }, {
3574
+ value: bigint;
3575
+ decimals: number;
3576
+ }>;
3577
+ price: z.ZodOptional<z.ZodObject<{
3578
+ cryptoCurrencyId: z.ZodString;
3579
+ fiatCurrencyId: z.ZodString;
3580
+ price: z.ZodObject<{
3581
+ value: z.ZodBigInt;
3582
+ decimals: z.ZodNumber;
3583
+ }, "strip", z.ZodTypeAny, {
3584
+ value: bigint;
3585
+ decimals: number;
3586
+ }, {
3587
+ value: bigint;
3588
+ decimals: number;
3589
+ }>;
3590
+ timestamp: z.ZodNumber;
3591
+ }, "strip", z.ZodTypeAny, {
3592
+ cryptoCurrencyId: string;
3593
+ fiatCurrencyId: string;
3594
+ price: {
3595
+ value: bigint;
3596
+ decimals: number;
3597
+ };
3598
+ timestamp: number;
3599
+ }, {
3600
+ cryptoCurrencyId: string;
3601
+ fiatCurrencyId: string;
3602
+ price: {
3603
+ value: bigint;
3604
+ decimals: number;
3605
+ };
3606
+ timestamp: number;
3607
+ }>>;
3608
+ }, {
3609
+ direction: z.ZodLiteral<"none">;
3610
+ }>, "strip", z.ZodTypeAny, {
832
3611
  asset: {
833
3612
  icon: string | undefined;
834
3613
  priceDatasourceId: string | undefined;
@@ -844,19 +3623,38 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
844
3623
  } | undefined;
845
3624
  };
846
3625
  updatedAt: number;
3626
+ } | {
3627
+ icon: string | undefined;
3628
+ symbol: string;
3629
+ type: "FiatCurrency";
3630
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3631
+ name: string;
3632
+ } | {
3633
+ name: string | undefined;
3634
+ symbol: string | undefined;
3635
+ image: string | undefined;
3636
+ metadata: string | undefined;
3637
+ type: "Nft";
3638
+ id: string;
3639
+ updatedAt: number;
847
3640
  };
848
3641
  amount: {
849
3642
  value: bigint;
850
3643
  decimals: number;
851
3644
  };
852
- direction: "out";
853
- })[];
854
- }, {
855
- type: "NormalAction";
856
- timestamp: number;
857
- action: "unwrap";
858
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
859
- transfers: ({
3645
+ direction: "none";
3646
+ price?: {
3647
+ cryptoCurrencyId: string;
3648
+ fiatCurrencyId: string;
3649
+ price: {
3650
+ value: bigint;
3651
+ decimals: number;
3652
+ };
3653
+ timestamp: number;
3654
+ } | undefined;
3655
+ from?: string | undefined;
3656
+ to?: string | undefined;
3657
+ }, {
860
3658
  asset: {
861
3659
  symbol: string;
862
3660
  type: "CryptoCurrency";
@@ -872,12 +3670,26 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
872
3670
  updatedAt: number;
873
3671
  icon?: string | undefined;
874
3672
  priceDatasourceId?: string | undefined;
3673
+ } | {
3674
+ symbol: string;
3675
+ type: "FiatCurrency";
3676
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3677
+ name: string;
3678
+ icon?: string | undefined;
3679
+ } | {
3680
+ type: "Nft";
3681
+ id: string;
3682
+ updatedAt: number;
3683
+ symbol?: string | undefined;
3684
+ name?: string | undefined;
3685
+ image?: string | undefined;
3686
+ metadata?: string | undefined;
875
3687
  };
876
3688
  amount: {
877
3689
  value: bigint;
878
3690
  decimals: number;
879
3691
  };
880
- direction: "in";
3692
+ direction: "none";
881
3693
  price?: {
882
3694
  cryptoCurrencyId: string;
883
3695
  fiatCurrencyId: string;
@@ -889,7 +3701,54 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
889
3701
  } | undefined;
890
3702
  from?: string | undefined;
891
3703
  to?: string | undefined;
892
- } | {
3704
+ }>, {
3705
+ from: string | undefined;
3706
+ to: string | undefined;
3707
+ price: {
3708
+ cryptoCurrencyId: string;
3709
+ fiatCurrencyId: string;
3710
+ price: {
3711
+ value: bigint;
3712
+ decimals: number;
3713
+ };
3714
+ timestamp: number;
3715
+ } | undefined;
3716
+ asset: {
3717
+ icon: string | undefined;
3718
+ priceDatasourceId: string | undefined;
3719
+ symbol: string;
3720
+ type: "CryptoCurrency";
3721
+ id: string;
3722
+ name: string;
3723
+ market: {
3724
+ coingeckoId: string | undefined;
3725
+ marketCapUsd: {
3726
+ value: bigint;
3727
+ decimals: number;
3728
+ } | undefined;
3729
+ };
3730
+ updatedAt: number;
3731
+ } | {
3732
+ icon: string | undefined;
3733
+ symbol: string;
3734
+ type: "FiatCurrency";
3735
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3736
+ name: string;
3737
+ } | {
3738
+ name: string | undefined;
3739
+ symbol: string | undefined;
3740
+ image: string | undefined;
3741
+ metadata: string | undefined;
3742
+ type: "Nft";
3743
+ id: string;
3744
+ updatedAt: number;
3745
+ };
3746
+ amount: {
3747
+ value: bigint;
3748
+ decimals: number;
3749
+ };
3750
+ direction: "none";
3751
+ }, {
893
3752
  asset: {
894
3753
  symbol: string;
895
3754
  type: "CryptoCurrency";
@@ -905,79 +3764,231 @@ export declare const normalActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
905
3764
  updatedAt: number;
906
3765
  icon?: string | undefined;
907
3766
  priceDatasourceId?: string | undefined;
3767
+ } | {
3768
+ symbol: string;
3769
+ type: "FiatCurrency";
3770
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3771
+ name: string;
3772
+ icon?: string | undefined;
3773
+ } | {
3774
+ type: "Nft";
3775
+ id: string;
3776
+ updatedAt: number;
3777
+ symbol?: string | undefined;
3778
+ name?: string | undefined;
3779
+ image?: string | undefined;
3780
+ metadata?: string | undefined;
908
3781
  };
909
3782
  amount: {
910
3783
  value: bigint;
911
3784
  decimals: number;
912
- };
913
- direction: "out";
914
- price?: {
915
- cryptoCurrencyId: string;
916
- fiatCurrencyId: string;
917
- price: {
918
- value: bigint;
919
- decimals: number;
920
- };
921
- timestamp: number;
922
- } | undefined;
923
- from?: string | undefined;
924
- to?: string | undefined;
925
- })[];
926
- comment?: string | undefined;
927
- app?: {
928
- id: string;
929
- name: string;
930
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
931
- description?: string | undefined;
932
- website?: string | undefined;
933
- icon?: string | undefined;
934
- } | undefined;
935
- }>;
936
- export declare const accountActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
937
- type: z.ZodLiteral<"NormalAccountAction">;
938
- timestamp: z.ZodNumber;
939
- order: z.ZodNumber;
940
- source: z.ZodString;
941
- evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
942
- comment: z.ZodOptional<z.ZodString>;
943
- app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
944
- id: z.ZodString;
945
- 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">;
946
- name: z.ZodString;
947
- description: z.ZodOptional<z.ZodString>;
948
- website: z.ZodOptional<z.ZodString>;
949
- icon: z.ZodOptional<z.ZodString>;
950
- }, "strip", z.ZodTypeAny, {
951
- id: string;
952
- name: string;
953
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
954
- description?: string | undefined;
955
- website?: string | undefined;
956
- icon?: string | undefined;
957
- }, {
958
- id: string;
959
- name: string;
960
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
961
- description?: string | undefined;
962
- website?: string | undefined;
963
- icon?: string | undefined;
964
- }>, {
965
- description: string | undefined;
966
- website: string | undefined;
967
- icon: string | undefined;
968
- id: string;
969
- name: string;
970
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
971
- }, {
972
- id: string;
973
- name: string;
974
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
975
- description?: string | undefined;
976
- website?: string | undefined;
977
- icon?: string | undefined;
978
- }>>;
979
- action: z.ZodLiteral<"unwrap">;
980
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3785
+ };
3786
+ direction: "none";
3787
+ price?: {
3788
+ cryptoCurrencyId: string;
3789
+ fiatCurrencyId: string;
3790
+ price: {
3791
+ value: bigint;
3792
+ decimals: number;
3793
+ };
3794
+ timestamp: number;
3795
+ } | undefined;
3796
+ from?: string | undefined;
3797
+ to?: string | undefined;
3798
+ }>]>, "many">;
3799
+ }, {
3800
+ type: z.ZodLiteral<"NormalAccountAction">;
3801
+ }>, {
3802
+ action: z.ZodLiteral<"unwrap">;
3803
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3804
+ from: z.ZodOptional<z.ZodString>;
3805
+ to: z.ZodOptional<z.ZodString>;
3806
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3807
+ type: z.ZodLiteral<"CryptoCurrency">;
3808
+ id: z.ZodString;
3809
+ name: z.ZodString;
3810
+ symbol: z.ZodString;
3811
+ icon: z.ZodOptional<z.ZodString>;
3812
+ market: z.ZodEffects<z.ZodObject<{
3813
+ coingeckoId: z.ZodOptional<z.ZodString>;
3814
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3815
+ value: z.ZodBigInt;
3816
+ decimals: z.ZodNumber;
3817
+ }, "strip", z.ZodTypeAny, {
3818
+ value: bigint;
3819
+ decimals: number;
3820
+ }, {
3821
+ value: bigint;
3822
+ decimals: number;
3823
+ }>>;
3824
+ }, "strip", z.ZodTypeAny, {
3825
+ coingeckoId?: string | undefined;
3826
+ marketCapUsd?: {
3827
+ value: bigint;
3828
+ decimals: number;
3829
+ } | undefined;
3830
+ }, {
3831
+ coingeckoId?: string | undefined;
3832
+ marketCapUsd?: {
3833
+ value: bigint;
3834
+ decimals: number;
3835
+ } | undefined;
3836
+ }>, {
3837
+ coingeckoId: string | undefined;
3838
+ marketCapUsd: {
3839
+ value: bigint;
3840
+ decimals: number;
3841
+ } | undefined;
3842
+ }, {
3843
+ coingeckoId?: string | undefined;
3844
+ marketCapUsd?: {
3845
+ value: bigint;
3846
+ decimals: number;
3847
+ } | undefined;
3848
+ }>;
3849
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3850
+ updatedAt: z.ZodNumber;
3851
+ }, "strip", z.ZodTypeAny, {
3852
+ symbol: string;
3853
+ type: "CryptoCurrency";
3854
+ id: string;
3855
+ name: string;
3856
+ market: {
3857
+ coingeckoId: string | undefined;
3858
+ marketCapUsd: {
3859
+ value: bigint;
3860
+ decimals: number;
3861
+ } | undefined;
3862
+ };
3863
+ updatedAt: number;
3864
+ icon?: string | undefined;
3865
+ priceDatasourceId?: string | undefined;
3866
+ }, {
3867
+ symbol: string;
3868
+ type: "CryptoCurrency";
3869
+ id: string;
3870
+ name: string;
3871
+ market: {
3872
+ coingeckoId?: string | undefined;
3873
+ marketCapUsd?: {
3874
+ value: bigint;
3875
+ decimals: number;
3876
+ } | undefined;
3877
+ };
3878
+ updatedAt: number;
3879
+ icon?: string | undefined;
3880
+ priceDatasourceId?: string | undefined;
3881
+ }>, {
3882
+ icon: string | undefined;
3883
+ priceDatasourceId: string | undefined;
3884
+ symbol: string;
3885
+ type: "CryptoCurrency";
3886
+ id: string;
3887
+ name: string;
3888
+ market: {
3889
+ coingeckoId: string | undefined;
3890
+ marketCapUsd: {
3891
+ value: bigint;
3892
+ decimals: number;
3893
+ } | undefined;
3894
+ };
3895
+ updatedAt: number;
3896
+ }, {
3897
+ symbol: string;
3898
+ type: "CryptoCurrency";
3899
+ id: string;
3900
+ name: string;
3901
+ market: {
3902
+ coingeckoId?: string | undefined;
3903
+ marketCapUsd?: {
3904
+ value: bigint;
3905
+ decimals: number;
3906
+ } | undefined;
3907
+ };
3908
+ updatedAt: number;
3909
+ icon?: string | undefined;
3910
+ priceDatasourceId?: string | undefined;
3911
+ }>, z.ZodEffects<z.ZodObject<{
3912
+ type: z.ZodLiteral<"FiatCurrency">;
3913
+ 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">]>;
3914
+ name: z.ZodString;
3915
+ symbol: z.ZodString;
3916
+ icon: z.ZodOptional<z.ZodString>;
3917
+ }, "strip", z.ZodTypeAny, {
3918
+ symbol: string;
3919
+ type: "FiatCurrency";
3920
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3921
+ name: string;
3922
+ icon?: string | undefined;
3923
+ }, {
3924
+ symbol: string;
3925
+ type: "FiatCurrency";
3926
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3927
+ name: string;
3928
+ icon?: string | undefined;
3929
+ }>, {
3930
+ icon: string | undefined;
3931
+ symbol: string;
3932
+ type: "FiatCurrency";
3933
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3934
+ name: string;
3935
+ }, {
3936
+ symbol: string;
3937
+ type: "FiatCurrency";
3938
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3939
+ name: string;
3940
+ icon?: string | undefined;
3941
+ }>, z.ZodEffects<z.ZodObject<{
3942
+ type: z.ZodLiteral<"Nft">;
3943
+ id: z.ZodString;
3944
+ name: z.ZodOptional<z.ZodString>;
3945
+ symbol: z.ZodOptional<z.ZodString>;
3946
+ image: z.ZodOptional<z.ZodString>;
3947
+ metadata: z.ZodOptional<z.ZodString>;
3948
+ updatedAt: z.ZodNumber;
3949
+ }, "strip", z.ZodTypeAny, {
3950
+ type: "Nft";
3951
+ id: string;
3952
+ updatedAt: number;
3953
+ symbol?: string | undefined;
3954
+ name?: string | undefined;
3955
+ image?: string | undefined;
3956
+ metadata?: string | undefined;
3957
+ }, {
3958
+ type: "Nft";
3959
+ id: string;
3960
+ updatedAt: number;
3961
+ symbol?: string | undefined;
3962
+ name?: string | undefined;
3963
+ image?: string | undefined;
3964
+ metadata?: string | undefined;
3965
+ }>, {
3966
+ name: string | undefined;
3967
+ symbol: string | undefined;
3968
+ image: string | undefined;
3969
+ metadata: string | undefined;
3970
+ type: "Nft";
3971
+ id: string;
3972
+ updatedAt: number;
3973
+ }, {
3974
+ type: "Nft";
3975
+ id: string;
3976
+ updatedAt: number;
3977
+ symbol?: string | undefined;
3978
+ name?: string | undefined;
3979
+ image?: string | undefined;
3980
+ metadata?: string | undefined;
3981
+ }>]>;
3982
+ amount: z.ZodObject<{
3983
+ value: z.ZodBigInt;
3984
+ decimals: z.ZodNumber;
3985
+ }, "strip", z.ZodTypeAny, {
3986
+ value: bigint;
3987
+ decimals: number;
3988
+ }, {
3989
+ value: bigint;
3990
+ decimals: number;
3991
+ }>;
981
3992
  price: z.ZodOptional<z.ZodObject<{
982
3993
  cryptoCurrencyId: z.ZodString;
983
3994
  fiatCurrencyId: z.ZodString;
@@ -1009,19 +4020,9 @@ export declare const accountActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
1009
4020
  };
1010
4021
  timestamp: number;
1011
4022
  }>>;
1012
- from: z.ZodOptional<z.ZodString>;
1013
- to: z.ZodOptional<z.ZodString>;
1014
- amount: z.ZodObject<{
1015
- value: z.ZodBigInt;
1016
- decimals: z.ZodNumber;
1017
- }, "strip", z.ZodTypeAny, {
1018
- value: bigint;
1019
- decimals: number;
1020
- }, {
1021
- value: bigint;
1022
- decimals: number;
1023
- }>;
4023
+ }, {
1024
4024
  direction: z.ZodLiteral<"in">;
4025
+ }>, {
1025
4026
  asset: z.ZodEffects<z.ZodObject<{
1026
4027
  type: z.ZodLiteral<"CryptoCurrency">;
1027
4028
  id: z.ZodString;
@@ -1128,7 +4129,7 @@ export declare const accountActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
1128
4129
  icon?: string | undefined;
1129
4130
  priceDatasourceId?: string | undefined;
1130
4131
  }>;
1131
- }, "strip", z.ZodTypeAny, {
4132
+ }>, "strip", z.ZodTypeAny, {
1132
4133
  asset: {
1133
4134
  icon: string | undefined;
1134
4135
  priceDatasourceId: string | undefined;
@@ -1260,7 +4261,195 @@ export declare const accountActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
1260
4261
  } | undefined;
1261
4262
  from?: string | undefined;
1262
4263
  to?: string | undefined;
1263
- }>, z.ZodEffects<z.ZodObject<{
4264
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4265
+ from: z.ZodOptional<z.ZodString>;
4266
+ to: z.ZodOptional<z.ZodString>;
4267
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4268
+ type: z.ZodLiteral<"CryptoCurrency">;
4269
+ id: z.ZodString;
4270
+ name: z.ZodString;
4271
+ symbol: z.ZodString;
4272
+ icon: z.ZodOptional<z.ZodString>;
4273
+ market: z.ZodEffects<z.ZodObject<{
4274
+ coingeckoId: z.ZodOptional<z.ZodString>;
4275
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
4276
+ value: z.ZodBigInt;
4277
+ decimals: z.ZodNumber;
4278
+ }, "strip", z.ZodTypeAny, {
4279
+ value: bigint;
4280
+ decimals: number;
4281
+ }, {
4282
+ value: bigint;
4283
+ decimals: number;
4284
+ }>>;
4285
+ }, "strip", z.ZodTypeAny, {
4286
+ coingeckoId?: string | undefined;
4287
+ marketCapUsd?: {
4288
+ value: bigint;
4289
+ decimals: number;
4290
+ } | undefined;
4291
+ }, {
4292
+ coingeckoId?: string | undefined;
4293
+ marketCapUsd?: {
4294
+ value: bigint;
4295
+ decimals: number;
4296
+ } | undefined;
4297
+ }>, {
4298
+ coingeckoId: string | undefined;
4299
+ marketCapUsd: {
4300
+ value: bigint;
4301
+ decimals: number;
4302
+ } | undefined;
4303
+ }, {
4304
+ coingeckoId?: string | undefined;
4305
+ marketCapUsd?: {
4306
+ value: bigint;
4307
+ decimals: number;
4308
+ } | undefined;
4309
+ }>;
4310
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
4311
+ updatedAt: z.ZodNumber;
4312
+ }, "strip", z.ZodTypeAny, {
4313
+ symbol: string;
4314
+ type: "CryptoCurrency";
4315
+ id: string;
4316
+ name: string;
4317
+ market: {
4318
+ coingeckoId: string | undefined;
4319
+ marketCapUsd: {
4320
+ value: bigint;
4321
+ decimals: number;
4322
+ } | undefined;
4323
+ };
4324
+ updatedAt: number;
4325
+ icon?: string | undefined;
4326
+ priceDatasourceId?: string | undefined;
4327
+ }, {
4328
+ symbol: string;
4329
+ type: "CryptoCurrency";
4330
+ id: string;
4331
+ name: string;
4332
+ market: {
4333
+ coingeckoId?: string | undefined;
4334
+ marketCapUsd?: {
4335
+ value: bigint;
4336
+ decimals: number;
4337
+ } | undefined;
4338
+ };
4339
+ updatedAt: number;
4340
+ icon?: string | undefined;
4341
+ priceDatasourceId?: string | undefined;
4342
+ }>, {
4343
+ icon: string | undefined;
4344
+ priceDatasourceId: string | undefined;
4345
+ symbol: string;
4346
+ type: "CryptoCurrency";
4347
+ id: string;
4348
+ name: string;
4349
+ market: {
4350
+ coingeckoId: string | undefined;
4351
+ marketCapUsd: {
4352
+ value: bigint;
4353
+ decimals: number;
4354
+ } | undefined;
4355
+ };
4356
+ updatedAt: number;
4357
+ }, {
4358
+ symbol: string;
4359
+ type: "CryptoCurrency";
4360
+ id: string;
4361
+ name: string;
4362
+ market: {
4363
+ coingeckoId?: string | undefined;
4364
+ marketCapUsd?: {
4365
+ value: bigint;
4366
+ decimals: number;
4367
+ } | undefined;
4368
+ };
4369
+ updatedAt: number;
4370
+ icon?: string | undefined;
4371
+ priceDatasourceId?: string | undefined;
4372
+ }>, z.ZodEffects<z.ZodObject<{
4373
+ type: z.ZodLiteral<"FiatCurrency">;
4374
+ 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">]>;
4375
+ name: z.ZodString;
4376
+ symbol: z.ZodString;
4377
+ icon: z.ZodOptional<z.ZodString>;
4378
+ }, "strip", z.ZodTypeAny, {
4379
+ symbol: string;
4380
+ type: "FiatCurrency";
4381
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4382
+ name: string;
4383
+ icon?: string | undefined;
4384
+ }, {
4385
+ symbol: string;
4386
+ type: "FiatCurrency";
4387
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4388
+ name: string;
4389
+ icon?: string | undefined;
4390
+ }>, {
4391
+ icon: string | undefined;
4392
+ symbol: string;
4393
+ type: "FiatCurrency";
4394
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4395
+ name: string;
4396
+ }, {
4397
+ symbol: string;
4398
+ type: "FiatCurrency";
4399
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4400
+ name: string;
4401
+ icon?: string | undefined;
4402
+ }>, z.ZodEffects<z.ZodObject<{
4403
+ type: z.ZodLiteral<"Nft">;
4404
+ id: z.ZodString;
4405
+ name: z.ZodOptional<z.ZodString>;
4406
+ symbol: z.ZodOptional<z.ZodString>;
4407
+ image: z.ZodOptional<z.ZodString>;
4408
+ metadata: z.ZodOptional<z.ZodString>;
4409
+ updatedAt: z.ZodNumber;
4410
+ }, "strip", z.ZodTypeAny, {
4411
+ type: "Nft";
4412
+ id: string;
4413
+ updatedAt: number;
4414
+ symbol?: string | undefined;
4415
+ name?: string | undefined;
4416
+ image?: string | undefined;
4417
+ metadata?: string | undefined;
4418
+ }, {
4419
+ type: "Nft";
4420
+ id: string;
4421
+ updatedAt: number;
4422
+ symbol?: string | undefined;
4423
+ name?: string | undefined;
4424
+ image?: string | undefined;
4425
+ metadata?: string | undefined;
4426
+ }>, {
4427
+ name: string | undefined;
4428
+ symbol: string | undefined;
4429
+ image: string | undefined;
4430
+ metadata: string | undefined;
4431
+ type: "Nft";
4432
+ id: string;
4433
+ updatedAt: number;
4434
+ }, {
4435
+ type: "Nft";
4436
+ id: string;
4437
+ updatedAt: number;
4438
+ symbol?: string | undefined;
4439
+ name?: string | undefined;
4440
+ image?: string | undefined;
4441
+ metadata?: string | undefined;
4442
+ }>]>;
4443
+ amount: z.ZodObject<{
4444
+ value: z.ZodBigInt;
4445
+ decimals: z.ZodNumber;
4446
+ }, "strip", z.ZodTypeAny, {
4447
+ value: bigint;
4448
+ decimals: number;
4449
+ }, {
4450
+ value: bigint;
4451
+ decimals: number;
4452
+ }>;
1264
4453
  price: z.ZodOptional<z.ZodObject<{
1265
4454
  cryptoCurrencyId: z.ZodString;
1266
4455
  fiatCurrencyId: z.ZodString;
@@ -1292,19 +4481,9 @@ export declare const accountActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
1292
4481
  };
1293
4482
  timestamp: number;
1294
4483
  }>>;
1295
- from: z.ZodOptional<z.ZodString>;
1296
- to: z.ZodOptional<z.ZodString>;
1297
- amount: z.ZodObject<{
1298
- value: z.ZodBigInt;
1299
- decimals: z.ZodNumber;
1300
- }, "strip", z.ZodTypeAny, {
1301
- value: bigint;
1302
- decimals: number;
1303
- }, {
1304
- value: bigint;
1305
- decimals: number;
1306
- }>;
4484
+ }, {
1307
4485
  direction: z.ZodLiteral<"out">;
4486
+ }>, {
1308
4487
  asset: z.ZodEffects<z.ZodObject<{
1309
4488
  type: z.ZodLiteral<"CryptoCurrency">;
1310
4489
  id: z.ZodString;
@@ -1411,7 +4590,7 @@ export declare const accountActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
1411
4590
  icon?: string | undefined;
1412
4591
  priceDatasourceId?: string | undefined;
1413
4592
  }>;
1414
- }, "strip", z.ZodTypeAny, {
4593
+ }>, "strip", z.ZodTypeAny, {
1415
4594
  asset: {
1416
4595
  icon: string | undefined;
1417
4596
  priceDatasourceId: string | undefined;
@@ -1544,7 +4723,7 @@ export declare const accountActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
1544
4723
  from?: string | undefined;
1545
4724
  to?: string | undefined;
1546
4725
  }>]>, "many">;
1547
- }, "strip", z.ZodTypeAny, {
4726
+ }>, "strip", z.ZodTypeAny, {
1548
4727
  type: "NormalAccountAction";
1549
4728
  timestamp: number;
1550
4729
  order: number;
@@ -1706,9 +4885,9 @@ export declare const accountActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
1706
4885
  id: string;
1707
4886
  name: string;
1708
4887
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4888
+ icon?: string | undefined;
1709
4889
  description?: string | undefined;
1710
4890
  website?: string | undefined;
1711
- icon?: string | undefined;
1712
4891
  } | undefined;
1713
4892
  }>, {
1714
4893
  comment: string | undefined;
@@ -1872,9 +5051,9 @@ export declare const accountActionUnwrapSchema: z.ZodEffects<z.ZodObject<{
1872
5051
  id: string;
1873
5052
  name: string;
1874
5053
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
5054
+ icon?: string | undefined;
1875
5055
  description?: string | undefined;
1876
5056
  website?: string | undefined;
1877
- icon?: string | undefined;
1878
5057
  } | undefined;
1879
5058
  }>;
1880
5059
  //# sourceMappingURL=unwrap.d.ts.map