@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,1560 @@
1
+ import { z } from 'zod';
2
+ export declare const normalActionBuyCryptoSchema: z.ZodEffects<z.ZodObject<{
3
+ type: z.ZodLiteral<"NormalAction">;
4
+ timestamp: z.ZodNumber;
5
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
6
+ comment: z.ZodOptional<z.ZodString>;
7
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
8
+ id: z.ZodString;
9
+ categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
10
+ name: z.ZodString;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ website: z.ZodOptional<z.ZodString>;
13
+ icon: z.ZodOptional<z.ZodString>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ id: string;
16
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
17
+ name: string;
18
+ description?: string | undefined;
19
+ website?: string | undefined;
20
+ icon?: string | undefined;
21
+ }, {
22
+ id: string;
23
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
24
+ name: string;
25
+ description?: string | undefined;
26
+ website?: string | undefined;
27
+ icon?: string | undefined;
28
+ }>, {
29
+ description: string | undefined;
30
+ website: string | undefined;
31
+ icon: string | undefined;
32
+ id: string;
33
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
34
+ name: string;
35
+ }, {
36
+ id: string;
37
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
38
+ name: string;
39
+ description?: string | undefined;
40
+ website?: string | undefined;
41
+ icon?: string | undefined;
42
+ }>>;
43
+ action: z.ZodLiteral<"buy-crypto">;
44
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
45
+ price: z.ZodOptional<z.ZodObject<{
46
+ cryptoCurrencyId: z.ZodString;
47
+ fiatCurrencyId: z.ZodString;
48
+ price: z.ZodObject<{
49
+ value: z.ZodBigInt;
50
+ decimals: z.ZodNumber;
51
+ }, "strip", z.ZodTypeAny, {
52
+ value: bigint;
53
+ decimals: number;
54
+ }, {
55
+ value: bigint;
56
+ decimals: number;
57
+ }>;
58
+ timestamp: z.ZodNumber;
59
+ }, "strip", z.ZodTypeAny, {
60
+ cryptoCurrencyId: string;
61
+ fiatCurrencyId: string;
62
+ price: {
63
+ value: bigint;
64
+ decimals: number;
65
+ };
66
+ timestamp: number;
67
+ }, {
68
+ cryptoCurrencyId: string;
69
+ fiatCurrencyId: string;
70
+ price: {
71
+ value: bigint;
72
+ decimals: number;
73
+ };
74
+ timestamp: number;
75
+ }>>;
76
+ from: z.ZodOptional<z.ZodString>;
77
+ to: z.ZodOptional<z.ZodString>;
78
+ amount: z.ZodObject<{
79
+ value: z.ZodBigInt;
80
+ decimals: z.ZodNumber;
81
+ }, "strip", z.ZodTypeAny, {
82
+ value: bigint;
83
+ decimals: number;
84
+ }, {
85
+ value: bigint;
86
+ decimals: number;
87
+ }>;
88
+ direction: z.ZodLiteral<"in">;
89
+ asset: z.ZodEffects<z.ZodObject<{
90
+ type: z.ZodLiteral<"CryptoCurrency">;
91
+ id: z.ZodString;
92
+ name: z.ZodString;
93
+ symbol: z.ZodString;
94
+ icon: z.ZodOptional<z.ZodString>;
95
+ market: z.ZodEffects<z.ZodObject<{
96
+ coingeckoId: z.ZodOptional<z.ZodString>;
97
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
98
+ value: z.ZodBigInt;
99
+ decimals: z.ZodNumber;
100
+ }, "strip", z.ZodTypeAny, {
101
+ value: bigint;
102
+ decimals: number;
103
+ }, {
104
+ value: bigint;
105
+ decimals: number;
106
+ }>>;
107
+ }, "strip", z.ZodTypeAny, {
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
+ coingeckoId: string | undefined;
121
+ marketCapUsd: {
122
+ value: bigint;
123
+ decimals: number;
124
+ } | undefined;
125
+ }, {
126
+ coingeckoId?: string | undefined;
127
+ marketCapUsd?: {
128
+ value: bigint;
129
+ decimals: number;
130
+ } | undefined;
131
+ }>;
132
+ updatedAt: z.ZodNumber;
133
+ }, "strip", z.ZodTypeAny, {
134
+ symbol: string;
135
+ type: "CryptoCurrency";
136
+ id: string;
137
+ name: string;
138
+ market: {
139
+ coingeckoId: string | undefined;
140
+ marketCapUsd: {
141
+ value: bigint;
142
+ decimals: number;
143
+ } | undefined;
144
+ };
145
+ updatedAt: number;
146
+ icon?: string | undefined;
147
+ }, {
148
+ symbol: string;
149
+ type: "CryptoCurrency";
150
+ id: string;
151
+ name: string;
152
+ market: {
153
+ coingeckoId?: string | undefined;
154
+ marketCapUsd?: {
155
+ value: bigint;
156
+ decimals: number;
157
+ } | undefined;
158
+ };
159
+ updatedAt: number;
160
+ icon?: string | undefined;
161
+ }>, {
162
+ icon: string | undefined;
163
+ symbol: string;
164
+ type: "CryptoCurrency";
165
+ id: string;
166
+ name: string;
167
+ market: {
168
+ coingeckoId: string | undefined;
169
+ marketCapUsd: {
170
+ value: bigint;
171
+ decimals: number;
172
+ } | undefined;
173
+ };
174
+ updatedAt: number;
175
+ }, {
176
+ symbol: string;
177
+ type: "CryptoCurrency";
178
+ id: string;
179
+ name: string;
180
+ market: {
181
+ coingeckoId?: string | undefined;
182
+ marketCapUsd?: {
183
+ value: bigint;
184
+ decimals: number;
185
+ } | undefined;
186
+ };
187
+ updatedAt: number;
188
+ icon?: string | undefined;
189
+ }>;
190
+ }, "strip", z.ZodTypeAny, {
191
+ asset: {
192
+ icon: string | undefined;
193
+ symbol: string;
194
+ type: "CryptoCurrency";
195
+ id: string;
196
+ name: string;
197
+ market: {
198
+ coingeckoId: string | undefined;
199
+ marketCapUsd: {
200
+ value: bigint;
201
+ decimals: number;
202
+ } | undefined;
203
+ };
204
+ updatedAt: number;
205
+ };
206
+ amount: {
207
+ value: bigint;
208
+ decimals: number;
209
+ };
210
+ direction: "in";
211
+ price?: {
212
+ cryptoCurrencyId: string;
213
+ fiatCurrencyId: string;
214
+ price: {
215
+ value: bigint;
216
+ decimals: number;
217
+ };
218
+ timestamp: number;
219
+ } | undefined;
220
+ from?: string | undefined;
221
+ to?: string | undefined;
222
+ }, {
223
+ asset: {
224
+ symbol: string;
225
+ type: "CryptoCurrency";
226
+ id: string;
227
+ name: string;
228
+ market: {
229
+ coingeckoId?: string | undefined;
230
+ marketCapUsd?: {
231
+ value: bigint;
232
+ decimals: number;
233
+ } | undefined;
234
+ };
235
+ updatedAt: number;
236
+ icon?: string | undefined;
237
+ };
238
+ amount: {
239
+ value: bigint;
240
+ decimals: number;
241
+ };
242
+ direction: "in";
243
+ price?: {
244
+ cryptoCurrencyId: string;
245
+ fiatCurrencyId: string;
246
+ price: {
247
+ value: bigint;
248
+ decimals: number;
249
+ };
250
+ timestamp: number;
251
+ } | undefined;
252
+ from?: string | undefined;
253
+ to?: string | undefined;
254
+ }>, {
255
+ from: string | undefined;
256
+ to: string | undefined;
257
+ price: {
258
+ cryptoCurrencyId: string;
259
+ fiatCurrencyId: string;
260
+ price: {
261
+ value: bigint;
262
+ decimals: number;
263
+ };
264
+ timestamp: number;
265
+ } | undefined;
266
+ asset: {
267
+ icon: string | undefined;
268
+ symbol: string;
269
+ type: "CryptoCurrency";
270
+ id: string;
271
+ name: string;
272
+ market: {
273
+ coingeckoId: string | undefined;
274
+ marketCapUsd: {
275
+ value: bigint;
276
+ decimals: number;
277
+ } | undefined;
278
+ };
279
+ updatedAt: number;
280
+ };
281
+ amount: {
282
+ value: bigint;
283
+ decimals: number;
284
+ };
285
+ direction: "in";
286
+ }, {
287
+ asset: {
288
+ symbol: string;
289
+ type: "CryptoCurrency";
290
+ id: string;
291
+ name: string;
292
+ market: {
293
+ coingeckoId?: string | undefined;
294
+ marketCapUsd?: {
295
+ value: bigint;
296
+ decimals: number;
297
+ } | undefined;
298
+ };
299
+ updatedAt: number;
300
+ icon?: string | undefined;
301
+ };
302
+ amount: {
303
+ value: bigint;
304
+ decimals: number;
305
+ };
306
+ direction: "in";
307
+ price?: {
308
+ cryptoCurrencyId: string;
309
+ fiatCurrencyId: string;
310
+ price: {
311
+ value: bigint;
312
+ decimals: number;
313
+ };
314
+ timestamp: number;
315
+ } | undefined;
316
+ from?: string | undefined;
317
+ to?: string | undefined;
318
+ }>, z.ZodEffects<z.ZodObject<{
319
+ price: z.ZodOptional<z.ZodObject<{
320
+ cryptoCurrencyId: z.ZodString;
321
+ fiatCurrencyId: z.ZodString;
322
+ price: z.ZodObject<{
323
+ value: z.ZodBigInt;
324
+ decimals: z.ZodNumber;
325
+ }, "strip", z.ZodTypeAny, {
326
+ value: bigint;
327
+ decimals: number;
328
+ }, {
329
+ value: bigint;
330
+ decimals: number;
331
+ }>;
332
+ timestamp: z.ZodNumber;
333
+ }, "strip", z.ZodTypeAny, {
334
+ cryptoCurrencyId: string;
335
+ fiatCurrencyId: string;
336
+ price: {
337
+ value: bigint;
338
+ decimals: number;
339
+ };
340
+ timestamp: number;
341
+ }, {
342
+ cryptoCurrencyId: string;
343
+ fiatCurrencyId: string;
344
+ price: {
345
+ value: bigint;
346
+ decimals: number;
347
+ };
348
+ timestamp: number;
349
+ }>>;
350
+ from: z.ZodOptional<z.ZodString>;
351
+ to: z.ZodOptional<z.ZodString>;
352
+ amount: z.ZodObject<{
353
+ value: z.ZodBigInt;
354
+ decimals: z.ZodNumber;
355
+ }, "strip", z.ZodTypeAny, {
356
+ value: bigint;
357
+ decimals: number;
358
+ }, {
359
+ value: bigint;
360
+ decimals: number;
361
+ }>;
362
+ direction: z.ZodLiteral<"out">;
363
+ asset: z.ZodEffects<z.ZodObject<{
364
+ type: z.ZodLiteral<"FiatCurrency">;
365
+ 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">]>;
366
+ name: z.ZodString;
367
+ symbol: z.ZodString;
368
+ icon: z.ZodOptional<z.ZodString>;
369
+ }, "strip", z.ZodTypeAny, {
370
+ symbol: string;
371
+ type: "FiatCurrency";
372
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
373
+ name: string;
374
+ icon?: string | undefined;
375
+ }, {
376
+ symbol: string;
377
+ type: "FiatCurrency";
378
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
379
+ name: string;
380
+ icon?: string | undefined;
381
+ }>, {
382
+ icon: string | undefined;
383
+ symbol: string;
384
+ type: "FiatCurrency";
385
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
386
+ name: string;
387
+ }, {
388
+ symbol: string;
389
+ type: "FiatCurrency";
390
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
391
+ name: string;
392
+ icon?: string | undefined;
393
+ }>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ asset: {
396
+ icon: string | undefined;
397
+ symbol: string;
398
+ type: "FiatCurrency";
399
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
400
+ name: string;
401
+ };
402
+ amount: {
403
+ value: bigint;
404
+ decimals: number;
405
+ };
406
+ direction: "out";
407
+ price?: {
408
+ cryptoCurrencyId: string;
409
+ fiatCurrencyId: string;
410
+ price: {
411
+ value: bigint;
412
+ decimals: number;
413
+ };
414
+ timestamp: number;
415
+ } | undefined;
416
+ from?: string | undefined;
417
+ to?: string | undefined;
418
+ }, {
419
+ asset: {
420
+ symbol: string;
421
+ type: "FiatCurrency";
422
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
423
+ name: string;
424
+ icon?: string | undefined;
425
+ };
426
+ amount: {
427
+ value: bigint;
428
+ decimals: number;
429
+ };
430
+ direction: "out";
431
+ price?: {
432
+ cryptoCurrencyId: string;
433
+ fiatCurrencyId: string;
434
+ price: {
435
+ value: bigint;
436
+ decimals: number;
437
+ };
438
+ timestamp: number;
439
+ } | undefined;
440
+ from?: string | undefined;
441
+ to?: string | undefined;
442
+ }>, {
443
+ from: string | undefined;
444
+ to: string | undefined;
445
+ price: {
446
+ cryptoCurrencyId: string;
447
+ fiatCurrencyId: string;
448
+ price: {
449
+ value: bigint;
450
+ decimals: number;
451
+ };
452
+ timestamp: number;
453
+ } | undefined;
454
+ asset: {
455
+ icon: string | undefined;
456
+ symbol: string;
457
+ type: "FiatCurrency";
458
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
459
+ name: string;
460
+ };
461
+ amount: {
462
+ value: bigint;
463
+ decimals: number;
464
+ };
465
+ direction: "out";
466
+ }, {
467
+ asset: {
468
+ symbol: string;
469
+ type: "FiatCurrency";
470
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
471
+ name: string;
472
+ icon?: string | undefined;
473
+ };
474
+ amount: {
475
+ value: bigint;
476
+ decimals: number;
477
+ };
478
+ direction: "out";
479
+ price?: {
480
+ cryptoCurrencyId: string;
481
+ fiatCurrencyId: string;
482
+ price: {
483
+ value: bigint;
484
+ decimals: number;
485
+ };
486
+ timestamp: number;
487
+ } | undefined;
488
+ from?: string | undefined;
489
+ to?: string | undefined;
490
+ }>]>, "many">;
491
+ }, "strip", z.ZodTypeAny, {
492
+ type: "NormalAction";
493
+ timestamp: number;
494
+ action: "buy-crypto";
495
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
496
+ transfers: ({
497
+ from: string | undefined;
498
+ to: string | undefined;
499
+ price: {
500
+ cryptoCurrencyId: string;
501
+ fiatCurrencyId: string;
502
+ price: {
503
+ value: bigint;
504
+ decimals: number;
505
+ };
506
+ timestamp: number;
507
+ } | undefined;
508
+ asset: {
509
+ icon: string | undefined;
510
+ symbol: string;
511
+ type: "CryptoCurrency";
512
+ id: string;
513
+ name: string;
514
+ market: {
515
+ coingeckoId: string | undefined;
516
+ marketCapUsd: {
517
+ value: bigint;
518
+ decimals: number;
519
+ } | undefined;
520
+ };
521
+ updatedAt: number;
522
+ };
523
+ amount: {
524
+ value: bigint;
525
+ decimals: number;
526
+ };
527
+ direction: "in";
528
+ } | {
529
+ from: string | undefined;
530
+ to: string | undefined;
531
+ price: {
532
+ cryptoCurrencyId: string;
533
+ fiatCurrencyId: string;
534
+ price: {
535
+ value: bigint;
536
+ decimals: number;
537
+ };
538
+ timestamp: number;
539
+ } | undefined;
540
+ asset: {
541
+ icon: string | undefined;
542
+ symbol: string;
543
+ type: "FiatCurrency";
544
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
545
+ name: string;
546
+ };
547
+ amount: {
548
+ value: bigint;
549
+ decimals: number;
550
+ };
551
+ direction: "out";
552
+ })[];
553
+ comment?: string | undefined;
554
+ app?: {
555
+ description: string | undefined;
556
+ website: string | undefined;
557
+ icon: string | undefined;
558
+ id: string;
559
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
560
+ name: string;
561
+ } | undefined;
562
+ }, {
563
+ type: "NormalAction";
564
+ timestamp: number;
565
+ action: "buy-crypto";
566
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
567
+ transfers: ({
568
+ asset: {
569
+ symbol: string;
570
+ type: "CryptoCurrency";
571
+ id: string;
572
+ name: string;
573
+ market: {
574
+ coingeckoId?: string | undefined;
575
+ marketCapUsd?: {
576
+ value: bigint;
577
+ decimals: number;
578
+ } | undefined;
579
+ };
580
+ updatedAt: number;
581
+ icon?: string | undefined;
582
+ };
583
+ amount: {
584
+ value: bigint;
585
+ decimals: number;
586
+ };
587
+ direction: "in";
588
+ price?: {
589
+ cryptoCurrencyId: string;
590
+ fiatCurrencyId: string;
591
+ price: {
592
+ value: bigint;
593
+ decimals: number;
594
+ };
595
+ timestamp: number;
596
+ } | undefined;
597
+ from?: string | undefined;
598
+ to?: string | undefined;
599
+ } | {
600
+ asset: {
601
+ symbol: string;
602
+ type: "FiatCurrency";
603
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
604
+ name: string;
605
+ icon?: string | undefined;
606
+ };
607
+ amount: {
608
+ value: bigint;
609
+ decimals: number;
610
+ };
611
+ direction: "out";
612
+ price?: {
613
+ cryptoCurrencyId: string;
614
+ fiatCurrencyId: string;
615
+ price: {
616
+ value: bigint;
617
+ decimals: number;
618
+ };
619
+ timestamp: number;
620
+ } | undefined;
621
+ from?: string | undefined;
622
+ to?: string | undefined;
623
+ })[];
624
+ comment?: string | undefined;
625
+ app?: {
626
+ id: string;
627
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
628
+ name: string;
629
+ description?: string | undefined;
630
+ website?: string | undefined;
631
+ icon?: string | undefined;
632
+ } | undefined;
633
+ }>, {
634
+ comment: string | undefined;
635
+ app: {
636
+ description: string | undefined;
637
+ website: string | undefined;
638
+ icon: string | undefined;
639
+ id: string;
640
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
641
+ name: string;
642
+ } | undefined;
643
+ type: "NormalAction";
644
+ timestamp: number;
645
+ action: "buy-crypto";
646
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
647
+ transfers: ({
648
+ from: string | undefined;
649
+ to: string | undefined;
650
+ price: {
651
+ cryptoCurrencyId: string;
652
+ fiatCurrencyId: string;
653
+ price: {
654
+ value: bigint;
655
+ decimals: number;
656
+ };
657
+ timestamp: number;
658
+ } | undefined;
659
+ asset: {
660
+ icon: string | undefined;
661
+ symbol: string;
662
+ type: "CryptoCurrency";
663
+ id: string;
664
+ name: string;
665
+ market: {
666
+ coingeckoId: string | undefined;
667
+ marketCapUsd: {
668
+ value: bigint;
669
+ decimals: number;
670
+ } | undefined;
671
+ };
672
+ updatedAt: number;
673
+ };
674
+ amount: {
675
+ value: bigint;
676
+ decimals: number;
677
+ };
678
+ direction: "in";
679
+ } | {
680
+ from: string | undefined;
681
+ to: string | undefined;
682
+ price: {
683
+ cryptoCurrencyId: string;
684
+ fiatCurrencyId: string;
685
+ price: {
686
+ value: bigint;
687
+ decimals: number;
688
+ };
689
+ timestamp: number;
690
+ } | undefined;
691
+ asset: {
692
+ icon: string | undefined;
693
+ symbol: string;
694
+ type: "FiatCurrency";
695
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
696
+ name: string;
697
+ };
698
+ amount: {
699
+ value: bigint;
700
+ decimals: number;
701
+ };
702
+ direction: "out";
703
+ })[];
704
+ }, {
705
+ type: "NormalAction";
706
+ timestamp: number;
707
+ action: "buy-crypto";
708
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
709
+ transfers: ({
710
+ asset: {
711
+ symbol: string;
712
+ type: "CryptoCurrency";
713
+ id: string;
714
+ name: string;
715
+ market: {
716
+ coingeckoId?: string | undefined;
717
+ marketCapUsd?: {
718
+ value: bigint;
719
+ decimals: number;
720
+ } | undefined;
721
+ };
722
+ updatedAt: number;
723
+ icon?: string | undefined;
724
+ };
725
+ amount: {
726
+ value: bigint;
727
+ decimals: number;
728
+ };
729
+ direction: "in";
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
+ } | {
742
+ asset: {
743
+ symbol: string;
744
+ type: "FiatCurrency";
745
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
746
+ name: string;
747
+ icon?: string | undefined;
748
+ };
749
+ amount: {
750
+ value: bigint;
751
+ decimals: number;
752
+ };
753
+ direction: "out";
754
+ price?: {
755
+ cryptoCurrencyId: string;
756
+ fiatCurrencyId: string;
757
+ price: {
758
+ value: bigint;
759
+ decimals: number;
760
+ };
761
+ timestamp: number;
762
+ } | undefined;
763
+ from?: string | undefined;
764
+ to?: string | undefined;
765
+ })[];
766
+ comment?: string | undefined;
767
+ app?: {
768
+ id: string;
769
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
770
+ name: string;
771
+ description?: string | undefined;
772
+ website?: string | undefined;
773
+ icon?: string | undefined;
774
+ } | undefined;
775
+ }>;
776
+ export declare const accountActionBuyCryptoSchema: z.ZodEffects<z.ZodObject<{
777
+ type: z.ZodLiteral<"NormalAccountAction">;
778
+ timestamp: z.ZodNumber;
779
+ order: z.ZodNumber;
780
+ source: z.ZodString;
781
+ evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
782
+ comment: z.ZodOptional<z.ZodString>;
783
+ app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
784
+ id: z.ZodString;
785
+ 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">;
786
+ name: z.ZodString;
787
+ description: z.ZodOptional<z.ZodString>;
788
+ website: z.ZodOptional<z.ZodString>;
789
+ icon: z.ZodOptional<z.ZodString>;
790
+ }, "strip", z.ZodTypeAny, {
791
+ id: string;
792
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
793
+ name: string;
794
+ description?: string | undefined;
795
+ website?: string | undefined;
796
+ icon?: string | undefined;
797
+ }, {
798
+ id: string;
799
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
800
+ name: string;
801
+ description?: string | undefined;
802
+ website?: string | undefined;
803
+ icon?: string | undefined;
804
+ }>, {
805
+ description: string | undefined;
806
+ website: string | undefined;
807
+ icon: string | undefined;
808
+ id: string;
809
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
810
+ name: string;
811
+ }, {
812
+ id: string;
813
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
814
+ name: string;
815
+ description?: string | undefined;
816
+ website?: string | undefined;
817
+ icon?: string | undefined;
818
+ }>>;
819
+ action: z.ZodLiteral<"buy-crypto">;
820
+ transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
821
+ price: z.ZodOptional<z.ZodObject<{
822
+ cryptoCurrencyId: z.ZodString;
823
+ fiatCurrencyId: z.ZodString;
824
+ price: z.ZodObject<{
825
+ value: z.ZodBigInt;
826
+ decimals: z.ZodNumber;
827
+ }, "strip", z.ZodTypeAny, {
828
+ value: bigint;
829
+ decimals: number;
830
+ }, {
831
+ value: bigint;
832
+ decimals: number;
833
+ }>;
834
+ timestamp: z.ZodNumber;
835
+ }, "strip", z.ZodTypeAny, {
836
+ cryptoCurrencyId: string;
837
+ fiatCurrencyId: string;
838
+ price: {
839
+ value: bigint;
840
+ decimals: number;
841
+ };
842
+ timestamp: number;
843
+ }, {
844
+ cryptoCurrencyId: string;
845
+ fiatCurrencyId: string;
846
+ price: {
847
+ value: bigint;
848
+ decimals: number;
849
+ };
850
+ timestamp: number;
851
+ }>>;
852
+ from: z.ZodOptional<z.ZodString>;
853
+ to: z.ZodOptional<z.ZodString>;
854
+ amount: z.ZodObject<{
855
+ value: z.ZodBigInt;
856
+ decimals: z.ZodNumber;
857
+ }, "strip", z.ZodTypeAny, {
858
+ value: bigint;
859
+ decimals: number;
860
+ }, {
861
+ value: bigint;
862
+ decimals: number;
863
+ }>;
864
+ direction: z.ZodLiteral<"in">;
865
+ asset: z.ZodEffects<z.ZodObject<{
866
+ type: z.ZodLiteral<"CryptoCurrency">;
867
+ id: z.ZodString;
868
+ name: z.ZodString;
869
+ symbol: z.ZodString;
870
+ icon: z.ZodOptional<z.ZodString>;
871
+ market: z.ZodEffects<z.ZodObject<{
872
+ coingeckoId: z.ZodOptional<z.ZodString>;
873
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
874
+ value: z.ZodBigInt;
875
+ decimals: z.ZodNumber;
876
+ }, "strip", z.ZodTypeAny, {
877
+ value: bigint;
878
+ decimals: number;
879
+ }, {
880
+ value: bigint;
881
+ decimals: number;
882
+ }>>;
883
+ }, "strip", z.ZodTypeAny, {
884
+ coingeckoId?: string | undefined;
885
+ marketCapUsd?: {
886
+ value: bigint;
887
+ decimals: number;
888
+ } | undefined;
889
+ }, {
890
+ coingeckoId?: string | undefined;
891
+ marketCapUsd?: {
892
+ value: bigint;
893
+ decimals: number;
894
+ } | undefined;
895
+ }>, {
896
+ coingeckoId: string | undefined;
897
+ marketCapUsd: {
898
+ value: bigint;
899
+ decimals: number;
900
+ } | undefined;
901
+ }, {
902
+ coingeckoId?: string | undefined;
903
+ marketCapUsd?: {
904
+ value: bigint;
905
+ decimals: number;
906
+ } | undefined;
907
+ }>;
908
+ updatedAt: z.ZodNumber;
909
+ }, "strip", z.ZodTypeAny, {
910
+ symbol: string;
911
+ type: "CryptoCurrency";
912
+ id: string;
913
+ name: string;
914
+ market: {
915
+ coingeckoId: string | undefined;
916
+ marketCapUsd: {
917
+ value: bigint;
918
+ decimals: number;
919
+ } | undefined;
920
+ };
921
+ updatedAt: number;
922
+ icon?: string | undefined;
923
+ }, {
924
+ symbol: string;
925
+ type: "CryptoCurrency";
926
+ id: string;
927
+ name: string;
928
+ market: {
929
+ coingeckoId?: string | undefined;
930
+ marketCapUsd?: {
931
+ value: bigint;
932
+ decimals: number;
933
+ } | undefined;
934
+ };
935
+ updatedAt: number;
936
+ icon?: string | undefined;
937
+ }>, {
938
+ icon: string | undefined;
939
+ symbol: string;
940
+ type: "CryptoCurrency";
941
+ id: string;
942
+ name: string;
943
+ market: {
944
+ coingeckoId: string | undefined;
945
+ marketCapUsd: {
946
+ value: bigint;
947
+ decimals: number;
948
+ } | undefined;
949
+ };
950
+ updatedAt: number;
951
+ }, {
952
+ symbol: string;
953
+ type: "CryptoCurrency";
954
+ id: string;
955
+ name: string;
956
+ market: {
957
+ coingeckoId?: string | undefined;
958
+ marketCapUsd?: {
959
+ value: bigint;
960
+ decimals: number;
961
+ } | undefined;
962
+ };
963
+ updatedAt: number;
964
+ icon?: string | undefined;
965
+ }>;
966
+ }, "strip", z.ZodTypeAny, {
967
+ asset: {
968
+ icon: string | undefined;
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
+ };
982
+ amount: {
983
+ value: bigint;
984
+ decimals: number;
985
+ };
986
+ direction: "in";
987
+ price?: {
988
+ cryptoCurrencyId: string;
989
+ fiatCurrencyId: string;
990
+ price: {
991
+ value: bigint;
992
+ decimals: number;
993
+ };
994
+ timestamp: number;
995
+ } | undefined;
996
+ from?: string | undefined;
997
+ to?: string | undefined;
998
+ }, {
999
+ asset: {
1000
+ symbol: string;
1001
+ type: "CryptoCurrency";
1002
+ id: string;
1003
+ name: string;
1004
+ market: {
1005
+ coingeckoId?: string | undefined;
1006
+ marketCapUsd?: {
1007
+ value: bigint;
1008
+ decimals: number;
1009
+ } | undefined;
1010
+ };
1011
+ updatedAt: number;
1012
+ icon?: string | undefined;
1013
+ };
1014
+ amount: {
1015
+ value: bigint;
1016
+ decimals: number;
1017
+ };
1018
+ direction: "in";
1019
+ price?: {
1020
+ cryptoCurrencyId: string;
1021
+ fiatCurrencyId: string;
1022
+ price: {
1023
+ value: bigint;
1024
+ decimals: number;
1025
+ };
1026
+ timestamp: number;
1027
+ } | undefined;
1028
+ from?: string | undefined;
1029
+ to?: string | undefined;
1030
+ }>, {
1031
+ from: string | undefined;
1032
+ to: string | undefined;
1033
+ price: {
1034
+ cryptoCurrencyId: string;
1035
+ fiatCurrencyId: string;
1036
+ price: {
1037
+ value: bigint;
1038
+ decimals: number;
1039
+ };
1040
+ timestamp: number;
1041
+ } | undefined;
1042
+ asset: {
1043
+ icon: string | undefined;
1044
+ symbol: string;
1045
+ type: "CryptoCurrency";
1046
+ id: string;
1047
+ name: string;
1048
+ market: {
1049
+ coingeckoId: string | undefined;
1050
+ marketCapUsd: {
1051
+ value: bigint;
1052
+ decimals: number;
1053
+ } | undefined;
1054
+ };
1055
+ updatedAt: number;
1056
+ };
1057
+ amount: {
1058
+ value: bigint;
1059
+ decimals: number;
1060
+ };
1061
+ direction: "in";
1062
+ }, {
1063
+ asset: {
1064
+ symbol: string;
1065
+ type: "CryptoCurrency";
1066
+ id: string;
1067
+ name: string;
1068
+ market: {
1069
+ coingeckoId?: string | undefined;
1070
+ marketCapUsd?: {
1071
+ value: bigint;
1072
+ decimals: number;
1073
+ } | undefined;
1074
+ };
1075
+ updatedAt: number;
1076
+ icon?: string | undefined;
1077
+ };
1078
+ amount: {
1079
+ value: bigint;
1080
+ decimals: number;
1081
+ };
1082
+ direction: "in";
1083
+ price?: {
1084
+ cryptoCurrencyId: string;
1085
+ fiatCurrencyId: string;
1086
+ price: {
1087
+ value: bigint;
1088
+ decimals: number;
1089
+ };
1090
+ timestamp: number;
1091
+ } | undefined;
1092
+ from?: string | undefined;
1093
+ to?: string | undefined;
1094
+ }>, z.ZodEffects<z.ZodObject<{
1095
+ price: z.ZodOptional<z.ZodObject<{
1096
+ cryptoCurrencyId: z.ZodString;
1097
+ fiatCurrencyId: z.ZodString;
1098
+ price: z.ZodObject<{
1099
+ value: z.ZodBigInt;
1100
+ decimals: z.ZodNumber;
1101
+ }, "strip", z.ZodTypeAny, {
1102
+ value: bigint;
1103
+ decimals: number;
1104
+ }, {
1105
+ value: bigint;
1106
+ decimals: number;
1107
+ }>;
1108
+ timestamp: z.ZodNumber;
1109
+ }, "strip", z.ZodTypeAny, {
1110
+ cryptoCurrencyId: string;
1111
+ fiatCurrencyId: string;
1112
+ price: {
1113
+ value: bigint;
1114
+ decimals: number;
1115
+ };
1116
+ timestamp: number;
1117
+ }, {
1118
+ cryptoCurrencyId: string;
1119
+ fiatCurrencyId: string;
1120
+ price: {
1121
+ value: bigint;
1122
+ decimals: number;
1123
+ };
1124
+ timestamp: number;
1125
+ }>>;
1126
+ from: z.ZodOptional<z.ZodString>;
1127
+ to: z.ZodOptional<z.ZodString>;
1128
+ amount: z.ZodObject<{
1129
+ value: z.ZodBigInt;
1130
+ decimals: z.ZodNumber;
1131
+ }, "strip", z.ZodTypeAny, {
1132
+ value: bigint;
1133
+ decimals: number;
1134
+ }, {
1135
+ value: bigint;
1136
+ decimals: number;
1137
+ }>;
1138
+ direction: z.ZodLiteral<"out">;
1139
+ asset: z.ZodEffects<z.ZodObject<{
1140
+ type: z.ZodLiteral<"FiatCurrency">;
1141
+ 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">]>;
1142
+ name: z.ZodString;
1143
+ symbol: z.ZodString;
1144
+ icon: z.ZodOptional<z.ZodString>;
1145
+ }, "strip", z.ZodTypeAny, {
1146
+ symbol: string;
1147
+ type: "FiatCurrency";
1148
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1149
+ name: string;
1150
+ icon?: string | undefined;
1151
+ }, {
1152
+ symbol: string;
1153
+ type: "FiatCurrency";
1154
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1155
+ name: string;
1156
+ icon?: string | undefined;
1157
+ }>, {
1158
+ icon: string | undefined;
1159
+ symbol: string;
1160
+ type: "FiatCurrency";
1161
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1162
+ name: string;
1163
+ }, {
1164
+ symbol: string;
1165
+ type: "FiatCurrency";
1166
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1167
+ name: string;
1168
+ icon?: string | undefined;
1169
+ }>;
1170
+ }, "strip", z.ZodTypeAny, {
1171
+ asset: {
1172
+ icon: string | undefined;
1173
+ symbol: string;
1174
+ type: "FiatCurrency";
1175
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1176
+ name: string;
1177
+ };
1178
+ amount: {
1179
+ value: bigint;
1180
+ decimals: number;
1181
+ };
1182
+ direction: "out";
1183
+ price?: {
1184
+ cryptoCurrencyId: string;
1185
+ fiatCurrencyId: string;
1186
+ price: {
1187
+ value: bigint;
1188
+ decimals: number;
1189
+ };
1190
+ timestamp: number;
1191
+ } | undefined;
1192
+ from?: string | undefined;
1193
+ to?: string | undefined;
1194
+ }, {
1195
+ asset: {
1196
+ symbol: string;
1197
+ type: "FiatCurrency";
1198
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1199
+ name: string;
1200
+ icon?: string | undefined;
1201
+ };
1202
+ amount: {
1203
+ value: bigint;
1204
+ decimals: number;
1205
+ };
1206
+ direction: "out";
1207
+ price?: {
1208
+ cryptoCurrencyId: string;
1209
+ fiatCurrencyId: string;
1210
+ price: {
1211
+ value: bigint;
1212
+ decimals: number;
1213
+ };
1214
+ timestamp: number;
1215
+ } | undefined;
1216
+ from?: string | undefined;
1217
+ to?: string | undefined;
1218
+ }>, {
1219
+ from: string | undefined;
1220
+ to: string | undefined;
1221
+ price: {
1222
+ cryptoCurrencyId: string;
1223
+ fiatCurrencyId: string;
1224
+ price: {
1225
+ value: bigint;
1226
+ decimals: number;
1227
+ };
1228
+ timestamp: number;
1229
+ } | undefined;
1230
+ asset: {
1231
+ icon: string | undefined;
1232
+ symbol: string;
1233
+ type: "FiatCurrency";
1234
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1235
+ name: string;
1236
+ };
1237
+ amount: {
1238
+ value: bigint;
1239
+ decimals: number;
1240
+ };
1241
+ direction: "out";
1242
+ }, {
1243
+ asset: {
1244
+ symbol: string;
1245
+ type: "FiatCurrency";
1246
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1247
+ name: string;
1248
+ icon?: string | undefined;
1249
+ };
1250
+ amount: {
1251
+ value: bigint;
1252
+ decimals: number;
1253
+ };
1254
+ direction: "out";
1255
+ price?: {
1256
+ cryptoCurrencyId: string;
1257
+ fiatCurrencyId: string;
1258
+ price: {
1259
+ value: bigint;
1260
+ decimals: number;
1261
+ };
1262
+ timestamp: number;
1263
+ } | undefined;
1264
+ from?: string | undefined;
1265
+ to?: string | undefined;
1266
+ }>]>, "many">;
1267
+ }, "strip", z.ZodTypeAny, {
1268
+ type: "NormalAccountAction";
1269
+ timestamp: number;
1270
+ order: number;
1271
+ action: "buy-crypto";
1272
+ source: string;
1273
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1274
+ transfers: ({
1275
+ from: string | undefined;
1276
+ to: string | undefined;
1277
+ price: {
1278
+ cryptoCurrencyId: string;
1279
+ fiatCurrencyId: string;
1280
+ price: {
1281
+ value: bigint;
1282
+ decimals: number;
1283
+ };
1284
+ timestamp: number;
1285
+ } | undefined;
1286
+ asset: {
1287
+ icon: string | undefined;
1288
+ symbol: string;
1289
+ type: "CryptoCurrency";
1290
+ id: string;
1291
+ name: string;
1292
+ market: {
1293
+ coingeckoId: string | undefined;
1294
+ marketCapUsd: {
1295
+ value: bigint;
1296
+ decimals: number;
1297
+ } | undefined;
1298
+ };
1299
+ updatedAt: number;
1300
+ };
1301
+ amount: {
1302
+ value: bigint;
1303
+ decimals: number;
1304
+ };
1305
+ direction: "in";
1306
+ } | {
1307
+ from: string | undefined;
1308
+ to: string | undefined;
1309
+ price: {
1310
+ cryptoCurrencyId: string;
1311
+ fiatCurrencyId: string;
1312
+ price: {
1313
+ value: bigint;
1314
+ decimals: number;
1315
+ };
1316
+ timestamp: number;
1317
+ } | undefined;
1318
+ asset: {
1319
+ icon: string | undefined;
1320
+ symbol: string;
1321
+ type: "FiatCurrency";
1322
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1323
+ name: string;
1324
+ };
1325
+ amount: {
1326
+ value: bigint;
1327
+ decimals: number;
1328
+ };
1329
+ direction: "out";
1330
+ })[];
1331
+ comment?: string | undefined;
1332
+ app?: {
1333
+ description: string | undefined;
1334
+ website: string | undefined;
1335
+ icon: string | undefined;
1336
+ id: string;
1337
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1338
+ name: string;
1339
+ } | undefined;
1340
+ }, {
1341
+ type: "NormalAccountAction";
1342
+ timestamp: number;
1343
+ order: number;
1344
+ action: "buy-crypto";
1345
+ source: string;
1346
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1347
+ transfers: ({
1348
+ asset: {
1349
+ symbol: string;
1350
+ type: "CryptoCurrency";
1351
+ id: string;
1352
+ name: string;
1353
+ market: {
1354
+ coingeckoId?: string | undefined;
1355
+ marketCapUsd?: {
1356
+ value: bigint;
1357
+ decimals: number;
1358
+ } | undefined;
1359
+ };
1360
+ updatedAt: number;
1361
+ icon?: string | undefined;
1362
+ };
1363
+ amount: {
1364
+ value: bigint;
1365
+ decimals: number;
1366
+ };
1367
+ direction: "in";
1368
+ price?: {
1369
+ cryptoCurrencyId: string;
1370
+ fiatCurrencyId: string;
1371
+ price: {
1372
+ value: bigint;
1373
+ decimals: number;
1374
+ };
1375
+ timestamp: number;
1376
+ } | undefined;
1377
+ from?: string | undefined;
1378
+ to?: string | undefined;
1379
+ } | {
1380
+ asset: {
1381
+ symbol: string;
1382
+ type: "FiatCurrency";
1383
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1384
+ name: string;
1385
+ icon?: string | undefined;
1386
+ };
1387
+ amount: {
1388
+ value: bigint;
1389
+ decimals: number;
1390
+ };
1391
+ direction: "out";
1392
+ price?: {
1393
+ cryptoCurrencyId: string;
1394
+ fiatCurrencyId: string;
1395
+ price: {
1396
+ value: bigint;
1397
+ decimals: number;
1398
+ };
1399
+ timestamp: number;
1400
+ } | undefined;
1401
+ from?: string | undefined;
1402
+ to?: string | undefined;
1403
+ })[];
1404
+ comment?: string | undefined;
1405
+ app?: {
1406
+ id: string;
1407
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1408
+ name: string;
1409
+ description?: string | undefined;
1410
+ website?: string | undefined;
1411
+ icon?: string | undefined;
1412
+ } | undefined;
1413
+ }>, {
1414
+ comment: string | undefined;
1415
+ app: {
1416
+ description: string | undefined;
1417
+ website: string | undefined;
1418
+ icon: string | undefined;
1419
+ id: string;
1420
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1421
+ name: string;
1422
+ } | undefined;
1423
+ type: "NormalAccountAction";
1424
+ timestamp: number;
1425
+ order: number;
1426
+ action: "buy-crypto";
1427
+ source: string;
1428
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1429
+ transfers: ({
1430
+ from: string | undefined;
1431
+ to: string | undefined;
1432
+ price: {
1433
+ cryptoCurrencyId: string;
1434
+ fiatCurrencyId: string;
1435
+ price: {
1436
+ value: bigint;
1437
+ decimals: number;
1438
+ };
1439
+ timestamp: number;
1440
+ } | undefined;
1441
+ asset: {
1442
+ icon: string | undefined;
1443
+ symbol: string;
1444
+ type: "CryptoCurrency";
1445
+ id: string;
1446
+ name: string;
1447
+ market: {
1448
+ coingeckoId: string | undefined;
1449
+ marketCapUsd: {
1450
+ value: bigint;
1451
+ decimals: number;
1452
+ } | undefined;
1453
+ };
1454
+ updatedAt: number;
1455
+ };
1456
+ amount: {
1457
+ value: bigint;
1458
+ decimals: number;
1459
+ };
1460
+ direction: "in";
1461
+ } | {
1462
+ from: string | undefined;
1463
+ to: string | undefined;
1464
+ price: {
1465
+ cryptoCurrencyId: string;
1466
+ fiatCurrencyId: string;
1467
+ price: {
1468
+ value: bigint;
1469
+ decimals: number;
1470
+ };
1471
+ timestamp: number;
1472
+ } | undefined;
1473
+ asset: {
1474
+ icon: string | undefined;
1475
+ symbol: string;
1476
+ type: "FiatCurrency";
1477
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1478
+ name: string;
1479
+ };
1480
+ amount: {
1481
+ value: bigint;
1482
+ decimals: number;
1483
+ };
1484
+ direction: "out";
1485
+ })[];
1486
+ }, {
1487
+ type: "NormalAccountAction";
1488
+ timestamp: number;
1489
+ order: number;
1490
+ action: "buy-crypto";
1491
+ source: string;
1492
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1493
+ transfers: ({
1494
+ asset: {
1495
+ symbol: string;
1496
+ type: "CryptoCurrency";
1497
+ id: string;
1498
+ name: string;
1499
+ market: {
1500
+ coingeckoId?: string | undefined;
1501
+ marketCapUsd?: {
1502
+ value: bigint;
1503
+ decimals: number;
1504
+ } | undefined;
1505
+ };
1506
+ updatedAt: number;
1507
+ icon?: string | undefined;
1508
+ };
1509
+ amount: {
1510
+ value: bigint;
1511
+ decimals: number;
1512
+ };
1513
+ direction: "in";
1514
+ price?: {
1515
+ cryptoCurrencyId: string;
1516
+ fiatCurrencyId: string;
1517
+ price: {
1518
+ value: bigint;
1519
+ decimals: number;
1520
+ };
1521
+ timestamp: number;
1522
+ } | undefined;
1523
+ from?: string | undefined;
1524
+ to?: string | undefined;
1525
+ } | {
1526
+ asset: {
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
+ amount: {
1534
+ value: bigint;
1535
+ decimals: number;
1536
+ };
1537
+ direction: "out";
1538
+ price?: {
1539
+ cryptoCurrencyId: string;
1540
+ fiatCurrencyId: string;
1541
+ price: {
1542
+ value: bigint;
1543
+ decimals: number;
1544
+ };
1545
+ timestamp: number;
1546
+ } | undefined;
1547
+ from?: string | undefined;
1548
+ to?: string | undefined;
1549
+ })[];
1550
+ comment?: string | undefined;
1551
+ app?: {
1552
+ id: string;
1553
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
1554
+ name: string;
1555
+ description?: string | undefined;
1556
+ website?: string | undefined;
1557
+ icon?: string | undefined;
1558
+ } | undefined;
1559
+ }>;
1560
+ //# sourceMappingURL=buyCrypto.d.ts.map