@0xtorch/core 0.0.2 → 0.0.4

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