@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 normalActionApproveSchema: z.ZodEffects<z.ZodObject<{
2
+ export declare const normalActionApproveSchema: 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 normalActionApproveSchema: 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,13 +37,1245 @@ export declare const normalActionApproveSchema: 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
  }>>;
44
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
45
+ from: z.ZodOptional<z.ZodString>;
46
+ to: z.ZodOptional<z.ZodString>;
47
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
48
+ type: z.ZodLiteral<"CryptoCurrency">;
49
+ id: z.ZodString;
50
+ name: z.ZodString;
51
+ symbol: z.ZodString;
52
+ icon: z.ZodOptional<z.ZodString>;
53
+ market: z.ZodEffects<z.ZodObject<{
54
+ coingeckoId: z.ZodOptional<z.ZodString>;
55
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
56
+ value: z.ZodBigInt;
57
+ decimals: z.ZodNumber;
58
+ }, "strip", z.ZodTypeAny, {
59
+ value: bigint;
60
+ decimals: number;
61
+ }, {
62
+ value: bigint;
63
+ decimals: number;
64
+ }>>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ coingeckoId?: string | undefined;
67
+ marketCapUsd?: {
68
+ value: bigint;
69
+ decimals: number;
70
+ } | undefined;
71
+ }, {
72
+ coingeckoId?: string | undefined;
73
+ marketCapUsd?: {
74
+ value: bigint;
75
+ decimals: number;
76
+ } | undefined;
77
+ }>, {
78
+ coingeckoId: string | undefined;
79
+ marketCapUsd: {
80
+ value: bigint;
81
+ decimals: number;
82
+ } | undefined;
83
+ }, {
84
+ coingeckoId?: string | undefined;
85
+ marketCapUsd?: {
86
+ value: bigint;
87
+ decimals: number;
88
+ } | undefined;
89
+ }>;
90
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
91
+ updatedAt: z.ZodNumber;
92
+ }, "strip", z.ZodTypeAny, {
93
+ symbol: string;
94
+ type: "CryptoCurrency";
95
+ id: string;
96
+ name: string;
97
+ market: {
98
+ coingeckoId: string | undefined;
99
+ marketCapUsd: {
100
+ value: bigint;
101
+ decimals: number;
102
+ } | undefined;
103
+ };
104
+ updatedAt: number;
105
+ icon?: string | undefined;
106
+ priceDatasourceId?: string | undefined;
107
+ }, {
108
+ symbol: string;
109
+ type: "CryptoCurrency";
110
+ id: string;
111
+ name: string;
112
+ market: {
113
+ coingeckoId?: string | undefined;
114
+ marketCapUsd?: {
115
+ value: bigint;
116
+ decimals: number;
117
+ } | undefined;
118
+ };
119
+ updatedAt: number;
120
+ icon?: string | undefined;
121
+ priceDatasourceId?: string | undefined;
122
+ }>, {
123
+ icon: string | undefined;
124
+ priceDatasourceId: string | undefined;
125
+ symbol: string;
126
+ type: "CryptoCurrency";
127
+ id: string;
128
+ name: string;
129
+ market: {
130
+ coingeckoId: string | undefined;
131
+ marketCapUsd: {
132
+ value: bigint;
133
+ decimals: number;
134
+ } | undefined;
135
+ };
136
+ updatedAt: number;
137
+ }, {
138
+ symbol: string;
139
+ type: "CryptoCurrency";
140
+ id: string;
141
+ name: string;
142
+ market: {
143
+ coingeckoId?: string | undefined;
144
+ marketCapUsd?: {
145
+ value: bigint;
146
+ decimals: number;
147
+ } | undefined;
148
+ };
149
+ updatedAt: number;
150
+ icon?: string | undefined;
151
+ priceDatasourceId?: string | undefined;
152
+ }>, z.ZodEffects<z.ZodObject<{
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;
232
+ }>;
233
+ price: z.ZodOptional<z.ZodObject<{
234
+ cryptoCurrencyId: z.ZodString;
235
+ fiatCurrencyId: z.ZodString;
236
+ price: z.ZodObject<{
237
+ value: z.ZodBigInt;
238
+ decimals: z.ZodNumber;
239
+ }, "strip", z.ZodTypeAny, {
240
+ value: bigint;
241
+ decimals: number;
242
+ }, {
243
+ value: bigint;
244
+ decimals: number;
245
+ }>;
246
+ timestamp: z.ZodNumber;
247
+ }, "strip", z.ZodTypeAny, {
248
+ cryptoCurrencyId: string;
249
+ fiatCurrencyId: string;
250
+ price: {
251
+ value: bigint;
252
+ decimals: number;
253
+ };
254
+ timestamp: number;
255
+ }, {
256
+ cryptoCurrencyId: string;
257
+ fiatCurrencyId: string;
258
+ price: {
259
+ value: bigint;
260
+ decimals: number;
261
+ };
262
+ timestamp: number;
263
+ }>>;
264
+ }, {
265
+ direction: z.ZodLiteral<"in">;
266
+ }>, "strip", z.ZodTypeAny, {
267
+ asset: {
268
+ icon: string | undefined;
269
+ priceDatasourceId: string | undefined;
270
+ symbol: string;
271
+ type: "CryptoCurrency";
272
+ id: string;
273
+ name: string;
274
+ market: {
275
+ coingeckoId: string | undefined;
276
+ marketCapUsd: {
277
+ value: bigint;
278
+ decimals: number;
279
+ } | undefined;
280
+ };
281
+ updatedAt: number;
282
+ } | {
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;
296
+ };
297
+ amount: {
298
+ value: bigint;
299
+ decimals: number;
300
+ };
301
+ direction: "in";
302
+ price?: {
303
+ cryptoCurrencyId: string;
304
+ fiatCurrencyId: string;
305
+ price: {
306
+ value: bigint;
307
+ decimals: number;
308
+ };
309
+ timestamp: number;
310
+ } | undefined;
311
+ from?: string | undefined;
312
+ to?: string | undefined;
313
+ }, {
314
+ asset: {
315
+ symbol: string;
316
+ type: "CryptoCurrency";
317
+ id: string;
318
+ name: string;
319
+ market: {
320
+ coingeckoId?: string | undefined;
321
+ marketCapUsd?: {
322
+ value: bigint;
323
+ decimals: number;
324
+ } | undefined;
325
+ };
326
+ updatedAt: number;
327
+ icon?: string | undefined;
328
+ priceDatasourceId?: string | undefined;
329
+ } | {
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;
343
+ };
344
+ amount: {
345
+ value: bigint;
346
+ decimals: number;
347
+ };
348
+ direction: "in";
349
+ price?: {
350
+ cryptoCurrencyId: string;
351
+ fiatCurrencyId: string;
352
+ price: {
353
+ value: bigint;
354
+ decimals: number;
355
+ };
356
+ timestamp: number;
357
+ } | undefined;
358
+ from?: string | undefined;
359
+ to?: string | undefined;
360
+ }>, {
361
+ from: string | undefined;
362
+ to: string | undefined;
363
+ price: {
364
+ cryptoCurrencyId: string;
365
+ fiatCurrencyId: string;
366
+ price: {
367
+ value: bigint;
368
+ decimals: number;
369
+ };
370
+ timestamp: number;
371
+ } | undefined;
372
+ asset: {
373
+ icon: string | undefined;
374
+ priceDatasourceId: string | undefined;
375
+ symbol: string;
376
+ type: "CryptoCurrency";
377
+ id: string;
378
+ name: string;
379
+ market: {
380
+ coingeckoId: string | undefined;
381
+ marketCapUsd: {
382
+ value: bigint;
383
+ decimals: number;
384
+ } | undefined;
385
+ };
386
+ updatedAt: number;
387
+ } | {
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;
401
+ };
402
+ amount: {
403
+ value: bigint;
404
+ decimals: number;
405
+ };
406
+ direction: "in";
407
+ }, {
408
+ asset: {
409
+ symbol: string;
410
+ type: "CryptoCurrency";
411
+ id: string;
412
+ name: string;
413
+ market: {
414
+ coingeckoId?: string | undefined;
415
+ marketCapUsd?: {
416
+ value: bigint;
417
+ decimals: number;
418
+ } | undefined;
419
+ };
420
+ updatedAt: number;
421
+ icon?: string | undefined;
422
+ priceDatasourceId?: string | undefined;
423
+ } | {
424
+ symbol: string;
425
+ type: "FiatCurrency";
426
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
427
+ name: string;
428
+ icon?: string | undefined;
429
+ } | {
430
+ type: "Nft";
431
+ id: string;
432
+ updatedAt: number;
433
+ symbol?: string | undefined;
434
+ name?: string | undefined;
435
+ image?: string | undefined;
436
+ metadata?: string | undefined;
437
+ };
438
+ amount: {
439
+ value: bigint;
440
+ decimals: number;
441
+ };
442
+ direction: "in";
443
+ price?: {
444
+ cryptoCurrencyId: string;
445
+ fiatCurrencyId: string;
446
+ price: {
447
+ value: bigint;
448
+ decimals: number;
449
+ };
450
+ timestamp: number;
451
+ } | undefined;
452
+ from?: string | undefined;
453
+ to?: string | undefined;
454
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
455
+ from: z.ZodOptional<z.ZodString>;
456
+ to: z.ZodOptional<z.ZodString>;
457
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
458
+ type: z.ZodLiteral<"CryptoCurrency">;
459
+ id: z.ZodString;
460
+ name: z.ZodString;
461
+ symbol: z.ZodString;
462
+ icon: z.ZodOptional<z.ZodString>;
463
+ market: z.ZodEffects<z.ZodObject<{
464
+ coingeckoId: z.ZodOptional<z.ZodString>;
465
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
466
+ value: z.ZodBigInt;
467
+ decimals: z.ZodNumber;
468
+ }, "strip", z.ZodTypeAny, {
469
+ value: bigint;
470
+ decimals: number;
471
+ }, {
472
+ value: bigint;
473
+ decimals: number;
474
+ }>>;
475
+ }, "strip", z.ZodTypeAny, {
476
+ coingeckoId?: string | undefined;
477
+ marketCapUsd?: {
478
+ value: bigint;
479
+ decimals: number;
480
+ } | undefined;
481
+ }, {
482
+ coingeckoId?: string | undefined;
483
+ marketCapUsd?: {
484
+ value: bigint;
485
+ decimals: number;
486
+ } | undefined;
487
+ }>, {
488
+ coingeckoId: string | undefined;
489
+ marketCapUsd: {
490
+ value: bigint;
491
+ decimals: number;
492
+ } | undefined;
493
+ }, {
494
+ coingeckoId?: string | undefined;
495
+ marketCapUsd?: {
496
+ value: bigint;
497
+ decimals: number;
498
+ } | undefined;
499
+ }>;
500
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
501
+ updatedAt: z.ZodNumber;
502
+ }, "strip", z.ZodTypeAny, {
503
+ symbol: string;
504
+ type: "CryptoCurrency";
505
+ id: string;
506
+ name: string;
507
+ market: {
508
+ coingeckoId: string | undefined;
509
+ marketCapUsd: {
510
+ value: bigint;
511
+ decimals: number;
512
+ } | undefined;
513
+ };
514
+ updatedAt: number;
515
+ icon?: string | undefined;
516
+ priceDatasourceId?: string | undefined;
517
+ }, {
518
+ symbol: string;
519
+ type: "CryptoCurrency";
520
+ id: string;
521
+ name: string;
522
+ market: {
523
+ coingeckoId?: string | undefined;
524
+ marketCapUsd?: {
525
+ value: bigint;
526
+ decimals: number;
527
+ } | undefined;
528
+ };
529
+ updatedAt: number;
530
+ icon?: string | undefined;
531
+ priceDatasourceId?: string | undefined;
532
+ }>, {
533
+ icon: string | undefined;
534
+ priceDatasourceId: string | undefined;
535
+ symbol: string;
536
+ type: "CryptoCurrency";
537
+ id: string;
538
+ name: string;
539
+ market: {
540
+ coingeckoId: string | undefined;
541
+ marketCapUsd: {
542
+ value: bigint;
543
+ decimals: number;
544
+ } | undefined;
545
+ };
546
+ updatedAt: number;
547
+ }, {
548
+ symbol: string;
549
+ type: "CryptoCurrency";
550
+ id: string;
551
+ name: string;
552
+ market: {
553
+ coingeckoId?: string | undefined;
554
+ marketCapUsd?: {
555
+ value: bigint;
556
+ decimals: number;
557
+ } | undefined;
558
+ };
559
+ updatedAt: number;
560
+ icon?: string | undefined;
561
+ priceDatasourceId?: string | undefined;
562
+ }>, z.ZodEffects<z.ZodObject<{
563
+ type: z.ZodLiteral<"FiatCurrency">;
564
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
565
+ name: z.ZodString;
566
+ symbol: z.ZodString;
567
+ icon: z.ZodOptional<z.ZodString>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ symbol: string;
570
+ type: "FiatCurrency";
571
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
572
+ name: string;
573
+ icon?: string | undefined;
574
+ }, {
575
+ symbol: string;
576
+ type: "FiatCurrency";
577
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
578
+ name: string;
579
+ icon?: string | undefined;
580
+ }>, {
581
+ icon: string | undefined;
582
+ symbol: string;
583
+ type: "FiatCurrency";
584
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
585
+ name: string;
586
+ }, {
587
+ symbol: string;
588
+ type: "FiatCurrency";
589
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
590
+ name: string;
591
+ icon?: string | undefined;
592
+ }>, z.ZodEffects<z.ZodObject<{
593
+ type: z.ZodLiteral<"Nft">;
594
+ id: z.ZodString;
595
+ name: z.ZodOptional<z.ZodString>;
596
+ symbol: z.ZodOptional<z.ZodString>;
597
+ image: z.ZodOptional<z.ZodString>;
598
+ metadata: z.ZodOptional<z.ZodString>;
599
+ updatedAt: z.ZodNumber;
600
+ }, "strip", z.ZodTypeAny, {
601
+ type: "Nft";
602
+ id: string;
603
+ updatedAt: number;
604
+ symbol?: string | undefined;
605
+ name?: string | undefined;
606
+ image?: string | undefined;
607
+ metadata?: string | undefined;
608
+ }, {
609
+ type: "Nft";
610
+ id: string;
611
+ updatedAt: number;
612
+ symbol?: string | undefined;
613
+ name?: string | undefined;
614
+ image?: string | undefined;
615
+ metadata?: string | undefined;
616
+ }>, {
617
+ name: string | undefined;
618
+ symbol: string | undefined;
619
+ image: string | undefined;
620
+ metadata: string | undefined;
621
+ type: "Nft";
622
+ id: string;
623
+ updatedAt: number;
624
+ }, {
625
+ type: "Nft";
626
+ id: string;
627
+ updatedAt: number;
628
+ symbol?: string | undefined;
629
+ name?: string | undefined;
630
+ image?: string | undefined;
631
+ metadata?: string | undefined;
632
+ }>]>;
633
+ amount: z.ZodObject<{
634
+ value: z.ZodBigInt;
635
+ decimals: z.ZodNumber;
636
+ }, "strip", z.ZodTypeAny, {
637
+ value: bigint;
638
+ decimals: number;
639
+ }, {
640
+ value: bigint;
641
+ decimals: number;
642
+ }>;
643
+ price: z.ZodOptional<z.ZodObject<{
644
+ cryptoCurrencyId: z.ZodString;
645
+ fiatCurrencyId: z.ZodString;
646
+ price: z.ZodObject<{
647
+ value: z.ZodBigInt;
648
+ decimals: z.ZodNumber;
649
+ }, "strip", z.ZodTypeAny, {
650
+ value: bigint;
651
+ decimals: number;
652
+ }, {
653
+ value: bigint;
654
+ decimals: number;
655
+ }>;
656
+ timestamp: z.ZodNumber;
657
+ }, "strip", z.ZodTypeAny, {
658
+ cryptoCurrencyId: string;
659
+ fiatCurrencyId: string;
660
+ price: {
661
+ value: bigint;
662
+ decimals: number;
663
+ };
664
+ timestamp: number;
665
+ }, {
666
+ cryptoCurrencyId: string;
667
+ fiatCurrencyId: string;
668
+ price: {
669
+ value: bigint;
670
+ decimals: number;
671
+ };
672
+ timestamp: number;
673
+ }>>;
674
+ }, {
675
+ direction: z.ZodLiteral<"out">;
676
+ }>, "strip", z.ZodTypeAny, {
677
+ asset: {
678
+ icon: string | undefined;
679
+ priceDatasourceId: string | undefined;
680
+ symbol: string;
681
+ type: "CryptoCurrency";
682
+ id: string;
683
+ name: string;
684
+ market: {
685
+ coingeckoId: string | undefined;
686
+ marketCapUsd: {
687
+ value: bigint;
688
+ decimals: number;
689
+ } | undefined;
690
+ };
691
+ updatedAt: number;
692
+ } | {
693
+ icon: string | undefined;
694
+ symbol: string;
695
+ type: "FiatCurrency";
696
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
697
+ name: string;
698
+ } | {
699
+ name: string | undefined;
700
+ symbol: string | undefined;
701
+ image: string | undefined;
702
+ metadata: string | undefined;
703
+ type: "Nft";
704
+ id: string;
705
+ updatedAt: number;
706
+ };
707
+ amount: {
708
+ value: bigint;
709
+ decimals: number;
710
+ };
711
+ direction: "out";
712
+ price?: {
713
+ cryptoCurrencyId: string;
714
+ fiatCurrencyId: string;
715
+ price: {
716
+ value: bigint;
717
+ decimals: number;
718
+ };
719
+ timestamp: number;
720
+ } | undefined;
721
+ from?: string | undefined;
722
+ to?: string | undefined;
723
+ }, {
724
+ asset: {
725
+ symbol: string;
726
+ type: "CryptoCurrency";
727
+ id: string;
728
+ name: string;
729
+ market: {
730
+ coingeckoId?: string | undefined;
731
+ marketCapUsd?: {
732
+ value: bigint;
733
+ decimals: number;
734
+ } | undefined;
735
+ };
736
+ updatedAt: number;
737
+ icon?: string | undefined;
738
+ priceDatasourceId?: string | undefined;
739
+ } | {
740
+ symbol: string;
741
+ type: "FiatCurrency";
742
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
743
+ name: string;
744
+ icon?: string | undefined;
745
+ } | {
746
+ type: "Nft";
747
+ id: string;
748
+ updatedAt: number;
749
+ symbol?: string | undefined;
750
+ name?: string | undefined;
751
+ image?: string | undefined;
752
+ metadata?: string | undefined;
753
+ };
754
+ amount: {
755
+ value: bigint;
756
+ decimals: number;
757
+ };
758
+ direction: "out";
759
+ price?: {
760
+ cryptoCurrencyId: string;
761
+ fiatCurrencyId: string;
762
+ price: {
763
+ value: bigint;
764
+ decimals: number;
765
+ };
766
+ timestamp: number;
767
+ } | undefined;
768
+ from?: string | undefined;
769
+ to?: string | undefined;
770
+ }>, {
771
+ from: string | undefined;
772
+ to: string | undefined;
773
+ price: {
774
+ cryptoCurrencyId: string;
775
+ fiatCurrencyId: string;
776
+ price: {
777
+ value: bigint;
778
+ decimals: number;
779
+ };
780
+ timestamp: number;
781
+ } | undefined;
782
+ asset: {
783
+ icon: string | undefined;
784
+ priceDatasourceId: string | undefined;
785
+ symbol: string;
786
+ type: "CryptoCurrency";
787
+ id: string;
788
+ name: string;
789
+ market: {
790
+ coingeckoId: string | undefined;
791
+ marketCapUsd: {
792
+ value: bigint;
793
+ decimals: number;
794
+ } | undefined;
795
+ };
796
+ updatedAt: number;
797
+ } | {
798
+ icon: string | undefined;
799
+ symbol: string;
800
+ type: "FiatCurrency";
801
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
802
+ name: string;
803
+ } | {
804
+ name: string | undefined;
805
+ symbol: string | undefined;
806
+ image: string | undefined;
807
+ metadata: string | undefined;
808
+ type: "Nft";
809
+ id: string;
810
+ updatedAt: number;
811
+ };
812
+ amount: {
813
+ value: bigint;
814
+ decimals: number;
815
+ };
816
+ direction: "out";
817
+ }, {
818
+ asset: {
819
+ symbol: string;
820
+ type: "CryptoCurrency";
821
+ id: string;
822
+ name: string;
823
+ market: {
824
+ coingeckoId?: string | undefined;
825
+ marketCapUsd?: {
826
+ value: bigint;
827
+ decimals: number;
828
+ } | undefined;
829
+ };
830
+ updatedAt: number;
831
+ icon?: string | undefined;
832
+ priceDatasourceId?: string | undefined;
833
+ } | {
834
+ symbol: string;
835
+ type: "FiatCurrency";
836
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
837
+ name: string;
838
+ icon?: string | undefined;
839
+ } | {
840
+ type: "Nft";
841
+ id: string;
842
+ updatedAt: number;
843
+ symbol?: string | undefined;
844
+ name?: string | undefined;
845
+ image?: string | undefined;
846
+ metadata?: string | undefined;
847
+ };
848
+ amount: {
849
+ value: bigint;
850
+ decimals: number;
851
+ };
852
+ direction: "out";
853
+ price?: {
854
+ cryptoCurrencyId: string;
855
+ fiatCurrencyId: string;
856
+ price: {
857
+ value: bigint;
858
+ decimals: number;
859
+ };
860
+ timestamp: number;
861
+ } | undefined;
862
+ from?: string | undefined;
863
+ to?: string | undefined;
864
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
865
+ from: z.ZodOptional<z.ZodString>;
866
+ to: z.ZodOptional<z.ZodString>;
867
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
868
+ type: z.ZodLiteral<"CryptoCurrency">;
869
+ id: z.ZodString;
870
+ name: z.ZodString;
871
+ symbol: z.ZodString;
872
+ icon: z.ZodOptional<z.ZodString>;
873
+ market: z.ZodEffects<z.ZodObject<{
874
+ coingeckoId: z.ZodOptional<z.ZodString>;
875
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
876
+ value: z.ZodBigInt;
877
+ decimals: z.ZodNumber;
878
+ }, "strip", z.ZodTypeAny, {
879
+ value: bigint;
880
+ decimals: number;
881
+ }, {
882
+ value: bigint;
883
+ decimals: number;
884
+ }>>;
885
+ }, "strip", z.ZodTypeAny, {
886
+ coingeckoId?: string | undefined;
887
+ marketCapUsd?: {
888
+ value: bigint;
889
+ decimals: number;
890
+ } | undefined;
891
+ }, {
892
+ coingeckoId?: string | undefined;
893
+ marketCapUsd?: {
894
+ value: bigint;
895
+ decimals: number;
896
+ } | undefined;
897
+ }>, {
898
+ coingeckoId: string | undefined;
899
+ marketCapUsd: {
900
+ value: bigint;
901
+ decimals: number;
902
+ } | undefined;
903
+ }, {
904
+ coingeckoId?: string | undefined;
905
+ marketCapUsd?: {
906
+ value: bigint;
907
+ decimals: number;
908
+ } | undefined;
909
+ }>;
910
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
911
+ updatedAt: z.ZodNumber;
912
+ }, "strip", z.ZodTypeAny, {
913
+ symbol: string;
914
+ type: "CryptoCurrency";
915
+ id: string;
916
+ name: string;
917
+ market: {
918
+ coingeckoId: string | undefined;
919
+ marketCapUsd: {
920
+ value: bigint;
921
+ decimals: number;
922
+ } | undefined;
923
+ };
924
+ updatedAt: number;
925
+ icon?: string | undefined;
926
+ priceDatasourceId?: string | undefined;
927
+ }, {
928
+ symbol: string;
929
+ type: "CryptoCurrency";
930
+ id: string;
931
+ name: string;
932
+ market: {
933
+ coingeckoId?: string | undefined;
934
+ marketCapUsd?: {
935
+ value: bigint;
936
+ decimals: number;
937
+ } | undefined;
938
+ };
939
+ updatedAt: number;
940
+ icon?: string | undefined;
941
+ priceDatasourceId?: string | undefined;
942
+ }>, {
943
+ icon: string | undefined;
944
+ priceDatasourceId: string | undefined;
945
+ symbol: string;
946
+ type: "CryptoCurrency";
947
+ id: string;
948
+ name: string;
949
+ market: {
950
+ coingeckoId: string | undefined;
951
+ marketCapUsd: {
952
+ value: bigint;
953
+ decimals: number;
954
+ } | undefined;
955
+ };
956
+ updatedAt: number;
957
+ }, {
958
+ symbol: string;
959
+ type: "CryptoCurrency";
960
+ id: string;
961
+ name: string;
962
+ market: {
963
+ coingeckoId?: string | undefined;
964
+ marketCapUsd?: {
965
+ value: bigint;
966
+ decimals: number;
967
+ } | undefined;
968
+ };
969
+ updatedAt: number;
970
+ icon?: string | undefined;
971
+ priceDatasourceId?: string | undefined;
972
+ }>, z.ZodEffects<z.ZodObject<{
973
+ type: z.ZodLiteral<"FiatCurrency">;
974
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
975
+ name: z.ZodString;
976
+ symbol: z.ZodString;
977
+ icon: z.ZodOptional<z.ZodString>;
978
+ }, "strip", z.ZodTypeAny, {
979
+ symbol: string;
980
+ type: "FiatCurrency";
981
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
982
+ name: string;
983
+ icon?: string | undefined;
984
+ }, {
985
+ symbol: string;
986
+ type: "FiatCurrency";
987
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
988
+ name: string;
989
+ icon?: string | undefined;
990
+ }>, {
991
+ icon: string | undefined;
992
+ symbol: string;
993
+ type: "FiatCurrency";
994
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
995
+ name: string;
996
+ }, {
997
+ symbol: string;
998
+ type: "FiatCurrency";
999
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1000
+ name: string;
1001
+ icon?: string | undefined;
1002
+ }>, z.ZodEffects<z.ZodObject<{
1003
+ type: z.ZodLiteral<"Nft">;
1004
+ id: z.ZodString;
1005
+ name: z.ZodOptional<z.ZodString>;
1006
+ symbol: z.ZodOptional<z.ZodString>;
1007
+ image: z.ZodOptional<z.ZodString>;
1008
+ metadata: z.ZodOptional<z.ZodString>;
1009
+ updatedAt: z.ZodNumber;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ type: "Nft";
1012
+ id: string;
1013
+ updatedAt: number;
1014
+ symbol?: string | undefined;
1015
+ name?: string | undefined;
1016
+ image?: string | undefined;
1017
+ metadata?: string | undefined;
1018
+ }, {
1019
+ type: "Nft";
1020
+ id: string;
1021
+ updatedAt: number;
1022
+ symbol?: string | undefined;
1023
+ name?: string | undefined;
1024
+ image?: string | undefined;
1025
+ metadata?: string | undefined;
1026
+ }>, {
1027
+ name: string | undefined;
1028
+ symbol: string | undefined;
1029
+ image: string | undefined;
1030
+ metadata: string | undefined;
1031
+ type: "Nft";
1032
+ id: string;
1033
+ updatedAt: number;
1034
+ }, {
1035
+ type: "Nft";
1036
+ id: string;
1037
+ updatedAt: number;
1038
+ symbol?: string | undefined;
1039
+ name?: string | undefined;
1040
+ image?: string | undefined;
1041
+ metadata?: string | undefined;
1042
+ }>]>;
1043
+ amount: z.ZodObject<{
1044
+ value: z.ZodBigInt;
1045
+ decimals: z.ZodNumber;
1046
+ }, "strip", z.ZodTypeAny, {
1047
+ value: bigint;
1048
+ decimals: number;
1049
+ }, {
1050
+ value: bigint;
1051
+ decimals: number;
1052
+ }>;
1053
+ price: z.ZodOptional<z.ZodObject<{
1054
+ cryptoCurrencyId: z.ZodString;
1055
+ fiatCurrencyId: z.ZodString;
1056
+ price: z.ZodObject<{
1057
+ value: z.ZodBigInt;
1058
+ decimals: z.ZodNumber;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ value: bigint;
1061
+ decimals: number;
1062
+ }, {
1063
+ value: bigint;
1064
+ decimals: number;
1065
+ }>;
1066
+ timestamp: z.ZodNumber;
1067
+ }, "strip", z.ZodTypeAny, {
1068
+ cryptoCurrencyId: string;
1069
+ fiatCurrencyId: string;
1070
+ price: {
1071
+ value: bigint;
1072
+ decimals: number;
1073
+ };
1074
+ timestamp: number;
1075
+ }, {
1076
+ cryptoCurrencyId: string;
1077
+ fiatCurrencyId: string;
1078
+ price: {
1079
+ value: bigint;
1080
+ decimals: number;
1081
+ };
1082
+ timestamp: number;
1083
+ }>>;
1084
+ }, {
1085
+ direction: z.ZodLiteral<"none">;
1086
+ }>, "strip", z.ZodTypeAny, {
1087
+ asset: {
1088
+ icon: string | undefined;
1089
+ priceDatasourceId: string | undefined;
1090
+ symbol: string;
1091
+ type: "CryptoCurrency";
1092
+ id: string;
1093
+ name: string;
1094
+ market: {
1095
+ coingeckoId: string | undefined;
1096
+ marketCapUsd: {
1097
+ value: bigint;
1098
+ decimals: number;
1099
+ } | undefined;
1100
+ };
1101
+ updatedAt: number;
1102
+ } | {
1103
+ icon: string | undefined;
1104
+ symbol: string;
1105
+ type: "FiatCurrency";
1106
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1107
+ name: string;
1108
+ } | {
1109
+ name: string | undefined;
1110
+ symbol: string | undefined;
1111
+ image: string | undefined;
1112
+ metadata: string | undefined;
1113
+ type: "Nft";
1114
+ id: string;
1115
+ updatedAt: number;
1116
+ };
1117
+ amount: {
1118
+ value: bigint;
1119
+ decimals: number;
1120
+ };
1121
+ direction: "none";
1122
+ price?: {
1123
+ cryptoCurrencyId: string;
1124
+ fiatCurrencyId: string;
1125
+ price: {
1126
+ value: bigint;
1127
+ decimals: number;
1128
+ };
1129
+ timestamp: number;
1130
+ } | undefined;
1131
+ from?: string | undefined;
1132
+ to?: string | undefined;
1133
+ }, {
1134
+ asset: {
1135
+ symbol: string;
1136
+ type: "CryptoCurrency";
1137
+ id: string;
1138
+ name: string;
1139
+ market: {
1140
+ coingeckoId?: string | undefined;
1141
+ marketCapUsd?: {
1142
+ value: bigint;
1143
+ decimals: number;
1144
+ } | undefined;
1145
+ };
1146
+ updatedAt: number;
1147
+ icon?: string | undefined;
1148
+ priceDatasourceId?: string | undefined;
1149
+ } | {
1150
+ symbol: string;
1151
+ type: "FiatCurrency";
1152
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1153
+ name: string;
1154
+ icon?: string | undefined;
1155
+ } | {
1156
+ type: "Nft";
1157
+ id: string;
1158
+ updatedAt: number;
1159
+ symbol?: string | undefined;
1160
+ name?: string | undefined;
1161
+ image?: string | undefined;
1162
+ metadata?: string | undefined;
1163
+ };
1164
+ amount: {
1165
+ value: bigint;
1166
+ decimals: number;
1167
+ };
1168
+ direction: "none";
1169
+ price?: {
1170
+ cryptoCurrencyId: string;
1171
+ fiatCurrencyId: string;
1172
+ price: {
1173
+ value: bigint;
1174
+ decimals: number;
1175
+ };
1176
+ timestamp: number;
1177
+ } | undefined;
1178
+ from?: string | undefined;
1179
+ to?: string | undefined;
1180
+ }>, {
1181
+ from: string | undefined;
1182
+ to: string | undefined;
1183
+ price: {
1184
+ cryptoCurrencyId: string;
1185
+ fiatCurrencyId: string;
1186
+ price: {
1187
+ value: bigint;
1188
+ decimals: number;
1189
+ };
1190
+ timestamp: number;
1191
+ } | undefined;
1192
+ asset: {
1193
+ icon: string | undefined;
1194
+ priceDatasourceId: string | undefined;
1195
+ symbol: string;
1196
+ type: "CryptoCurrency";
1197
+ id: string;
1198
+ name: string;
1199
+ market: {
1200
+ coingeckoId: string | undefined;
1201
+ marketCapUsd: {
1202
+ value: bigint;
1203
+ decimals: number;
1204
+ } | undefined;
1205
+ };
1206
+ updatedAt: number;
1207
+ } | {
1208
+ icon: string | undefined;
1209
+ symbol: string;
1210
+ type: "FiatCurrency";
1211
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1212
+ name: string;
1213
+ } | {
1214
+ name: string | undefined;
1215
+ symbol: string | undefined;
1216
+ image: string | undefined;
1217
+ metadata: string | undefined;
1218
+ type: "Nft";
1219
+ id: string;
1220
+ updatedAt: number;
1221
+ };
1222
+ amount: {
1223
+ value: bigint;
1224
+ decimals: number;
1225
+ };
1226
+ direction: "none";
1227
+ }, {
1228
+ asset: {
1229
+ symbol: string;
1230
+ type: "CryptoCurrency";
1231
+ id: string;
1232
+ name: string;
1233
+ market: {
1234
+ coingeckoId?: string | undefined;
1235
+ marketCapUsd?: {
1236
+ value: bigint;
1237
+ decimals: number;
1238
+ } | undefined;
1239
+ };
1240
+ updatedAt: number;
1241
+ icon?: string | undefined;
1242
+ priceDatasourceId?: string | undefined;
1243
+ } | {
1244
+ symbol: string;
1245
+ type: "FiatCurrency";
1246
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1247
+ name: string;
1248
+ icon?: string | undefined;
1249
+ } | {
1250
+ type: "Nft";
1251
+ id: string;
1252
+ updatedAt: number;
1253
+ symbol?: string | undefined;
1254
+ name?: string | undefined;
1255
+ image?: string | undefined;
1256
+ metadata?: string | undefined;
1257
+ };
1258
+ amount: {
1259
+ value: bigint;
1260
+ decimals: number;
1261
+ };
1262
+ direction: "none";
1263
+ price?: {
1264
+ cryptoCurrencyId: string;
1265
+ fiatCurrencyId: string;
1266
+ price: {
1267
+ value: bigint;
1268
+ decimals: number;
1269
+ };
1270
+ timestamp: number;
1271
+ } | undefined;
1272
+ from?: string | undefined;
1273
+ to?: string | undefined;
1274
+ }>]>, "many">;
1275
+ }, {
43
1276
  action: z.ZodLiteral<"approve">;
44
1277
  transfers: z.ZodTuple<[], null>;
45
- }, "strip", z.ZodTypeAny, {
1278
+ }>, "strip", z.ZodTypeAny, {
46
1279
  type: "NormalAction";
47
1280
  timestamp: number;
48
1281
  action: "approve";
@@ -68,9 +1301,9 @@ export declare const normalActionApproveSchema: z.ZodEffects<z.ZodObject<{
68
1301
  id: string;
69
1302
  name: string;
70
1303
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1304
+ icon?: string | undefined;
71
1305
  description?: string | undefined;
72
1306
  website?: string | undefined;
73
- icon?: string | undefined;
74
1307
  } | undefined;
75
1308
  }>, {
76
1309
  comment: string | undefined;
@@ -98,17 +1331,17 @@ export declare const normalActionApproveSchema: z.ZodEffects<z.ZodObject<{
98
1331
  id: string;
99
1332
  name: string;
100
1333
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1334
+ icon?: string | undefined;
101
1335
  description?: string | undefined;
102
1336
  website?: string | undefined;
103
- icon?: string | undefined;
104
1337
  } | undefined;
105
1338
  }>;
106
- export declare const accountActionApproveSchema: z.ZodEffects<z.ZodObject<{
107
- type: z.ZodLiteral<"NormalAccountAction">;
108
- timestamp: z.ZodNumber;
109
- order: z.ZodNumber;
1339
+ export declare const accountActionApproveSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1340
+ 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">]>;
110
1341
  source: z.ZodString;
111
1342
  evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
1343
+ timestamp: z.ZodNumber;
1344
+ order: z.ZodNumber;
112
1345
  comment: z.ZodOptional<z.ZodString>;
113
1346
  app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
114
1347
  id: z.ZodString;
@@ -121,16 +1354,16 @@ export declare const accountActionApproveSchema: z.ZodEffects<z.ZodObject<{
121
1354
  id: string;
122
1355
  name: string;
123
1356
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1357
+ icon?: string | undefined;
124
1358
  description?: string | undefined;
125
1359
  website?: string | undefined;
126
- icon?: string | undefined;
127
1360
  }, {
128
1361
  id: string;
129
1362
  name: string;
130
1363
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1364
+ icon?: string | undefined;
131
1365
  description?: string | undefined;
132
1366
  website?: string | undefined;
133
- icon?: string | undefined;
134
1367
  }>, {
135
1368
  description: string | undefined;
136
1369
  website: string | undefined;
@@ -142,13 +1375,1247 @@ export declare const accountActionApproveSchema: z.ZodEffects<z.ZodObject<{
142
1375
  id: string;
143
1376
  name: string;
144
1377
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1378
+ icon?: string | undefined;
145
1379
  description?: string | undefined;
146
1380
  website?: string | undefined;
147
- icon?: string | undefined;
148
1381
  }>>;
1382
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1383
+ from: z.ZodOptional<z.ZodString>;
1384
+ to: z.ZodOptional<z.ZodString>;
1385
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1386
+ type: z.ZodLiteral<"CryptoCurrency">;
1387
+ id: z.ZodString;
1388
+ name: z.ZodString;
1389
+ symbol: z.ZodString;
1390
+ icon: z.ZodOptional<z.ZodString>;
1391
+ market: z.ZodEffects<z.ZodObject<{
1392
+ coingeckoId: z.ZodOptional<z.ZodString>;
1393
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1394
+ value: z.ZodBigInt;
1395
+ decimals: z.ZodNumber;
1396
+ }, "strip", z.ZodTypeAny, {
1397
+ value: bigint;
1398
+ decimals: number;
1399
+ }, {
1400
+ value: bigint;
1401
+ decimals: number;
1402
+ }>>;
1403
+ }, "strip", z.ZodTypeAny, {
1404
+ coingeckoId?: string | undefined;
1405
+ marketCapUsd?: {
1406
+ value: bigint;
1407
+ decimals: number;
1408
+ } | undefined;
1409
+ }, {
1410
+ coingeckoId?: string | undefined;
1411
+ marketCapUsd?: {
1412
+ value: bigint;
1413
+ decimals: number;
1414
+ } | undefined;
1415
+ }>, {
1416
+ coingeckoId: string | undefined;
1417
+ marketCapUsd: {
1418
+ value: bigint;
1419
+ decimals: number;
1420
+ } | undefined;
1421
+ }, {
1422
+ coingeckoId?: string | undefined;
1423
+ marketCapUsd?: {
1424
+ value: bigint;
1425
+ decimals: number;
1426
+ } | undefined;
1427
+ }>;
1428
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1429
+ updatedAt: z.ZodNumber;
1430
+ }, "strip", z.ZodTypeAny, {
1431
+ symbol: string;
1432
+ type: "CryptoCurrency";
1433
+ id: string;
1434
+ name: string;
1435
+ market: {
1436
+ coingeckoId: string | undefined;
1437
+ marketCapUsd: {
1438
+ value: bigint;
1439
+ decimals: number;
1440
+ } | undefined;
1441
+ };
1442
+ updatedAt: number;
1443
+ icon?: string | undefined;
1444
+ priceDatasourceId?: string | undefined;
1445
+ }, {
1446
+ symbol: string;
1447
+ type: "CryptoCurrency";
1448
+ id: string;
1449
+ name: string;
1450
+ market: {
1451
+ coingeckoId?: string | undefined;
1452
+ marketCapUsd?: {
1453
+ value: bigint;
1454
+ decimals: number;
1455
+ } | undefined;
1456
+ };
1457
+ updatedAt: number;
1458
+ icon?: string | undefined;
1459
+ priceDatasourceId?: string | undefined;
1460
+ }>, {
1461
+ icon: string | undefined;
1462
+ priceDatasourceId: string | undefined;
1463
+ symbol: string;
1464
+ type: "CryptoCurrency";
1465
+ id: string;
1466
+ name: string;
1467
+ market: {
1468
+ coingeckoId: string | undefined;
1469
+ marketCapUsd: {
1470
+ value: bigint;
1471
+ decimals: number;
1472
+ } | undefined;
1473
+ };
1474
+ updatedAt: number;
1475
+ }, {
1476
+ symbol: string;
1477
+ type: "CryptoCurrency";
1478
+ id: string;
1479
+ name: string;
1480
+ market: {
1481
+ coingeckoId?: string | undefined;
1482
+ marketCapUsd?: {
1483
+ value: bigint;
1484
+ decimals: number;
1485
+ } | undefined;
1486
+ };
1487
+ updatedAt: number;
1488
+ icon?: string | undefined;
1489
+ priceDatasourceId?: string | undefined;
1490
+ }>, z.ZodEffects<z.ZodObject<{
1491
+ type: z.ZodLiteral<"FiatCurrency">;
1492
+ 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">]>;
1493
+ name: z.ZodString;
1494
+ symbol: z.ZodString;
1495
+ icon: z.ZodOptional<z.ZodString>;
1496
+ }, "strip", z.ZodTypeAny, {
1497
+ symbol: string;
1498
+ type: "FiatCurrency";
1499
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1500
+ name: string;
1501
+ icon?: string | undefined;
1502
+ }, {
1503
+ symbol: string;
1504
+ type: "FiatCurrency";
1505
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1506
+ name: string;
1507
+ icon?: string | undefined;
1508
+ }>, {
1509
+ icon: string | undefined;
1510
+ symbol: string;
1511
+ type: "FiatCurrency";
1512
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1513
+ name: string;
1514
+ }, {
1515
+ symbol: string;
1516
+ type: "FiatCurrency";
1517
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1518
+ name: string;
1519
+ icon?: string | undefined;
1520
+ }>, z.ZodEffects<z.ZodObject<{
1521
+ type: z.ZodLiteral<"Nft">;
1522
+ id: z.ZodString;
1523
+ name: z.ZodOptional<z.ZodString>;
1524
+ symbol: z.ZodOptional<z.ZodString>;
1525
+ image: z.ZodOptional<z.ZodString>;
1526
+ metadata: z.ZodOptional<z.ZodString>;
1527
+ updatedAt: z.ZodNumber;
1528
+ }, "strip", z.ZodTypeAny, {
1529
+ type: "Nft";
1530
+ id: string;
1531
+ updatedAt: number;
1532
+ symbol?: string | undefined;
1533
+ name?: string | undefined;
1534
+ image?: string | undefined;
1535
+ metadata?: string | undefined;
1536
+ }, {
1537
+ type: "Nft";
1538
+ id: string;
1539
+ updatedAt: number;
1540
+ symbol?: string | undefined;
1541
+ name?: string | undefined;
1542
+ image?: string | undefined;
1543
+ metadata?: string | undefined;
1544
+ }>, {
1545
+ name: string | undefined;
1546
+ symbol: string | undefined;
1547
+ image: string | undefined;
1548
+ metadata: string | undefined;
1549
+ type: "Nft";
1550
+ id: string;
1551
+ updatedAt: number;
1552
+ }, {
1553
+ type: "Nft";
1554
+ id: string;
1555
+ updatedAt: number;
1556
+ symbol?: string | undefined;
1557
+ name?: string | undefined;
1558
+ image?: string | undefined;
1559
+ metadata?: string | undefined;
1560
+ }>]>;
1561
+ amount: z.ZodObject<{
1562
+ value: z.ZodBigInt;
1563
+ decimals: z.ZodNumber;
1564
+ }, "strip", z.ZodTypeAny, {
1565
+ value: bigint;
1566
+ decimals: number;
1567
+ }, {
1568
+ value: bigint;
1569
+ decimals: number;
1570
+ }>;
1571
+ price: z.ZodOptional<z.ZodObject<{
1572
+ cryptoCurrencyId: z.ZodString;
1573
+ fiatCurrencyId: z.ZodString;
1574
+ price: z.ZodObject<{
1575
+ value: z.ZodBigInt;
1576
+ decimals: z.ZodNumber;
1577
+ }, "strip", z.ZodTypeAny, {
1578
+ value: bigint;
1579
+ decimals: number;
1580
+ }, {
1581
+ value: bigint;
1582
+ decimals: number;
1583
+ }>;
1584
+ timestamp: z.ZodNumber;
1585
+ }, "strip", z.ZodTypeAny, {
1586
+ cryptoCurrencyId: string;
1587
+ fiatCurrencyId: string;
1588
+ price: {
1589
+ value: bigint;
1590
+ decimals: number;
1591
+ };
1592
+ timestamp: number;
1593
+ }, {
1594
+ cryptoCurrencyId: string;
1595
+ fiatCurrencyId: string;
1596
+ price: {
1597
+ value: bigint;
1598
+ decimals: number;
1599
+ };
1600
+ timestamp: number;
1601
+ }>>;
1602
+ }, {
1603
+ direction: z.ZodLiteral<"in">;
1604
+ }>, "strip", z.ZodTypeAny, {
1605
+ asset: {
1606
+ icon: string | undefined;
1607
+ priceDatasourceId: string | undefined;
1608
+ symbol: string;
1609
+ type: "CryptoCurrency";
1610
+ id: string;
1611
+ name: string;
1612
+ market: {
1613
+ coingeckoId: string | undefined;
1614
+ marketCapUsd: {
1615
+ value: bigint;
1616
+ decimals: number;
1617
+ } | undefined;
1618
+ };
1619
+ updatedAt: number;
1620
+ } | {
1621
+ icon: string | undefined;
1622
+ symbol: string;
1623
+ type: "FiatCurrency";
1624
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1625
+ name: string;
1626
+ } | {
1627
+ name: string | undefined;
1628
+ symbol: string | undefined;
1629
+ image: string | undefined;
1630
+ metadata: string | undefined;
1631
+ type: "Nft";
1632
+ id: string;
1633
+ updatedAt: number;
1634
+ };
1635
+ amount: {
1636
+ value: bigint;
1637
+ decimals: number;
1638
+ };
1639
+ direction: "in";
1640
+ price?: {
1641
+ cryptoCurrencyId: string;
1642
+ fiatCurrencyId: string;
1643
+ price: {
1644
+ value: bigint;
1645
+ decimals: number;
1646
+ };
1647
+ timestamp: number;
1648
+ } | undefined;
1649
+ from?: string | undefined;
1650
+ to?: string | undefined;
1651
+ }, {
1652
+ asset: {
1653
+ symbol: string;
1654
+ type: "CryptoCurrency";
1655
+ id: string;
1656
+ name: string;
1657
+ market: {
1658
+ coingeckoId?: string | undefined;
1659
+ marketCapUsd?: {
1660
+ value: bigint;
1661
+ decimals: number;
1662
+ } | undefined;
1663
+ };
1664
+ updatedAt: number;
1665
+ icon?: string | undefined;
1666
+ priceDatasourceId?: string | undefined;
1667
+ } | {
1668
+ symbol: string;
1669
+ type: "FiatCurrency";
1670
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1671
+ name: string;
1672
+ icon?: string | undefined;
1673
+ } | {
1674
+ type: "Nft";
1675
+ id: string;
1676
+ updatedAt: number;
1677
+ symbol?: string | undefined;
1678
+ name?: string | undefined;
1679
+ image?: string | undefined;
1680
+ metadata?: string | undefined;
1681
+ };
1682
+ amount: {
1683
+ value: bigint;
1684
+ decimals: number;
1685
+ };
1686
+ direction: "in";
1687
+ price?: {
1688
+ cryptoCurrencyId: string;
1689
+ fiatCurrencyId: string;
1690
+ price: {
1691
+ value: bigint;
1692
+ decimals: number;
1693
+ };
1694
+ timestamp: number;
1695
+ } | undefined;
1696
+ from?: string | undefined;
1697
+ to?: string | undefined;
1698
+ }>, {
1699
+ from: string | undefined;
1700
+ to: string | undefined;
1701
+ price: {
1702
+ cryptoCurrencyId: string;
1703
+ fiatCurrencyId: string;
1704
+ price: {
1705
+ value: bigint;
1706
+ decimals: number;
1707
+ };
1708
+ timestamp: number;
1709
+ } | undefined;
1710
+ asset: {
1711
+ icon: string | undefined;
1712
+ priceDatasourceId: string | undefined;
1713
+ symbol: string;
1714
+ type: "CryptoCurrency";
1715
+ id: string;
1716
+ name: string;
1717
+ market: {
1718
+ coingeckoId: string | undefined;
1719
+ marketCapUsd: {
1720
+ value: bigint;
1721
+ decimals: number;
1722
+ } | undefined;
1723
+ };
1724
+ updatedAt: number;
1725
+ } | {
1726
+ icon: string | undefined;
1727
+ symbol: string;
1728
+ type: "FiatCurrency";
1729
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1730
+ name: string;
1731
+ } | {
1732
+ name: string | undefined;
1733
+ symbol: string | undefined;
1734
+ image: string | undefined;
1735
+ metadata: string | undefined;
1736
+ type: "Nft";
1737
+ id: string;
1738
+ updatedAt: number;
1739
+ };
1740
+ amount: {
1741
+ value: bigint;
1742
+ decimals: number;
1743
+ };
1744
+ direction: "in";
1745
+ }, {
1746
+ asset: {
1747
+ symbol: string;
1748
+ type: "CryptoCurrency";
1749
+ id: string;
1750
+ name: string;
1751
+ market: {
1752
+ coingeckoId?: string | undefined;
1753
+ marketCapUsd?: {
1754
+ value: bigint;
1755
+ decimals: number;
1756
+ } | undefined;
1757
+ };
1758
+ updatedAt: number;
1759
+ icon?: string | undefined;
1760
+ priceDatasourceId?: string | undefined;
1761
+ } | {
1762
+ symbol: string;
1763
+ type: "FiatCurrency";
1764
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1765
+ name: string;
1766
+ icon?: string | undefined;
1767
+ } | {
1768
+ type: "Nft";
1769
+ id: string;
1770
+ updatedAt: number;
1771
+ symbol?: string | undefined;
1772
+ name?: string | undefined;
1773
+ image?: string | undefined;
1774
+ metadata?: string | undefined;
1775
+ };
1776
+ amount: {
1777
+ value: bigint;
1778
+ decimals: number;
1779
+ };
1780
+ direction: "in";
1781
+ price?: {
1782
+ cryptoCurrencyId: string;
1783
+ fiatCurrencyId: string;
1784
+ price: {
1785
+ value: bigint;
1786
+ decimals: number;
1787
+ };
1788
+ timestamp: number;
1789
+ } | undefined;
1790
+ from?: string | undefined;
1791
+ to?: string | undefined;
1792
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1793
+ from: z.ZodOptional<z.ZodString>;
1794
+ to: z.ZodOptional<z.ZodString>;
1795
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1796
+ type: z.ZodLiteral<"CryptoCurrency">;
1797
+ id: z.ZodString;
1798
+ name: z.ZodString;
1799
+ symbol: z.ZodString;
1800
+ icon: z.ZodOptional<z.ZodString>;
1801
+ market: z.ZodEffects<z.ZodObject<{
1802
+ coingeckoId: z.ZodOptional<z.ZodString>;
1803
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1804
+ value: z.ZodBigInt;
1805
+ decimals: z.ZodNumber;
1806
+ }, "strip", z.ZodTypeAny, {
1807
+ value: bigint;
1808
+ decimals: number;
1809
+ }, {
1810
+ value: bigint;
1811
+ decimals: number;
1812
+ }>>;
1813
+ }, "strip", z.ZodTypeAny, {
1814
+ coingeckoId?: string | undefined;
1815
+ marketCapUsd?: {
1816
+ value: bigint;
1817
+ decimals: number;
1818
+ } | undefined;
1819
+ }, {
1820
+ coingeckoId?: string | undefined;
1821
+ marketCapUsd?: {
1822
+ value: bigint;
1823
+ decimals: number;
1824
+ } | undefined;
1825
+ }>, {
1826
+ coingeckoId: string | undefined;
1827
+ marketCapUsd: {
1828
+ value: bigint;
1829
+ decimals: number;
1830
+ } | undefined;
1831
+ }, {
1832
+ coingeckoId?: string | undefined;
1833
+ marketCapUsd?: {
1834
+ value: bigint;
1835
+ decimals: number;
1836
+ } | undefined;
1837
+ }>;
1838
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1839
+ updatedAt: z.ZodNumber;
1840
+ }, "strip", z.ZodTypeAny, {
1841
+ symbol: string;
1842
+ type: "CryptoCurrency";
1843
+ id: string;
1844
+ name: string;
1845
+ market: {
1846
+ coingeckoId: string | undefined;
1847
+ marketCapUsd: {
1848
+ value: bigint;
1849
+ decimals: number;
1850
+ } | undefined;
1851
+ };
1852
+ updatedAt: number;
1853
+ icon?: string | undefined;
1854
+ priceDatasourceId?: string | undefined;
1855
+ }, {
1856
+ symbol: string;
1857
+ type: "CryptoCurrency";
1858
+ id: string;
1859
+ name: string;
1860
+ market: {
1861
+ coingeckoId?: string | undefined;
1862
+ marketCapUsd?: {
1863
+ value: bigint;
1864
+ decimals: number;
1865
+ } | undefined;
1866
+ };
1867
+ updatedAt: number;
1868
+ icon?: string | undefined;
1869
+ priceDatasourceId?: string | undefined;
1870
+ }>, {
1871
+ icon: string | undefined;
1872
+ priceDatasourceId: string | undefined;
1873
+ symbol: string;
1874
+ type: "CryptoCurrency";
1875
+ id: string;
1876
+ name: string;
1877
+ market: {
1878
+ coingeckoId: string | undefined;
1879
+ marketCapUsd: {
1880
+ value: bigint;
1881
+ decimals: number;
1882
+ } | undefined;
1883
+ };
1884
+ updatedAt: number;
1885
+ }, {
1886
+ symbol: string;
1887
+ type: "CryptoCurrency";
1888
+ id: string;
1889
+ name: string;
1890
+ market: {
1891
+ coingeckoId?: string | undefined;
1892
+ marketCapUsd?: {
1893
+ value: bigint;
1894
+ decimals: number;
1895
+ } | undefined;
1896
+ };
1897
+ updatedAt: number;
1898
+ icon?: string | undefined;
1899
+ priceDatasourceId?: string | undefined;
1900
+ }>, z.ZodEffects<z.ZodObject<{
1901
+ type: z.ZodLiteral<"FiatCurrency">;
1902
+ 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">]>;
1903
+ name: z.ZodString;
1904
+ symbol: z.ZodString;
1905
+ icon: z.ZodOptional<z.ZodString>;
1906
+ }, "strip", z.ZodTypeAny, {
1907
+ symbol: string;
1908
+ type: "FiatCurrency";
1909
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1910
+ name: string;
1911
+ icon?: string | undefined;
1912
+ }, {
1913
+ symbol: string;
1914
+ type: "FiatCurrency";
1915
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1916
+ name: string;
1917
+ icon?: string | undefined;
1918
+ }>, {
1919
+ icon: string | undefined;
1920
+ symbol: string;
1921
+ type: "FiatCurrency";
1922
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1923
+ name: string;
1924
+ }, {
1925
+ symbol: string;
1926
+ type: "FiatCurrency";
1927
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1928
+ name: string;
1929
+ icon?: string | undefined;
1930
+ }>, z.ZodEffects<z.ZodObject<{
1931
+ type: z.ZodLiteral<"Nft">;
1932
+ id: z.ZodString;
1933
+ name: z.ZodOptional<z.ZodString>;
1934
+ symbol: z.ZodOptional<z.ZodString>;
1935
+ image: z.ZodOptional<z.ZodString>;
1936
+ metadata: z.ZodOptional<z.ZodString>;
1937
+ updatedAt: z.ZodNumber;
1938
+ }, "strip", z.ZodTypeAny, {
1939
+ type: "Nft";
1940
+ id: string;
1941
+ updatedAt: number;
1942
+ symbol?: string | undefined;
1943
+ name?: string | undefined;
1944
+ image?: string | undefined;
1945
+ metadata?: string | undefined;
1946
+ }, {
1947
+ type: "Nft";
1948
+ id: string;
1949
+ updatedAt: number;
1950
+ symbol?: string | undefined;
1951
+ name?: string | undefined;
1952
+ image?: string | undefined;
1953
+ metadata?: string | undefined;
1954
+ }>, {
1955
+ name: string | undefined;
1956
+ symbol: string | undefined;
1957
+ image: string | undefined;
1958
+ metadata: string | undefined;
1959
+ type: "Nft";
1960
+ id: string;
1961
+ updatedAt: number;
1962
+ }, {
1963
+ type: "Nft";
1964
+ id: string;
1965
+ updatedAt: number;
1966
+ symbol?: string | undefined;
1967
+ name?: string | undefined;
1968
+ image?: string | undefined;
1969
+ metadata?: string | undefined;
1970
+ }>]>;
1971
+ amount: z.ZodObject<{
1972
+ value: z.ZodBigInt;
1973
+ decimals: z.ZodNumber;
1974
+ }, "strip", z.ZodTypeAny, {
1975
+ value: bigint;
1976
+ decimals: number;
1977
+ }, {
1978
+ value: bigint;
1979
+ decimals: number;
1980
+ }>;
1981
+ price: z.ZodOptional<z.ZodObject<{
1982
+ cryptoCurrencyId: z.ZodString;
1983
+ fiatCurrencyId: z.ZodString;
1984
+ price: z.ZodObject<{
1985
+ value: z.ZodBigInt;
1986
+ decimals: z.ZodNumber;
1987
+ }, "strip", z.ZodTypeAny, {
1988
+ value: bigint;
1989
+ decimals: number;
1990
+ }, {
1991
+ value: bigint;
1992
+ decimals: number;
1993
+ }>;
1994
+ timestamp: z.ZodNumber;
1995
+ }, "strip", z.ZodTypeAny, {
1996
+ cryptoCurrencyId: string;
1997
+ fiatCurrencyId: string;
1998
+ price: {
1999
+ value: bigint;
2000
+ decimals: number;
2001
+ };
2002
+ timestamp: number;
2003
+ }, {
2004
+ cryptoCurrencyId: string;
2005
+ fiatCurrencyId: string;
2006
+ price: {
2007
+ value: bigint;
2008
+ decimals: number;
2009
+ };
2010
+ timestamp: number;
2011
+ }>>;
2012
+ }, {
2013
+ direction: z.ZodLiteral<"out">;
2014
+ }>, "strip", z.ZodTypeAny, {
2015
+ asset: {
2016
+ icon: string | undefined;
2017
+ priceDatasourceId: string | undefined;
2018
+ symbol: string;
2019
+ type: "CryptoCurrency";
2020
+ id: string;
2021
+ name: string;
2022
+ market: {
2023
+ coingeckoId: string | undefined;
2024
+ marketCapUsd: {
2025
+ value: bigint;
2026
+ decimals: number;
2027
+ } | undefined;
2028
+ };
2029
+ updatedAt: number;
2030
+ } | {
2031
+ icon: string | undefined;
2032
+ symbol: string;
2033
+ type: "FiatCurrency";
2034
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2035
+ name: string;
2036
+ } | {
2037
+ name: string | undefined;
2038
+ symbol: string | undefined;
2039
+ image: string | undefined;
2040
+ metadata: string | undefined;
2041
+ type: "Nft";
2042
+ id: string;
2043
+ updatedAt: number;
2044
+ };
2045
+ amount: {
2046
+ value: bigint;
2047
+ decimals: number;
2048
+ };
2049
+ direction: "out";
2050
+ price?: {
2051
+ cryptoCurrencyId: string;
2052
+ fiatCurrencyId: string;
2053
+ price: {
2054
+ value: bigint;
2055
+ decimals: number;
2056
+ };
2057
+ timestamp: number;
2058
+ } | undefined;
2059
+ from?: string | undefined;
2060
+ to?: string | undefined;
2061
+ }, {
2062
+ asset: {
2063
+ symbol: string;
2064
+ type: "CryptoCurrency";
2065
+ id: string;
2066
+ name: string;
2067
+ market: {
2068
+ coingeckoId?: string | undefined;
2069
+ marketCapUsd?: {
2070
+ value: bigint;
2071
+ decimals: number;
2072
+ } | undefined;
2073
+ };
2074
+ updatedAt: number;
2075
+ icon?: string | undefined;
2076
+ priceDatasourceId?: string | undefined;
2077
+ } | {
2078
+ symbol: string;
2079
+ type: "FiatCurrency";
2080
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2081
+ name: string;
2082
+ icon?: string | undefined;
2083
+ } | {
2084
+ type: "Nft";
2085
+ id: string;
2086
+ updatedAt: number;
2087
+ symbol?: string | undefined;
2088
+ name?: string | undefined;
2089
+ image?: string | undefined;
2090
+ metadata?: string | undefined;
2091
+ };
2092
+ amount: {
2093
+ value: bigint;
2094
+ decimals: number;
2095
+ };
2096
+ direction: "out";
2097
+ price?: {
2098
+ cryptoCurrencyId: string;
2099
+ fiatCurrencyId: string;
2100
+ price: {
2101
+ value: bigint;
2102
+ decimals: number;
2103
+ };
2104
+ timestamp: number;
2105
+ } | undefined;
2106
+ from?: string | undefined;
2107
+ to?: string | undefined;
2108
+ }>, {
2109
+ from: string | undefined;
2110
+ to: string | undefined;
2111
+ price: {
2112
+ cryptoCurrencyId: string;
2113
+ fiatCurrencyId: string;
2114
+ price: {
2115
+ value: bigint;
2116
+ decimals: number;
2117
+ };
2118
+ timestamp: number;
2119
+ } | undefined;
2120
+ asset: {
2121
+ icon: string | undefined;
2122
+ priceDatasourceId: string | undefined;
2123
+ symbol: string;
2124
+ type: "CryptoCurrency";
2125
+ id: string;
2126
+ name: string;
2127
+ market: {
2128
+ coingeckoId: string | undefined;
2129
+ marketCapUsd: {
2130
+ value: bigint;
2131
+ decimals: number;
2132
+ } | undefined;
2133
+ };
2134
+ updatedAt: number;
2135
+ } | {
2136
+ icon: string | undefined;
2137
+ symbol: string;
2138
+ type: "FiatCurrency";
2139
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2140
+ name: string;
2141
+ } | {
2142
+ name: string | undefined;
2143
+ symbol: string | undefined;
2144
+ image: string | undefined;
2145
+ metadata: string | undefined;
2146
+ type: "Nft";
2147
+ id: string;
2148
+ updatedAt: number;
2149
+ };
2150
+ amount: {
2151
+ value: bigint;
2152
+ decimals: number;
2153
+ };
2154
+ direction: "out";
2155
+ }, {
2156
+ asset: {
2157
+ symbol: string;
2158
+ type: "CryptoCurrency";
2159
+ id: string;
2160
+ name: string;
2161
+ market: {
2162
+ coingeckoId?: string | undefined;
2163
+ marketCapUsd?: {
2164
+ value: bigint;
2165
+ decimals: number;
2166
+ } | undefined;
2167
+ };
2168
+ updatedAt: number;
2169
+ icon?: string | undefined;
2170
+ priceDatasourceId?: string | undefined;
2171
+ } | {
2172
+ symbol: string;
2173
+ type: "FiatCurrency";
2174
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2175
+ name: string;
2176
+ icon?: string | undefined;
2177
+ } | {
2178
+ type: "Nft";
2179
+ id: string;
2180
+ updatedAt: number;
2181
+ symbol?: string | undefined;
2182
+ name?: string | undefined;
2183
+ image?: string | undefined;
2184
+ metadata?: string | undefined;
2185
+ };
2186
+ amount: {
2187
+ value: bigint;
2188
+ decimals: number;
2189
+ };
2190
+ direction: "out";
2191
+ price?: {
2192
+ cryptoCurrencyId: string;
2193
+ fiatCurrencyId: string;
2194
+ price: {
2195
+ value: bigint;
2196
+ decimals: number;
2197
+ };
2198
+ timestamp: number;
2199
+ } | undefined;
2200
+ from?: string | undefined;
2201
+ to?: string | undefined;
2202
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2203
+ from: z.ZodOptional<z.ZodString>;
2204
+ to: z.ZodOptional<z.ZodString>;
2205
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2206
+ type: z.ZodLiteral<"CryptoCurrency">;
2207
+ id: z.ZodString;
2208
+ name: z.ZodString;
2209
+ symbol: z.ZodString;
2210
+ icon: z.ZodOptional<z.ZodString>;
2211
+ market: z.ZodEffects<z.ZodObject<{
2212
+ coingeckoId: z.ZodOptional<z.ZodString>;
2213
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2214
+ value: z.ZodBigInt;
2215
+ decimals: z.ZodNumber;
2216
+ }, "strip", z.ZodTypeAny, {
2217
+ value: bigint;
2218
+ decimals: number;
2219
+ }, {
2220
+ value: bigint;
2221
+ decimals: number;
2222
+ }>>;
2223
+ }, "strip", z.ZodTypeAny, {
2224
+ coingeckoId?: string | undefined;
2225
+ marketCapUsd?: {
2226
+ value: bigint;
2227
+ decimals: number;
2228
+ } | undefined;
2229
+ }, {
2230
+ coingeckoId?: string | undefined;
2231
+ marketCapUsd?: {
2232
+ value: bigint;
2233
+ decimals: number;
2234
+ } | undefined;
2235
+ }>, {
2236
+ coingeckoId: string | undefined;
2237
+ marketCapUsd: {
2238
+ value: bigint;
2239
+ decimals: number;
2240
+ } | undefined;
2241
+ }, {
2242
+ coingeckoId?: string | undefined;
2243
+ marketCapUsd?: {
2244
+ value: bigint;
2245
+ decimals: number;
2246
+ } | undefined;
2247
+ }>;
2248
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2249
+ updatedAt: z.ZodNumber;
2250
+ }, "strip", z.ZodTypeAny, {
2251
+ symbol: string;
2252
+ type: "CryptoCurrency";
2253
+ id: string;
2254
+ name: string;
2255
+ market: {
2256
+ coingeckoId: string | undefined;
2257
+ marketCapUsd: {
2258
+ value: bigint;
2259
+ decimals: number;
2260
+ } | undefined;
2261
+ };
2262
+ updatedAt: number;
2263
+ icon?: string | undefined;
2264
+ priceDatasourceId?: string | undefined;
2265
+ }, {
2266
+ symbol: string;
2267
+ type: "CryptoCurrency";
2268
+ id: string;
2269
+ name: string;
2270
+ market: {
2271
+ coingeckoId?: string | undefined;
2272
+ marketCapUsd?: {
2273
+ value: bigint;
2274
+ decimals: number;
2275
+ } | undefined;
2276
+ };
2277
+ updatedAt: number;
2278
+ icon?: string | undefined;
2279
+ priceDatasourceId?: string | undefined;
2280
+ }>, {
2281
+ icon: string | undefined;
2282
+ priceDatasourceId: string | undefined;
2283
+ symbol: string;
2284
+ type: "CryptoCurrency";
2285
+ id: string;
2286
+ name: string;
2287
+ market: {
2288
+ coingeckoId: string | undefined;
2289
+ marketCapUsd: {
2290
+ value: bigint;
2291
+ decimals: number;
2292
+ } | undefined;
2293
+ };
2294
+ updatedAt: number;
2295
+ }, {
2296
+ symbol: string;
2297
+ type: "CryptoCurrency";
2298
+ id: string;
2299
+ name: string;
2300
+ market: {
2301
+ coingeckoId?: string | undefined;
2302
+ marketCapUsd?: {
2303
+ value: bigint;
2304
+ decimals: number;
2305
+ } | undefined;
2306
+ };
2307
+ updatedAt: number;
2308
+ icon?: string | undefined;
2309
+ priceDatasourceId?: string | undefined;
2310
+ }>, z.ZodEffects<z.ZodObject<{
2311
+ type: z.ZodLiteral<"FiatCurrency">;
2312
+ 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">]>;
2313
+ name: z.ZodString;
2314
+ symbol: z.ZodString;
2315
+ icon: z.ZodOptional<z.ZodString>;
2316
+ }, "strip", z.ZodTypeAny, {
2317
+ symbol: string;
2318
+ type: "FiatCurrency";
2319
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2320
+ name: string;
2321
+ icon?: string | undefined;
2322
+ }, {
2323
+ symbol: string;
2324
+ type: "FiatCurrency";
2325
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2326
+ name: string;
2327
+ icon?: string | undefined;
2328
+ }>, {
2329
+ icon: string | undefined;
2330
+ symbol: string;
2331
+ type: "FiatCurrency";
2332
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2333
+ name: string;
2334
+ }, {
2335
+ symbol: string;
2336
+ type: "FiatCurrency";
2337
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2338
+ name: string;
2339
+ icon?: string | undefined;
2340
+ }>, z.ZodEffects<z.ZodObject<{
2341
+ type: z.ZodLiteral<"Nft">;
2342
+ id: z.ZodString;
2343
+ name: z.ZodOptional<z.ZodString>;
2344
+ symbol: z.ZodOptional<z.ZodString>;
2345
+ image: z.ZodOptional<z.ZodString>;
2346
+ metadata: z.ZodOptional<z.ZodString>;
2347
+ updatedAt: z.ZodNumber;
2348
+ }, "strip", z.ZodTypeAny, {
2349
+ type: "Nft";
2350
+ id: string;
2351
+ updatedAt: number;
2352
+ symbol?: string | undefined;
2353
+ name?: string | undefined;
2354
+ image?: string | undefined;
2355
+ metadata?: string | undefined;
2356
+ }, {
2357
+ type: "Nft";
2358
+ id: string;
2359
+ updatedAt: number;
2360
+ symbol?: string | undefined;
2361
+ name?: string | undefined;
2362
+ image?: string | undefined;
2363
+ metadata?: string | undefined;
2364
+ }>, {
2365
+ name: string | undefined;
2366
+ symbol: string | undefined;
2367
+ image: string | undefined;
2368
+ metadata: string | undefined;
2369
+ type: "Nft";
2370
+ id: string;
2371
+ updatedAt: number;
2372
+ }, {
2373
+ type: "Nft";
2374
+ id: string;
2375
+ updatedAt: number;
2376
+ symbol?: string | undefined;
2377
+ name?: string | undefined;
2378
+ image?: string | undefined;
2379
+ metadata?: string | undefined;
2380
+ }>]>;
2381
+ amount: z.ZodObject<{
2382
+ value: z.ZodBigInt;
2383
+ decimals: z.ZodNumber;
2384
+ }, "strip", z.ZodTypeAny, {
2385
+ value: bigint;
2386
+ decimals: number;
2387
+ }, {
2388
+ value: bigint;
2389
+ decimals: number;
2390
+ }>;
2391
+ price: z.ZodOptional<z.ZodObject<{
2392
+ cryptoCurrencyId: z.ZodString;
2393
+ fiatCurrencyId: z.ZodString;
2394
+ price: z.ZodObject<{
2395
+ value: z.ZodBigInt;
2396
+ decimals: z.ZodNumber;
2397
+ }, "strip", z.ZodTypeAny, {
2398
+ value: bigint;
2399
+ decimals: number;
2400
+ }, {
2401
+ value: bigint;
2402
+ decimals: number;
2403
+ }>;
2404
+ timestamp: z.ZodNumber;
2405
+ }, "strip", z.ZodTypeAny, {
2406
+ cryptoCurrencyId: string;
2407
+ fiatCurrencyId: string;
2408
+ price: {
2409
+ value: bigint;
2410
+ decimals: number;
2411
+ };
2412
+ timestamp: number;
2413
+ }, {
2414
+ cryptoCurrencyId: string;
2415
+ fiatCurrencyId: string;
2416
+ price: {
2417
+ value: bigint;
2418
+ decimals: number;
2419
+ };
2420
+ timestamp: number;
2421
+ }>>;
2422
+ }, {
2423
+ direction: z.ZodLiteral<"none">;
2424
+ }>, "strip", z.ZodTypeAny, {
2425
+ asset: {
2426
+ icon: string | undefined;
2427
+ priceDatasourceId: string | undefined;
2428
+ symbol: string;
2429
+ type: "CryptoCurrency";
2430
+ id: string;
2431
+ name: string;
2432
+ market: {
2433
+ coingeckoId: string | undefined;
2434
+ marketCapUsd: {
2435
+ value: bigint;
2436
+ decimals: number;
2437
+ } | undefined;
2438
+ };
2439
+ updatedAt: number;
2440
+ } | {
2441
+ icon: string | undefined;
2442
+ symbol: string;
2443
+ type: "FiatCurrency";
2444
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2445
+ name: string;
2446
+ } | {
2447
+ name: string | undefined;
2448
+ symbol: string | undefined;
2449
+ image: string | undefined;
2450
+ metadata: string | undefined;
2451
+ type: "Nft";
2452
+ id: string;
2453
+ updatedAt: number;
2454
+ };
2455
+ amount: {
2456
+ value: bigint;
2457
+ decimals: number;
2458
+ };
2459
+ direction: "none";
2460
+ price?: {
2461
+ cryptoCurrencyId: string;
2462
+ fiatCurrencyId: string;
2463
+ price: {
2464
+ value: bigint;
2465
+ decimals: number;
2466
+ };
2467
+ timestamp: number;
2468
+ } | undefined;
2469
+ from?: string | undefined;
2470
+ to?: string | undefined;
2471
+ }, {
2472
+ asset: {
2473
+ symbol: string;
2474
+ type: "CryptoCurrency";
2475
+ id: string;
2476
+ name: string;
2477
+ market: {
2478
+ coingeckoId?: string | undefined;
2479
+ marketCapUsd?: {
2480
+ value: bigint;
2481
+ decimals: number;
2482
+ } | undefined;
2483
+ };
2484
+ updatedAt: number;
2485
+ icon?: string | undefined;
2486
+ priceDatasourceId?: string | undefined;
2487
+ } | {
2488
+ symbol: string;
2489
+ type: "FiatCurrency";
2490
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2491
+ name: string;
2492
+ icon?: string | undefined;
2493
+ } | {
2494
+ type: "Nft";
2495
+ id: string;
2496
+ updatedAt: number;
2497
+ symbol?: string | undefined;
2498
+ name?: string | undefined;
2499
+ image?: string | undefined;
2500
+ metadata?: string | undefined;
2501
+ };
2502
+ amount: {
2503
+ value: bigint;
2504
+ decimals: number;
2505
+ };
2506
+ direction: "none";
2507
+ price?: {
2508
+ cryptoCurrencyId: string;
2509
+ fiatCurrencyId: string;
2510
+ price: {
2511
+ value: bigint;
2512
+ decimals: number;
2513
+ };
2514
+ timestamp: number;
2515
+ } | undefined;
2516
+ from?: string | undefined;
2517
+ to?: string | undefined;
2518
+ }>, {
2519
+ from: string | undefined;
2520
+ to: string | undefined;
2521
+ price: {
2522
+ cryptoCurrencyId: string;
2523
+ fiatCurrencyId: string;
2524
+ price: {
2525
+ value: bigint;
2526
+ decimals: number;
2527
+ };
2528
+ timestamp: number;
2529
+ } | undefined;
2530
+ asset: {
2531
+ icon: string | undefined;
2532
+ priceDatasourceId: string | undefined;
2533
+ symbol: string;
2534
+ type: "CryptoCurrency";
2535
+ id: string;
2536
+ name: string;
2537
+ market: {
2538
+ coingeckoId: string | undefined;
2539
+ marketCapUsd: {
2540
+ value: bigint;
2541
+ decimals: number;
2542
+ } | undefined;
2543
+ };
2544
+ updatedAt: number;
2545
+ } | {
2546
+ icon: string | undefined;
2547
+ symbol: string;
2548
+ type: "FiatCurrency";
2549
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2550
+ name: string;
2551
+ } | {
2552
+ name: string | undefined;
2553
+ symbol: string | undefined;
2554
+ image: string | undefined;
2555
+ metadata: string | undefined;
2556
+ type: "Nft";
2557
+ id: string;
2558
+ updatedAt: number;
2559
+ };
2560
+ amount: {
2561
+ value: bigint;
2562
+ decimals: number;
2563
+ };
2564
+ direction: "none";
2565
+ }, {
2566
+ asset: {
2567
+ symbol: string;
2568
+ type: "CryptoCurrency";
2569
+ id: string;
2570
+ name: string;
2571
+ market: {
2572
+ coingeckoId?: string | undefined;
2573
+ marketCapUsd?: {
2574
+ value: bigint;
2575
+ decimals: number;
2576
+ } | undefined;
2577
+ };
2578
+ updatedAt: number;
2579
+ icon?: string | undefined;
2580
+ priceDatasourceId?: string | undefined;
2581
+ } | {
2582
+ symbol: string;
2583
+ type: "FiatCurrency";
2584
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2585
+ name: string;
2586
+ icon?: string | undefined;
2587
+ } | {
2588
+ type: "Nft";
2589
+ id: string;
2590
+ updatedAt: number;
2591
+ symbol?: string | undefined;
2592
+ name?: string | undefined;
2593
+ image?: string | undefined;
2594
+ metadata?: string | undefined;
2595
+ };
2596
+ amount: {
2597
+ value: bigint;
2598
+ decimals: number;
2599
+ };
2600
+ direction: "none";
2601
+ price?: {
2602
+ cryptoCurrencyId: string;
2603
+ fiatCurrencyId: string;
2604
+ price: {
2605
+ value: bigint;
2606
+ decimals: number;
2607
+ };
2608
+ timestamp: number;
2609
+ } | undefined;
2610
+ from?: string | undefined;
2611
+ to?: string | undefined;
2612
+ }>]>, "many">;
2613
+ }, {
2614
+ type: z.ZodLiteral<"NormalAccountAction">;
2615
+ }>, {
149
2616
  action: z.ZodLiteral<"approve">;
150
2617
  transfers: z.ZodTuple<[], null>;
151
- }, "strip", z.ZodTypeAny, {
2618
+ }>, "strip", z.ZodTypeAny, {
152
2619
  type: "NormalAccountAction";
153
2620
  timestamp: number;
154
2621
  order: number;
@@ -178,9 +2645,9 @@ export declare const accountActionApproveSchema: z.ZodEffects<z.ZodObject<{
178
2645
  id: string;
179
2646
  name: string;
180
2647
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2648
+ icon?: string | undefined;
181
2649
  description?: string | undefined;
182
2650
  website?: string | undefined;
183
- icon?: string | undefined;
184
2651
  } | undefined;
185
2652
  }>, {
186
2653
  comment: string | undefined;
@@ -212,9 +2679,9 @@ export declare const accountActionApproveSchema: z.ZodEffects<z.ZodObject<{
212
2679
  id: string;
213
2680
  name: string;
214
2681
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2682
+ icon?: string | undefined;
215
2683
  description?: string | undefined;
216
2684
  website?: string | undefined;
217
- icon?: string | undefined;
218
2685
  } | undefined;
219
2686
  }>;
220
2687
  //# sourceMappingURL=approve.d.ts.map