@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 normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
2
+ export declare const normalActionSwapNftSchema: 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 normalActionSwapNftSchema: 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,149 @@ export declare const normalActionSwapNftSchema: 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<"swap-nft">;
44
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
45
- price: z.ZodOptional<z.ZodObject<{
46
- cryptoCurrencyId: z.ZodString;
47
- fiatCurrencyId: z.ZodString;
48
- price: z.ZodObject<{
49
- value: z.ZodBigInt;
50
- decimals: z.ZodNumber;
44
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
45
+ from: z.ZodOptional<z.ZodString>;
46
+ to: z.ZodOptional<z.ZodString>;
47
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
48
+ type: z.ZodLiteral<"CryptoCurrency">;
49
+ id: z.ZodString;
50
+ name: z.ZodString;
51
+ symbol: z.ZodString;
52
+ icon: z.ZodOptional<z.ZodString>;
53
+ market: z.ZodEffects<z.ZodObject<{
54
+ coingeckoId: z.ZodOptional<z.ZodString>;
55
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
56
+ value: z.ZodBigInt;
57
+ decimals: z.ZodNumber;
58
+ }, "strip", z.ZodTypeAny, {
59
+ value: bigint;
60
+ decimals: number;
61
+ }, {
62
+ value: bigint;
63
+ decimals: number;
64
+ }>>;
51
65
  }, "strip", z.ZodTypeAny, {
52
- value: bigint;
53
- decimals: number;
66
+ coingeckoId?: string | undefined;
67
+ marketCapUsd?: {
68
+ value: bigint;
69
+ decimals: number;
70
+ } | undefined;
54
71
  }, {
55
- value: bigint;
56
- decimals: number;
72
+ coingeckoId?: string | undefined;
73
+ marketCapUsd?: {
74
+ value: bigint;
75
+ decimals: number;
76
+ } | undefined;
77
+ }>, {
78
+ coingeckoId: string | undefined;
79
+ marketCapUsd: {
80
+ value: bigint;
81
+ decimals: number;
82
+ } | undefined;
83
+ }, {
84
+ coingeckoId?: string | undefined;
85
+ marketCapUsd?: {
86
+ value: bigint;
87
+ decimals: number;
88
+ } | undefined;
57
89
  }>;
58
- timestamp: z.ZodNumber;
90
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
91
+ updatedAt: z.ZodNumber;
59
92
  }, "strip", z.ZodTypeAny, {
60
- cryptoCurrencyId: string;
61
- fiatCurrencyId: string;
62
- price: {
63
- value: bigint;
64
- decimals: number;
93
+ symbol: string;
94
+ type: "CryptoCurrency";
95
+ id: string;
96
+ name: string;
97
+ market: {
98
+ coingeckoId: string | undefined;
99
+ marketCapUsd: {
100
+ value: bigint;
101
+ decimals: number;
102
+ } | undefined;
65
103
  };
66
- timestamp: number;
104
+ updatedAt: number;
105
+ icon?: string | undefined;
106
+ priceDatasourceId?: string | undefined;
67
107
  }, {
68
- cryptoCurrencyId: string;
69
- fiatCurrencyId: string;
70
- price: {
71
- value: bigint;
72
- decimals: number;
108
+ symbol: string;
109
+ type: "CryptoCurrency";
110
+ id: string;
111
+ name: string;
112
+ market: {
113
+ coingeckoId?: string | undefined;
114
+ marketCapUsd?: {
115
+ value: bigint;
116
+ decimals: number;
117
+ } | undefined;
73
118
  };
74
- timestamp: number;
75
- }>>;
76
- from: z.ZodOptional<z.ZodString>;
77
- to: z.ZodOptional<z.ZodString>;
78
- amount: z.ZodObject<{
79
- value: z.ZodBigInt;
80
- decimals: z.ZodNumber;
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>;
81
158
  }, "strip", z.ZodTypeAny, {
82
- value: bigint;
83
- decimals: number;
159
+ symbol: string;
160
+ type: "FiatCurrency";
161
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
162
+ name: string;
163
+ icon?: string | undefined;
84
164
  }, {
85
- value: bigint;
86
- decimals: number;
87
- }>;
88
- direction: z.ZodLiteral<"in">;
89
- asset: z.ZodEffects<z.ZodObject<{
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<{
90
183
  type: z.ZodLiteral<"Nft">;
91
184
  id: z.ZodString;
92
185
  name: z.ZodOptional<z.ZodString>;
@@ -98,16 +191,16 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
98
191
  type: "Nft";
99
192
  id: string;
100
193
  updatedAt: number;
101
- name?: string | undefined;
102
194
  symbol?: string | undefined;
195
+ name?: string | undefined;
103
196
  image?: string | undefined;
104
197
  metadata?: string | undefined;
105
198
  }, {
106
199
  type: "Nft";
107
200
  id: string;
108
201
  updatedAt: number;
109
- name?: string | undefined;
110
202
  symbol?: string | undefined;
203
+ name?: string | undefined;
111
204
  image?: string | undefined;
112
205
  metadata?: string | undefined;
113
206
  }>, {
@@ -122,13 +215,77 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
122
215
  type: "Nft";
123
216
  id: string;
124
217
  updatedAt: number;
125
- name?: string | undefined;
126
218
  symbol?: string | undefined;
219
+ name?: string | undefined;
127
220
  image?: string | undefined;
128
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;
129
232
  }>;
130
- }, "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, {
131
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
+ } | {
132
289
  name: string | undefined;
133
290
  symbol: string | undefined;
134
291
  image: string | undefined;
@@ -155,11 +312,32 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
155
312
  to?: string | undefined;
156
313
  }, {
157
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
+ } | {
158
336
  type: "Nft";
159
337
  id: string;
160
338
  updatedAt: number;
161
- name?: string | undefined;
162
339
  symbol?: string | undefined;
340
+ name?: string | undefined;
163
341
  image?: string | undefined;
164
342
  metadata?: string | undefined;
165
343
  };
@@ -192,6 +370,27 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
192
370
  timestamp: number;
193
371
  } | undefined;
194
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
+ } | {
195
394
  name: string | undefined;
196
395
  symbol: string | undefined;
197
396
  image: string | undefined;
@@ -207,11 +406,32 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
207
406
  direction: "in";
208
407
  }, {
209
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
+ } | {
210
430
  type: "Nft";
211
431
  id: string;
212
432
  updatedAt: number;
213
- name?: string | undefined;
214
433
  symbol?: string | undefined;
434
+ name?: string | undefined;
215
435
  image?: string | undefined;
216
436
  metadata?: string | undefined;
217
437
  };
@@ -231,52 +451,145 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
231
451
  } | undefined;
232
452
  from?: string | undefined;
233
453
  to?: string | undefined;
234
- }>, z.ZodEffects<z.ZodObject<{
235
- price: z.ZodOptional<z.ZodObject<{
236
- cryptoCurrencyId: z.ZodString;
237
- fiatCurrencyId: z.ZodString;
238
- price: z.ZodObject<{
239
- value: z.ZodBigInt;
240
- decimals: z.ZodNumber;
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
+ }>>;
241
475
  }, "strip", z.ZodTypeAny, {
242
- value: bigint;
243
- decimals: number;
476
+ coingeckoId?: string | undefined;
477
+ marketCapUsd?: {
478
+ value: bigint;
479
+ decimals: number;
480
+ } | undefined;
244
481
  }, {
245
- value: bigint;
246
- decimals: number;
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;
247
499
  }>;
248
- timestamp: z.ZodNumber;
500
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
501
+ updatedAt: z.ZodNumber;
249
502
  }, "strip", z.ZodTypeAny, {
250
- cryptoCurrencyId: string;
251
- fiatCurrencyId: string;
252
- price: {
253
- value: bigint;
254
- decimals: number;
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;
255
513
  };
256
- timestamp: number;
514
+ updatedAt: number;
515
+ icon?: string | undefined;
516
+ priceDatasourceId?: string | undefined;
257
517
  }, {
258
- cryptoCurrencyId: string;
259
- fiatCurrencyId: string;
260
- price: {
261
- value: bigint;
262
- decimals: number;
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;
263
528
  };
264
- timestamp: number;
265
- }>>;
266
- from: z.ZodOptional<z.ZodString>;
267
- to: z.ZodOptional<z.ZodString>;
268
- amount: z.ZodObject<{
269
- value: z.ZodBigInt;
270
- decimals: z.ZodNumber;
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>;
271
568
  }, "strip", z.ZodTypeAny, {
272
- value: bigint;
273
- decimals: number;
569
+ symbol: string;
570
+ type: "FiatCurrency";
571
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
572
+ name: string;
573
+ icon?: string | undefined;
274
574
  }, {
275
- value: bigint;
276
- decimals: number;
277
- }>;
278
- direction: z.ZodLiteral<"out">;
279
- asset: z.ZodEffects<z.ZodObject<{
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<{
280
593
  type: z.ZodLiteral<"Nft">;
281
594
  id: z.ZodString;
282
595
  name: z.ZodOptional<z.ZodString>;
@@ -288,16 +601,16 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
288
601
  type: "Nft";
289
602
  id: string;
290
603
  updatedAt: number;
291
- name?: string | undefined;
292
604
  symbol?: string | undefined;
605
+ name?: string | undefined;
293
606
  image?: string | undefined;
294
607
  metadata?: string | undefined;
295
608
  }, {
296
609
  type: "Nft";
297
610
  id: string;
298
611
  updatedAt: number;
299
- name?: string | undefined;
300
612
  symbol?: string | undefined;
613
+ name?: string | undefined;
301
614
  image?: string | undefined;
302
615
  metadata?: string | undefined;
303
616
  }>, {
@@ -312,13 +625,77 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
312
625
  type: "Nft";
313
626
  id: string;
314
627
  updatedAt: number;
315
- name?: string | undefined;
316
628
  symbol?: string | undefined;
629
+ name?: string | undefined;
317
630
  image?: string | undefined;
318
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;
319
642
  }>;
320
- }, "strip", z.ZodTypeAny, {
643
+ price: z.ZodOptional<z.ZodObject<{
644
+ cryptoCurrencyId: z.ZodString;
645
+ fiatCurrencyId: z.ZodString;
646
+ price: z.ZodObject<{
647
+ value: z.ZodBigInt;
648
+ decimals: z.ZodNumber;
649
+ }, "strip", z.ZodTypeAny, {
650
+ value: bigint;
651
+ decimals: number;
652
+ }, {
653
+ value: bigint;
654
+ decimals: number;
655
+ }>;
656
+ timestamp: z.ZodNumber;
657
+ }, "strip", z.ZodTypeAny, {
658
+ cryptoCurrencyId: string;
659
+ fiatCurrencyId: string;
660
+ price: {
661
+ value: bigint;
662
+ decimals: number;
663
+ };
664
+ timestamp: number;
665
+ }, {
666
+ cryptoCurrencyId: string;
667
+ fiatCurrencyId: string;
668
+ price: {
669
+ value: bigint;
670
+ decimals: number;
671
+ };
672
+ timestamp: number;
673
+ }>>;
674
+ }, {
675
+ direction: z.ZodLiteral<"out">;
676
+ }>, "strip", z.ZodTypeAny, {
321
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
+ } | {
322
699
  name: string | undefined;
323
700
  symbol: string | undefined;
324
701
  image: string | undefined;
@@ -345,11 +722,32 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
345
722
  to?: string | undefined;
346
723
  }, {
347
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
+ } | {
348
746
  type: "Nft";
349
747
  id: string;
350
748
  updatedAt: number;
351
- name?: string | undefined;
352
749
  symbol?: string | undefined;
750
+ name?: string | undefined;
353
751
  image?: string | undefined;
354
752
  metadata?: string | undefined;
355
753
  };
@@ -382,6 +780,27 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
382
780
  timestamp: number;
383
781
  } | undefined;
384
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
+ } | {
385
804
  name: string | undefined;
386
805
  symbol: string | undefined;
387
806
  image: string | undefined;
@@ -397,11 +816,32 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
397
816
  direction: "out";
398
817
  }, {
399
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
+ } | {
400
840
  type: "Nft";
401
841
  id: string;
402
842
  updatedAt: number;
403
- name?: string | undefined;
404
843
  symbol?: string | undefined;
844
+ name?: string | undefined;
405
845
  image?: string | undefined;
406
846
  metadata?: string | undefined;
407
847
  };
@@ -421,14 +861,2196 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
421
861
  } | undefined;
422
862
  from?: string | undefined;
423
863
  to?: string | undefined;
424
- }>]>, "many">;
425
- }, "strip", z.ZodTypeAny, {
426
- type: "NormalAction";
427
- timestamp: number;
428
- action: "swap-nft";
429
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
430
- transfers: ({
431
- from: string | undefined;
864
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
865
+ from: z.ZodOptional<z.ZodString>;
866
+ to: z.ZodOptional<z.ZodString>;
867
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
868
+ type: z.ZodLiteral<"CryptoCurrency">;
869
+ id: z.ZodString;
870
+ name: z.ZodString;
871
+ symbol: z.ZodString;
872
+ icon: z.ZodOptional<z.ZodString>;
873
+ market: z.ZodEffects<z.ZodObject<{
874
+ coingeckoId: z.ZodOptional<z.ZodString>;
875
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
876
+ value: z.ZodBigInt;
877
+ decimals: z.ZodNumber;
878
+ }, "strip", z.ZodTypeAny, {
879
+ value: bigint;
880
+ decimals: number;
881
+ }, {
882
+ value: bigint;
883
+ decimals: number;
884
+ }>>;
885
+ }, "strip", z.ZodTypeAny, {
886
+ coingeckoId?: string | undefined;
887
+ marketCapUsd?: {
888
+ value: bigint;
889
+ decimals: number;
890
+ } | undefined;
891
+ }, {
892
+ coingeckoId?: string | undefined;
893
+ marketCapUsd?: {
894
+ value: bigint;
895
+ decimals: number;
896
+ } | undefined;
897
+ }>, {
898
+ coingeckoId: string | undefined;
899
+ marketCapUsd: {
900
+ value: bigint;
901
+ decimals: number;
902
+ } | undefined;
903
+ }, {
904
+ coingeckoId?: string | undefined;
905
+ marketCapUsd?: {
906
+ value: bigint;
907
+ decimals: number;
908
+ } | undefined;
909
+ }>;
910
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
911
+ updatedAt: z.ZodNumber;
912
+ }, "strip", z.ZodTypeAny, {
913
+ symbol: string;
914
+ type: "CryptoCurrency";
915
+ id: string;
916
+ name: string;
917
+ market: {
918
+ coingeckoId: string | undefined;
919
+ marketCapUsd: {
920
+ value: bigint;
921
+ decimals: number;
922
+ } | undefined;
923
+ };
924
+ updatedAt: number;
925
+ icon?: string | undefined;
926
+ priceDatasourceId?: string | undefined;
927
+ }, {
928
+ symbol: string;
929
+ type: "CryptoCurrency";
930
+ id: string;
931
+ name: string;
932
+ market: {
933
+ coingeckoId?: string | undefined;
934
+ marketCapUsd?: {
935
+ value: bigint;
936
+ decimals: number;
937
+ } | undefined;
938
+ };
939
+ updatedAt: number;
940
+ icon?: string | undefined;
941
+ priceDatasourceId?: string | undefined;
942
+ }>, {
943
+ icon: string | undefined;
944
+ priceDatasourceId: string | undefined;
945
+ symbol: string;
946
+ type: "CryptoCurrency";
947
+ id: string;
948
+ name: string;
949
+ market: {
950
+ coingeckoId: string | undefined;
951
+ marketCapUsd: {
952
+ value: bigint;
953
+ decimals: number;
954
+ } | undefined;
955
+ };
956
+ updatedAt: number;
957
+ }, {
958
+ symbol: string;
959
+ type: "CryptoCurrency";
960
+ id: string;
961
+ name: string;
962
+ market: {
963
+ coingeckoId?: string | undefined;
964
+ marketCapUsd?: {
965
+ value: bigint;
966
+ decimals: number;
967
+ } | undefined;
968
+ };
969
+ updatedAt: number;
970
+ icon?: string | undefined;
971
+ priceDatasourceId?: string | undefined;
972
+ }>, z.ZodEffects<z.ZodObject<{
973
+ type: z.ZodLiteral<"FiatCurrency">;
974
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
975
+ name: z.ZodString;
976
+ symbol: z.ZodString;
977
+ icon: z.ZodOptional<z.ZodString>;
978
+ }, "strip", z.ZodTypeAny, {
979
+ symbol: string;
980
+ type: "FiatCurrency";
981
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
982
+ name: string;
983
+ icon?: string | undefined;
984
+ }, {
985
+ symbol: string;
986
+ type: "FiatCurrency";
987
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
988
+ name: string;
989
+ icon?: string | undefined;
990
+ }>, {
991
+ icon: string | undefined;
992
+ symbol: string;
993
+ type: "FiatCurrency";
994
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
995
+ name: string;
996
+ }, {
997
+ symbol: string;
998
+ type: "FiatCurrency";
999
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1000
+ name: string;
1001
+ icon?: string | undefined;
1002
+ }>, z.ZodEffects<z.ZodObject<{
1003
+ type: z.ZodLiteral<"Nft">;
1004
+ id: z.ZodString;
1005
+ name: z.ZodOptional<z.ZodString>;
1006
+ symbol: z.ZodOptional<z.ZodString>;
1007
+ image: z.ZodOptional<z.ZodString>;
1008
+ metadata: z.ZodOptional<z.ZodString>;
1009
+ updatedAt: z.ZodNumber;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ type: "Nft";
1012
+ id: string;
1013
+ updatedAt: number;
1014
+ symbol?: string | undefined;
1015
+ name?: string | undefined;
1016
+ image?: string | undefined;
1017
+ metadata?: string | undefined;
1018
+ }, {
1019
+ type: "Nft";
1020
+ id: string;
1021
+ updatedAt: number;
1022
+ symbol?: string | undefined;
1023
+ name?: string | undefined;
1024
+ image?: string | undefined;
1025
+ metadata?: string | undefined;
1026
+ }>, {
1027
+ name: string | undefined;
1028
+ symbol: string | undefined;
1029
+ image: string | undefined;
1030
+ metadata: string | undefined;
1031
+ type: "Nft";
1032
+ id: string;
1033
+ updatedAt: number;
1034
+ }, {
1035
+ type: "Nft";
1036
+ id: string;
1037
+ updatedAt: number;
1038
+ symbol?: string | undefined;
1039
+ name?: string | undefined;
1040
+ image?: string | undefined;
1041
+ metadata?: string | undefined;
1042
+ }>]>;
1043
+ amount: z.ZodObject<{
1044
+ value: z.ZodBigInt;
1045
+ decimals: z.ZodNumber;
1046
+ }, "strip", z.ZodTypeAny, {
1047
+ value: bigint;
1048
+ decimals: number;
1049
+ }, {
1050
+ value: bigint;
1051
+ decimals: number;
1052
+ }>;
1053
+ price: z.ZodOptional<z.ZodObject<{
1054
+ cryptoCurrencyId: z.ZodString;
1055
+ fiatCurrencyId: z.ZodString;
1056
+ price: z.ZodObject<{
1057
+ value: z.ZodBigInt;
1058
+ decimals: z.ZodNumber;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ value: bigint;
1061
+ decimals: number;
1062
+ }, {
1063
+ value: bigint;
1064
+ decimals: number;
1065
+ }>;
1066
+ timestamp: z.ZodNumber;
1067
+ }, "strip", z.ZodTypeAny, {
1068
+ cryptoCurrencyId: string;
1069
+ fiatCurrencyId: string;
1070
+ price: {
1071
+ value: bigint;
1072
+ decimals: number;
1073
+ };
1074
+ timestamp: number;
1075
+ }, {
1076
+ cryptoCurrencyId: string;
1077
+ fiatCurrencyId: string;
1078
+ price: {
1079
+ value: bigint;
1080
+ decimals: number;
1081
+ };
1082
+ timestamp: number;
1083
+ }>>;
1084
+ }, {
1085
+ direction: z.ZodLiteral<"none">;
1086
+ }>, "strip", z.ZodTypeAny, {
1087
+ asset: {
1088
+ icon: string | undefined;
1089
+ priceDatasourceId: string | undefined;
1090
+ symbol: string;
1091
+ type: "CryptoCurrency";
1092
+ id: string;
1093
+ name: string;
1094
+ market: {
1095
+ coingeckoId: string | undefined;
1096
+ marketCapUsd: {
1097
+ value: bigint;
1098
+ decimals: number;
1099
+ } | undefined;
1100
+ };
1101
+ updatedAt: number;
1102
+ } | {
1103
+ icon: string | undefined;
1104
+ symbol: string;
1105
+ type: "FiatCurrency";
1106
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1107
+ name: string;
1108
+ } | {
1109
+ name: string | undefined;
1110
+ symbol: string | undefined;
1111
+ image: string | undefined;
1112
+ metadata: string | undefined;
1113
+ type: "Nft";
1114
+ id: string;
1115
+ updatedAt: number;
1116
+ };
1117
+ amount: {
1118
+ value: bigint;
1119
+ decimals: number;
1120
+ };
1121
+ direction: "none";
1122
+ price?: {
1123
+ cryptoCurrencyId: string;
1124
+ fiatCurrencyId: string;
1125
+ price: {
1126
+ value: bigint;
1127
+ decimals: number;
1128
+ };
1129
+ timestamp: number;
1130
+ } | undefined;
1131
+ from?: string | undefined;
1132
+ to?: string | undefined;
1133
+ }, {
1134
+ asset: {
1135
+ symbol: string;
1136
+ type: "CryptoCurrency";
1137
+ id: string;
1138
+ name: string;
1139
+ market: {
1140
+ coingeckoId?: string | undefined;
1141
+ marketCapUsd?: {
1142
+ value: bigint;
1143
+ decimals: number;
1144
+ } | undefined;
1145
+ };
1146
+ updatedAt: number;
1147
+ icon?: string | undefined;
1148
+ priceDatasourceId?: string | undefined;
1149
+ } | {
1150
+ symbol: string;
1151
+ type: "FiatCurrency";
1152
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1153
+ name: string;
1154
+ icon?: string | undefined;
1155
+ } | {
1156
+ type: "Nft";
1157
+ id: string;
1158
+ updatedAt: number;
1159
+ symbol?: string | undefined;
1160
+ name?: string | undefined;
1161
+ image?: string | undefined;
1162
+ metadata?: string | undefined;
1163
+ };
1164
+ amount: {
1165
+ value: bigint;
1166
+ decimals: number;
1167
+ };
1168
+ direction: "none";
1169
+ price?: {
1170
+ cryptoCurrencyId: string;
1171
+ fiatCurrencyId: string;
1172
+ price: {
1173
+ value: bigint;
1174
+ decimals: number;
1175
+ };
1176
+ timestamp: number;
1177
+ } | undefined;
1178
+ from?: string | undefined;
1179
+ to?: string | undefined;
1180
+ }>, {
1181
+ from: string | undefined;
1182
+ to: string | undefined;
1183
+ price: {
1184
+ cryptoCurrencyId: string;
1185
+ fiatCurrencyId: string;
1186
+ price: {
1187
+ value: bigint;
1188
+ decimals: number;
1189
+ };
1190
+ timestamp: number;
1191
+ } | undefined;
1192
+ asset: {
1193
+ icon: string | undefined;
1194
+ priceDatasourceId: string | undefined;
1195
+ symbol: string;
1196
+ type: "CryptoCurrency";
1197
+ id: string;
1198
+ name: string;
1199
+ market: {
1200
+ coingeckoId: string | undefined;
1201
+ marketCapUsd: {
1202
+ value: bigint;
1203
+ decimals: number;
1204
+ } | undefined;
1205
+ };
1206
+ updatedAt: number;
1207
+ } | {
1208
+ icon: string | undefined;
1209
+ symbol: string;
1210
+ type: "FiatCurrency";
1211
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1212
+ name: string;
1213
+ } | {
1214
+ name: string | undefined;
1215
+ symbol: string | undefined;
1216
+ image: string | undefined;
1217
+ metadata: string | undefined;
1218
+ type: "Nft";
1219
+ id: string;
1220
+ updatedAt: number;
1221
+ };
1222
+ amount: {
1223
+ value: bigint;
1224
+ decimals: number;
1225
+ };
1226
+ direction: "none";
1227
+ }, {
1228
+ asset: {
1229
+ symbol: string;
1230
+ type: "CryptoCurrency";
1231
+ id: string;
1232
+ name: string;
1233
+ market: {
1234
+ coingeckoId?: string | undefined;
1235
+ marketCapUsd?: {
1236
+ value: bigint;
1237
+ decimals: number;
1238
+ } | undefined;
1239
+ };
1240
+ updatedAt: number;
1241
+ icon?: string | undefined;
1242
+ priceDatasourceId?: string | undefined;
1243
+ } | {
1244
+ symbol: string;
1245
+ type: "FiatCurrency";
1246
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1247
+ name: string;
1248
+ icon?: string | undefined;
1249
+ } | {
1250
+ type: "Nft";
1251
+ id: string;
1252
+ updatedAt: number;
1253
+ symbol?: string | undefined;
1254
+ name?: string | undefined;
1255
+ image?: string | undefined;
1256
+ metadata?: string | undefined;
1257
+ };
1258
+ amount: {
1259
+ value: bigint;
1260
+ decimals: number;
1261
+ };
1262
+ direction: "none";
1263
+ price?: {
1264
+ cryptoCurrencyId: string;
1265
+ fiatCurrencyId: string;
1266
+ price: {
1267
+ value: bigint;
1268
+ decimals: number;
1269
+ };
1270
+ timestamp: number;
1271
+ } | undefined;
1272
+ from?: string | undefined;
1273
+ to?: string | undefined;
1274
+ }>]>, "many">;
1275
+ }, {
1276
+ action: z.ZodLiteral<"swap-nft">;
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<"Nft">;
1502
+ id: z.ZodString;
1503
+ name: z.ZodOptional<z.ZodString>;
1504
+ symbol: z.ZodOptional<z.ZodString>;
1505
+ image: z.ZodOptional<z.ZodString>;
1506
+ metadata: z.ZodOptional<z.ZodString>;
1507
+ updatedAt: z.ZodNumber;
1508
+ }, "strip", z.ZodTypeAny, {
1509
+ type: "Nft";
1510
+ id: string;
1511
+ updatedAt: number;
1512
+ symbol?: string | undefined;
1513
+ name?: string | undefined;
1514
+ image?: string | undefined;
1515
+ metadata?: string | undefined;
1516
+ }, {
1517
+ type: "Nft";
1518
+ id: string;
1519
+ updatedAt: number;
1520
+ symbol?: string | undefined;
1521
+ name?: string | undefined;
1522
+ image?: string | undefined;
1523
+ metadata?: string | undefined;
1524
+ }>, {
1525
+ name: string | undefined;
1526
+ symbol: string | undefined;
1527
+ image: string | undefined;
1528
+ metadata: string | undefined;
1529
+ type: "Nft";
1530
+ id: string;
1531
+ updatedAt: number;
1532
+ }, {
1533
+ type: "Nft";
1534
+ id: string;
1535
+ updatedAt: number;
1536
+ symbol?: string | undefined;
1537
+ name?: string | undefined;
1538
+ image?: string | undefined;
1539
+ metadata?: string | undefined;
1540
+ }>;
1541
+ }>, "strip", z.ZodTypeAny, {
1542
+ asset: {
1543
+ name: string | undefined;
1544
+ symbol: string | undefined;
1545
+ image: string | undefined;
1546
+ metadata: string | undefined;
1547
+ type: "Nft";
1548
+ id: string;
1549
+ updatedAt: number;
1550
+ };
1551
+ amount: {
1552
+ value: bigint;
1553
+ decimals: number;
1554
+ };
1555
+ direction: "in";
1556
+ price?: {
1557
+ cryptoCurrencyId: string;
1558
+ fiatCurrencyId: string;
1559
+ price: {
1560
+ value: bigint;
1561
+ decimals: number;
1562
+ };
1563
+ timestamp: number;
1564
+ } | undefined;
1565
+ from?: string | undefined;
1566
+ to?: string | undefined;
1567
+ }, {
1568
+ asset: {
1569
+ type: "Nft";
1570
+ id: string;
1571
+ updatedAt: number;
1572
+ symbol?: string | undefined;
1573
+ name?: string | undefined;
1574
+ image?: string | undefined;
1575
+ metadata?: string | undefined;
1576
+ };
1577
+ amount: {
1578
+ value: bigint;
1579
+ decimals: number;
1580
+ };
1581
+ direction: "in";
1582
+ price?: {
1583
+ cryptoCurrencyId: string;
1584
+ fiatCurrencyId: string;
1585
+ price: {
1586
+ value: bigint;
1587
+ decimals: number;
1588
+ };
1589
+ timestamp: number;
1590
+ } | undefined;
1591
+ from?: string | undefined;
1592
+ to?: string | undefined;
1593
+ }>, {
1594
+ from: string | undefined;
1595
+ to: string | undefined;
1596
+ price: {
1597
+ cryptoCurrencyId: string;
1598
+ fiatCurrencyId: string;
1599
+ price: {
1600
+ value: bigint;
1601
+ decimals: number;
1602
+ };
1603
+ timestamp: number;
1604
+ } | undefined;
1605
+ asset: {
1606
+ name: string | undefined;
1607
+ symbol: string | undefined;
1608
+ image: string | undefined;
1609
+ metadata: string | undefined;
1610
+ type: "Nft";
1611
+ id: string;
1612
+ updatedAt: number;
1613
+ };
1614
+ amount: {
1615
+ value: bigint;
1616
+ decimals: number;
1617
+ };
1618
+ direction: "in";
1619
+ }, {
1620
+ asset: {
1621
+ type: "Nft";
1622
+ id: string;
1623
+ updatedAt: number;
1624
+ symbol?: string | undefined;
1625
+ name?: string | undefined;
1626
+ image?: string | undefined;
1627
+ metadata?: string | undefined;
1628
+ };
1629
+ amount: {
1630
+ value: bigint;
1631
+ decimals: number;
1632
+ };
1633
+ direction: "in";
1634
+ price?: {
1635
+ cryptoCurrencyId: string;
1636
+ fiatCurrencyId: string;
1637
+ price: {
1638
+ value: bigint;
1639
+ decimals: number;
1640
+ };
1641
+ timestamp: number;
1642
+ } | undefined;
1643
+ from?: string | undefined;
1644
+ to?: string | undefined;
1645
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1646
+ from: z.ZodOptional<z.ZodString>;
1647
+ to: z.ZodOptional<z.ZodString>;
1648
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1649
+ type: z.ZodLiteral<"CryptoCurrency">;
1650
+ id: z.ZodString;
1651
+ name: z.ZodString;
1652
+ symbol: z.ZodString;
1653
+ icon: z.ZodOptional<z.ZodString>;
1654
+ market: z.ZodEffects<z.ZodObject<{
1655
+ coingeckoId: z.ZodOptional<z.ZodString>;
1656
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1657
+ value: z.ZodBigInt;
1658
+ decimals: z.ZodNumber;
1659
+ }, "strip", z.ZodTypeAny, {
1660
+ value: bigint;
1661
+ decimals: number;
1662
+ }, {
1663
+ value: bigint;
1664
+ decimals: number;
1665
+ }>>;
1666
+ }, "strip", z.ZodTypeAny, {
1667
+ coingeckoId?: string | undefined;
1668
+ marketCapUsd?: {
1669
+ value: bigint;
1670
+ decimals: number;
1671
+ } | undefined;
1672
+ }, {
1673
+ coingeckoId?: string | undefined;
1674
+ marketCapUsd?: {
1675
+ value: bigint;
1676
+ decimals: number;
1677
+ } | undefined;
1678
+ }>, {
1679
+ coingeckoId: string | undefined;
1680
+ marketCapUsd: {
1681
+ value: bigint;
1682
+ decimals: number;
1683
+ } | undefined;
1684
+ }, {
1685
+ coingeckoId?: string | undefined;
1686
+ marketCapUsd?: {
1687
+ value: bigint;
1688
+ decimals: number;
1689
+ } | undefined;
1690
+ }>;
1691
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
1692
+ updatedAt: z.ZodNumber;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ symbol: string;
1695
+ type: "CryptoCurrency";
1696
+ id: string;
1697
+ name: string;
1698
+ market: {
1699
+ coingeckoId: string | undefined;
1700
+ marketCapUsd: {
1701
+ value: bigint;
1702
+ decimals: number;
1703
+ } | undefined;
1704
+ };
1705
+ updatedAt: number;
1706
+ icon?: string | undefined;
1707
+ priceDatasourceId?: string | undefined;
1708
+ }, {
1709
+ symbol: string;
1710
+ type: "CryptoCurrency";
1711
+ id: string;
1712
+ name: string;
1713
+ market: {
1714
+ coingeckoId?: string | undefined;
1715
+ marketCapUsd?: {
1716
+ value: bigint;
1717
+ decimals: number;
1718
+ } | undefined;
1719
+ };
1720
+ updatedAt: number;
1721
+ icon?: string | undefined;
1722
+ priceDatasourceId?: string | undefined;
1723
+ }>, {
1724
+ icon: string | undefined;
1725
+ priceDatasourceId: string | undefined;
1726
+ symbol: string;
1727
+ type: "CryptoCurrency";
1728
+ id: string;
1729
+ name: string;
1730
+ market: {
1731
+ coingeckoId: string | undefined;
1732
+ marketCapUsd: {
1733
+ value: bigint;
1734
+ decimals: number;
1735
+ } | undefined;
1736
+ };
1737
+ updatedAt: number;
1738
+ }, {
1739
+ symbol: string;
1740
+ type: "CryptoCurrency";
1741
+ id: string;
1742
+ name: string;
1743
+ market: {
1744
+ coingeckoId?: string | undefined;
1745
+ marketCapUsd?: {
1746
+ value: bigint;
1747
+ decimals: number;
1748
+ } | undefined;
1749
+ };
1750
+ updatedAt: number;
1751
+ icon?: string | undefined;
1752
+ priceDatasourceId?: string | undefined;
1753
+ }>, z.ZodEffects<z.ZodObject<{
1754
+ type: z.ZodLiteral<"FiatCurrency">;
1755
+ 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">]>;
1756
+ name: z.ZodString;
1757
+ symbol: z.ZodString;
1758
+ icon: z.ZodOptional<z.ZodString>;
1759
+ }, "strip", z.ZodTypeAny, {
1760
+ symbol: string;
1761
+ type: "FiatCurrency";
1762
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1763
+ name: string;
1764
+ icon?: string | undefined;
1765
+ }, {
1766
+ symbol: string;
1767
+ type: "FiatCurrency";
1768
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1769
+ name: string;
1770
+ icon?: string | undefined;
1771
+ }>, {
1772
+ icon: string | undefined;
1773
+ symbol: string;
1774
+ type: "FiatCurrency";
1775
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1776
+ name: string;
1777
+ }, {
1778
+ symbol: string;
1779
+ type: "FiatCurrency";
1780
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1781
+ name: string;
1782
+ icon?: string | undefined;
1783
+ }>, z.ZodEffects<z.ZodObject<{
1784
+ type: z.ZodLiteral<"Nft">;
1785
+ id: z.ZodString;
1786
+ name: z.ZodOptional<z.ZodString>;
1787
+ symbol: z.ZodOptional<z.ZodString>;
1788
+ image: z.ZodOptional<z.ZodString>;
1789
+ metadata: z.ZodOptional<z.ZodString>;
1790
+ updatedAt: z.ZodNumber;
1791
+ }, "strip", z.ZodTypeAny, {
1792
+ type: "Nft";
1793
+ id: string;
1794
+ updatedAt: number;
1795
+ symbol?: string | undefined;
1796
+ name?: string | undefined;
1797
+ image?: string | undefined;
1798
+ metadata?: string | undefined;
1799
+ }, {
1800
+ type: "Nft";
1801
+ id: string;
1802
+ updatedAt: number;
1803
+ symbol?: string | undefined;
1804
+ name?: string | undefined;
1805
+ image?: string | undefined;
1806
+ metadata?: string | undefined;
1807
+ }>, {
1808
+ name: string | undefined;
1809
+ symbol: string | undefined;
1810
+ image: string | undefined;
1811
+ metadata: string | undefined;
1812
+ type: "Nft";
1813
+ id: string;
1814
+ updatedAt: number;
1815
+ }, {
1816
+ type: "Nft";
1817
+ id: string;
1818
+ updatedAt: number;
1819
+ symbol?: string | undefined;
1820
+ name?: string | undefined;
1821
+ image?: string | undefined;
1822
+ metadata?: string | undefined;
1823
+ }>]>;
1824
+ amount: z.ZodObject<{
1825
+ value: z.ZodBigInt;
1826
+ decimals: z.ZodNumber;
1827
+ }, "strip", z.ZodTypeAny, {
1828
+ value: bigint;
1829
+ decimals: number;
1830
+ }, {
1831
+ value: bigint;
1832
+ decimals: number;
1833
+ }>;
1834
+ price: z.ZodOptional<z.ZodObject<{
1835
+ cryptoCurrencyId: z.ZodString;
1836
+ fiatCurrencyId: z.ZodString;
1837
+ price: z.ZodObject<{
1838
+ value: z.ZodBigInt;
1839
+ decimals: z.ZodNumber;
1840
+ }, "strip", z.ZodTypeAny, {
1841
+ value: bigint;
1842
+ decimals: number;
1843
+ }, {
1844
+ value: bigint;
1845
+ decimals: number;
1846
+ }>;
1847
+ timestamp: z.ZodNumber;
1848
+ }, "strip", z.ZodTypeAny, {
1849
+ cryptoCurrencyId: string;
1850
+ fiatCurrencyId: string;
1851
+ price: {
1852
+ value: bigint;
1853
+ decimals: number;
1854
+ };
1855
+ timestamp: number;
1856
+ }, {
1857
+ cryptoCurrencyId: string;
1858
+ fiatCurrencyId: string;
1859
+ price: {
1860
+ value: bigint;
1861
+ decimals: number;
1862
+ };
1863
+ timestamp: number;
1864
+ }>>;
1865
+ }, {
1866
+ direction: z.ZodLiteral<"out">;
1867
+ }>, {
1868
+ asset: z.ZodEffects<z.ZodObject<{
1869
+ type: z.ZodLiteral<"Nft">;
1870
+ id: z.ZodString;
1871
+ name: z.ZodOptional<z.ZodString>;
1872
+ symbol: z.ZodOptional<z.ZodString>;
1873
+ image: z.ZodOptional<z.ZodString>;
1874
+ metadata: z.ZodOptional<z.ZodString>;
1875
+ updatedAt: z.ZodNumber;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ type: "Nft";
1878
+ id: string;
1879
+ updatedAt: number;
1880
+ symbol?: string | undefined;
1881
+ name?: string | undefined;
1882
+ image?: string | undefined;
1883
+ metadata?: string | undefined;
1884
+ }, {
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
+ name: string | undefined;
1894
+ symbol: string | undefined;
1895
+ image: string | undefined;
1896
+ metadata: string | undefined;
1897
+ type: "Nft";
1898
+ id: string;
1899
+ updatedAt: number;
1900
+ }, {
1901
+ type: "Nft";
1902
+ id: string;
1903
+ updatedAt: number;
1904
+ symbol?: string | undefined;
1905
+ name?: string | undefined;
1906
+ image?: string | undefined;
1907
+ metadata?: string | undefined;
1908
+ }>;
1909
+ }>, "strip", z.ZodTypeAny, {
1910
+ asset: {
1911
+ name: string | undefined;
1912
+ symbol: string | undefined;
1913
+ image: string | undefined;
1914
+ metadata: string | undefined;
1915
+ type: "Nft";
1916
+ id: string;
1917
+ updatedAt: number;
1918
+ };
1919
+ amount: {
1920
+ value: bigint;
1921
+ decimals: number;
1922
+ };
1923
+ direction: "out";
1924
+ price?: {
1925
+ cryptoCurrencyId: string;
1926
+ fiatCurrencyId: string;
1927
+ price: {
1928
+ value: bigint;
1929
+ decimals: number;
1930
+ };
1931
+ timestamp: number;
1932
+ } | undefined;
1933
+ from?: string | undefined;
1934
+ to?: string | undefined;
1935
+ }, {
1936
+ asset: {
1937
+ type: "Nft";
1938
+ id: string;
1939
+ updatedAt: number;
1940
+ symbol?: string | undefined;
1941
+ name?: string | undefined;
1942
+ image?: string | undefined;
1943
+ metadata?: string | undefined;
1944
+ };
1945
+ amount: {
1946
+ value: bigint;
1947
+ decimals: number;
1948
+ };
1949
+ direction: "out";
1950
+ price?: {
1951
+ cryptoCurrencyId: string;
1952
+ fiatCurrencyId: string;
1953
+ price: {
1954
+ value: bigint;
1955
+ decimals: number;
1956
+ };
1957
+ timestamp: number;
1958
+ } | undefined;
1959
+ from?: string | undefined;
1960
+ to?: string | undefined;
1961
+ }>, {
1962
+ from: string | undefined;
1963
+ to: string | undefined;
1964
+ price: {
1965
+ cryptoCurrencyId: string;
1966
+ fiatCurrencyId: string;
1967
+ price: {
1968
+ value: bigint;
1969
+ decimals: number;
1970
+ };
1971
+ timestamp: number;
1972
+ } | undefined;
1973
+ asset: {
1974
+ name: string | undefined;
1975
+ symbol: string | undefined;
1976
+ image: string | undefined;
1977
+ metadata: string | undefined;
1978
+ type: "Nft";
1979
+ id: string;
1980
+ updatedAt: number;
1981
+ };
1982
+ amount: {
1983
+ value: bigint;
1984
+ decimals: number;
1985
+ };
1986
+ direction: "out";
1987
+ }, {
1988
+ asset: {
1989
+ type: "Nft";
1990
+ id: string;
1991
+ updatedAt: number;
1992
+ symbol?: string | undefined;
1993
+ name?: string | undefined;
1994
+ image?: string | undefined;
1995
+ metadata?: string | undefined;
1996
+ };
1997
+ amount: {
1998
+ value: bigint;
1999
+ decimals: number;
2000
+ };
2001
+ direction: "out";
2002
+ price?: {
2003
+ cryptoCurrencyId: string;
2004
+ fiatCurrencyId: string;
2005
+ price: {
2006
+ value: bigint;
2007
+ decimals: number;
2008
+ };
2009
+ timestamp: number;
2010
+ } | undefined;
2011
+ from?: string | undefined;
2012
+ to?: string | undefined;
2013
+ }>]>, "many">;
2014
+ }>, "strip", z.ZodTypeAny, {
2015
+ type: "NormalAction";
2016
+ timestamp: number;
2017
+ action: "swap-nft";
2018
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2019
+ transfers: ({
2020
+ from: string | undefined;
2021
+ to: string | undefined;
2022
+ price: {
2023
+ cryptoCurrencyId: string;
2024
+ fiatCurrencyId: string;
2025
+ price: {
2026
+ value: bigint;
2027
+ decimals: number;
2028
+ };
2029
+ timestamp: number;
2030
+ } | undefined;
2031
+ asset: {
2032
+ name: string | undefined;
2033
+ symbol: string | undefined;
2034
+ image: string | undefined;
2035
+ metadata: string | undefined;
2036
+ type: "Nft";
2037
+ id: string;
2038
+ updatedAt: number;
2039
+ };
2040
+ amount: {
2041
+ value: bigint;
2042
+ decimals: number;
2043
+ };
2044
+ direction: "in";
2045
+ } | {
2046
+ from: string | undefined;
2047
+ to: string | undefined;
2048
+ price: {
2049
+ cryptoCurrencyId: string;
2050
+ fiatCurrencyId: string;
2051
+ price: {
2052
+ value: bigint;
2053
+ decimals: number;
2054
+ };
2055
+ timestamp: number;
2056
+ } | undefined;
2057
+ asset: {
2058
+ name: string | undefined;
2059
+ symbol: string | undefined;
2060
+ image: string | undefined;
2061
+ metadata: string | undefined;
2062
+ type: "Nft";
2063
+ id: string;
2064
+ updatedAt: number;
2065
+ };
2066
+ amount: {
2067
+ value: bigint;
2068
+ decimals: number;
2069
+ };
2070
+ direction: "out";
2071
+ })[];
2072
+ comment?: string | undefined;
2073
+ app?: {
2074
+ description: string | undefined;
2075
+ website: string | undefined;
2076
+ icon: string | undefined;
2077
+ id: string;
2078
+ name: string;
2079
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2080
+ } | undefined;
2081
+ }, {
2082
+ type: "NormalAction";
2083
+ timestamp: number;
2084
+ action: "swap-nft";
2085
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2086
+ transfers: ({
2087
+ asset: {
2088
+ type: "Nft";
2089
+ id: string;
2090
+ updatedAt: number;
2091
+ symbol?: string | undefined;
2092
+ name?: string | undefined;
2093
+ image?: string | undefined;
2094
+ metadata?: string | undefined;
2095
+ };
2096
+ amount: {
2097
+ value: bigint;
2098
+ decimals: number;
2099
+ };
2100
+ direction: "in";
2101
+ price?: {
2102
+ cryptoCurrencyId: string;
2103
+ fiatCurrencyId: string;
2104
+ price: {
2105
+ value: bigint;
2106
+ decimals: number;
2107
+ };
2108
+ timestamp: number;
2109
+ } | undefined;
2110
+ from?: string | undefined;
2111
+ to?: string | undefined;
2112
+ } | {
2113
+ asset: {
2114
+ type: "Nft";
2115
+ id: string;
2116
+ updatedAt: number;
2117
+ symbol?: string | undefined;
2118
+ name?: string | undefined;
2119
+ image?: string | undefined;
2120
+ metadata?: string | undefined;
2121
+ };
2122
+ amount: {
2123
+ value: bigint;
2124
+ decimals: number;
2125
+ };
2126
+ direction: "out";
2127
+ price?: {
2128
+ cryptoCurrencyId: string;
2129
+ fiatCurrencyId: string;
2130
+ price: {
2131
+ value: bigint;
2132
+ decimals: number;
2133
+ };
2134
+ timestamp: number;
2135
+ } | undefined;
2136
+ from?: string | undefined;
2137
+ to?: string | undefined;
2138
+ })[];
2139
+ comment?: string | undefined;
2140
+ app?: {
2141
+ id: string;
2142
+ name: string;
2143
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2144
+ icon?: string | undefined;
2145
+ description?: string | undefined;
2146
+ website?: string | undefined;
2147
+ } | undefined;
2148
+ }>, {
2149
+ comment: string | undefined;
2150
+ app: {
2151
+ description: string | undefined;
2152
+ website: string | undefined;
2153
+ icon: string | undefined;
2154
+ id: string;
2155
+ name: string;
2156
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2157
+ } | undefined;
2158
+ type: "NormalAction";
2159
+ timestamp: number;
2160
+ action: "swap-nft";
2161
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2162
+ transfers: ({
2163
+ from: string | undefined;
2164
+ to: string | undefined;
2165
+ price: {
2166
+ cryptoCurrencyId: string;
2167
+ fiatCurrencyId: string;
2168
+ price: {
2169
+ value: bigint;
2170
+ decimals: number;
2171
+ };
2172
+ timestamp: number;
2173
+ } | undefined;
2174
+ asset: {
2175
+ name: string | undefined;
2176
+ symbol: string | undefined;
2177
+ image: string | undefined;
2178
+ metadata: string | undefined;
2179
+ type: "Nft";
2180
+ id: string;
2181
+ updatedAt: number;
2182
+ };
2183
+ amount: {
2184
+ value: bigint;
2185
+ decimals: number;
2186
+ };
2187
+ direction: "in";
2188
+ } | {
2189
+ from: string | undefined;
2190
+ to: string | undefined;
2191
+ price: {
2192
+ cryptoCurrencyId: string;
2193
+ fiatCurrencyId: string;
2194
+ price: {
2195
+ value: bigint;
2196
+ decimals: number;
2197
+ };
2198
+ timestamp: number;
2199
+ } | undefined;
2200
+ asset: {
2201
+ name: string | undefined;
2202
+ symbol: string | undefined;
2203
+ image: string | undefined;
2204
+ metadata: string | undefined;
2205
+ type: "Nft";
2206
+ id: string;
2207
+ updatedAt: number;
2208
+ };
2209
+ amount: {
2210
+ value: bigint;
2211
+ decimals: number;
2212
+ };
2213
+ direction: "out";
2214
+ })[];
2215
+ }, {
2216
+ type: "NormalAction";
2217
+ timestamp: number;
2218
+ action: "swap-nft";
2219
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2220
+ transfers: ({
2221
+ asset: {
2222
+ type: "Nft";
2223
+ id: string;
2224
+ updatedAt: number;
2225
+ symbol?: string | undefined;
2226
+ name?: string | undefined;
2227
+ image?: string | undefined;
2228
+ metadata?: string | undefined;
2229
+ };
2230
+ amount: {
2231
+ value: bigint;
2232
+ decimals: number;
2233
+ };
2234
+ direction: "in";
2235
+ price?: {
2236
+ cryptoCurrencyId: string;
2237
+ fiatCurrencyId: string;
2238
+ price: {
2239
+ value: bigint;
2240
+ decimals: number;
2241
+ };
2242
+ timestamp: number;
2243
+ } | undefined;
2244
+ from?: string | undefined;
2245
+ to?: string | undefined;
2246
+ } | {
2247
+ asset: {
2248
+ type: "Nft";
2249
+ id: string;
2250
+ updatedAt: number;
2251
+ symbol?: string | undefined;
2252
+ name?: string | undefined;
2253
+ image?: string | undefined;
2254
+ metadata?: string | undefined;
2255
+ };
2256
+ amount: {
2257
+ value: bigint;
2258
+ decimals: number;
2259
+ };
2260
+ direction: "out";
2261
+ price?: {
2262
+ cryptoCurrencyId: string;
2263
+ fiatCurrencyId: string;
2264
+ price: {
2265
+ value: bigint;
2266
+ decimals: number;
2267
+ };
2268
+ timestamp: number;
2269
+ } | undefined;
2270
+ from?: string | undefined;
2271
+ to?: string | undefined;
2272
+ })[];
2273
+ comment?: string | undefined;
2274
+ app?: {
2275
+ id: string;
2276
+ name: string;
2277
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2278
+ icon?: string | undefined;
2279
+ description?: string | undefined;
2280
+ website?: string | undefined;
2281
+ } | undefined;
2282
+ }>;
2283
+ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2284
+ 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">]>;
2285
+ source: z.ZodString;
2286
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
2287
+ timestamp: z.ZodNumber;
2288
+ order: z.ZodNumber;
2289
+ comment: z.ZodOptional<z.ZodString>;
2290
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2291
+ id: z.ZodString;
2292
+ 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">;
2293
+ name: z.ZodString;
2294
+ description: z.ZodOptional<z.ZodString>;
2295
+ website: z.ZodOptional<z.ZodString>;
2296
+ icon: z.ZodOptional<z.ZodString>;
2297
+ }, "strip", z.ZodTypeAny, {
2298
+ id: string;
2299
+ name: string;
2300
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2301
+ icon?: string | undefined;
2302
+ description?: string | undefined;
2303
+ website?: string | undefined;
2304
+ }, {
2305
+ id: string;
2306
+ name: string;
2307
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2308
+ icon?: string | undefined;
2309
+ description?: string | undefined;
2310
+ website?: string | undefined;
2311
+ }>, {
2312
+ description: string | undefined;
2313
+ website: string | undefined;
2314
+ icon: string | undefined;
2315
+ id: string;
2316
+ name: string;
2317
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2318
+ }, {
2319
+ id: string;
2320
+ name: string;
2321
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2322
+ icon?: string | undefined;
2323
+ description?: string | undefined;
2324
+ website?: string | undefined;
2325
+ }>>;
2326
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2327
+ from: z.ZodOptional<z.ZodString>;
2328
+ to: z.ZodOptional<z.ZodString>;
2329
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2330
+ type: z.ZodLiteral<"CryptoCurrency">;
2331
+ id: z.ZodString;
2332
+ name: z.ZodString;
2333
+ symbol: z.ZodString;
2334
+ icon: z.ZodOptional<z.ZodString>;
2335
+ market: z.ZodEffects<z.ZodObject<{
2336
+ coingeckoId: z.ZodOptional<z.ZodString>;
2337
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
2338
+ value: z.ZodBigInt;
2339
+ decimals: z.ZodNumber;
2340
+ }, "strip", z.ZodTypeAny, {
2341
+ value: bigint;
2342
+ decimals: number;
2343
+ }, {
2344
+ value: bigint;
2345
+ decimals: number;
2346
+ }>>;
2347
+ }, "strip", z.ZodTypeAny, {
2348
+ coingeckoId?: string | undefined;
2349
+ marketCapUsd?: {
2350
+ value: bigint;
2351
+ decimals: number;
2352
+ } | undefined;
2353
+ }, {
2354
+ coingeckoId?: string | undefined;
2355
+ marketCapUsd?: {
2356
+ value: bigint;
2357
+ decimals: number;
2358
+ } | undefined;
2359
+ }>, {
2360
+ coingeckoId: string | undefined;
2361
+ marketCapUsd: {
2362
+ value: bigint;
2363
+ decimals: number;
2364
+ } | undefined;
2365
+ }, {
2366
+ coingeckoId?: string | undefined;
2367
+ marketCapUsd?: {
2368
+ value: bigint;
2369
+ decimals: number;
2370
+ } | undefined;
2371
+ }>;
2372
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2373
+ updatedAt: z.ZodNumber;
2374
+ }, "strip", z.ZodTypeAny, {
2375
+ symbol: string;
2376
+ type: "CryptoCurrency";
2377
+ id: string;
2378
+ name: string;
2379
+ market: {
2380
+ coingeckoId: string | undefined;
2381
+ marketCapUsd: {
2382
+ value: bigint;
2383
+ decimals: number;
2384
+ } | undefined;
2385
+ };
2386
+ updatedAt: number;
2387
+ icon?: string | undefined;
2388
+ priceDatasourceId?: string | undefined;
2389
+ }, {
2390
+ symbol: string;
2391
+ type: "CryptoCurrency";
2392
+ id: string;
2393
+ name: string;
2394
+ market: {
2395
+ coingeckoId?: string | undefined;
2396
+ marketCapUsd?: {
2397
+ value: bigint;
2398
+ decimals: number;
2399
+ } | undefined;
2400
+ };
2401
+ updatedAt: number;
2402
+ icon?: string | undefined;
2403
+ priceDatasourceId?: string | undefined;
2404
+ }>, {
2405
+ icon: string | undefined;
2406
+ priceDatasourceId: string | undefined;
2407
+ symbol: string;
2408
+ type: "CryptoCurrency";
2409
+ id: string;
2410
+ name: string;
2411
+ market: {
2412
+ coingeckoId: string | undefined;
2413
+ marketCapUsd: {
2414
+ value: bigint;
2415
+ decimals: number;
2416
+ } | undefined;
2417
+ };
2418
+ updatedAt: number;
2419
+ }, {
2420
+ symbol: string;
2421
+ type: "CryptoCurrency";
2422
+ id: string;
2423
+ name: string;
2424
+ market: {
2425
+ coingeckoId?: string | undefined;
2426
+ marketCapUsd?: {
2427
+ value: bigint;
2428
+ decimals: number;
2429
+ } | undefined;
2430
+ };
2431
+ updatedAt: number;
2432
+ icon?: string | undefined;
2433
+ priceDatasourceId?: string | undefined;
2434
+ }>, z.ZodEffects<z.ZodObject<{
2435
+ type: z.ZodLiteral<"FiatCurrency">;
2436
+ 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">]>;
2437
+ name: z.ZodString;
2438
+ symbol: z.ZodString;
2439
+ icon: z.ZodOptional<z.ZodString>;
2440
+ }, "strip", z.ZodTypeAny, {
2441
+ symbol: string;
2442
+ type: "FiatCurrency";
2443
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2444
+ name: string;
2445
+ icon?: string | undefined;
2446
+ }, {
2447
+ symbol: string;
2448
+ type: "FiatCurrency";
2449
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2450
+ name: string;
2451
+ icon?: string | undefined;
2452
+ }>, {
2453
+ icon: string | undefined;
2454
+ symbol: string;
2455
+ type: "FiatCurrency";
2456
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2457
+ name: string;
2458
+ }, {
2459
+ symbol: string;
2460
+ type: "FiatCurrency";
2461
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2462
+ name: string;
2463
+ icon?: string | undefined;
2464
+ }>, z.ZodEffects<z.ZodObject<{
2465
+ type: z.ZodLiteral<"Nft">;
2466
+ id: z.ZodString;
2467
+ name: z.ZodOptional<z.ZodString>;
2468
+ symbol: z.ZodOptional<z.ZodString>;
2469
+ image: z.ZodOptional<z.ZodString>;
2470
+ metadata: z.ZodOptional<z.ZodString>;
2471
+ updatedAt: z.ZodNumber;
2472
+ }, "strip", z.ZodTypeAny, {
2473
+ type: "Nft";
2474
+ id: string;
2475
+ updatedAt: number;
2476
+ symbol?: string | undefined;
2477
+ name?: string | undefined;
2478
+ image?: string | undefined;
2479
+ metadata?: string | undefined;
2480
+ }, {
2481
+ type: "Nft";
2482
+ id: string;
2483
+ updatedAt: number;
2484
+ symbol?: string | undefined;
2485
+ name?: string | undefined;
2486
+ image?: string | undefined;
2487
+ metadata?: string | undefined;
2488
+ }>, {
2489
+ name: string | undefined;
2490
+ symbol: string | undefined;
2491
+ image: string | undefined;
2492
+ metadata: string | undefined;
2493
+ type: "Nft";
2494
+ id: string;
2495
+ updatedAt: number;
2496
+ }, {
2497
+ type: "Nft";
2498
+ id: string;
2499
+ updatedAt: number;
2500
+ symbol?: string | undefined;
2501
+ name?: string | undefined;
2502
+ image?: string | undefined;
2503
+ metadata?: string | undefined;
2504
+ }>]>;
2505
+ amount: z.ZodObject<{
2506
+ value: z.ZodBigInt;
2507
+ decimals: z.ZodNumber;
2508
+ }, "strip", z.ZodTypeAny, {
2509
+ value: bigint;
2510
+ decimals: number;
2511
+ }, {
2512
+ value: bigint;
2513
+ decimals: number;
2514
+ }>;
2515
+ price: z.ZodOptional<z.ZodObject<{
2516
+ cryptoCurrencyId: z.ZodString;
2517
+ fiatCurrencyId: z.ZodString;
2518
+ price: z.ZodObject<{
2519
+ value: z.ZodBigInt;
2520
+ decimals: z.ZodNumber;
2521
+ }, "strip", z.ZodTypeAny, {
2522
+ value: bigint;
2523
+ decimals: number;
2524
+ }, {
2525
+ value: bigint;
2526
+ decimals: number;
2527
+ }>;
2528
+ timestamp: z.ZodNumber;
2529
+ }, "strip", z.ZodTypeAny, {
2530
+ cryptoCurrencyId: string;
2531
+ fiatCurrencyId: string;
2532
+ price: {
2533
+ value: bigint;
2534
+ decimals: number;
2535
+ };
2536
+ timestamp: number;
2537
+ }, {
2538
+ cryptoCurrencyId: string;
2539
+ fiatCurrencyId: string;
2540
+ price: {
2541
+ value: bigint;
2542
+ decimals: number;
2543
+ };
2544
+ timestamp: number;
2545
+ }>>;
2546
+ }, {
2547
+ direction: z.ZodLiteral<"in">;
2548
+ }>, "strip", z.ZodTypeAny, {
2549
+ asset: {
2550
+ icon: string | undefined;
2551
+ priceDatasourceId: string | undefined;
2552
+ symbol: string;
2553
+ type: "CryptoCurrency";
2554
+ id: string;
2555
+ name: string;
2556
+ market: {
2557
+ coingeckoId: string | undefined;
2558
+ marketCapUsd: {
2559
+ value: bigint;
2560
+ decimals: number;
2561
+ } | undefined;
2562
+ };
2563
+ updatedAt: number;
2564
+ } | {
2565
+ icon: string | undefined;
2566
+ symbol: string;
2567
+ type: "FiatCurrency";
2568
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2569
+ name: string;
2570
+ } | {
2571
+ name: string | undefined;
2572
+ symbol: string | undefined;
2573
+ image: string | undefined;
2574
+ metadata: string | undefined;
2575
+ type: "Nft";
2576
+ id: string;
2577
+ updatedAt: number;
2578
+ };
2579
+ amount: {
2580
+ value: bigint;
2581
+ decimals: number;
2582
+ };
2583
+ direction: "in";
2584
+ price?: {
2585
+ cryptoCurrencyId: string;
2586
+ fiatCurrencyId: string;
2587
+ price: {
2588
+ value: bigint;
2589
+ decimals: number;
2590
+ };
2591
+ timestamp: number;
2592
+ } | undefined;
2593
+ from?: string | undefined;
2594
+ to?: string | undefined;
2595
+ }, {
2596
+ asset: {
2597
+ symbol: string;
2598
+ type: "CryptoCurrency";
2599
+ id: string;
2600
+ name: string;
2601
+ market: {
2602
+ coingeckoId?: string | undefined;
2603
+ marketCapUsd?: {
2604
+ value: bigint;
2605
+ decimals: number;
2606
+ } | undefined;
2607
+ };
2608
+ updatedAt: number;
2609
+ icon?: string | undefined;
2610
+ priceDatasourceId?: string | undefined;
2611
+ } | {
2612
+ symbol: string;
2613
+ type: "FiatCurrency";
2614
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2615
+ name: string;
2616
+ icon?: string | undefined;
2617
+ } | {
2618
+ type: "Nft";
2619
+ id: string;
2620
+ updatedAt: number;
2621
+ symbol?: string | undefined;
2622
+ name?: string | undefined;
2623
+ image?: string | undefined;
2624
+ metadata?: string | undefined;
2625
+ };
2626
+ amount: {
2627
+ value: bigint;
2628
+ decimals: number;
2629
+ };
2630
+ direction: "in";
2631
+ price?: {
2632
+ cryptoCurrencyId: string;
2633
+ fiatCurrencyId: string;
2634
+ price: {
2635
+ value: bigint;
2636
+ decimals: number;
2637
+ };
2638
+ timestamp: number;
2639
+ } | undefined;
2640
+ from?: string | undefined;
2641
+ to?: string | undefined;
2642
+ }>, {
2643
+ from: string | undefined;
2644
+ to: string | undefined;
2645
+ price: {
2646
+ cryptoCurrencyId: string;
2647
+ fiatCurrencyId: string;
2648
+ price: {
2649
+ value: bigint;
2650
+ decimals: number;
2651
+ };
2652
+ timestamp: number;
2653
+ } | undefined;
2654
+ asset: {
2655
+ icon: string | undefined;
2656
+ priceDatasourceId: string | undefined;
2657
+ symbol: string;
2658
+ type: "CryptoCurrency";
2659
+ id: string;
2660
+ name: string;
2661
+ market: {
2662
+ coingeckoId: string | undefined;
2663
+ marketCapUsd: {
2664
+ value: bigint;
2665
+ decimals: number;
2666
+ } | undefined;
2667
+ };
2668
+ updatedAt: number;
2669
+ } | {
2670
+ icon: string | undefined;
2671
+ symbol: string;
2672
+ type: "FiatCurrency";
2673
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2674
+ name: string;
2675
+ } | {
2676
+ name: string | undefined;
2677
+ symbol: string | undefined;
2678
+ image: string | undefined;
2679
+ metadata: string | undefined;
2680
+ type: "Nft";
2681
+ id: string;
2682
+ updatedAt: number;
2683
+ };
2684
+ amount: {
2685
+ value: bigint;
2686
+ decimals: number;
2687
+ };
2688
+ direction: "in";
2689
+ }, {
2690
+ asset: {
2691
+ symbol: string;
2692
+ type: "CryptoCurrency";
2693
+ id: string;
2694
+ name: string;
2695
+ market: {
2696
+ coingeckoId?: string | undefined;
2697
+ marketCapUsd?: {
2698
+ value: bigint;
2699
+ decimals: number;
2700
+ } | undefined;
2701
+ };
2702
+ updatedAt: number;
2703
+ icon?: string | undefined;
2704
+ priceDatasourceId?: string | undefined;
2705
+ } | {
2706
+ symbol: string;
2707
+ type: "FiatCurrency";
2708
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2709
+ name: string;
2710
+ icon?: string | undefined;
2711
+ } | {
2712
+ type: "Nft";
2713
+ id: string;
2714
+ updatedAt: number;
2715
+ symbol?: string | undefined;
2716
+ name?: string | undefined;
2717
+ image?: string | undefined;
2718
+ metadata?: string | undefined;
2719
+ };
2720
+ amount: {
2721
+ value: bigint;
2722
+ decimals: number;
2723
+ };
2724
+ direction: "in";
2725
+ price?: {
2726
+ cryptoCurrencyId: string;
2727
+ fiatCurrencyId: string;
2728
+ price: {
2729
+ value: bigint;
2730
+ decimals: number;
2731
+ };
2732
+ timestamp: number;
2733
+ } | undefined;
2734
+ from?: string | undefined;
2735
+ to?: string | undefined;
2736
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2737
+ from: z.ZodOptional<z.ZodString>;
2738
+ to: z.ZodOptional<z.ZodString>;
2739
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2740
+ type: z.ZodLiteral<"CryptoCurrency">;
2741
+ id: z.ZodString;
2742
+ name: z.ZodString;
2743
+ symbol: z.ZodString;
2744
+ icon: z.ZodOptional<z.ZodString>;
2745
+ market: z.ZodEffects<z.ZodObject<{
2746
+ coingeckoId: z.ZodOptional<z.ZodString>;
2747
+ marketCapUsd: z.ZodOptional<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
+ }, "strip", z.ZodTypeAny, {
2758
+ coingeckoId?: string | undefined;
2759
+ marketCapUsd?: {
2760
+ value: bigint;
2761
+ decimals: number;
2762
+ } | undefined;
2763
+ }, {
2764
+ coingeckoId?: string | undefined;
2765
+ marketCapUsd?: {
2766
+ value: bigint;
2767
+ decimals: number;
2768
+ } | undefined;
2769
+ }>, {
2770
+ coingeckoId: string | undefined;
2771
+ marketCapUsd: {
2772
+ value: bigint;
2773
+ decimals: number;
2774
+ } | undefined;
2775
+ }, {
2776
+ coingeckoId?: string | undefined;
2777
+ marketCapUsd?: {
2778
+ value: bigint;
2779
+ decimals: number;
2780
+ } | undefined;
2781
+ }>;
2782
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
2783
+ updatedAt: z.ZodNumber;
2784
+ }, "strip", z.ZodTypeAny, {
2785
+ symbol: string;
2786
+ type: "CryptoCurrency";
2787
+ id: string;
2788
+ name: string;
2789
+ market: {
2790
+ coingeckoId: string | undefined;
2791
+ marketCapUsd: {
2792
+ value: bigint;
2793
+ decimals: number;
2794
+ } | undefined;
2795
+ };
2796
+ updatedAt: number;
2797
+ icon?: string | undefined;
2798
+ priceDatasourceId?: string | undefined;
2799
+ }, {
2800
+ symbol: string;
2801
+ type: "CryptoCurrency";
2802
+ id: string;
2803
+ name: string;
2804
+ market: {
2805
+ coingeckoId?: string | undefined;
2806
+ marketCapUsd?: {
2807
+ value: bigint;
2808
+ decimals: number;
2809
+ } | undefined;
2810
+ };
2811
+ updatedAt: number;
2812
+ icon?: string | undefined;
2813
+ priceDatasourceId?: string | undefined;
2814
+ }>, {
2815
+ icon: string | undefined;
2816
+ priceDatasourceId: string | undefined;
2817
+ symbol: string;
2818
+ type: "CryptoCurrency";
2819
+ id: string;
2820
+ name: string;
2821
+ market: {
2822
+ coingeckoId: string | undefined;
2823
+ marketCapUsd: {
2824
+ value: bigint;
2825
+ decimals: number;
2826
+ } | undefined;
2827
+ };
2828
+ updatedAt: number;
2829
+ }, {
2830
+ symbol: string;
2831
+ type: "CryptoCurrency";
2832
+ id: string;
2833
+ name: string;
2834
+ market: {
2835
+ coingeckoId?: string | undefined;
2836
+ marketCapUsd?: {
2837
+ value: bigint;
2838
+ decimals: number;
2839
+ } | undefined;
2840
+ };
2841
+ updatedAt: number;
2842
+ icon?: string | undefined;
2843
+ priceDatasourceId?: string | undefined;
2844
+ }>, z.ZodEffects<z.ZodObject<{
2845
+ type: z.ZodLiteral<"FiatCurrency">;
2846
+ 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">]>;
2847
+ name: z.ZodString;
2848
+ symbol: z.ZodString;
2849
+ icon: z.ZodOptional<z.ZodString>;
2850
+ }, "strip", z.ZodTypeAny, {
2851
+ symbol: string;
2852
+ type: "FiatCurrency";
2853
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2854
+ name: string;
2855
+ icon?: string | undefined;
2856
+ }, {
2857
+ symbol: string;
2858
+ type: "FiatCurrency";
2859
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2860
+ name: string;
2861
+ icon?: string | undefined;
2862
+ }>, {
2863
+ icon: string | undefined;
2864
+ symbol: string;
2865
+ type: "FiatCurrency";
2866
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2867
+ name: string;
2868
+ }, {
2869
+ symbol: string;
2870
+ type: "FiatCurrency";
2871
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2872
+ name: string;
2873
+ icon?: string | undefined;
2874
+ }>, z.ZodEffects<z.ZodObject<{
2875
+ type: z.ZodLiteral<"Nft">;
2876
+ id: z.ZodString;
2877
+ name: z.ZodOptional<z.ZodString>;
2878
+ symbol: z.ZodOptional<z.ZodString>;
2879
+ image: z.ZodOptional<z.ZodString>;
2880
+ metadata: z.ZodOptional<z.ZodString>;
2881
+ updatedAt: z.ZodNumber;
2882
+ }, "strip", z.ZodTypeAny, {
2883
+ type: "Nft";
2884
+ id: string;
2885
+ updatedAt: number;
2886
+ symbol?: string | undefined;
2887
+ name?: string | undefined;
2888
+ image?: string | undefined;
2889
+ metadata?: string | undefined;
2890
+ }, {
2891
+ type: "Nft";
2892
+ id: string;
2893
+ updatedAt: number;
2894
+ symbol?: string | undefined;
2895
+ name?: string | undefined;
2896
+ image?: string | undefined;
2897
+ metadata?: string | undefined;
2898
+ }>, {
2899
+ name: string | undefined;
2900
+ symbol: string | undefined;
2901
+ image: string | undefined;
2902
+ metadata: string | undefined;
2903
+ type: "Nft";
2904
+ id: string;
2905
+ updatedAt: number;
2906
+ }, {
2907
+ type: "Nft";
2908
+ id: string;
2909
+ updatedAt: number;
2910
+ symbol?: string | undefined;
2911
+ name?: string | undefined;
2912
+ image?: string | undefined;
2913
+ metadata?: string | undefined;
2914
+ }>]>;
2915
+ amount: z.ZodObject<{
2916
+ value: z.ZodBigInt;
2917
+ decimals: z.ZodNumber;
2918
+ }, "strip", z.ZodTypeAny, {
2919
+ value: bigint;
2920
+ decimals: number;
2921
+ }, {
2922
+ value: bigint;
2923
+ decimals: number;
2924
+ }>;
2925
+ price: z.ZodOptional<z.ZodObject<{
2926
+ cryptoCurrencyId: z.ZodString;
2927
+ fiatCurrencyId: z.ZodString;
2928
+ price: z.ZodObject<{
2929
+ value: z.ZodBigInt;
2930
+ decimals: z.ZodNumber;
2931
+ }, "strip", z.ZodTypeAny, {
2932
+ value: bigint;
2933
+ decimals: number;
2934
+ }, {
2935
+ value: bigint;
2936
+ decimals: number;
2937
+ }>;
2938
+ timestamp: z.ZodNumber;
2939
+ }, "strip", z.ZodTypeAny, {
2940
+ cryptoCurrencyId: string;
2941
+ fiatCurrencyId: string;
2942
+ price: {
2943
+ value: bigint;
2944
+ decimals: number;
2945
+ };
2946
+ timestamp: number;
2947
+ }, {
2948
+ cryptoCurrencyId: string;
2949
+ fiatCurrencyId: string;
2950
+ price: {
2951
+ value: bigint;
2952
+ decimals: number;
2953
+ };
2954
+ timestamp: number;
2955
+ }>>;
2956
+ }, {
2957
+ direction: z.ZodLiteral<"out">;
2958
+ }>, "strip", z.ZodTypeAny, {
2959
+ asset: {
2960
+ icon: string | undefined;
2961
+ priceDatasourceId: string | undefined;
2962
+ symbol: string;
2963
+ type: "CryptoCurrency";
2964
+ id: string;
2965
+ name: string;
2966
+ market: {
2967
+ coingeckoId: string | undefined;
2968
+ marketCapUsd: {
2969
+ value: bigint;
2970
+ decimals: number;
2971
+ } | undefined;
2972
+ };
2973
+ updatedAt: number;
2974
+ } | {
2975
+ icon: string | undefined;
2976
+ symbol: string;
2977
+ type: "FiatCurrency";
2978
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2979
+ name: string;
2980
+ } | {
2981
+ name: string | undefined;
2982
+ symbol: string | undefined;
2983
+ image: string | undefined;
2984
+ metadata: string | undefined;
2985
+ type: "Nft";
2986
+ id: string;
2987
+ updatedAt: number;
2988
+ };
2989
+ amount: {
2990
+ value: bigint;
2991
+ decimals: number;
2992
+ };
2993
+ direction: "out";
2994
+ price?: {
2995
+ cryptoCurrencyId: string;
2996
+ fiatCurrencyId: string;
2997
+ price: {
2998
+ value: bigint;
2999
+ decimals: number;
3000
+ };
3001
+ timestamp: number;
3002
+ } | undefined;
3003
+ from?: string | undefined;
3004
+ to?: string | undefined;
3005
+ }, {
3006
+ asset: {
3007
+ symbol: string;
3008
+ type: "CryptoCurrency";
3009
+ id: string;
3010
+ name: string;
3011
+ market: {
3012
+ coingeckoId?: string | undefined;
3013
+ marketCapUsd?: {
3014
+ value: bigint;
3015
+ decimals: number;
3016
+ } | undefined;
3017
+ };
3018
+ updatedAt: number;
3019
+ icon?: string | undefined;
3020
+ priceDatasourceId?: string | undefined;
3021
+ } | {
3022
+ symbol: string;
3023
+ type: "FiatCurrency";
3024
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3025
+ name: string;
3026
+ icon?: string | undefined;
3027
+ } | {
3028
+ type: "Nft";
3029
+ id: string;
3030
+ updatedAt: number;
3031
+ symbol?: string | undefined;
3032
+ name?: string | undefined;
3033
+ image?: string | undefined;
3034
+ metadata?: string | undefined;
3035
+ };
3036
+ amount: {
3037
+ value: bigint;
3038
+ decimals: number;
3039
+ };
3040
+ direction: "out";
3041
+ price?: {
3042
+ cryptoCurrencyId: string;
3043
+ fiatCurrencyId: string;
3044
+ price: {
3045
+ value: bigint;
3046
+ decimals: number;
3047
+ };
3048
+ timestamp: number;
3049
+ } | undefined;
3050
+ from?: string | undefined;
3051
+ to?: string | undefined;
3052
+ }>, {
3053
+ from: string | undefined;
432
3054
  to: string | undefined;
433
3055
  price: {
434
3056
  cryptoCurrencyId: string;
@@ -437,9 +3059,253 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
437
3059
  value: bigint;
438
3060
  decimals: number;
439
3061
  };
440
- timestamp: number;
441
- } | undefined;
442
- asset: {
3062
+ timestamp: number;
3063
+ } | undefined;
3064
+ asset: {
3065
+ icon: string | undefined;
3066
+ priceDatasourceId: string | undefined;
3067
+ symbol: string;
3068
+ type: "CryptoCurrency";
3069
+ id: string;
3070
+ name: string;
3071
+ market: {
3072
+ coingeckoId: string | undefined;
3073
+ marketCapUsd: {
3074
+ value: bigint;
3075
+ decimals: number;
3076
+ } | undefined;
3077
+ };
3078
+ updatedAt: number;
3079
+ } | {
3080
+ icon: string | undefined;
3081
+ symbol: string;
3082
+ type: "FiatCurrency";
3083
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3084
+ name: string;
3085
+ } | {
3086
+ name: string | undefined;
3087
+ symbol: string | undefined;
3088
+ image: string | undefined;
3089
+ metadata: string | undefined;
3090
+ type: "Nft";
3091
+ id: string;
3092
+ updatedAt: number;
3093
+ };
3094
+ amount: {
3095
+ value: bigint;
3096
+ decimals: number;
3097
+ };
3098
+ direction: "out";
3099
+ }, {
3100
+ asset: {
3101
+ symbol: string;
3102
+ type: "CryptoCurrency";
3103
+ id: string;
3104
+ name: string;
3105
+ market: {
3106
+ coingeckoId?: string | undefined;
3107
+ marketCapUsd?: {
3108
+ value: bigint;
3109
+ decimals: number;
3110
+ } | undefined;
3111
+ };
3112
+ updatedAt: number;
3113
+ icon?: string | undefined;
3114
+ priceDatasourceId?: string | undefined;
3115
+ } | {
3116
+ symbol: string;
3117
+ type: "FiatCurrency";
3118
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3119
+ name: string;
3120
+ icon?: string | undefined;
3121
+ } | {
3122
+ type: "Nft";
3123
+ id: string;
3124
+ updatedAt: number;
3125
+ symbol?: string | undefined;
3126
+ name?: string | undefined;
3127
+ image?: string | undefined;
3128
+ metadata?: string | undefined;
3129
+ };
3130
+ amount: {
3131
+ value: bigint;
3132
+ decimals: number;
3133
+ };
3134
+ direction: "out";
3135
+ price?: {
3136
+ cryptoCurrencyId: string;
3137
+ fiatCurrencyId: string;
3138
+ price: {
3139
+ value: bigint;
3140
+ decimals: number;
3141
+ };
3142
+ timestamp: number;
3143
+ } | undefined;
3144
+ from?: string | undefined;
3145
+ to?: string | undefined;
3146
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
3147
+ from: z.ZodOptional<z.ZodString>;
3148
+ to: z.ZodOptional<z.ZodString>;
3149
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3150
+ type: z.ZodLiteral<"CryptoCurrency">;
3151
+ id: z.ZodString;
3152
+ name: z.ZodString;
3153
+ symbol: z.ZodString;
3154
+ icon: z.ZodOptional<z.ZodString>;
3155
+ market: z.ZodEffects<z.ZodObject<{
3156
+ coingeckoId: z.ZodOptional<z.ZodString>;
3157
+ marketCapUsd: z.ZodOptional<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
+ }, "strip", z.ZodTypeAny, {
3168
+ coingeckoId?: string | undefined;
3169
+ marketCapUsd?: {
3170
+ value: bigint;
3171
+ decimals: number;
3172
+ } | undefined;
3173
+ }, {
3174
+ coingeckoId?: string | undefined;
3175
+ marketCapUsd?: {
3176
+ value: bigint;
3177
+ decimals: number;
3178
+ } | undefined;
3179
+ }>, {
3180
+ coingeckoId: string | undefined;
3181
+ marketCapUsd: {
3182
+ value: bigint;
3183
+ decimals: number;
3184
+ } | undefined;
3185
+ }, {
3186
+ coingeckoId?: string | undefined;
3187
+ marketCapUsd?: {
3188
+ value: bigint;
3189
+ decimals: number;
3190
+ } | undefined;
3191
+ }>;
3192
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3193
+ updatedAt: z.ZodNumber;
3194
+ }, "strip", z.ZodTypeAny, {
3195
+ symbol: string;
3196
+ type: "CryptoCurrency";
3197
+ id: string;
3198
+ name: string;
3199
+ market: {
3200
+ coingeckoId: string | undefined;
3201
+ marketCapUsd: {
3202
+ value: bigint;
3203
+ decimals: number;
3204
+ } | undefined;
3205
+ };
3206
+ updatedAt: number;
3207
+ icon?: string | undefined;
3208
+ priceDatasourceId?: string | undefined;
3209
+ }, {
3210
+ symbol: string;
3211
+ type: "CryptoCurrency";
3212
+ id: string;
3213
+ name: string;
3214
+ market: {
3215
+ coingeckoId?: string | undefined;
3216
+ marketCapUsd?: {
3217
+ value: bigint;
3218
+ decimals: number;
3219
+ } | undefined;
3220
+ };
3221
+ updatedAt: number;
3222
+ icon?: string | undefined;
3223
+ priceDatasourceId?: string | undefined;
3224
+ }>, {
3225
+ icon: string | undefined;
3226
+ priceDatasourceId: string | undefined;
3227
+ symbol: string;
3228
+ type: "CryptoCurrency";
3229
+ id: string;
3230
+ name: string;
3231
+ market: {
3232
+ coingeckoId: string | undefined;
3233
+ marketCapUsd: {
3234
+ value: bigint;
3235
+ decimals: number;
3236
+ } | undefined;
3237
+ };
3238
+ updatedAt: number;
3239
+ }, {
3240
+ symbol: string;
3241
+ type: "CryptoCurrency";
3242
+ id: string;
3243
+ name: string;
3244
+ market: {
3245
+ coingeckoId?: string | undefined;
3246
+ marketCapUsd?: {
3247
+ value: bigint;
3248
+ decimals: number;
3249
+ } | undefined;
3250
+ };
3251
+ updatedAt: number;
3252
+ icon?: string | undefined;
3253
+ priceDatasourceId?: string | undefined;
3254
+ }>, z.ZodEffects<z.ZodObject<{
3255
+ type: z.ZodLiteral<"FiatCurrency">;
3256
+ 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">]>;
3257
+ name: z.ZodString;
3258
+ symbol: z.ZodString;
3259
+ icon: z.ZodOptional<z.ZodString>;
3260
+ }, "strip", z.ZodTypeAny, {
3261
+ symbol: string;
3262
+ type: "FiatCurrency";
3263
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3264
+ name: string;
3265
+ icon?: string | undefined;
3266
+ }, {
3267
+ symbol: string;
3268
+ type: "FiatCurrency";
3269
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3270
+ name: string;
3271
+ icon?: string | undefined;
3272
+ }>, {
3273
+ icon: string | undefined;
3274
+ symbol: string;
3275
+ type: "FiatCurrency";
3276
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3277
+ name: string;
3278
+ }, {
3279
+ symbol: string;
3280
+ type: "FiatCurrency";
3281
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3282
+ name: string;
3283
+ icon?: string | undefined;
3284
+ }>, z.ZodEffects<z.ZodObject<{
3285
+ type: z.ZodLiteral<"Nft">;
3286
+ id: z.ZodString;
3287
+ name: z.ZodOptional<z.ZodString>;
3288
+ symbol: z.ZodOptional<z.ZodString>;
3289
+ image: z.ZodOptional<z.ZodString>;
3290
+ metadata: z.ZodOptional<z.ZodString>;
3291
+ updatedAt: z.ZodNumber;
3292
+ }, "strip", z.ZodTypeAny, {
3293
+ type: "Nft";
3294
+ id: string;
3295
+ updatedAt: number;
3296
+ symbol?: string | undefined;
3297
+ name?: string | undefined;
3298
+ image?: string | undefined;
3299
+ metadata?: string | undefined;
3300
+ }, {
3301
+ type: "Nft";
3302
+ id: string;
3303
+ updatedAt: number;
3304
+ symbol?: string | undefined;
3305
+ name?: string | undefined;
3306
+ image?: string | undefined;
3307
+ metadata?: string | undefined;
3308
+ }>, {
443
3309
  name: string | undefined;
444
3310
  symbol: string | undefined;
445
3311
  image: string | undefined;
@@ -447,16 +3313,40 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
447
3313
  type: "Nft";
448
3314
  id: string;
449
3315
  updatedAt: number;
450
- };
451
- amount: {
3316
+ }, {
3317
+ type: "Nft";
3318
+ id: string;
3319
+ updatedAt: number;
3320
+ symbol?: string | undefined;
3321
+ name?: string | undefined;
3322
+ image?: string | undefined;
3323
+ metadata?: string | undefined;
3324
+ }>]>;
3325
+ amount: z.ZodObject<{
3326
+ value: z.ZodBigInt;
3327
+ decimals: z.ZodNumber;
3328
+ }, "strip", z.ZodTypeAny, {
452
3329
  value: bigint;
453
3330
  decimals: number;
454
- };
455
- direction: "in";
456
- } | {
457
- from: string | undefined;
458
- to: string | undefined;
459
- price: {
3331
+ }, {
3332
+ value: bigint;
3333
+ decimals: number;
3334
+ }>;
3335
+ price: z.ZodOptional<z.ZodObject<{
3336
+ cryptoCurrencyId: z.ZodString;
3337
+ fiatCurrencyId: z.ZodString;
3338
+ price: z.ZodObject<{
3339
+ value: z.ZodBigInt;
3340
+ decimals: z.ZodNumber;
3341
+ }, "strip", z.ZodTypeAny, {
3342
+ value: bigint;
3343
+ decimals: number;
3344
+ }, {
3345
+ value: bigint;
3346
+ decimals: number;
3347
+ }>;
3348
+ timestamp: z.ZodNumber;
3349
+ }, "strip", z.ZodTypeAny, {
460
3350
  cryptoCurrencyId: string;
461
3351
  fiatCurrencyId: string;
462
3352
  price: {
@@ -464,8 +3354,40 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
464
3354
  decimals: number;
465
3355
  };
466
3356
  timestamp: number;
467
- } | undefined;
3357
+ }, {
3358
+ cryptoCurrencyId: string;
3359
+ fiatCurrencyId: string;
3360
+ price: {
3361
+ value: bigint;
3362
+ decimals: number;
3363
+ };
3364
+ timestamp: number;
3365
+ }>>;
3366
+ }, {
3367
+ direction: z.ZodLiteral<"none">;
3368
+ }>, "strip", z.ZodTypeAny, {
468
3369
  asset: {
3370
+ icon: string | undefined;
3371
+ priceDatasourceId: string | undefined;
3372
+ symbol: string;
3373
+ type: "CryptoCurrency";
3374
+ id: string;
3375
+ name: string;
3376
+ market: {
3377
+ coingeckoId: string | undefined;
3378
+ marketCapUsd: {
3379
+ value: bigint;
3380
+ decimals: number;
3381
+ } | undefined;
3382
+ };
3383
+ updatedAt: number;
3384
+ } | {
3385
+ icon: string | undefined;
3386
+ symbol: string;
3387
+ type: "FiatCurrency";
3388
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3389
+ name: string;
3390
+ } | {
469
3391
  name: string | undefined;
470
3392
  symbol: string | undefined;
471
3393
  image: string | undefined;
@@ -478,37 +3400,7 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
478
3400
  value: bigint;
479
3401
  decimals: number;
480
3402
  };
481
- direction: "out";
482
- })[];
483
- comment?: string | undefined;
484
- app?: {
485
- description: string | undefined;
486
- website: string | undefined;
487
- icon: string | undefined;
488
- id: string;
489
- name: string;
490
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
491
- } | undefined;
492
- }, {
493
- type: "NormalAction";
494
- timestamp: number;
495
- action: "swap-nft";
496
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
497
- transfers: ({
498
- asset: {
499
- type: "Nft";
500
- id: string;
501
- updatedAt: number;
502
- name?: string | undefined;
503
- symbol?: string | undefined;
504
- image?: string | undefined;
505
- metadata?: string | undefined;
506
- };
507
- amount: {
508
- value: bigint;
509
- decimals: number;
510
- };
511
- direction: "in";
3403
+ direction: "none";
512
3404
  price?: {
513
3405
  cryptoCurrencyId: string;
514
3406
  fiatCurrencyId: string;
@@ -520,13 +3412,34 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
520
3412
  } | undefined;
521
3413
  from?: string | undefined;
522
3414
  to?: string | undefined;
523
- } | {
3415
+ }, {
524
3416
  asset: {
3417
+ symbol: string;
3418
+ type: "CryptoCurrency";
3419
+ id: string;
3420
+ name: string;
3421
+ market: {
3422
+ coingeckoId?: string | undefined;
3423
+ marketCapUsd?: {
3424
+ value: bigint;
3425
+ decimals: number;
3426
+ } | undefined;
3427
+ };
3428
+ updatedAt: number;
3429
+ icon?: string | undefined;
3430
+ priceDatasourceId?: string | undefined;
3431
+ } | {
3432
+ symbol: string;
3433
+ type: "FiatCurrency";
3434
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3435
+ name: string;
3436
+ icon?: string | undefined;
3437
+ } | {
525
3438
  type: "Nft";
526
3439
  id: string;
527
3440
  updatedAt: number;
528
- name?: string | undefined;
529
3441
  symbol?: string | undefined;
3442
+ name?: string | undefined;
530
3443
  image?: string | undefined;
531
3444
  metadata?: string | undefined;
532
3445
  };
@@ -534,7 +3447,7 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
534
3447
  value: bigint;
535
3448
  decimals: number;
536
3449
  };
537
- direction: "out";
3450
+ direction: "none";
538
3451
  price?: {
539
3452
  cryptoCurrencyId: string;
540
3453
  fiatCurrencyId: string;
@@ -546,31 +3459,7 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
546
3459
  } | undefined;
547
3460
  from?: string | undefined;
548
3461
  to?: string | undefined;
549
- })[];
550
- comment?: string | undefined;
551
- app?: {
552
- id: string;
553
- name: string;
554
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
555
- description?: string | undefined;
556
- website?: string | undefined;
557
- icon?: string | undefined;
558
- } | undefined;
559
- }>, {
560
- comment: string | undefined;
561
- app: {
562
- description: string | undefined;
563
- website: string | undefined;
564
- icon: string | undefined;
565
- id: string;
566
- name: string;
567
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
568
- } | undefined;
569
- type: "NormalAction";
570
- timestamp: number;
571
- action: "swap-nft";
572
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
573
- transfers: ({
3462
+ }>, {
574
3463
  from: string | undefined;
575
3464
  to: string | undefined;
576
3465
  price: {
@@ -583,6 +3472,27 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
583
3472
  timestamp: number;
584
3473
  } | undefined;
585
3474
  asset: {
3475
+ icon: string | undefined;
3476
+ priceDatasourceId: string | undefined;
3477
+ symbol: string;
3478
+ type: "CryptoCurrency";
3479
+ id: string;
3480
+ name: string;
3481
+ market: {
3482
+ coingeckoId: string | undefined;
3483
+ marketCapUsd: {
3484
+ value: bigint;
3485
+ decimals: number;
3486
+ } | undefined;
3487
+ };
3488
+ updatedAt: number;
3489
+ } | {
3490
+ icon: string | undefined;
3491
+ symbol: string;
3492
+ type: "FiatCurrency";
3493
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3494
+ name: string;
3495
+ } | {
586
3496
  name: string | undefined;
587
3497
  symbol: string | undefined;
588
3498
  image: string | undefined;
@@ -595,11 +3505,44 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
595
3505
  value: bigint;
596
3506
  decimals: number;
597
3507
  };
598
- direction: "in";
599
- } | {
600
- from: string | undefined;
601
- to: string | undefined;
602
- price: {
3508
+ direction: "none";
3509
+ }, {
3510
+ asset: {
3511
+ symbol: string;
3512
+ type: "CryptoCurrency";
3513
+ id: string;
3514
+ name: string;
3515
+ market: {
3516
+ coingeckoId?: string | undefined;
3517
+ marketCapUsd?: {
3518
+ value: bigint;
3519
+ decimals: number;
3520
+ } | undefined;
3521
+ };
3522
+ updatedAt: number;
3523
+ icon?: string | undefined;
3524
+ priceDatasourceId?: string | undefined;
3525
+ } | {
3526
+ symbol: string;
3527
+ type: "FiatCurrency";
3528
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3529
+ name: string;
3530
+ icon?: string | undefined;
3531
+ } | {
3532
+ type: "Nft";
3533
+ id: string;
3534
+ updatedAt: number;
3535
+ symbol?: string | undefined;
3536
+ name?: string | undefined;
3537
+ image?: string | undefined;
3538
+ metadata?: string | undefined;
3539
+ };
3540
+ amount: {
3541
+ value: bigint;
3542
+ decimals: number;
3543
+ };
3544
+ direction: "none";
3545
+ price?: {
603
3546
  cryptoCurrencyId: string;
604
3547
  fiatCurrencyId: string;
605
3548
  price: {
@@ -608,7 +3551,176 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
608
3551
  };
609
3552
  timestamp: number;
610
3553
  } | undefined;
611
- asset: {
3554
+ from?: string | undefined;
3555
+ to?: string | undefined;
3556
+ }>]>, "many">;
3557
+ }, {
3558
+ type: z.ZodLiteral<"NormalAccountAction">;
3559
+ }>, {
3560
+ action: z.ZodLiteral<"swap-nft">;
3561
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3562
+ from: z.ZodOptional<z.ZodString>;
3563
+ to: z.ZodOptional<z.ZodString>;
3564
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3565
+ type: z.ZodLiteral<"CryptoCurrency">;
3566
+ id: z.ZodString;
3567
+ name: z.ZodString;
3568
+ symbol: z.ZodString;
3569
+ icon: z.ZodOptional<z.ZodString>;
3570
+ market: z.ZodEffects<z.ZodObject<{
3571
+ coingeckoId: z.ZodOptional<z.ZodString>;
3572
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3573
+ value: z.ZodBigInt;
3574
+ decimals: z.ZodNumber;
3575
+ }, "strip", z.ZodTypeAny, {
3576
+ value: bigint;
3577
+ decimals: number;
3578
+ }, {
3579
+ value: bigint;
3580
+ decimals: number;
3581
+ }>>;
3582
+ }, "strip", z.ZodTypeAny, {
3583
+ coingeckoId?: string | undefined;
3584
+ marketCapUsd?: {
3585
+ value: bigint;
3586
+ decimals: number;
3587
+ } | undefined;
3588
+ }, {
3589
+ coingeckoId?: string | undefined;
3590
+ marketCapUsd?: {
3591
+ value: bigint;
3592
+ decimals: number;
3593
+ } | undefined;
3594
+ }>, {
3595
+ coingeckoId: string | undefined;
3596
+ marketCapUsd: {
3597
+ value: bigint;
3598
+ decimals: number;
3599
+ } | undefined;
3600
+ }, {
3601
+ coingeckoId?: string | undefined;
3602
+ marketCapUsd?: {
3603
+ value: bigint;
3604
+ decimals: number;
3605
+ } | undefined;
3606
+ }>;
3607
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3608
+ updatedAt: z.ZodNumber;
3609
+ }, "strip", z.ZodTypeAny, {
3610
+ symbol: string;
3611
+ type: "CryptoCurrency";
3612
+ id: string;
3613
+ name: string;
3614
+ market: {
3615
+ coingeckoId: string | undefined;
3616
+ marketCapUsd: {
3617
+ value: bigint;
3618
+ decimals: number;
3619
+ } | undefined;
3620
+ };
3621
+ updatedAt: number;
3622
+ icon?: string | undefined;
3623
+ priceDatasourceId?: string | undefined;
3624
+ }, {
3625
+ symbol: string;
3626
+ type: "CryptoCurrency";
3627
+ id: string;
3628
+ name: string;
3629
+ market: {
3630
+ coingeckoId?: string | undefined;
3631
+ marketCapUsd?: {
3632
+ value: bigint;
3633
+ decimals: number;
3634
+ } | undefined;
3635
+ };
3636
+ updatedAt: number;
3637
+ icon?: string | undefined;
3638
+ priceDatasourceId?: string | undefined;
3639
+ }>, {
3640
+ icon: string | undefined;
3641
+ priceDatasourceId: string | undefined;
3642
+ symbol: string;
3643
+ type: "CryptoCurrency";
3644
+ id: string;
3645
+ name: string;
3646
+ market: {
3647
+ coingeckoId: string | undefined;
3648
+ marketCapUsd: {
3649
+ value: bigint;
3650
+ decimals: number;
3651
+ } | undefined;
3652
+ };
3653
+ updatedAt: number;
3654
+ }, {
3655
+ symbol: string;
3656
+ type: "CryptoCurrency";
3657
+ id: string;
3658
+ name: string;
3659
+ market: {
3660
+ coingeckoId?: string | undefined;
3661
+ marketCapUsd?: {
3662
+ value: bigint;
3663
+ decimals: number;
3664
+ } | undefined;
3665
+ };
3666
+ updatedAt: number;
3667
+ icon?: string | undefined;
3668
+ priceDatasourceId?: string | undefined;
3669
+ }>, z.ZodEffects<z.ZodObject<{
3670
+ type: z.ZodLiteral<"FiatCurrency">;
3671
+ 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">]>;
3672
+ name: z.ZodString;
3673
+ symbol: z.ZodString;
3674
+ icon: z.ZodOptional<z.ZodString>;
3675
+ }, "strip", z.ZodTypeAny, {
3676
+ symbol: string;
3677
+ type: "FiatCurrency";
3678
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3679
+ name: string;
3680
+ icon?: string | undefined;
3681
+ }, {
3682
+ symbol: string;
3683
+ type: "FiatCurrency";
3684
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3685
+ name: string;
3686
+ icon?: string | undefined;
3687
+ }>, {
3688
+ icon: string | undefined;
3689
+ symbol: string;
3690
+ type: "FiatCurrency";
3691
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3692
+ name: string;
3693
+ }, {
3694
+ symbol: string;
3695
+ type: "FiatCurrency";
3696
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
3697
+ name: string;
3698
+ icon?: string | undefined;
3699
+ }>, z.ZodEffects<z.ZodObject<{
3700
+ type: z.ZodLiteral<"Nft">;
3701
+ id: z.ZodString;
3702
+ name: z.ZodOptional<z.ZodString>;
3703
+ symbol: z.ZodOptional<z.ZodString>;
3704
+ image: z.ZodOptional<z.ZodString>;
3705
+ metadata: z.ZodOptional<z.ZodString>;
3706
+ updatedAt: z.ZodNumber;
3707
+ }, "strip", z.ZodTypeAny, {
3708
+ type: "Nft";
3709
+ id: string;
3710
+ updatedAt: number;
3711
+ symbol?: string | undefined;
3712
+ name?: string | undefined;
3713
+ image?: string | undefined;
3714
+ metadata?: string | undefined;
3715
+ }, {
3716
+ type: "Nft";
3717
+ id: string;
3718
+ updatedAt: number;
3719
+ symbol?: string | undefined;
3720
+ name?: string | undefined;
3721
+ image?: string | undefined;
3722
+ metadata?: string | undefined;
3723
+ }>, {
612
3724
  name: string | undefined;
613
3725
  symbol: string | undefined;
614
3726
  image: string | undefined;
@@ -616,126 +3728,25 @@ export declare const normalActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
616
3728
  type: "Nft";
617
3729
  id: string;
618
3730
  updatedAt: number;
619
- };
620
- amount: {
621
- value: bigint;
622
- decimals: number;
623
- };
624
- direction: "out";
625
- })[];
626
- }, {
627
- type: "NormalAction";
628
- timestamp: number;
629
- action: "swap-nft";
630
- evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
631
- transfers: ({
632
- asset: {
3731
+ }, {
633
3732
  type: "Nft";
634
3733
  id: string;
635
3734
  updatedAt: number;
636
- name?: string | undefined;
637
3735
  symbol?: string | undefined;
3736
+ name?: string | undefined;
638
3737
  image?: string | undefined;
639
3738
  metadata?: string | undefined;
640
- };
641
- amount: {
3739
+ }>]>;
3740
+ amount: z.ZodObject<{
3741
+ value: z.ZodBigInt;
3742
+ decimals: z.ZodNumber;
3743
+ }, "strip", z.ZodTypeAny, {
642
3744
  value: bigint;
643
3745
  decimals: number;
644
- };
645
- direction: "in";
646
- price?: {
647
- cryptoCurrencyId: string;
648
- fiatCurrencyId: string;
649
- price: {
650
- value: bigint;
651
- decimals: number;
652
- };
653
- timestamp: number;
654
- } | undefined;
655
- from?: string | undefined;
656
- to?: string | undefined;
657
- } | {
658
- asset: {
659
- type: "Nft";
660
- id: string;
661
- updatedAt: number;
662
- name?: string | undefined;
663
- symbol?: string | undefined;
664
- image?: string | undefined;
665
- metadata?: string | undefined;
666
- };
667
- amount: {
3746
+ }, {
668
3747
  value: bigint;
669
3748
  decimals: number;
670
- };
671
- direction: "out";
672
- price?: {
673
- cryptoCurrencyId: string;
674
- fiatCurrencyId: string;
675
- price: {
676
- value: bigint;
677
- decimals: number;
678
- };
679
- timestamp: number;
680
- } | undefined;
681
- from?: string | undefined;
682
- to?: string | undefined;
683
- })[];
684
- comment?: string | undefined;
685
- app?: {
686
- id: string;
687
- name: string;
688
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
689
- description?: string | undefined;
690
- website?: string | undefined;
691
- icon?: string | undefined;
692
- } | undefined;
693
- }>;
694
- export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
695
- type: z.ZodLiteral<"NormalAccountAction">;
696
- timestamp: z.ZodNumber;
697
- order: z.ZodNumber;
698
- source: z.ZodString;
699
- evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
700
- comment: z.ZodOptional<z.ZodString>;
701
- app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
702
- id: z.ZodString;
703
- 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">;
704
- name: z.ZodString;
705
- description: z.ZodOptional<z.ZodString>;
706
- website: z.ZodOptional<z.ZodString>;
707
- icon: z.ZodOptional<z.ZodString>;
708
- }, "strip", z.ZodTypeAny, {
709
- id: string;
710
- name: string;
711
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
712
- description?: string | undefined;
713
- website?: string | undefined;
714
- icon?: string | undefined;
715
- }, {
716
- id: string;
717
- name: string;
718
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
719
- description?: string | undefined;
720
- website?: string | undefined;
721
- icon?: string | undefined;
722
- }>, {
723
- description: string | undefined;
724
- website: string | undefined;
725
- icon: string | undefined;
726
- id: string;
727
- name: string;
728
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
729
- }, {
730
- id: string;
731
- name: string;
732
- categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
733
- description?: string | undefined;
734
- website?: string | undefined;
735
- icon?: string | undefined;
736
- }>>;
737
- action: z.ZodLiteral<"swap-nft">;
738
- transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3749
+ }>;
739
3750
  price: z.ZodOptional<z.ZodObject<{
740
3751
  cryptoCurrencyId: z.ZodString;
741
3752
  fiatCurrencyId: z.ZodString;
@@ -767,19 +3778,9 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
767
3778
  };
768
3779
  timestamp: number;
769
3780
  }>>;
770
- from: z.ZodOptional<z.ZodString>;
771
- to: z.ZodOptional<z.ZodString>;
772
- amount: z.ZodObject<{
773
- value: z.ZodBigInt;
774
- decimals: z.ZodNumber;
775
- }, "strip", z.ZodTypeAny, {
776
- value: bigint;
777
- decimals: number;
778
- }, {
779
- value: bigint;
780
- decimals: number;
781
- }>;
3781
+ }, {
782
3782
  direction: z.ZodLiteral<"in">;
3783
+ }>, {
783
3784
  asset: z.ZodEffects<z.ZodObject<{
784
3785
  type: z.ZodLiteral<"Nft">;
785
3786
  id: z.ZodString;
@@ -792,16 +3793,16 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
792
3793
  type: "Nft";
793
3794
  id: string;
794
3795
  updatedAt: number;
795
- name?: string | undefined;
796
3796
  symbol?: string | undefined;
3797
+ name?: string | undefined;
797
3798
  image?: string | undefined;
798
3799
  metadata?: string | undefined;
799
3800
  }, {
800
3801
  type: "Nft";
801
3802
  id: string;
802
3803
  updatedAt: number;
803
- name?: string | undefined;
804
3804
  symbol?: string | undefined;
3805
+ name?: string | undefined;
805
3806
  image?: string | undefined;
806
3807
  metadata?: string | undefined;
807
3808
  }>, {
@@ -816,12 +3817,12 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
816
3817
  type: "Nft";
817
3818
  id: string;
818
3819
  updatedAt: number;
819
- name?: string | undefined;
820
3820
  symbol?: string | undefined;
3821
+ name?: string | undefined;
821
3822
  image?: string | undefined;
822
3823
  metadata?: string | undefined;
823
3824
  }>;
824
- }, "strip", z.ZodTypeAny, {
3825
+ }>, "strip", z.ZodTypeAny, {
825
3826
  asset: {
826
3827
  name: string | undefined;
827
3828
  symbol: string | undefined;
@@ -852,8 +3853,8 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
852
3853
  type: "Nft";
853
3854
  id: string;
854
3855
  updatedAt: number;
855
- name?: string | undefined;
856
3856
  symbol?: string | undefined;
3857
+ name?: string | undefined;
857
3858
  image?: string | undefined;
858
3859
  metadata?: string | undefined;
859
3860
  };
@@ -904,8 +3905,8 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
904
3905
  type: "Nft";
905
3906
  id: string;
906
3907
  updatedAt: number;
907
- name?: string | undefined;
908
3908
  symbol?: string | undefined;
3909
+ name?: string | undefined;
909
3910
  image?: string | undefined;
910
3911
  metadata?: string | undefined;
911
3912
  };
@@ -925,7 +3926,195 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
925
3926
  } | undefined;
926
3927
  from?: string | undefined;
927
3928
  to?: string | undefined;
928
- }>, z.ZodEffects<z.ZodObject<{
3929
+ }>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3930
+ from: z.ZodOptional<z.ZodString>;
3931
+ to: z.ZodOptional<z.ZodString>;
3932
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3933
+ type: z.ZodLiteral<"CryptoCurrency">;
3934
+ id: z.ZodString;
3935
+ name: z.ZodString;
3936
+ symbol: z.ZodString;
3937
+ icon: z.ZodOptional<z.ZodString>;
3938
+ market: z.ZodEffects<z.ZodObject<{
3939
+ coingeckoId: z.ZodOptional<z.ZodString>;
3940
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
3941
+ value: z.ZodBigInt;
3942
+ decimals: z.ZodNumber;
3943
+ }, "strip", z.ZodTypeAny, {
3944
+ value: bigint;
3945
+ decimals: number;
3946
+ }, {
3947
+ value: bigint;
3948
+ decimals: number;
3949
+ }>>;
3950
+ }, "strip", z.ZodTypeAny, {
3951
+ coingeckoId?: string | undefined;
3952
+ marketCapUsd?: {
3953
+ value: bigint;
3954
+ decimals: number;
3955
+ } | undefined;
3956
+ }, {
3957
+ coingeckoId?: string | undefined;
3958
+ marketCapUsd?: {
3959
+ value: bigint;
3960
+ decimals: number;
3961
+ } | undefined;
3962
+ }>, {
3963
+ coingeckoId: string | undefined;
3964
+ marketCapUsd: {
3965
+ value: bigint;
3966
+ decimals: number;
3967
+ } | undefined;
3968
+ }, {
3969
+ coingeckoId?: string | undefined;
3970
+ marketCapUsd?: {
3971
+ value: bigint;
3972
+ decimals: number;
3973
+ } | undefined;
3974
+ }>;
3975
+ priceDatasourceId: z.ZodOptional<z.ZodString>;
3976
+ updatedAt: z.ZodNumber;
3977
+ }, "strip", z.ZodTypeAny, {
3978
+ symbol: string;
3979
+ type: "CryptoCurrency";
3980
+ id: string;
3981
+ name: string;
3982
+ market: {
3983
+ coingeckoId: string | undefined;
3984
+ marketCapUsd: {
3985
+ value: bigint;
3986
+ decimals: number;
3987
+ } | undefined;
3988
+ };
3989
+ updatedAt: number;
3990
+ icon?: string | undefined;
3991
+ priceDatasourceId?: string | undefined;
3992
+ }, {
3993
+ symbol: string;
3994
+ type: "CryptoCurrency";
3995
+ id: string;
3996
+ name: string;
3997
+ market: {
3998
+ coingeckoId?: string | undefined;
3999
+ marketCapUsd?: {
4000
+ value: bigint;
4001
+ decimals: number;
4002
+ } | undefined;
4003
+ };
4004
+ updatedAt: number;
4005
+ icon?: string | undefined;
4006
+ priceDatasourceId?: string | undefined;
4007
+ }>, {
4008
+ icon: string | undefined;
4009
+ priceDatasourceId: string | undefined;
4010
+ symbol: string;
4011
+ type: "CryptoCurrency";
4012
+ id: string;
4013
+ name: string;
4014
+ market: {
4015
+ coingeckoId: string | undefined;
4016
+ marketCapUsd: {
4017
+ value: bigint;
4018
+ decimals: number;
4019
+ } | undefined;
4020
+ };
4021
+ updatedAt: number;
4022
+ }, {
4023
+ symbol: string;
4024
+ type: "CryptoCurrency";
4025
+ id: string;
4026
+ name: string;
4027
+ market: {
4028
+ coingeckoId?: string | undefined;
4029
+ marketCapUsd?: {
4030
+ value: bigint;
4031
+ decimals: number;
4032
+ } | undefined;
4033
+ };
4034
+ updatedAt: number;
4035
+ icon?: string | undefined;
4036
+ priceDatasourceId?: string | undefined;
4037
+ }>, z.ZodEffects<z.ZodObject<{
4038
+ type: z.ZodLiteral<"FiatCurrency">;
4039
+ 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">]>;
4040
+ name: z.ZodString;
4041
+ symbol: z.ZodString;
4042
+ icon: z.ZodOptional<z.ZodString>;
4043
+ }, "strip", z.ZodTypeAny, {
4044
+ symbol: string;
4045
+ type: "FiatCurrency";
4046
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4047
+ name: string;
4048
+ icon?: string | undefined;
4049
+ }, {
4050
+ symbol: string;
4051
+ type: "FiatCurrency";
4052
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4053
+ name: string;
4054
+ icon?: string | undefined;
4055
+ }>, {
4056
+ icon: string | undefined;
4057
+ symbol: string;
4058
+ type: "FiatCurrency";
4059
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4060
+ name: string;
4061
+ }, {
4062
+ symbol: string;
4063
+ type: "FiatCurrency";
4064
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
4065
+ name: string;
4066
+ icon?: string | undefined;
4067
+ }>, z.ZodEffects<z.ZodObject<{
4068
+ type: z.ZodLiteral<"Nft">;
4069
+ id: z.ZodString;
4070
+ name: z.ZodOptional<z.ZodString>;
4071
+ symbol: z.ZodOptional<z.ZodString>;
4072
+ image: z.ZodOptional<z.ZodString>;
4073
+ metadata: z.ZodOptional<z.ZodString>;
4074
+ updatedAt: z.ZodNumber;
4075
+ }, "strip", z.ZodTypeAny, {
4076
+ type: "Nft";
4077
+ id: string;
4078
+ updatedAt: number;
4079
+ symbol?: string | undefined;
4080
+ name?: string | undefined;
4081
+ image?: string | undefined;
4082
+ metadata?: string | undefined;
4083
+ }, {
4084
+ type: "Nft";
4085
+ id: string;
4086
+ updatedAt: number;
4087
+ symbol?: string | undefined;
4088
+ name?: string | undefined;
4089
+ image?: string | undefined;
4090
+ metadata?: string | undefined;
4091
+ }>, {
4092
+ name: string | undefined;
4093
+ symbol: string | undefined;
4094
+ image: string | undefined;
4095
+ metadata: string | undefined;
4096
+ type: "Nft";
4097
+ id: string;
4098
+ updatedAt: number;
4099
+ }, {
4100
+ type: "Nft";
4101
+ id: string;
4102
+ updatedAt: number;
4103
+ symbol?: string | undefined;
4104
+ name?: string | undefined;
4105
+ image?: string | undefined;
4106
+ metadata?: string | undefined;
4107
+ }>]>;
4108
+ amount: z.ZodObject<{
4109
+ value: z.ZodBigInt;
4110
+ decimals: z.ZodNumber;
4111
+ }, "strip", z.ZodTypeAny, {
4112
+ value: bigint;
4113
+ decimals: number;
4114
+ }, {
4115
+ value: bigint;
4116
+ decimals: number;
4117
+ }>;
929
4118
  price: z.ZodOptional<z.ZodObject<{
930
4119
  cryptoCurrencyId: z.ZodString;
931
4120
  fiatCurrencyId: z.ZodString;
@@ -957,19 +4146,9 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
957
4146
  };
958
4147
  timestamp: number;
959
4148
  }>>;
960
- from: z.ZodOptional<z.ZodString>;
961
- to: z.ZodOptional<z.ZodString>;
962
- amount: z.ZodObject<{
963
- value: z.ZodBigInt;
964
- decimals: z.ZodNumber;
965
- }, "strip", z.ZodTypeAny, {
966
- value: bigint;
967
- decimals: number;
968
- }, {
969
- value: bigint;
970
- decimals: number;
971
- }>;
4149
+ }, {
972
4150
  direction: z.ZodLiteral<"out">;
4151
+ }>, {
973
4152
  asset: z.ZodEffects<z.ZodObject<{
974
4153
  type: z.ZodLiteral<"Nft">;
975
4154
  id: z.ZodString;
@@ -982,16 +4161,16 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
982
4161
  type: "Nft";
983
4162
  id: string;
984
4163
  updatedAt: number;
985
- name?: string | undefined;
986
4164
  symbol?: string | undefined;
4165
+ name?: string | undefined;
987
4166
  image?: string | undefined;
988
4167
  metadata?: string | undefined;
989
4168
  }, {
990
4169
  type: "Nft";
991
4170
  id: string;
992
4171
  updatedAt: number;
993
- name?: string | undefined;
994
4172
  symbol?: string | undefined;
4173
+ name?: string | undefined;
995
4174
  image?: string | undefined;
996
4175
  metadata?: string | undefined;
997
4176
  }>, {
@@ -1006,12 +4185,12 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
1006
4185
  type: "Nft";
1007
4186
  id: string;
1008
4187
  updatedAt: number;
1009
- name?: string | undefined;
1010
4188
  symbol?: string | undefined;
4189
+ name?: string | undefined;
1011
4190
  image?: string | undefined;
1012
4191
  metadata?: string | undefined;
1013
4192
  }>;
1014
- }, "strip", z.ZodTypeAny, {
4193
+ }>, "strip", z.ZodTypeAny, {
1015
4194
  asset: {
1016
4195
  name: string | undefined;
1017
4196
  symbol: string | undefined;
@@ -1042,8 +4221,8 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
1042
4221
  type: "Nft";
1043
4222
  id: string;
1044
4223
  updatedAt: number;
1045
- name?: string | undefined;
1046
4224
  symbol?: string | undefined;
4225
+ name?: string | undefined;
1047
4226
  image?: string | undefined;
1048
4227
  metadata?: string | undefined;
1049
4228
  };
@@ -1094,8 +4273,8 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
1094
4273
  type: "Nft";
1095
4274
  id: string;
1096
4275
  updatedAt: number;
1097
- name?: string | undefined;
1098
4276
  symbol?: string | undefined;
4277
+ name?: string | undefined;
1099
4278
  image?: string | undefined;
1100
4279
  metadata?: string | undefined;
1101
4280
  };
@@ -1116,7 +4295,7 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
1116
4295
  from?: string | undefined;
1117
4296
  to?: string | undefined;
1118
4297
  }>]>, "many">;
1119
- }, "strip", z.ZodTypeAny, {
4298
+ }>, "strip", z.ZodTypeAny, {
1120
4299
  type: "NormalAccountAction";
1121
4300
  timestamp: number;
1122
4301
  order: number;
@@ -1197,8 +4376,8 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
1197
4376
  type: "Nft";
1198
4377
  id: string;
1199
4378
  updatedAt: number;
1200
- name?: string | undefined;
1201
4379
  symbol?: string | undefined;
4380
+ name?: string | undefined;
1202
4381
  image?: string | undefined;
1203
4382
  metadata?: string | undefined;
1204
4383
  };
@@ -1223,8 +4402,8 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
1223
4402
  type: "Nft";
1224
4403
  id: string;
1225
4404
  updatedAt: number;
1226
- name?: string | undefined;
1227
4405
  symbol?: string | undefined;
4406
+ name?: string | undefined;
1228
4407
  image?: string | undefined;
1229
4408
  metadata?: string | undefined;
1230
4409
  };
@@ -1250,9 +4429,9 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
1250
4429
  id: string;
1251
4430
  name: string;
1252
4431
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4432
+ icon?: string | undefined;
1253
4433
  description?: string | undefined;
1254
4434
  website?: string | undefined;
1255
- icon?: string | undefined;
1256
4435
  } | undefined;
1257
4436
  }>, {
1258
4437
  comment: string | undefined;
@@ -1335,8 +4514,8 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
1335
4514
  type: "Nft";
1336
4515
  id: string;
1337
4516
  updatedAt: number;
1338
- name?: string | undefined;
1339
4517
  symbol?: string | undefined;
4518
+ name?: string | undefined;
1340
4519
  image?: string | undefined;
1341
4520
  metadata?: string | undefined;
1342
4521
  };
@@ -1361,8 +4540,8 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
1361
4540
  type: "Nft";
1362
4541
  id: string;
1363
4542
  updatedAt: number;
1364
- name?: string | undefined;
1365
4543
  symbol?: string | undefined;
4544
+ name?: string | undefined;
1366
4545
  image?: string | undefined;
1367
4546
  metadata?: string | undefined;
1368
4547
  };
@@ -1388,9 +4567,9 @@ export declare const accountActionSwapNftSchema: z.ZodEffects<z.ZodObject<{
1388
4567
  id: string;
1389
4568
  name: string;
1390
4569
  categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
4570
+ icon?: string | undefined;
1391
4571
  description?: string | undefined;
1392
4572
  website?: string | undefined;
1393
- icon?: string | undefined;
1394
4573
  } | undefined;
1395
4574
  }>;
1396
4575
  //# sourceMappingURL=swapNft.d.ts.map