@0xtorch/core 0.0.2 → 0.0.3

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 +26 -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 +23 -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 +70150 -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 +1024 -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 +29 -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,2272 @@
1
+ import { z } from 'zod';
2
+ export declare const normalActionTradeSchema: z.ZodEffects<z.ZodObject<{
3
+ type: z.ZodLiteral<"NormalAction">;
4
+ timestamp: z.ZodNumber;
5
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
6
+ comment: z.ZodOptional<z.ZodString>;
7
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
8
+ id: z.ZodString;
9
+ 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">;
10
+ name: z.ZodString;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ website: z.ZodOptional<z.ZodString>;
13
+ icon: z.ZodOptional<z.ZodString>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ id: string;
16
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
17
+ name: string;
18
+ description?: string | undefined;
19
+ website?: string | undefined;
20
+ icon?: string | undefined;
21
+ }, {
22
+ id: string;
23
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
24
+ name: string;
25
+ description?: string | undefined;
26
+ website?: string | undefined;
27
+ icon?: string | undefined;
28
+ }>, {
29
+ description: string | undefined;
30
+ website: string | undefined;
31
+ icon: string | undefined;
32
+ id: string;
33
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
34
+ name: string;
35
+ }, {
36
+ id: string;
37
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
38
+ name: string;
39
+ description?: string | undefined;
40
+ website?: string | undefined;
41
+ icon?: string | undefined;
42
+ }>>;
43
+ action: z.ZodLiteral<"trade">;
44
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
45
+ price: z.ZodOptional<z.ZodObject<{
46
+ cryptoCurrencyId: z.ZodString;
47
+ fiatCurrencyId: z.ZodString;
48
+ price: z.ZodObject<{
49
+ value: z.ZodBigInt;
50
+ decimals: z.ZodNumber;
51
+ }, "strip", z.ZodTypeAny, {
52
+ value: bigint;
53
+ decimals: number;
54
+ }, {
55
+ value: bigint;
56
+ decimals: number;
57
+ }>;
58
+ timestamp: z.ZodNumber;
59
+ }, "strip", z.ZodTypeAny, {
60
+ cryptoCurrencyId: string;
61
+ fiatCurrencyId: string;
62
+ price: {
63
+ value: bigint;
64
+ decimals: number;
65
+ };
66
+ timestamp: number;
67
+ }, {
68
+ cryptoCurrencyId: string;
69
+ fiatCurrencyId: string;
70
+ price: {
71
+ value: bigint;
72
+ decimals: number;
73
+ };
74
+ timestamp: number;
75
+ }>>;
76
+ from: z.ZodOptional<z.ZodString>;
77
+ to: z.ZodOptional<z.ZodString>;
78
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
79
+ type: z.ZodLiteral<"CryptoCurrency">;
80
+ id: z.ZodString;
81
+ name: z.ZodString;
82
+ symbol: z.ZodString;
83
+ icon: z.ZodOptional<z.ZodString>;
84
+ market: z.ZodEffects<z.ZodObject<{
85
+ coingeckoId: z.ZodOptional<z.ZodString>;
86
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
87
+ value: z.ZodBigInt;
88
+ decimals: z.ZodNumber;
89
+ }, "strip", z.ZodTypeAny, {
90
+ value: bigint;
91
+ decimals: number;
92
+ }, {
93
+ value: bigint;
94
+ decimals: number;
95
+ }>>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ coingeckoId?: string | undefined;
98
+ marketCapUsd?: {
99
+ value: bigint;
100
+ decimals: number;
101
+ } | undefined;
102
+ }, {
103
+ coingeckoId?: string | undefined;
104
+ marketCapUsd?: {
105
+ value: bigint;
106
+ decimals: number;
107
+ } | undefined;
108
+ }>, {
109
+ coingeckoId: string | undefined;
110
+ marketCapUsd: {
111
+ value: bigint;
112
+ decimals: number;
113
+ } | undefined;
114
+ }, {
115
+ coingeckoId?: string | undefined;
116
+ marketCapUsd?: {
117
+ value: bigint;
118
+ decimals: number;
119
+ } | undefined;
120
+ }>;
121
+ updatedAt: z.ZodNumber;
122
+ }, "strip", z.ZodTypeAny, {
123
+ symbol: string;
124
+ type: "CryptoCurrency";
125
+ id: string;
126
+ name: string;
127
+ market: {
128
+ coingeckoId: string | undefined;
129
+ marketCapUsd: {
130
+ value: bigint;
131
+ decimals: number;
132
+ } | undefined;
133
+ };
134
+ updatedAt: number;
135
+ icon?: string | undefined;
136
+ }, {
137
+ symbol: string;
138
+ type: "CryptoCurrency";
139
+ id: string;
140
+ name: string;
141
+ market: {
142
+ coingeckoId?: string | undefined;
143
+ marketCapUsd?: {
144
+ value: bigint;
145
+ decimals: number;
146
+ } | undefined;
147
+ };
148
+ updatedAt: number;
149
+ icon?: string | undefined;
150
+ }>, {
151
+ icon: string | undefined;
152
+ symbol: string;
153
+ type: "CryptoCurrency";
154
+ id: string;
155
+ name: string;
156
+ market: {
157
+ coingeckoId: string | undefined;
158
+ marketCapUsd: {
159
+ value: bigint;
160
+ decimals: number;
161
+ } | undefined;
162
+ };
163
+ updatedAt: number;
164
+ }, {
165
+ symbol: string;
166
+ type: "CryptoCurrency";
167
+ id: string;
168
+ name: string;
169
+ market: {
170
+ coingeckoId?: string | undefined;
171
+ marketCapUsd?: {
172
+ value: bigint;
173
+ decimals: number;
174
+ } | undefined;
175
+ };
176
+ updatedAt: number;
177
+ icon?: string | undefined;
178
+ }>, z.ZodEffects<z.ZodObject<{
179
+ type: z.ZodLiteral<"FiatCurrency">;
180
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
181
+ name: z.ZodString;
182
+ symbol: z.ZodString;
183
+ icon: z.ZodOptional<z.ZodString>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ symbol: string;
186
+ type: "FiatCurrency";
187
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
188
+ name: string;
189
+ icon?: string | undefined;
190
+ }, {
191
+ symbol: string;
192
+ type: "FiatCurrency";
193
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
194
+ name: string;
195
+ icon?: string | undefined;
196
+ }>, {
197
+ icon: string | undefined;
198
+ symbol: string;
199
+ type: "FiatCurrency";
200
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
201
+ name: string;
202
+ }, {
203
+ symbol: string;
204
+ type: "FiatCurrency";
205
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
206
+ name: string;
207
+ icon?: string | undefined;
208
+ }>, z.ZodObject<{
209
+ type: z.ZodLiteral<"Nft">;
210
+ id: z.ZodString;
211
+ }, "strip", z.ZodTypeAny, {
212
+ type: "Nft";
213
+ id: string;
214
+ }, {
215
+ type: "Nft";
216
+ id: string;
217
+ }>]>;
218
+ amount: z.ZodObject<{
219
+ value: z.ZodBigInt;
220
+ decimals: z.ZodNumber;
221
+ }, "strip", z.ZodTypeAny, {
222
+ value: bigint;
223
+ decimals: number;
224
+ }, {
225
+ value: bigint;
226
+ decimals: number;
227
+ }>;
228
+ direction: z.ZodLiteral<"in">;
229
+ }, "strip", z.ZodTypeAny, {
230
+ asset: {
231
+ icon: string | undefined;
232
+ symbol: string;
233
+ type: "CryptoCurrency";
234
+ id: string;
235
+ name: string;
236
+ market: {
237
+ coingeckoId: string | undefined;
238
+ marketCapUsd: {
239
+ value: bigint;
240
+ decimals: number;
241
+ } | undefined;
242
+ };
243
+ updatedAt: number;
244
+ } | {
245
+ icon: string | undefined;
246
+ symbol: string;
247
+ type: "FiatCurrency";
248
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
249
+ name: string;
250
+ } | {
251
+ type: "Nft";
252
+ id: string;
253
+ };
254
+ amount: {
255
+ value: bigint;
256
+ decimals: number;
257
+ };
258
+ direction: "in";
259
+ price?: {
260
+ cryptoCurrencyId: string;
261
+ fiatCurrencyId: string;
262
+ price: {
263
+ value: bigint;
264
+ decimals: number;
265
+ };
266
+ timestamp: number;
267
+ } | undefined;
268
+ from?: string | undefined;
269
+ to?: string | undefined;
270
+ }, {
271
+ asset: {
272
+ symbol: string;
273
+ type: "CryptoCurrency";
274
+ id: string;
275
+ name: string;
276
+ market: {
277
+ coingeckoId?: string | undefined;
278
+ marketCapUsd?: {
279
+ value: bigint;
280
+ decimals: number;
281
+ } | undefined;
282
+ };
283
+ updatedAt: number;
284
+ icon?: string | undefined;
285
+ } | {
286
+ symbol: string;
287
+ type: "FiatCurrency";
288
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
289
+ name: string;
290
+ icon?: string | undefined;
291
+ } | {
292
+ type: "Nft";
293
+ id: string;
294
+ };
295
+ amount: {
296
+ value: bigint;
297
+ decimals: number;
298
+ };
299
+ direction: "in";
300
+ price?: {
301
+ cryptoCurrencyId: string;
302
+ fiatCurrencyId: string;
303
+ price: {
304
+ value: bigint;
305
+ decimals: number;
306
+ };
307
+ timestamp: number;
308
+ } | undefined;
309
+ from?: string | undefined;
310
+ to?: string | undefined;
311
+ }>, {
312
+ from: string | undefined;
313
+ to: string | undefined;
314
+ price: {
315
+ cryptoCurrencyId: string;
316
+ fiatCurrencyId: string;
317
+ price: {
318
+ value: bigint;
319
+ decimals: number;
320
+ };
321
+ timestamp: number;
322
+ } | undefined;
323
+ asset: {
324
+ icon: string | undefined;
325
+ symbol: string;
326
+ type: "CryptoCurrency";
327
+ id: string;
328
+ name: string;
329
+ market: {
330
+ coingeckoId: string | undefined;
331
+ marketCapUsd: {
332
+ value: bigint;
333
+ decimals: number;
334
+ } | undefined;
335
+ };
336
+ updatedAt: number;
337
+ } | {
338
+ icon: string | undefined;
339
+ symbol: string;
340
+ type: "FiatCurrency";
341
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
342
+ name: string;
343
+ } | {
344
+ type: "Nft";
345
+ id: string;
346
+ };
347
+ amount: {
348
+ value: bigint;
349
+ decimals: number;
350
+ };
351
+ direction: "in";
352
+ }, {
353
+ asset: {
354
+ symbol: string;
355
+ type: "CryptoCurrency";
356
+ id: string;
357
+ name: string;
358
+ market: {
359
+ coingeckoId?: string | undefined;
360
+ marketCapUsd?: {
361
+ value: bigint;
362
+ decimals: number;
363
+ } | undefined;
364
+ };
365
+ updatedAt: number;
366
+ icon?: string | undefined;
367
+ } | {
368
+ symbol: string;
369
+ type: "FiatCurrency";
370
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
371
+ name: string;
372
+ icon?: string | undefined;
373
+ } | {
374
+ type: "Nft";
375
+ id: string;
376
+ };
377
+ amount: {
378
+ value: bigint;
379
+ decimals: number;
380
+ };
381
+ direction: "in";
382
+ price?: {
383
+ cryptoCurrencyId: string;
384
+ fiatCurrencyId: string;
385
+ price: {
386
+ value: bigint;
387
+ decimals: number;
388
+ };
389
+ timestamp: number;
390
+ } | undefined;
391
+ from?: string | undefined;
392
+ to?: string | undefined;
393
+ }>, z.ZodEffects<z.ZodObject<{
394
+ price: z.ZodOptional<z.ZodObject<{
395
+ cryptoCurrencyId: z.ZodString;
396
+ fiatCurrencyId: z.ZodString;
397
+ price: z.ZodObject<{
398
+ value: z.ZodBigInt;
399
+ decimals: z.ZodNumber;
400
+ }, "strip", z.ZodTypeAny, {
401
+ value: bigint;
402
+ decimals: number;
403
+ }, {
404
+ value: bigint;
405
+ decimals: number;
406
+ }>;
407
+ timestamp: z.ZodNumber;
408
+ }, "strip", z.ZodTypeAny, {
409
+ cryptoCurrencyId: string;
410
+ fiatCurrencyId: string;
411
+ price: {
412
+ value: bigint;
413
+ decimals: number;
414
+ };
415
+ timestamp: number;
416
+ }, {
417
+ cryptoCurrencyId: string;
418
+ fiatCurrencyId: string;
419
+ price: {
420
+ value: bigint;
421
+ decimals: number;
422
+ };
423
+ timestamp: number;
424
+ }>>;
425
+ from: z.ZodOptional<z.ZodString>;
426
+ to: z.ZodOptional<z.ZodString>;
427
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
428
+ type: z.ZodLiteral<"CryptoCurrency">;
429
+ id: z.ZodString;
430
+ name: z.ZodString;
431
+ symbol: z.ZodString;
432
+ icon: z.ZodOptional<z.ZodString>;
433
+ market: z.ZodEffects<z.ZodObject<{
434
+ coingeckoId: z.ZodOptional<z.ZodString>;
435
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
436
+ value: z.ZodBigInt;
437
+ decimals: z.ZodNumber;
438
+ }, "strip", z.ZodTypeAny, {
439
+ value: bigint;
440
+ decimals: number;
441
+ }, {
442
+ value: bigint;
443
+ decimals: number;
444
+ }>>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ coingeckoId?: string | undefined;
447
+ marketCapUsd?: {
448
+ value: bigint;
449
+ decimals: number;
450
+ } | undefined;
451
+ }, {
452
+ coingeckoId?: string | undefined;
453
+ marketCapUsd?: {
454
+ value: bigint;
455
+ decimals: number;
456
+ } | undefined;
457
+ }>, {
458
+ coingeckoId: string | undefined;
459
+ marketCapUsd: {
460
+ value: bigint;
461
+ decimals: number;
462
+ } | undefined;
463
+ }, {
464
+ coingeckoId?: string | undefined;
465
+ marketCapUsd?: {
466
+ value: bigint;
467
+ decimals: number;
468
+ } | undefined;
469
+ }>;
470
+ updatedAt: z.ZodNumber;
471
+ }, "strip", z.ZodTypeAny, {
472
+ symbol: string;
473
+ type: "CryptoCurrency";
474
+ id: string;
475
+ name: string;
476
+ market: {
477
+ coingeckoId: string | undefined;
478
+ marketCapUsd: {
479
+ value: bigint;
480
+ decimals: number;
481
+ } | undefined;
482
+ };
483
+ updatedAt: number;
484
+ icon?: string | undefined;
485
+ }, {
486
+ symbol: string;
487
+ type: "CryptoCurrency";
488
+ id: string;
489
+ name: string;
490
+ market: {
491
+ coingeckoId?: string | undefined;
492
+ marketCapUsd?: {
493
+ value: bigint;
494
+ decimals: number;
495
+ } | undefined;
496
+ };
497
+ updatedAt: number;
498
+ icon?: string | undefined;
499
+ }>, {
500
+ icon: string | undefined;
501
+ symbol: string;
502
+ type: "CryptoCurrency";
503
+ id: string;
504
+ name: string;
505
+ market: {
506
+ coingeckoId: string | undefined;
507
+ marketCapUsd: {
508
+ value: bigint;
509
+ decimals: number;
510
+ } | undefined;
511
+ };
512
+ updatedAt: number;
513
+ }, {
514
+ symbol: string;
515
+ type: "CryptoCurrency";
516
+ id: string;
517
+ name: string;
518
+ market: {
519
+ coingeckoId?: string | undefined;
520
+ marketCapUsd?: {
521
+ value: bigint;
522
+ decimals: number;
523
+ } | undefined;
524
+ };
525
+ updatedAt: number;
526
+ icon?: string | undefined;
527
+ }>, z.ZodEffects<z.ZodObject<{
528
+ type: z.ZodLiteral<"FiatCurrency">;
529
+ id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
530
+ name: z.ZodString;
531
+ symbol: z.ZodString;
532
+ icon: z.ZodOptional<z.ZodString>;
533
+ }, "strip", z.ZodTypeAny, {
534
+ symbol: string;
535
+ type: "FiatCurrency";
536
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
537
+ name: string;
538
+ icon?: string | undefined;
539
+ }, {
540
+ symbol: string;
541
+ type: "FiatCurrency";
542
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
543
+ name: string;
544
+ icon?: string | undefined;
545
+ }>, {
546
+ icon: string | undefined;
547
+ symbol: string;
548
+ type: "FiatCurrency";
549
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
550
+ name: string;
551
+ }, {
552
+ symbol: string;
553
+ type: "FiatCurrency";
554
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
555
+ name: string;
556
+ icon?: string | undefined;
557
+ }>, z.ZodObject<{
558
+ type: z.ZodLiteral<"Nft">;
559
+ id: z.ZodString;
560
+ }, "strip", z.ZodTypeAny, {
561
+ type: "Nft";
562
+ id: string;
563
+ }, {
564
+ type: "Nft";
565
+ id: string;
566
+ }>]>;
567
+ amount: z.ZodObject<{
568
+ value: z.ZodBigInt;
569
+ decimals: z.ZodNumber;
570
+ }, "strip", z.ZodTypeAny, {
571
+ value: bigint;
572
+ decimals: number;
573
+ }, {
574
+ value: bigint;
575
+ decimals: number;
576
+ }>;
577
+ direction: z.ZodLiteral<"out">;
578
+ }, "strip", z.ZodTypeAny, {
579
+ asset: {
580
+ icon: string | undefined;
581
+ symbol: string;
582
+ type: "CryptoCurrency";
583
+ id: string;
584
+ name: string;
585
+ market: {
586
+ coingeckoId: string | undefined;
587
+ marketCapUsd: {
588
+ value: bigint;
589
+ decimals: number;
590
+ } | undefined;
591
+ };
592
+ updatedAt: number;
593
+ } | {
594
+ icon: string | undefined;
595
+ symbol: string;
596
+ type: "FiatCurrency";
597
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
598
+ name: string;
599
+ } | {
600
+ type: "Nft";
601
+ id: string;
602
+ };
603
+ amount: {
604
+ value: bigint;
605
+ decimals: number;
606
+ };
607
+ direction: "out";
608
+ price?: {
609
+ cryptoCurrencyId: string;
610
+ fiatCurrencyId: string;
611
+ price: {
612
+ value: bigint;
613
+ decimals: number;
614
+ };
615
+ timestamp: number;
616
+ } | undefined;
617
+ from?: string | undefined;
618
+ to?: string | undefined;
619
+ }, {
620
+ asset: {
621
+ symbol: string;
622
+ type: "CryptoCurrency";
623
+ id: string;
624
+ name: string;
625
+ market: {
626
+ coingeckoId?: string | undefined;
627
+ marketCapUsd?: {
628
+ value: bigint;
629
+ decimals: number;
630
+ } | undefined;
631
+ };
632
+ updatedAt: number;
633
+ icon?: string | undefined;
634
+ } | {
635
+ symbol: string;
636
+ type: "FiatCurrency";
637
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
638
+ name: string;
639
+ icon?: string | undefined;
640
+ } | {
641
+ type: "Nft";
642
+ id: string;
643
+ };
644
+ amount: {
645
+ value: bigint;
646
+ decimals: number;
647
+ };
648
+ direction: "out";
649
+ price?: {
650
+ cryptoCurrencyId: string;
651
+ fiatCurrencyId: string;
652
+ price: {
653
+ value: bigint;
654
+ decimals: number;
655
+ };
656
+ timestamp: number;
657
+ } | undefined;
658
+ from?: string | undefined;
659
+ to?: string | undefined;
660
+ }>, {
661
+ from: string | undefined;
662
+ to: string | undefined;
663
+ price: {
664
+ cryptoCurrencyId: string;
665
+ fiatCurrencyId: string;
666
+ price: {
667
+ value: bigint;
668
+ decimals: number;
669
+ };
670
+ timestamp: number;
671
+ } | undefined;
672
+ asset: {
673
+ icon: string | undefined;
674
+ symbol: string;
675
+ type: "CryptoCurrency";
676
+ id: string;
677
+ name: string;
678
+ market: {
679
+ coingeckoId: string | undefined;
680
+ marketCapUsd: {
681
+ value: bigint;
682
+ decimals: number;
683
+ } | undefined;
684
+ };
685
+ updatedAt: number;
686
+ } | {
687
+ icon: string | undefined;
688
+ symbol: string;
689
+ type: "FiatCurrency";
690
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
691
+ name: string;
692
+ } | {
693
+ type: "Nft";
694
+ id: string;
695
+ };
696
+ amount: {
697
+ value: bigint;
698
+ decimals: number;
699
+ };
700
+ direction: "out";
701
+ }, {
702
+ asset: {
703
+ symbol: string;
704
+ type: "CryptoCurrency";
705
+ id: string;
706
+ name: string;
707
+ market: {
708
+ coingeckoId?: string | undefined;
709
+ marketCapUsd?: {
710
+ value: bigint;
711
+ decimals: number;
712
+ } | undefined;
713
+ };
714
+ updatedAt: number;
715
+ icon?: string | undefined;
716
+ } | {
717
+ symbol: string;
718
+ type: "FiatCurrency";
719
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
720
+ name: string;
721
+ icon?: string | undefined;
722
+ } | {
723
+ type: "Nft";
724
+ id: string;
725
+ };
726
+ amount: {
727
+ value: bigint;
728
+ decimals: number;
729
+ };
730
+ direction: "out";
731
+ price?: {
732
+ cryptoCurrencyId: string;
733
+ fiatCurrencyId: string;
734
+ price: {
735
+ value: bigint;
736
+ decimals: number;
737
+ };
738
+ timestamp: number;
739
+ } | undefined;
740
+ from?: string | undefined;
741
+ to?: string | undefined;
742
+ }>]>, "many">;
743
+ }, "strip", z.ZodTypeAny, {
744
+ type: "NormalAction";
745
+ timestamp: number;
746
+ action: "trade";
747
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
748
+ transfers: ({
749
+ from: string | undefined;
750
+ to: string | undefined;
751
+ price: {
752
+ cryptoCurrencyId: string;
753
+ fiatCurrencyId: string;
754
+ price: {
755
+ value: bigint;
756
+ decimals: number;
757
+ };
758
+ timestamp: number;
759
+ } | undefined;
760
+ asset: {
761
+ icon: string | undefined;
762
+ symbol: string;
763
+ type: "CryptoCurrency";
764
+ id: string;
765
+ name: string;
766
+ market: {
767
+ coingeckoId: string | undefined;
768
+ marketCapUsd: {
769
+ value: bigint;
770
+ decimals: number;
771
+ } | undefined;
772
+ };
773
+ updatedAt: number;
774
+ } | {
775
+ icon: string | undefined;
776
+ symbol: string;
777
+ type: "FiatCurrency";
778
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
779
+ name: string;
780
+ } | {
781
+ type: "Nft";
782
+ id: string;
783
+ };
784
+ amount: {
785
+ value: bigint;
786
+ decimals: number;
787
+ };
788
+ direction: "in";
789
+ } | {
790
+ from: string | undefined;
791
+ to: string | undefined;
792
+ price: {
793
+ cryptoCurrencyId: string;
794
+ fiatCurrencyId: string;
795
+ price: {
796
+ value: bigint;
797
+ decimals: number;
798
+ };
799
+ timestamp: number;
800
+ } | undefined;
801
+ asset: {
802
+ icon: string | undefined;
803
+ symbol: string;
804
+ type: "CryptoCurrency";
805
+ id: string;
806
+ name: string;
807
+ market: {
808
+ coingeckoId: string | undefined;
809
+ marketCapUsd: {
810
+ value: bigint;
811
+ decimals: number;
812
+ } | undefined;
813
+ };
814
+ updatedAt: number;
815
+ } | {
816
+ icon: string | undefined;
817
+ symbol: string;
818
+ type: "FiatCurrency";
819
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
820
+ name: string;
821
+ } | {
822
+ type: "Nft";
823
+ id: string;
824
+ };
825
+ amount: {
826
+ value: bigint;
827
+ decimals: number;
828
+ };
829
+ direction: "out";
830
+ })[];
831
+ comment?: string | undefined;
832
+ app?: {
833
+ description: string | undefined;
834
+ website: string | undefined;
835
+ icon: string | undefined;
836
+ id: string;
837
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
838
+ name: string;
839
+ } | undefined;
840
+ }, {
841
+ type: "NormalAction";
842
+ timestamp: number;
843
+ action: "trade";
844
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
845
+ transfers: ({
846
+ asset: {
847
+ symbol: string;
848
+ type: "CryptoCurrency";
849
+ id: string;
850
+ name: string;
851
+ market: {
852
+ coingeckoId?: string | undefined;
853
+ marketCapUsd?: {
854
+ value: bigint;
855
+ decimals: number;
856
+ } | undefined;
857
+ };
858
+ updatedAt: number;
859
+ icon?: string | undefined;
860
+ } | {
861
+ symbol: string;
862
+ type: "FiatCurrency";
863
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
864
+ name: string;
865
+ icon?: string | undefined;
866
+ } | {
867
+ type: "Nft";
868
+ id: string;
869
+ };
870
+ amount: {
871
+ value: bigint;
872
+ decimals: number;
873
+ };
874
+ direction: "in";
875
+ price?: {
876
+ cryptoCurrencyId: string;
877
+ fiatCurrencyId: string;
878
+ price: {
879
+ value: bigint;
880
+ decimals: number;
881
+ };
882
+ timestamp: number;
883
+ } | undefined;
884
+ from?: string | undefined;
885
+ to?: string | undefined;
886
+ } | {
887
+ asset: {
888
+ symbol: string;
889
+ type: "CryptoCurrency";
890
+ id: string;
891
+ name: string;
892
+ market: {
893
+ coingeckoId?: string | undefined;
894
+ marketCapUsd?: {
895
+ value: bigint;
896
+ decimals: number;
897
+ } | undefined;
898
+ };
899
+ updatedAt: number;
900
+ icon?: string | undefined;
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
+ } | {
908
+ type: "Nft";
909
+ id: string;
910
+ };
911
+ amount: {
912
+ value: bigint;
913
+ decimals: number;
914
+ };
915
+ direction: "out";
916
+ price?: {
917
+ cryptoCurrencyId: string;
918
+ fiatCurrencyId: string;
919
+ price: {
920
+ value: bigint;
921
+ decimals: number;
922
+ };
923
+ timestamp: number;
924
+ } | undefined;
925
+ from?: string | undefined;
926
+ to?: string | undefined;
927
+ })[];
928
+ comment?: string | undefined;
929
+ app?: {
930
+ id: string;
931
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
932
+ name: string;
933
+ description?: string | undefined;
934
+ website?: string | undefined;
935
+ icon?: string | undefined;
936
+ } | undefined;
937
+ }>, {
938
+ comment: string | undefined;
939
+ app: {
940
+ description: string | undefined;
941
+ website: string | undefined;
942
+ icon: string | undefined;
943
+ id: string;
944
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
945
+ name: string;
946
+ } | undefined;
947
+ type: "NormalAction";
948
+ timestamp: number;
949
+ action: "trade";
950
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
951
+ transfers: ({
952
+ from: string | undefined;
953
+ to: string | undefined;
954
+ price: {
955
+ cryptoCurrencyId: string;
956
+ fiatCurrencyId: string;
957
+ price: {
958
+ value: bigint;
959
+ decimals: number;
960
+ };
961
+ timestamp: number;
962
+ } | undefined;
963
+ asset: {
964
+ icon: string | undefined;
965
+ symbol: string;
966
+ type: "CryptoCurrency";
967
+ id: string;
968
+ name: string;
969
+ market: {
970
+ coingeckoId: string | undefined;
971
+ marketCapUsd: {
972
+ value: bigint;
973
+ decimals: number;
974
+ } | undefined;
975
+ };
976
+ updatedAt: number;
977
+ } | {
978
+ icon: string | undefined;
979
+ symbol: string;
980
+ type: "FiatCurrency";
981
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
982
+ name: string;
983
+ } | {
984
+ type: "Nft";
985
+ id: string;
986
+ };
987
+ amount: {
988
+ value: bigint;
989
+ decimals: number;
990
+ };
991
+ direction: "in";
992
+ } | {
993
+ from: string | undefined;
994
+ to: string | undefined;
995
+ price: {
996
+ cryptoCurrencyId: string;
997
+ fiatCurrencyId: string;
998
+ price: {
999
+ value: bigint;
1000
+ decimals: number;
1001
+ };
1002
+ timestamp: number;
1003
+ } | undefined;
1004
+ asset: {
1005
+ icon: string | undefined;
1006
+ symbol: string;
1007
+ type: "CryptoCurrency";
1008
+ id: string;
1009
+ name: string;
1010
+ market: {
1011
+ coingeckoId: string | undefined;
1012
+ marketCapUsd: {
1013
+ value: bigint;
1014
+ decimals: number;
1015
+ } | undefined;
1016
+ };
1017
+ updatedAt: number;
1018
+ } | {
1019
+ icon: string | undefined;
1020
+ symbol: string;
1021
+ type: "FiatCurrency";
1022
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1023
+ name: string;
1024
+ } | {
1025
+ type: "Nft";
1026
+ id: string;
1027
+ };
1028
+ amount: {
1029
+ value: bigint;
1030
+ decimals: number;
1031
+ };
1032
+ direction: "out";
1033
+ })[];
1034
+ }, {
1035
+ type: "NormalAction";
1036
+ timestamp: number;
1037
+ action: "trade";
1038
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1039
+ transfers: ({
1040
+ asset: {
1041
+ symbol: string;
1042
+ type: "CryptoCurrency";
1043
+ id: string;
1044
+ name: string;
1045
+ market: {
1046
+ coingeckoId?: string | undefined;
1047
+ marketCapUsd?: {
1048
+ value: bigint;
1049
+ decimals: number;
1050
+ } | undefined;
1051
+ };
1052
+ updatedAt: number;
1053
+ icon?: string | undefined;
1054
+ } | {
1055
+ symbol: string;
1056
+ type: "FiatCurrency";
1057
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1058
+ name: string;
1059
+ icon?: string | undefined;
1060
+ } | {
1061
+ type: "Nft";
1062
+ id: string;
1063
+ };
1064
+ amount: {
1065
+ value: bigint;
1066
+ decimals: number;
1067
+ };
1068
+ direction: "in";
1069
+ price?: {
1070
+ cryptoCurrencyId: string;
1071
+ fiatCurrencyId: string;
1072
+ price: {
1073
+ value: bigint;
1074
+ decimals: number;
1075
+ };
1076
+ timestamp: number;
1077
+ } | undefined;
1078
+ from?: string | undefined;
1079
+ to?: string | undefined;
1080
+ } | {
1081
+ asset: {
1082
+ symbol: string;
1083
+ type: "CryptoCurrency";
1084
+ id: string;
1085
+ name: string;
1086
+ market: {
1087
+ coingeckoId?: string | undefined;
1088
+ marketCapUsd?: {
1089
+ value: bigint;
1090
+ decimals: number;
1091
+ } | undefined;
1092
+ };
1093
+ updatedAt: number;
1094
+ icon?: string | undefined;
1095
+ } | {
1096
+ symbol: string;
1097
+ type: "FiatCurrency";
1098
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1099
+ name: string;
1100
+ icon?: string | undefined;
1101
+ } | {
1102
+ type: "Nft";
1103
+ id: string;
1104
+ };
1105
+ amount: {
1106
+ value: bigint;
1107
+ decimals: number;
1108
+ };
1109
+ direction: "out";
1110
+ price?: {
1111
+ cryptoCurrencyId: string;
1112
+ fiatCurrencyId: string;
1113
+ price: {
1114
+ value: bigint;
1115
+ decimals: number;
1116
+ };
1117
+ timestamp: number;
1118
+ } | undefined;
1119
+ from?: string | undefined;
1120
+ to?: string | undefined;
1121
+ })[];
1122
+ comment?: string | undefined;
1123
+ app?: {
1124
+ id: string;
1125
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1126
+ name: string;
1127
+ description?: string | undefined;
1128
+ website?: string | undefined;
1129
+ icon?: string | undefined;
1130
+ } | undefined;
1131
+ }>;
1132
+ export declare const accountActionTradeSchema: z.ZodEffects<z.ZodObject<{
1133
+ type: z.ZodLiteral<"NormalAccountAction">;
1134
+ timestamp: z.ZodNumber;
1135
+ order: z.ZodNumber;
1136
+ source: z.ZodString;
1137
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
1138
+ comment: z.ZodOptional<z.ZodString>;
1139
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1140
+ id: z.ZodString;
1141
+ 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">;
1142
+ name: z.ZodString;
1143
+ description: z.ZodOptional<z.ZodString>;
1144
+ website: z.ZodOptional<z.ZodString>;
1145
+ icon: z.ZodOptional<z.ZodString>;
1146
+ }, "strip", z.ZodTypeAny, {
1147
+ id: string;
1148
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1149
+ name: string;
1150
+ description?: string | undefined;
1151
+ website?: string | undefined;
1152
+ icon?: string | undefined;
1153
+ }, {
1154
+ id: string;
1155
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1156
+ name: string;
1157
+ description?: string | undefined;
1158
+ website?: string | undefined;
1159
+ icon?: string | undefined;
1160
+ }>, {
1161
+ description: string | undefined;
1162
+ website: string | undefined;
1163
+ icon: string | undefined;
1164
+ id: string;
1165
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1166
+ name: string;
1167
+ }, {
1168
+ id: string;
1169
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1170
+ name: string;
1171
+ description?: string | undefined;
1172
+ website?: string | undefined;
1173
+ icon?: string | undefined;
1174
+ }>>;
1175
+ action: z.ZodLiteral<"trade">;
1176
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1177
+ price: z.ZodOptional<z.ZodObject<{
1178
+ cryptoCurrencyId: z.ZodString;
1179
+ fiatCurrencyId: z.ZodString;
1180
+ price: z.ZodObject<{
1181
+ value: z.ZodBigInt;
1182
+ decimals: z.ZodNumber;
1183
+ }, "strip", z.ZodTypeAny, {
1184
+ value: bigint;
1185
+ decimals: number;
1186
+ }, {
1187
+ value: bigint;
1188
+ decimals: number;
1189
+ }>;
1190
+ timestamp: z.ZodNumber;
1191
+ }, "strip", z.ZodTypeAny, {
1192
+ cryptoCurrencyId: string;
1193
+ fiatCurrencyId: string;
1194
+ price: {
1195
+ value: bigint;
1196
+ decimals: number;
1197
+ };
1198
+ timestamp: number;
1199
+ }, {
1200
+ cryptoCurrencyId: string;
1201
+ fiatCurrencyId: string;
1202
+ price: {
1203
+ value: bigint;
1204
+ decimals: number;
1205
+ };
1206
+ timestamp: number;
1207
+ }>>;
1208
+ from: z.ZodOptional<z.ZodString>;
1209
+ to: z.ZodOptional<z.ZodString>;
1210
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1211
+ type: z.ZodLiteral<"CryptoCurrency">;
1212
+ id: z.ZodString;
1213
+ name: z.ZodString;
1214
+ symbol: z.ZodString;
1215
+ icon: z.ZodOptional<z.ZodString>;
1216
+ market: z.ZodEffects<z.ZodObject<{
1217
+ coingeckoId: z.ZodOptional<z.ZodString>;
1218
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1219
+ value: z.ZodBigInt;
1220
+ decimals: z.ZodNumber;
1221
+ }, "strip", z.ZodTypeAny, {
1222
+ value: bigint;
1223
+ decimals: number;
1224
+ }, {
1225
+ value: bigint;
1226
+ decimals: number;
1227
+ }>>;
1228
+ }, "strip", z.ZodTypeAny, {
1229
+ coingeckoId?: string | undefined;
1230
+ marketCapUsd?: {
1231
+ value: bigint;
1232
+ decimals: number;
1233
+ } | undefined;
1234
+ }, {
1235
+ coingeckoId?: string | undefined;
1236
+ marketCapUsd?: {
1237
+ value: bigint;
1238
+ decimals: number;
1239
+ } | undefined;
1240
+ }>, {
1241
+ coingeckoId: string | undefined;
1242
+ marketCapUsd: {
1243
+ value: bigint;
1244
+ decimals: number;
1245
+ } | undefined;
1246
+ }, {
1247
+ coingeckoId?: string | undefined;
1248
+ marketCapUsd?: {
1249
+ value: bigint;
1250
+ decimals: number;
1251
+ } | undefined;
1252
+ }>;
1253
+ updatedAt: z.ZodNumber;
1254
+ }, "strip", z.ZodTypeAny, {
1255
+ symbol: string;
1256
+ type: "CryptoCurrency";
1257
+ id: string;
1258
+ name: string;
1259
+ market: {
1260
+ coingeckoId: string | undefined;
1261
+ marketCapUsd: {
1262
+ value: bigint;
1263
+ decimals: number;
1264
+ } | undefined;
1265
+ };
1266
+ updatedAt: number;
1267
+ icon?: string | undefined;
1268
+ }, {
1269
+ symbol: string;
1270
+ type: "CryptoCurrency";
1271
+ id: string;
1272
+ name: string;
1273
+ market: {
1274
+ coingeckoId?: string | undefined;
1275
+ marketCapUsd?: {
1276
+ value: bigint;
1277
+ decimals: number;
1278
+ } | undefined;
1279
+ };
1280
+ updatedAt: number;
1281
+ icon?: string | undefined;
1282
+ }>, {
1283
+ icon: string | undefined;
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
+ }, {
1297
+ symbol: string;
1298
+ type: "CryptoCurrency";
1299
+ id: string;
1300
+ name: string;
1301
+ market: {
1302
+ coingeckoId?: string | undefined;
1303
+ marketCapUsd?: {
1304
+ value: bigint;
1305
+ decimals: number;
1306
+ } | undefined;
1307
+ };
1308
+ updatedAt: number;
1309
+ icon?: string | undefined;
1310
+ }>, z.ZodEffects<z.ZodObject<{
1311
+ type: z.ZodLiteral<"FiatCurrency">;
1312
+ 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">]>;
1313
+ name: z.ZodString;
1314
+ symbol: z.ZodString;
1315
+ icon: z.ZodOptional<z.ZodString>;
1316
+ }, "strip", z.ZodTypeAny, {
1317
+ symbol: string;
1318
+ type: "FiatCurrency";
1319
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1320
+ name: string;
1321
+ icon?: string | undefined;
1322
+ }, {
1323
+ symbol: string;
1324
+ type: "FiatCurrency";
1325
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1326
+ name: string;
1327
+ icon?: string | undefined;
1328
+ }>, {
1329
+ icon: string | undefined;
1330
+ symbol: string;
1331
+ type: "FiatCurrency";
1332
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1333
+ name: string;
1334
+ }, {
1335
+ symbol: string;
1336
+ type: "FiatCurrency";
1337
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1338
+ name: string;
1339
+ icon?: string | undefined;
1340
+ }>, z.ZodObject<{
1341
+ type: z.ZodLiteral<"Nft">;
1342
+ id: z.ZodString;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ type: "Nft";
1345
+ id: string;
1346
+ }, {
1347
+ type: "Nft";
1348
+ id: string;
1349
+ }>]>;
1350
+ amount: z.ZodObject<{
1351
+ value: z.ZodBigInt;
1352
+ decimals: z.ZodNumber;
1353
+ }, "strip", z.ZodTypeAny, {
1354
+ value: bigint;
1355
+ decimals: number;
1356
+ }, {
1357
+ value: bigint;
1358
+ decimals: number;
1359
+ }>;
1360
+ direction: z.ZodLiteral<"in">;
1361
+ }, "strip", z.ZodTypeAny, {
1362
+ asset: {
1363
+ icon: string | undefined;
1364
+ symbol: string;
1365
+ type: "CryptoCurrency";
1366
+ id: string;
1367
+ name: string;
1368
+ market: {
1369
+ coingeckoId: string | undefined;
1370
+ marketCapUsd: {
1371
+ value: bigint;
1372
+ decimals: number;
1373
+ } | undefined;
1374
+ };
1375
+ updatedAt: number;
1376
+ } | {
1377
+ icon: string | undefined;
1378
+ symbol: string;
1379
+ type: "FiatCurrency";
1380
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1381
+ name: string;
1382
+ } | {
1383
+ type: "Nft";
1384
+ id: string;
1385
+ };
1386
+ amount: {
1387
+ value: bigint;
1388
+ decimals: number;
1389
+ };
1390
+ direction: "in";
1391
+ price?: {
1392
+ cryptoCurrencyId: string;
1393
+ fiatCurrencyId: string;
1394
+ price: {
1395
+ value: bigint;
1396
+ decimals: number;
1397
+ };
1398
+ timestamp: number;
1399
+ } | undefined;
1400
+ from?: string | undefined;
1401
+ to?: string | undefined;
1402
+ }, {
1403
+ asset: {
1404
+ symbol: string;
1405
+ type: "CryptoCurrency";
1406
+ id: string;
1407
+ name: string;
1408
+ market: {
1409
+ coingeckoId?: string | undefined;
1410
+ marketCapUsd?: {
1411
+ value: bigint;
1412
+ decimals: number;
1413
+ } | undefined;
1414
+ };
1415
+ updatedAt: number;
1416
+ icon?: string | undefined;
1417
+ } | {
1418
+ symbol: string;
1419
+ type: "FiatCurrency";
1420
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1421
+ name: string;
1422
+ icon?: string | undefined;
1423
+ } | {
1424
+ type: "Nft";
1425
+ id: string;
1426
+ };
1427
+ amount: {
1428
+ value: bigint;
1429
+ decimals: number;
1430
+ };
1431
+ direction: "in";
1432
+ price?: {
1433
+ cryptoCurrencyId: string;
1434
+ fiatCurrencyId: string;
1435
+ price: {
1436
+ value: bigint;
1437
+ decimals: number;
1438
+ };
1439
+ timestamp: number;
1440
+ } | undefined;
1441
+ from?: string | undefined;
1442
+ to?: string | undefined;
1443
+ }>, {
1444
+ from: string | undefined;
1445
+ to: string | undefined;
1446
+ price: {
1447
+ cryptoCurrencyId: string;
1448
+ fiatCurrencyId: string;
1449
+ price: {
1450
+ value: bigint;
1451
+ decimals: number;
1452
+ };
1453
+ timestamp: number;
1454
+ } | undefined;
1455
+ asset: {
1456
+ icon: string | undefined;
1457
+ symbol: string;
1458
+ type: "CryptoCurrency";
1459
+ id: string;
1460
+ name: string;
1461
+ market: {
1462
+ coingeckoId: string | undefined;
1463
+ marketCapUsd: {
1464
+ value: bigint;
1465
+ decimals: number;
1466
+ } | undefined;
1467
+ };
1468
+ updatedAt: number;
1469
+ } | {
1470
+ icon: string | undefined;
1471
+ symbol: string;
1472
+ type: "FiatCurrency";
1473
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1474
+ name: string;
1475
+ } | {
1476
+ type: "Nft";
1477
+ id: string;
1478
+ };
1479
+ amount: {
1480
+ value: bigint;
1481
+ decimals: number;
1482
+ };
1483
+ direction: "in";
1484
+ }, {
1485
+ asset: {
1486
+ symbol: string;
1487
+ type: "CryptoCurrency";
1488
+ id: string;
1489
+ name: string;
1490
+ market: {
1491
+ coingeckoId?: string | undefined;
1492
+ marketCapUsd?: {
1493
+ value: bigint;
1494
+ decimals: number;
1495
+ } | undefined;
1496
+ };
1497
+ updatedAt: number;
1498
+ icon?: string | undefined;
1499
+ } | {
1500
+ symbol: string;
1501
+ type: "FiatCurrency";
1502
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1503
+ name: string;
1504
+ icon?: string | undefined;
1505
+ } | {
1506
+ type: "Nft";
1507
+ id: string;
1508
+ };
1509
+ amount: {
1510
+ value: bigint;
1511
+ decimals: number;
1512
+ };
1513
+ direction: "in";
1514
+ price?: {
1515
+ cryptoCurrencyId: string;
1516
+ fiatCurrencyId: string;
1517
+ price: {
1518
+ value: bigint;
1519
+ decimals: number;
1520
+ };
1521
+ timestamp: number;
1522
+ } | undefined;
1523
+ from?: string | undefined;
1524
+ to?: string | undefined;
1525
+ }>, z.ZodEffects<z.ZodObject<{
1526
+ price: z.ZodOptional<z.ZodObject<{
1527
+ cryptoCurrencyId: z.ZodString;
1528
+ fiatCurrencyId: z.ZodString;
1529
+ price: z.ZodObject<{
1530
+ value: z.ZodBigInt;
1531
+ decimals: z.ZodNumber;
1532
+ }, "strip", z.ZodTypeAny, {
1533
+ value: bigint;
1534
+ decimals: number;
1535
+ }, {
1536
+ value: bigint;
1537
+ decimals: number;
1538
+ }>;
1539
+ timestamp: z.ZodNumber;
1540
+ }, "strip", z.ZodTypeAny, {
1541
+ cryptoCurrencyId: string;
1542
+ fiatCurrencyId: string;
1543
+ price: {
1544
+ value: bigint;
1545
+ decimals: number;
1546
+ };
1547
+ timestamp: number;
1548
+ }, {
1549
+ cryptoCurrencyId: string;
1550
+ fiatCurrencyId: string;
1551
+ price: {
1552
+ value: bigint;
1553
+ decimals: number;
1554
+ };
1555
+ timestamp: number;
1556
+ }>>;
1557
+ from: z.ZodOptional<z.ZodString>;
1558
+ to: z.ZodOptional<z.ZodString>;
1559
+ asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1560
+ type: z.ZodLiteral<"CryptoCurrency">;
1561
+ id: z.ZodString;
1562
+ name: z.ZodString;
1563
+ symbol: z.ZodString;
1564
+ icon: z.ZodOptional<z.ZodString>;
1565
+ market: z.ZodEffects<z.ZodObject<{
1566
+ coingeckoId: z.ZodOptional<z.ZodString>;
1567
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1568
+ value: z.ZodBigInt;
1569
+ decimals: z.ZodNumber;
1570
+ }, "strip", z.ZodTypeAny, {
1571
+ value: bigint;
1572
+ decimals: number;
1573
+ }, {
1574
+ value: bigint;
1575
+ decimals: number;
1576
+ }>>;
1577
+ }, "strip", z.ZodTypeAny, {
1578
+ coingeckoId?: string | undefined;
1579
+ marketCapUsd?: {
1580
+ value: bigint;
1581
+ decimals: number;
1582
+ } | undefined;
1583
+ }, {
1584
+ coingeckoId?: string | undefined;
1585
+ marketCapUsd?: {
1586
+ value: bigint;
1587
+ decimals: number;
1588
+ } | undefined;
1589
+ }>, {
1590
+ coingeckoId: string | undefined;
1591
+ marketCapUsd: {
1592
+ value: bigint;
1593
+ decimals: number;
1594
+ } | undefined;
1595
+ }, {
1596
+ coingeckoId?: string | undefined;
1597
+ marketCapUsd?: {
1598
+ value: bigint;
1599
+ decimals: number;
1600
+ } | undefined;
1601
+ }>;
1602
+ updatedAt: z.ZodNumber;
1603
+ }, "strip", z.ZodTypeAny, {
1604
+ symbol: string;
1605
+ type: "CryptoCurrency";
1606
+ id: string;
1607
+ name: string;
1608
+ market: {
1609
+ coingeckoId: string | undefined;
1610
+ marketCapUsd: {
1611
+ value: bigint;
1612
+ decimals: number;
1613
+ } | undefined;
1614
+ };
1615
+ updatedAt: number;
1616
+ icon?: string | undefined;
1617
+ }, {
1618
+ symbol: string;
1619
+ type: "CryptoCurrency";
1620
+ id: string;
1621
+ name: string;
1622
+ market: {
1623
+ coingeckoId?: string | undefined;
1624
+ marketCapUsd?: {
1625
+ value: bigint;
1626
+ decimals: number;
1627
+ } | undefined;
1628
+ };
1629
+ updatedAt: number;
1630
+ icon?: string | undefined;
1631
+ }>, {
1632
+ icon: string | undefined;
1633
+ symbol: string;
1634
+ type: "CryptoCurrency";
1635
+ id: string;
1636
+ name: string;
1637
+ market: {
1638
+ coingeckoId: string | undefined;
1639
+ marketCapUsd: {
1640
+ value: bigint;
1641
+ decimals: number;
1642
+ } | undefined;
1643
+ };
1644
+ updatedAt: number;
1645
+ }, {
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
+ }>, z.ZodEffects<z.ZodObject<{
1660
+ type: z.ZodLiteral<"FiatCurrency">;
1661
+ 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">]>;
1662
+ name: z.ZodString;
1663
+ symbol: z.ZodString;
1664
+ icon: z.ZodOptional<z.ZodString>;
1665
+ }, "strip", z.ZodTypeAny, {
1666
+ symbol: string;
1667
+ type: "FiatCurrency";
1668
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1669
+ name: string;
1670
+ icon?: string | undefined;
1671
+ }, {
1672
+ symbol: string;
1673
+ type: "FiatCurrency";
1674
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1675
+ name: string;
1676
+ icon?: string | undefined;
1677
+ }>, {
1678
+ icon: string | undefined;
1679
+ symbol: string;
1680
+ type: "FiatCurrency";
1681
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1682
+ name: string;
1683
+ }, {
1684
+ symbol: string;
1685
+ type: "FiatCurrency";
1686
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1687
+ name: string;
1688
+ icon?: string | undefined;
1689
+ }>, z.ZodObject<{
1690
+ type: z.ZodLiteral<"Nft">;
1691
+ id: z.ZodString;
1692
+ }, "strip", z.ZodTypeAny, {
1693
+ type: "Nft";
1694
+ id: string;
1695
+ }, {
1696
+ type: "Nft";
1697
+ id: string;
1698
+ }>]>;
1699
+ amount: z.ZodObject<{
1700
+ value: z.ZodBigInt;
1701
+ decimals: z.ZodNumber;
1702
+ }, "strip", z.ZodTypeAny, {
1703
+ value: bigint;
1704
+ decimals: number;
1705
+ }, {
1706
+ value: bigint;
1707
+ decimals: number;
1708
+ }>;
1709
+ direction: z.ZodLiteral<"out">;
1710
+ }, "strip", z.ZodTypeAny, {
1711
+ asset: {
1712
+ icon: string | undefined;
1713
+ symbol: string;
1714
+ type: "CryptoCurrency";
1715
+ id: string;
1716
+ name: string;
1717
+ market: {
1718
+ coingeckoId: string | undefined;
1719
+ marketCapUsd: {
1720
+ value: bigint;
1721
+ decimals: number;
1722
+ } | undefined;
1723
+ };
1724
+ updatedAt: number;
1725
+ } | {
1726
+ icon: string | undefined;
1727
+ symbol: string;
1728
+ type: "FiatCurrency";
1729
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1730
+ name: string;
1731
+ } | {
1732
+ type: "Nft";
1733
+ id: string;
1734
+ };
1735
+ amount: {
1736
+ value: bigint;
1737
+ decimals: number;
1738
+ };
1739
+ direction: "out";
1740
+ price?: {
1741
+ cryptoCurrencyId: string;
1742
+ fiatCurrencyId: string;
1743
+ price: {
1744
+ value: bigint;
1745
+ decimals: number;
1746
+ };
1747
+ timestamp: number;
1748
+ } | undefined;
1749
+ from?: string | undefined;
1750
+ to?: string | undefined;
1751
+ }, {
1752
+ asset: {
1753
+ symbol: string;
1754
+ type: "CryptoCurrency";
1755
+ id: string;
1756
+ name: string;
1757
+ market: {
1758
+ coingeckoId?: string | undefined;
1759
+ marketCapUsd?: {
1760
+ value: bigint;
1761
+ decimals: number;
1762
+ } | undefined;
1763
+ };
1764
+ updatedAt: number;
1765
+ icon?: string | undefined;
1766
+ } | {
1767
+ symbol: string;
1768
+ type: "FiatCurrency";
1769
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1770
+ name: string;
1771
+ icon?: string | undefined;
1772
+ } | {
1773
+ type: "Nft";
1774
+ id: string;
1775
+ };
1776
+ amount: {
1777
+ value: bigint;
1778
+ decimals: number;
1779
+ };
1780
+ direction: "out";
1781
+ price?: {
1782
+ cryptoCurrencyId: string;
1783
+ fiatCurrencyId: string;
1784
+ price: {
1785
+ value: bigint;
1786
+ decimals: number;
1787
+ };
1788
+ timestamp: number;
1789
+ } | undefined;
1790
+ from?: string | undefined;
1791
+ to?: string | undefined;
1792
+ }>, {
1793
+ from: string | undefined;
1794
+ to: string | undefined;
1795
+ price: {
1796
+ cryptoCurrencyId: string;
1797
+ fiatCurrencyId: string;
1798
+ price: {
1799
+ value: bigint;
1800
+ decimals: number;
1801
+ };
1802
+ timestamp: number;
1803
+ } | undefined;
1804
+ asset: {
1805
+ icon: string | undefined;
1806
+ symbol: string;
1807
+ type: "CryptoCurrency";
1808
+ id: string;
1809
+ name: string;
1810
+ market: {
1811
+ coingeckoId: string | undefined;
1812
+ marketCapUsd: {
1813
+ value: bigint;
1814
+ decimals: number;
1815
+ } | undefined;
1816
+ };
1817
+ updatedAt: number;
1818
+ } | {
1819
+ icon: string | undefined;
1820
+ symbol: string;
1821
+ type: "FiatCurrency";
1822
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1823
+ name: string;
1824
+ } | {
1825
+ type: "Nft";
1826
+ id: string;
1827
+ };
1828
+ amount: {
1829
+ value: bigint;
1830
+ decimals: number;
1831
+ };
1832
+ direction: "out";
1833
+ }, {
1834
+ asset: {
1835
+ symbol: string;
1836
+ type: "CryptoCurrency";
1837
+ id: string;
1838
+ name: string;
1839
+ market: {
1840
+ coingeckoId?: string | undefined;
1841
+ marketCapUsd?: {
1842
+ value: bigint;
1843
+ decimals: number;
1844
+ } | undefined;
1845
+ };
1846
+ updatedAt: number;
1847
+ icon?: string | undefined;
1848
+ } | {
1849
+ symbol: string;
1850
+ type: "FiatCurrency";
1851
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1852
+ name: string;
1853
+ icon?: string | undefined;
1854
+ } | {
1855
+ type: "Nft";
1856
+ id: string;
1857
+ };
1858
+ amount: {
1859
+ value: bigint;
1860
+ decimals: number;
1861
+ };
1862
+ direction: "out";
1863
+ price?: {
1864
+ cryptoCurrencyId: string;
1865
+ fiatCurrencyId: string;
1866
+ price: {
1867
+ value: bigint;
1868
+ decimals: number;
1869
+ };
1870
+ timestamp: number;
1871
+ } | undefined;
1872
+ from?: string | undefined;
1873
+ to?: string | undefined;
1874
+ }>]>, "many">;
1875
+ }, "strip", z.ZodTypeAny, {
1876
+ type: "NormalAccountAction";
1877
+ timestamp: number;
1878
+ order: number;
1879
+ action: "trade";
1880
+ source: string;
1881
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1882
+ transfers: ({
1883
+ from: string | undefined;
1884
+ to: string | undefined;
1885
+ price: {
1886
+ cryptoCurrencyId: string;
1887
+ fiatCurrencyId: string;
1888
+ price: {
1889
+ value: bigint;
1890
+ decimals: number;
1891
+ };
1892
+ timestamp: number;
1893
+ } | undefined;
1894
+ asset: {
1895
+ icon: string | undefined;
1896
+ symbol: string;
1897
+ type: "CryptoCurrency";
1898
+ id: string;
1899
+ name: string;
1900
+ market: {
1901
+ coingeckoId: string | undefined;
1902
+ marketCapUsd: {
1903
+ value: bigint;
1904
+ decimals: number;
1905
+ } | undefined;
1906
+ };
1907
+ updatedAt: number;
1908
+ } | {
1909
+ icon: string | undefined;
1910
+ symbol: string;
1911
+ type: "FiatCurrency";
1912
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1913
+ name: string;
1914
+ } | {
1915
+ type: "Nft";
1916
+ id: string;
1917
+ };
1918
+ amount: {
1919
+ value: bigint;
1920
+ decimals: number;
1921
+ };
1922
+ direction: "in";
1923
+ } | {
1924
+ from: string | undefined;
1925
+ to: string | undefined;
1926
+ price: {
1927
+ cryptoCurrencyId: string;
1928
+ fiatCurrencyId: string;
1929
+ price: {
1930
+ value: bigint;
1931
+ decimals: number;
1932
+ };
1933
+ timestamp: number;
1934
+ } | undefined;
1935
+ asset: {
1936
+ icon: string | undefined;
1937
+ symbol: string;
1938
+ type: "CryptoCurrency";
1939
+ id: string;
1940
+ name: string;
1941
+ market: {
1942
+ coingeckoId: string | undefined;
1943
+ marketCapUsd: {
1944
+ value: bigint;
1945
+ decimals: number;
1946
+ } | undefined;
1947
+ };
1948
+ updatedAt: number;
1949
+ } | {
1950
+ icon: string | undefined;
1951
+ symbol: string;
1952
+ type: "FiatCurrency";
1953
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1954
+ name: string;
1955
+ } | {
1956
+ type: "Nft";
1957
+ id: string;
1958
+ };
1959
+ amount: {
1960
+ value: bigint;
1961
+ decimals: number;
1962
+ };
1963
+ direction: "out";
1964
+ })[];
1965
+ comment?: string | undefined;
1966
+ app?: {
1967
+ description: string | undefined;
1968
+ website: string | undefined;
1969
+ icon: string | undefined;
1970
+ id: string;
1971
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1972
+ name: string;
1973
+ } | undefined;
1974
+ }, {
1975
+ type: "NormalAccountAction";
1976
+ timestamp: number;
1977
+ order: number;
1978
+ action: "trade";
1979
+ source: string;
1980
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1981
+ transfers: ({
1982
+ asset: {
1983
+ symbol: string;
1984
+ type: "CryptoCurrency";
1985
+ id: string;
1986
+ name: string;
1987
+ market: {
1988
+ coingeckoId?: string | undefined;
1989
+ marketCapUsd?: {
1990
+ value: bigint;
1991
+ decimals: number;
1992
+ } | undefined;
1993
+ };
1994
+ updatedAt: number;
1995
+ icon?: string | undefined;
1996
+ } | {
1997
+ symbol: string;
1998
+ type: "FiatCurrency";
1999
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2000
+ name: string;
2001
+ icon?: string | undefined;
2002
+ } | {
2003
+ type: "Nft";
2004
+ id: string;
2005
+ };
2006
+ amount: {
2007
+ value: bigint;
2008
+ decimals: number;
2009
+ };
2010
+ direction: "in";
2011
+ price?: {
2012
+ cryptoCurrencyId: string;
2013
+ fiatCurrencyId: string;
2014
+ price: {
2015
+ value: bigint;
2016
+ decimals: number;
2017
+ };
2018
+ timestamp: number;
2019
+ } | undefined;
2020
+ from?: string | undefined;
2021
+ to?: string | undefined;
2022
+ } | {
2023
+ asset: {
2024
+ symbol: string;
2025
+ type: "CryptoCurrency";
2026
+ id: string;
2027
+ name: string;
2028
+ market: {
2029
+ coingeckoId?: string | undefined;
2030
+ marketCapUsd?: {
2031
+ value: bigint;
2032
+ decimals: number;
2033
+ } | undefined;
2034
+ };
2035
+ updatedAt: number;
2036
+ icon?: string | undefined;
2037
+ } | {
2038
+ symbol: string;
2039
+ type: "FiatCurrency";
2040
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2041
+ name: string;
2042
+ icon?: string | undefined;
2043
+ } | {
2044
+ type: "Nft";
2045
+ id: string;
2046
+ };
2047
+ amount: {
2048
+ value: bigint;
2049
+ decimals: number;
2050
+ };
2051
+ direction: "out";
2052
+ price?: {
2053
+ cryptoCurrencyId: string;
2054
+ fiatCurrencyId: string;
2055
+ price: {
2056
+ value: bigint;
2057
+ decimals: number;
2058
+ };
2059
+ timestamp: number;
2060
+ } | undefined;
2061
+ from?: string | undefined;
2062
+ to?: string | undefined;
2063
+ })[];
2064
+ comment?: string | undefined;
2065
+ app?: {
2066
+ id: string;
2067
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2068
+ name: string;
2069
+ description?: string | undefined;
2070
+ website?: string | undefined;
2071
+ icon?: string | undefined;
2072
+ } | undefined;
2073
+ }>, {
2074
+ comment: string | undefined;
2075
+ app: {
2076
+ description: string | undefined;
2077
+ website: string | undefined;
2078
+ icon: string | undefined;
2079
+ id: string;
2080
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2081
+ name: string;
2082
+ } | undefined;
2083
+ type: "NormalAccountAction";
2084
+ timestamp: number;
2085
+ order: number;
2086
+ action: "trade";
2087
+ source: string;
2088
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2089
+ transfers: ({
2090
+ from: string | undefined;
2091
+ to: string | undefined;
2092
+ price: {
2093
+ cryptoCurrencyId: string;
2094
+ fiatCurrencyId: string;
2095
+ price: {
2096
+ value: bigint;
2097
+ decimals: number;
2098
+ };
2099
+ timestamp: number;
2100
+ } | undefined;
2101
+ asset: {
2102
+ icon: string | undefined;
2103
+ symbol: string;
2104
+ type: "CryptoCurrency";
2105
+ id: string;
2106
+ name: string;
2107
+ market: {
2108
+ coingeckoId: string | undefined;
2109
+ marketCapUsd: {
2110
+ value: bigint;
2111
+ decimals: number;
2112
+ } | undefined;
2113
+ };
2114
+ updatedAt: number;
2115
+ } | {
2116
+ icon: string | undefined;
2117
+ symbol: string;
2118
+ type: "FiatCurrency";
2119
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2120
+ name: string;
2121
+ } | {
2122
+ type: "Nft";
2123
+ id: string;
2124
+ };
2125
+ amount: {
2126
+ value: bigint;
2127
+ decimals: number;
2128
+ };
2129
+ direction: "in";
2130
+ } | {
2131
+ from: string | undefined;
2132
+ to: string | undefined;
2133
+ price: {
2134
+ cryptoCurrencyId: string;
2135
+ fiatCurrencyId: string;
2136
+ price: {
2137
+ value: bigint;
2138
+ decimals: number;
2139
+ };
2140
+ timestamp: number;
2141
+ } | undefined;
2142
+ asset: {
2143
+ icon: string | undefined;
2144
+ symbol: string;
2145
+ type: "CryptoCurrency";
2146
+ id: string;
2147
+ name: string;
2148
+ market: {
2149
+ coingeckoId: string | undefined;
2150
+ marketCapUsd: {
2151
+ value: bigint;
2152
+ decimals: number;
2153
+ } | undefined;
2154
+ };
2155
+ updatedAt: number;
2156
+ } | {
2157
+ icon: string | undefined;
2158
+ symbol: string;
2159
+ type: "FiatCurrency";
2160
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2161
+ name: string;
2162
+ } | {
2163
+ type: "Nft";
2164
+ id: string;
2165
+ };
2166
+ amount: {
2167
+ value: bigint;
2168
+ decimals: number;
2169
+ };
2170
+ direction: "out";
2171
+ })[];
2172
+ }, {
2173
+ type: "NormalAccountAction";
2174
+ timestamp: number;
2175
+ order: number;
2176
+ action: "trade";
2177
+ source: string;
2178
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
2179
+ transfers: ({
2180
+ asset: {
2181
+ symbol: string;
2182
+ type: "CryptoCurrency";
2183
+ id: string;
2184
+ name: string;
2185
+ market: {
2186
+ coingeckoId?: string | undefined;
2187
+ marketCapUsd?: {
2188
+ value: bigint;
2189
+ decimals: number;
2190
+ } | undefined;
2191
+ };
2192
+ updatedAt: number;
2193
+ icon?: string | undefined;
2194
+ } | {
2195
+ symbol: string;
2196
+ type: "FiatCurrency";
2197
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2198
+ name: string;
2199
+ icon?: string | undefined;
2200
+ } | {
2201
+ type: "Nft";
2202
+ id: string;
2203
+ };
2204
+ amount: {
2205
+ value: bigint;
2206
+ decimals: number;
2207
+ };
2208
+ direction: "in";
2209
+ price?: {
2210
+ cryptoCurrencyId: string;
2211
+ fiatCurrencyId: string;
2212
+ price: {
2213
+ value: bigint;
2214
+ decimals: number;
2215
+ };
2216
+ timestamp: number;
2217
+ } | undefined;
2218
+ from?: string | undefined;
2219
+ to?: string | undefined;
2220
+ } | {
2221
+ asset: {
2222
+ symbol: string;
2223
+ type: "CryptoCurrency";
2224
+ id: string;
2225
+ name: string;
2226
+ market: {
2227
+ coingeckoId?: string | undefined;
2228
+ marketCapUsd?: {
2229
+ value: bigint;
2230
+ decimals: number;
2231
+ } | undefined;
2232
+ };
2233
+ updatedAt: number;
2234
+ icon?: string | undefined;
2235
+ } | {
2236
+ symbol: string;
2237
+ type: "FiatCurrency";
2238
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
2239
+ name: string;
2240
+ icon?: string | undefined;
2241
+ } | {
2242
+ type: "Nft";
2243
+ id: string;
2244
+ };
2245
+ amount: {
2246
+ value: bigint;
2247
+ decimals: number;
2248
+ };
2249
+ direction: "out";
2250
+ price?: {
2251
+ cryptoCurrencyId: string;
2252
+ fiatCurrencyId: string;
2253
+ price: {
2254
+ value: bigint;
2255
+ decimals: number;
2256
+ };
2257
+ timestamp: number;
2258
+ } | undefined;
2259
+ from?: string | undefined;
2260
+ to?: string | undefined;
2261
+ })[];
2262
+ comment?: string | undefined;
2263
+ app?: {
2264
+ id: string;
2265
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
2266
+ name: string;
2267
+ description?: string | undefined;
2268
+ website?: string | undefined;
2269
+ icon?: string | undefined;
2270
+ } | undefined;
2271
+ }>;
2272
+ //# sourceMappingURL=trade.d.ts.map