@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 normalActionSellCryptoSchema: 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<"sell-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<"FiatCurrency">;
91
+ 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">]>;
92
+ name: z.ZodString;
93
+ symbol: z.ZodString;
94
+ icon: z.ZodOptional<z.ZodString>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ symbol: string;
97
+ type: "FiatCurrency";
98
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
99
+ name: string;
100
+ icon?: string | undefined;
101
+ }, {
102
+ symbol: string;
103
+ type: "FiatCurrency";
104
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
105
+ name: string;
106
+ icon?: string | undefined;
107
+ }>, {
108
+ icon: string | undefined;
109
+ symbol: string;
110
+ type: "FiatCurrency";
111
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
112
+ name: string;
113
+ }, {
114
+ symbol: string;
115
+ type: "FiatCurrency";
116
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
117
+ name: string;
118
+ icon?: string | undefined;
119
+ }>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ asset: {
122
+ icon: string | undefined;
123
+ symbol: string;
124
+ type: "FiatCurrency";
125
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
126
+ name: string;
127
+ };
128
+ amount: {
129
+ value: bigint;
130
+ decimals: number;
131
+ };
132
+ direction: "in";
133
+ price?: {
134
+ cryptoCurrencyId: string;
135
+ fiatCurrencyId: string;
136
+ price: {
137
+ value: bigint;
138
+ decimals: number;
139
+ };
140
+ timestamp: number;
141
+ } | undefined;
142
+ from?: string | undefined;
143
+ to?: string | undefined;
144
+ }, {
145
+ asset: {
146
+ symbol: string;
147
+ type: "FiatCurrency";
148
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
149
+ name: string;
150
+ icon?: string | undefined;
151
+ };
152
+ amount: {
153
+ value: bigint;
154
+ decimals: number;
155
+ };
156
+ direction: "in";
157
+ price?: {
158
+ cryptoCurrencyId: string;
159
+ fiatCurrencyId: string;
160
+ price: {
161
+ value: bigint;
162
+ decimals: number;
163
+ };
164
+ timestamp: number;
165
+ } | undefined;
166
+ from?: string | undefined;
167
+ to?: string | undefined;
168
+ }>, {
169
+ from: string | undefined;
170
+ to: string | undefined;
171
+ price: {
172
+ cryptoCurrencyId: string;
173
+ fiatCurrencyId: string;
174
+ price: {
175
+ value: bigint;
176
+ decimals: number;
177
+ };
178
+ timestamp: number;
179
+ } | undefined;
180
+ asset: {
181
+ icon: string | undefined;
182
+ symbol: string;
183
+ type: "FiatCurrency";
184
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
185
+ name: string;
186
+ };
187
+ amount: {
188
+ value: bigint;
189
+ decimals: number;
190
+ };
191
+ direction: "in";
192
+ }, {
193
+ asset: {
194
+ symbol: string;
195
+ type: "FiatCurrency";
196
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
197
+ name: string;
198
+ icon?: string | undefined;
199
+ };
200
+ amount: {
201
+ value: bigint;
202
+ decimals: number;
203
+ };
204
+ direction: "in";
205
+ price?: {
206
+ cryptoCurrencyId: string;
207
+ fiatCurrencyId: string;
208
+ price: {
209
+ value: bigint;
210
+ decimals: number;
211
+ };
212
+ timestamp: number;
213
+ } | undefined;
214
+ from?: string | undefined;
215
+ to?: string | undefined;
216
+ }>, z.ZodEffects<z.ZodObject<{
217
+ price: z.ZodOptional<z.ZodObject<{
218
+ cryptoCurrencyId: z.ZodString;
219
+ fiatCurrencyId: z.ZodString;
220
+ price: z.ZodObject<{
221
+ value: z.ZodBigInt;
222
+ decimals: z.ZodNumber;
223
+ }, "strip", z.ZodTypeAny, {
224
+ value: bigint;
225
+ decimals: number;
226
+ }, {
227
+ value: bigint;
228
+ decimals: number;
229
+ }>;
230
+ timestamp: z.ZodNumber;
231
+ }, "strip", z.ZodTypeAny, {
232
+ cryptoCurrencyId: string;
233
+ fiatCurrencyId: string;
234
+ price: {
235
+ value: bigint;
236
+ decimals: number;
237
+ };
238
+ timestamp: number;
239
+ }, {
240
+ cryptoCurrencyId: string;
241
+ fiatCurrencyId: string;
242
+ price: {
243
+ value: bigint;
244
+ decimals: number;
245
+ };
246
+ timestamp: number;
247
+ }>>;
248
+ from: z.ZodOptional<z.ZodString>;
249
+ to: z.ZodOptional<z.ZodString>;
250
+ amount: z.ZodObject<{
251
+ value: z.ZodBigInt;
252
+ decimals: z.ZodNumber;
253
+ }, "strip", z.ZodTypeAny, {
254
+ value: bigint;
255
+ decimals: number;
256
+ }, {
257
+ value: bigint;
258
+ decimals: number;
259
+ }>;
260
+ direction: z.ZodLiteral<"out">;
261
+ asset: z.ZodEffects<z.ZodObject<{
262
+ type: z.ZodLiteral<"CryptoCurrency">;
263
+ id: z.ZodString;
264
+ name: z.ZodString;
265
+ symbol: z.ZodString;
266
+ icon: z.ZodOptional<z.ZodString>;
267
+ market: z.ZodEffects<z.ZodObject<{
268
+ coingeckoId: z.ZodOptional<z.ZodString>;
269
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
270
+ value: z.ZodBigInt;
271
+ decimals: z.ZodNumber;
272
+ }, "strip", z.ZodTypeAny, {
273
+ value: bigint;
274
+ decimals: number;
275
+ }, {
276
+ value: bigint;
277
+ decimals: number;
278
+ }>>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ coingeckoId?: string | undefined;
281
+ marketCapUsd?: {
282
+ value: bigint;
283
+ decimals: number;
284
+ } | undefined;
285
+ }, {
286
+ coingeckoId?: string | undefined;
287
+ marketCapUsd?: {
288
+ value: bigint;
289
+ decimals: number;
290
+ } | undefined;
291
+ }>, {
292
+ coingeckoId: string | undefined;
293
+ marketCapUsd: {
294
+ value: bigint;
295
+ decimals: number;
296
+ } | undefined;
297
+ }, {
298
+ coingeckoId?: string | undefined;
299
+ marketCapUsd?: {
300
+ value: bigint;
301
+ decimals: number;
302
+ } | undefined;
303
+ }>;
304
+ updatedAt: z.ZodNumber;
305
+ }, "strip", z.ZodTypeAny, {
306
+ symbol: string;
307
+ type: "CryptoCurrency";
308
+ id: string;
309
+ name: string;
310
+ market: {
311
+ coingeckoId: string | undefined;
312
+ marketCapUsd: {
313
+ value: bigint;
314
+ decimals: number;
315
+ } | undefined;
316
+ };
317
+ updatedAt: number;
318
+ icon?: string | undefined;
319
+ }, {
320
+ symbol: string;
321
+ type: "CryptoCurrency";
322
+ id: string;
323
+ name: string;
324
+ market: {
325
+ coingeckoId?: string | undefined;
326
+ marketCapUsd?: {
327
+ value: bigint;
328
+ decimals: number;
329
+ } | undefined;
330
+ };
331
+ updatedAt: number;
332
+ icon?: string | undefined;
333
+ }>, {
334
+ icon: string | undefined;
335
+ symbol: string;
336
+ type: "CryptoCurrency";
337
+ id: string;
338
+ name: string;
339
+ market: {
340
+ coingeckoId: string | undefined;
341
+ marketCapUsd: {
342
+ value: bigint;
343
+ decimals: number;
344
+ } | undefined;
345
+ };
346
+ updatedAt: number;
347
+ }, {
348
+ symbol: string;
349
+ type: "CryptoCurrency";
350
+ id: string;
351
+ name: string;
352
+ market: {
353
+ coingeckoId?: string | undefined;
354
+ marketCapUsd?: {
355
+ value: bigint;
356
+ decimals: number;
357
+ } | undefined;
358
+ };
359
+ updatedAt: number;
360
+ icon?: string | undefined;
361
+ }>;
362
+ }, "strip", z.ZodTypeAny, {
363
+ asset: {
364
+ icon: string | undefined;
365
+ symbol: string;
366
+ type: "CryptoCurrency";
367
+ id: string;
368
+ name: string;
369
+ market: {
370
+ coingeckoId: string | undefined;
371
+ marketCapUsd: {
372
+ value: bigint;
373
+ decimals: number;
374
+ } | undefined;
375
+ };
376
+ updatedAt: number;
377
+ };
378
+ amount: {
379
+ value: bigint;
380
+ decimals: number;
381
+ };
382
+ direction: "out";
383
+ price?: {
384
+ cryptoCurrencyId: string;
385
+ fiatCurrencyId: string;
386
+ price: {
387
+ value: bigint;
388
+ decimals: number;
389
+ };
390
+ timestamp: number;
391
+ } | undefined;
392
+ from?: string | undefined;
393
+ to?: string | undefined;
394
+ }, {
395
+ asset: {
396
+ symbol: string;
397
+ type: "CryptoCurrency";
398
+ id: string;
399
+ name: string;
400
+ market: {
401
+ coingeckoId?: string | undefined;
402
+ marketCapUsd?: {
403
+ value: bigint;
404
+ decimals: number;
405
+ } | undefined;
406
+ };
407
+ updatedAt: number;
408
+ icon?: string | undefined;
409
+ };
410
+ amount: {
411
+ value: bigint;
412
+ decimals: number;
413
+ };
414
+ direction: "out";
415
+ price?: {
416
+ cryptoCurrencyId: string;
417
+ fiatCurrencyId: string;
418
+ price: {
419
+ value: bigint;
420
+ decimals: number;
421
+ };
422
+ timestamp: number;
423
+ } | undefined;
424
+ from?: string | undefined;
425
+ to?: string | undefined;
426
+ }>, {
427
+ from: string | undefined;
428
+ to: string | undefined;
429
+ price: {
430
+ cryptoCurrencyId: string;
431
+ fiatCurrencyId: string;
432
+ price: {
433
+ value: bigint;
434
+ decimals: number;
435
+ };
436
+ timestamp: number;
437
+ } | undefined;
438
+ asset: {
439
+ icon: string | undefined;
440
+ symbol: string;
441
+ type: "CryptoCurrency";
442
+ id: string;
443
+ name: string;
444
+ market: {
445
+ coingeckoId: string | undefined;
446
+ marketCapUsd: {
447
+ value: bigint;
448
+ decimals: number;
449
+ } | undefined;
450
+ };
451
+ updatedAt: number;
452
+ };
453
+ amount: {
454
+ value: bigint;
455
+ decimals: number;
456
+ };
457
+ direction: "out";
458
+ }, {
459
+ asset: {
460
+ symbol: string;
461
+ type: "CryptoCurrency";
462
+ id: string;
463
+ name: string;
464
+ market: {
465
+ coingeckoId?: string | undefined;
466
+ marketCapUsd?: {
467
+ value: bigint;
468
+ decimals: number;
469
+ } | undefined;
470
+ };
471
+ updatedAt: number;
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: "sell-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: "FiatCurrency";
512
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
513
+ name: string;
514
+ };
515
+ amount: {
516
+ value: bigint;
517
+ decimals: number;
518
+ };
519
+ direction: "in";
520
+ } | {
521
+ from: string | undefined;
522
+ to: string | undefined;
523
+ price: {
524
+ cryptoCurrencyId: string;
525
+ fiatCurrencyId: string;
526
+ price: {
527
+ value: bigint;
528
+ decimals: number;
529
+ };
530
+ timestamp: number;
531
+ } | undefined;
532
+ asset: {
533
+ icon: string | undefined;
534
+ symbol: string;
535
+ type: "CryptoCurrency";
536
+ id: string;
537
+ name: string;
538
+ market: {
539
+ coingeckoId: string | undefined;
540
+ marketCapUsd: {
541
+ value: bigint;
542
+ decimals: number;
543
+ } | undefined;
544
+ };
545
+ updatedAt: number;
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: "sell-crypto";
566
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
567
+ transfers: ({
568
+ asset: {
569
+ symbol: string;
570
+ type: "FiatCurrency";
571
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
572
+ name: string;
573
+ icon?: string | undefined;
574
+ };
575
+ amount: {
576
+ value: bigint;
577
+ decimals: number;
578
+ };
579
+ direction: "in";
580
+ price?: {
581
+ cryptoCurrencyId: string;
582
+ fiatCurrencyId: string;
583
+ price: {
584
+ value: bigint;
585
+ decimals: number;
586
+ };
587
+ timestamp: number;
588
+ } | undefined;
589
+ from?: string | undefined;
590
+ to?: string | undefined;
591
+ } | {
592
+ asset: {
593
+ symbol: string;
594
+ type: "CryptoCurrency";
595
+ id: string;
596
+ name: string;
597
+ market: {
598
+ coingeckoId?: string | undefined;
599
+ marketCapUsd?: {
600
+ value: bigint;
601
+ decimals: number;
602
+ } | undefined;
603
+ };
604
+ updatedAt: number;
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: "sell-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: "FiatCurrency";
663
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
664
+ name: string;
665
+ };
666
+ amount: {
667
+ value: bigint;
668
+ decimals: number;
669
+ };
670
+ direction: "in";
671
+ } | {
672
+ from: string | undefined;
673
+ to: string | undefined;
674
+ price: {
675
+ cryptoCurrencyId: string;
676
+ fiatCurrencyId: string;
677
+ price: {
678
+ value: bigint;
679
+ decimals: number;
680
+ };
681
+ timestamp: number;
682
+ } | undefined;
683
+ asset: {
684
+ icon: string | undefined;
685
+ symbol: string;
686
+ type: "CryptoCurrency";
687
+ id: string;
688
+ name: string;
689
+ market: {
690
+ coingeckoId: string | undefined;
691
+ marketCapUsd: {
692
+ value: bigint;
693
+ decimals: number;
694
+ } | undefined;
695
+ };
696
+ updatedAt: number;
697
+ };
698
+ amount: {
699
+ value: bigint;
700
+ decimals: number;
701
+ };
702
+ direction: "out";
703
+ })[];
704
+ }, {
705
+ type: "NormalAction";
706
+ timestamp: number;
707
+ action: "sell-crypto";
708
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
709
+ transfers: ({
710
+ asset: {
711
+ symbol: string;
712
+ type: "FiatCurrency";
713
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
714
+ name: string;
715
+ icon?: string | undefined;
716
+ };
717
+ amount: {
718
+ value: bigint;
719
+ decimals: number;
720
+ };
721
+ direction: "in";
722
+ price?: {
723
+ cryptoCurrencyId: string;
724
+ fiatCurrencyId: string;
725
+ price: {
726
+ value: bigint;
727
+ decimals: number;
728
+ };
729
+ timestamp: number;
730
+ } | undefined;
731
+ from?: string | undefined;
732
+ to?: string | undefined;
733
+ } | {
734
+ asset: {
735
+ symbol: string;
736
+ type: "CryptoCurrency";
737
+ id: string;
738
+ name: string;
739
+ market: {
740
+ coingeckoId?: string | undefined;
741
+ marketCapUsd?: {
742
+ value: bigint;
743
+ decimals: number;
744
+ } | undefined;
745
+ };
746
+ updatedAt: number;
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 accountActionSellCryptoSchema: 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<"sell-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<"FiatCurrency">;
867
+ 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">]>;
868
+ name: z.ZodString;
869
+ symbol: z.ZodString;
870
+ icon: z.ZodOptional<z.ZodString>;
871
+ }, "strip", z.ZodTypeAny, {
872
+ symbol: string;
873
+ type: "FiatCurrency";
874
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
875
+ name: string;
876
+ icon?: string | undefined;
877
+ }, {
878
+ symbol: string;
879
+ type: "FiatCurrency";
880
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
881
+ name: string;
882
+ icon?: string | undefined;
883
+ }>, {
884
+ icon: string | undefined;
885
+ symbol: string;
886
+ type: "FiatCurrency";
887
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
888
+ name: string;
889
+ }, {
890
+ symbol: string;
891
+ type: "FiatCurrency";
892
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
893
+ name: string;
894
+ icon?: string | undefined;
895
+ }>;
896
+ }, "strip", z.ZodTypeAny, {
897
+ asset: {
898
+ icon: string | undefined;
899
+ symbol: string;
900
+ type: "FiatCurrency";
901
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
902
+ name: string;
903
+ };
904
+ amount: {
905
+ value: bigint;
906
+ decimals: number;
907
+ };
908
+ direction: "in";
909
+ price?: {
910
+ cryptoCurrencyId: string;
911
+ fiatCurrencyId: string;
912
+ price: {
913
+ value: bigint;
914
+ decimals: number;
915
+ };
916
+ timestamp: number;
917
+ } | undefined;
918
+ from?: string | undefined;
919
+ to?: string | undefined;
920
+ }, {
921
+ asset: {
922
+ symbol: string;
923
+ type: "FiatCurrency";
924
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
925
+ name: string;
926
+ icon?: string | undefined;
927
+ };
928
+ amount: {
929
+ value: bigint;
930
+ decimals: number;
931
+ };
932
+ direction: "in";
933
+ price?: {
934
+ cryptoCurrencyId: string;
935
+ fiatCurrencyId: string;
936
+ price: {
937
+ value: bigint;
938
+ decimals: number;
939
+ };
940
+ timestamp: number;
941
+ } | undefined;
942
+ from?: string | undefined;
943
+ to?: string | undefined;
944
+ }>, {
945
+ from: string | undefined;
946
+ to: string | undefined;
947
+ price: {
948
+ cryptoCurrencyId: string;
949
+ fiatCurrencyId: string;
950
+ price: {
951
+ value: bigint;
952
+ decimals: number;
953
+ };
954
+ timestamp: number;
955
+ } | undefined;
956
+ asset: {
957
+ icon: string | undefined;
958
+ symbol: string;
959
+ type: "FiatCurrency";
960
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
961
+ name: string;
962
+ };
963
+ amount: {
964
+ value: bigint;
965
+ decimals: number;
966
+ };
967
+ direction: "in";
968
+ }, {
969
+ asset: {
970
+ symbol: string;
971
+ type: "FiatCurrency";
972
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
973
+ name: string;
974
+ icon?: string | undefined;
975
+ };
976
+ amount: {
977
+ value: bigint;
978
+ decimals: number;
979
+ };
980
+ direction: "in";
981
+ price?: {
982
+ cryptoCurrencyId: string;
983
+ fiatCurrencyId: string;
984
+ price: {
985
+ value: bigint;
986
+ decimals: number;
987
+ };
988
+ timestamp: number;
989
+ } | undefined;
990
+ from?: string | undefined;
991
+ to?: string | undefined;
992
+ }>, z.ZodEffects<z.ZodObject<{
993
+ price: z.ZodOptional<z.ZodObject<{
994
+ cryptoCurrencyId: z.ZodString;
995
+ fiatCurrencyId: z.ZodString;
996
+ price: z.ZodObject<{
997
+ value: z.ZodBigInt;
998
+ decimals: z.ZodNumber;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ value: bigint;
1001
+ decimals: number;
1002
+ }, {
1003
+ value: bigint;
1004
+ decimals: number;
1005
+ }>;
1006
+ timestamp: z.ZodNumber;
1007
+ }, "strip", z.ZodTypeAny, {
1008
+ cryptoCurrencyId: string;
1009
+ fiatCurrencyId: string;
1010
+ price: {
1011
+ value: bigint;
1012
+ decimals: number;
1013
+ };
1014
+ timestamp: number;
1015
+ }, {
1016
+ cryptoCurrencyId: string;
1017
+ fiatCurrencyId: string;
1018
+ price: {
1019
+ value: bigint;
1020
+ decimals: number;
1021
+ };
1022
+ timestamp: number;
1023
+ }>>;
1024
+ from: z.ZodOptional<z.ZodString>;
1025
+ to: z.ZodOptional<z.ZodString>;
1026
+ amount: z.ZodObject<{
1027
+ value: z.ZodBigInt;
1028
+ decimals: z.ZodNumber;
1029
+ }, "strip", z.ZodTypeAny, {
1030
+ value: bigint;
1031
+ decimals: number;
1032
+ }, {
1033
+ value: bigint;
1034
+ decimals: number;
1035
+ }>;
1036
+ direction: z.ZodLiteral<"out">;
1037
+ asset: z.ZodEffects<z.ZodObject<{
1038
+ type: z.ZodLiteral<"CryptoCurrency">;
1039
+ id: z.ZodString;
1040
+ name: z.ZodString;
1041
+ symbol: z.ZodString;
1042
+ icon: z.ZodOptional<z.ZodString>;
1043
+ market: z.ZodEffects<z.ZodObject<{
1044
+ coingeckoId: z.ZodOptional<z.ZodString>;
1045
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
1046
+ value: z.ZodBigInt;
1047
+ decimals: z.ZodNumber;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ value: bigint;
1050
+ decimals: number;
1051
+ }, {
1052
+ value: bigint;
1053
+ decimals: number;
1054
+ }>>;
1055
+ }, "strip", z.ZodTypeAny, {
1056
+ coingeckoId?: string | undefined;
1057
+ marketCapUsd?: {
1058
+ value: bigint;
1059
+ decimals: number;
1060
+ } | undefined;
1061
+ }, {
1062
+ coingeckoId?: string | undefined;
1063
+ marketCapUsd?: {
1064
+ value: bigint;
1065
+ decimals: number;
1066
+ } | undefined;
1067
+ }>, {
1068
+ coingeckoId: string | undefined;
1069
+ marketCapUsd: {
1070
+ value: bigint;
1071
+ decimals: number;
1072
+ } | undefined;
1073
+ }, {
1074
+ coingeckoId?: string | undefined;
1075
+ marketCapUsd?: {
1076
+ value: bigint;
1077
+ decimals: number;
1078
+ } | undefined;
1079
+ }>;
1080
+ updatedAt: z.ZodNumber;
1081
+ }, "strip", z.ZodTypeAny, {
1082
+ symbol: string;
1083
+ type: "CryptoCurrency";
1084
+ id: string;
1085
+ name: string;
1086
+ market: {
1087
+ coingeckoId: string | undefined;
1088
+ marketCapUsd: {
1089
+ value: bigint;
1090
+ decimals: number;
1091
+ } | undefined;
1092
+ };
1093
+ updatedAt: number;
1094
+ icon?: string | undefined;
1095
+ }, {
1096
+ symbol: string;
1097
+ type: "CryptoCurrency";
1098
+ id: string;
1099
+ name: string;
1100
+ market: {
1101
+ coingeckoId?: string | undefined;
1102
+ marketCapUsd?: {
1103
+ value: bigint;
1104
+ decimals: number;
1105
+ } | undefined;
1106
+ };
1107
+ updatedAt: number;
1108
+ icon?: string | undefined;
1109
+ }>, {
1110
+ icon: string | undefined;
1111
+ symbol: string;
1112
+ type: "CryptoCurrency";
1113
+ id: string;
1114
+ name: string;
1115
+ market: {
1116
+ coingeckoId: string | undefined;
1117
+ marketCapUsd: {
1118
+ value: bigint;
1119
+ decimals: number;
1120
+ } | undefined;
1121
+ };
1122
+ updatedAt: number;
1123
+ }, {
1124
+ symbol: string;
1125
+ type: "CryptoCurrency";
1126
+ id: string;
1127
+ name: string;
1128
+ market: {
1129
+ coingeckoId?: string | undefined;
1130
+ marketCapUsd?: {
1131
+ value: bigint;
1132
+ decimals: number;
1133
+ } | undefined;
1134
+ };
1135
+ updatedAt: number;
1136
+ icon?: string | undefined;
1137
+ }>;
1138
+ }, "strip", z.ZodTypeAny, {
1139
+ asset: {
1140
+ icon: string | undefined;
1141
+ symbol: string;
1142
+ type: "CryptoCurrency";
1143
+ id: string;
1144
+ name: string;
1145
+ market: {
1146
+ coingeckoId: string | undefined;
1147
+ marketCapUsd: {
1148
+ value: bigint;
1149
+ decimals: number;
1150
+ } | undefined;
1151
+ };
1152
+ updatedAt: number;
1153
+ };
1154
+ amount: {
1155
+ value: bigint;
1156
+ decimals: number;
1157
+ };
1158
+ direction: "out";
1159
+ price?: {
1160
+ cryptoCurrencyId: string;
1161
+ fiatCurrencyId: string;
1162
+ price: {
1163
+ value: bigint;
1164
+ decimals: number;
1165
+ };
1166
+ timestamp: number;
1167
+ } | undefined;
1168
+ from?: string | undefined;
1169
+ to?: string | undefined;
1170
+ }, {
1171
+ asset: {
1172
+ symbol: string;
1173
+ type: "CryptoCurrency";
1174
+ id: string;
1175
+ name: string;
1176
+ market: {
1177
+ coingeckoId?: string | undefined;
1178
+ marketCapUsd?: {
1179
+ value: bigint;
1180
+ decimals: number;
1181
+ } | undefined;
1182
+ };
1183
+ updatedAt: number;
1184
+ icon?: string | undefined;
1185
+ };
1186
+ amount: {
1187
+ value: bigint;
1188
+ decimals: number;
1189
+ };
1190
+ direction: "out";
1191
+ price?: {
1192
+ cryptoCurrencyId: string;
1193
+ fiatCurrencyId: string;
1194
+ price: {
1195
+ value: bigint;
1196
+ decimals: number;
1197
+ };
1198
+ timestamp: number;
1199
+ } | undefined;
1200
+ from?: string | undefined;
1201
+ to?: string | undefined;
1202
+ }>, {
1203
+ from: string | undefined;
1204
+ to: string | undefined;
1205
+ price: {
1206
+ cryptoCurrencyId: string;
1207
+ fiatCurrencyId: string;
1208
+ price: {
1209
+ value: bigint;
1210
+ decimals: number;
1211
+ };
1212
+ timestamp: number;
1213
+ } | undefined;
1214
+ asset: {
1215
+ icon: string | undefined;
1216
+ symbol: string;
1217
+ type: "CryptoCurrency";
1218
+ id: string;
1219
+ name: string;
1220
+ market: {
1221
+ coingeckoId: string | undefined;
1222
+ marketCapUsd: {
1223
+ value: bigint;
1224
+ decimals: number;
1225
+ } | undefined;
1226
+ };
1227
+ updatedAt: number;
1228
+ };
1229
+ amount: {
1230
+ value: bigint;
1231
+ decimals: number;
1232
+ };
1233
+ direction: "out";
1234
+ }, {
1235
+ asset: {
1236
+ symbol: string;
1237
+ type: "CryptoCurrency";
1238
+ id: string;
1239
+ name: string;
1240
+ market: {
1241
+ coingeckoId?: string | undefined;
1242
+ marketCapUsd?: {
1243
+ value: bigint;
1244
+ decimals: number;
1245
+ } | undefined;
1246
+ };
1247
+ updatedAt: number;
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: "sell-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: "FiatCurrency";
1290
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1291
+ name: string;
1292
+ };
1293
+ amount: {
1294
+ value: bigint;
1295
+ decimals: number;
1296
+ };
1297
+ direction: "in";
1298
+ } | {
1299
+ from: string | undefined;
1300
+ to: string | undefined;
1301
+ price: {
1302
+ cryptoCurrencyId: string;
1303
+ fiatCurrencyId: string;
1304
+ price: {
1305
+ value: bigint;
1306
+ decimals: number;
1307
+ };
1308
+ timestamp: number;
1309
+ } | undefined;
1310
+ asset: {
1311
+ icon: string | undefined;
1312
+ symbol: string;
1313
+ type: "CryptoCurrency";
1314
+ id: string;
1315
+ name: string;
1316
+ market: {
1317
+ coingeckoId: string | undefined;
1318
+ marketCapUsd: {
1319
+ value: bigint;
1320
+ decimals: number;
1321
+ } | undefined;
1322
+ };
1323
+ updatedAt: number;
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: "sell-crypto";
1345
+ source: string;
1346
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1347
+ transfers: ({
1348
+ asset: {
1349
+ symbol: string;
1350
+ type: "FiatCurrency";
1351
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1352
+ name: string;
1353
+ icon?: string | undefined;
1354
+ };
1355
+ amount: {
1356
+ value: bigint;
1357
+ decimals: number;
1358
+ };
1359
+ direction: "in";
1360
+ price?: {
1361
+ cryptoCurrencyId: string;
1362
+ fiatCurrencyId: string;
1363
+ price: {
1364
+ value: bigint;
1365
+ decimals: number;
1366
+ };
1367
+ timestamp: number;
1368
+ } | undefined;
1369
+ from?: string | undefined;
1370
+ to?: string | undefined;
1371
+ } | {
1372
+ asset: {
1373
+ symbol: string;
1374
+ type: "CryptoCurrency";
1375
+ id: string;
1376
+ name: string;
1377
+ market: {
1378
+ coingeckoId?: string | undefined;
1379
+ marketCapUsd?: {
1380
+ value: bigint;
1381
+ decimals: number;
1382
+ } | undefined;
1383
+ };
1384
+ updatedAt: number;
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: "sell-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: "FiatCurrency";
1445
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1446
+ name: string;
1447
+ };
1448
+ amount: {
1449
+ value: bigint;
1450
+ decimals: number;
1451
+ };
1452
+ direction: "in";
1453
+ } | {
1454
+ from: string | undefined;
1455
+ to: string | undefined;
1456
+ price: {
1457
+ cryptoCurrencyId: string;
1458
+ fiatCurrencyId: string;
1459
+ price: {
1460
+ value: bigint;
1461
+ decimals: number;
1462
+ };
1463
+ timestamp: number;
1464
+ } | undefined;
1465
+ asset: {
1466
+ icon: string | undefined;
1467
+ symbol: string;
1468
+ type: "CryptoCurrency";
1469
+ id: string;
1470
+ name: string;
1471
+ market: {
1472
+ coingeckoId: string | undefined;
1473
+ marketCapUsd: {
1474
+ value: bigint;
1475
+ decimals: number;
1476
+ } | undefined;
1477
+ };
1478
+ updatedAt: number;
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: "sell-crypto";
1491
+ source: string;
1492
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
1493
+ transfers: ({
1494
+ asset: {
1495
+ symbol: string;
1496
+ type: "FiatCurrency";
1497
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
1498
+ name: string;
1499
+ icon?: string | undefined;
1500
+ };
1501
+ amount: {
1502
+ value: bigint;
1503
+ decimals: number;
1504
+ };
1505
+ direction: "in";
1506
+ price?: {
1507
+ cryptoCurrencyId: string;
1508
+ fiatCurrencyId: string;
1509
+ price: {
1510
+ value: bigint;
1511
+ decimals: number;
1512
+ };
1513
+ timestamp: number;
1514
+ } | undefined;
1515
+ from?: string | undefined;
1516
+ to?: string | undefined;
1517
+ } | {
1518
+ asset: {
1519
+ symbol: string;
1520
+ type: "CryptoCurrency";
1521
+ id: string;
1522
+ name: string;
1523
+ market: {
1524
+ coingeckoId?: string | undefined;
1525
+ marketCapUsd?: {
1526
+ value: bigint;
1527
+ decimals: number;
1528
+ } | undefined;
1529
+ };
1530
+ updatedAt: number;
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=sellCrypto.d.ts.map