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