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