@0xtorch/core 0.0.8 → 0.0.9

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 (527) hide show
  1. package/_cjs/actions/index.js +48 -2
  2. package/_cjs/actions/index.js.map +1 -1
  3. package/_cjs/actions/parsers/borrow/borrow.js +22 -0
  4. package/_cjs/actions/parsers/borrow/borrow.js.map +1 -0
  5. package/_cjs/actions/parsers/borrow/borrowWithDebt.js +22 -0
  6. package/_cjs/actions/parsers/borrow/borrowWithDebt.js.map +1 -0
  7. package/_cjs/actions/parsers/borrow/index.js +8 -0
  8. package/_cjs/actions/parsers/borrow/index.js.map +1 -0
  9. package/_cjs/actions/parsers/crossReplace/bridgeFrom.js +22 -0
  10. package/_cjs/actions/parsers/crossReplace/bridgeFrom.js.map +1 -0
  11. package/_cjs/actions/parsers/crossReplace/bridgeTo.js +22 -0
  12. package/_cjs/actions/parsers/crossReplace/bridgeTo.js.map +1 -0
  13. package/_cjs/actions/parsers/crossReplace/crossReplace.js +22 -0
  14. package/_cjs/actions/parsers/crossReplace/crossReplace.js.map +1 -0
  15. package/_cjs/actions/parsers/crossReplace/index.js +10 -0
  16. package/_cjs/actions/parsers/crossReplace/index.js.map +1 -0
  17. package/_cjs/actions/parsers/crossTrade/crossTrade.js +22 -0
  18. package/_cjs/actions/parsers/crossTrade/crossTrade.js.map +1 -0
  19. package/_cjs/actions/parsers/crossTrade/index.js +6 -0
  20. package/_cjs/actions/parsers/crossTrade/index.js.map +1 -0
  21. package/_cjs/actions/parsers/default.js +134 -0
  22. package/_cjs/actions/parsers/default.js.map +1 -0
  23. package/_cjs/actions/parsers/deposit/addLiquidity.js +22 -0
  24. package/_cjs/actions/parsers/deposit/addLiquidity.js.map +1 -0
  25. package/_cjs/actions/parsers/deposit/deposit.js +22 -0
  26. package/_cjs/actions/parsers/deposit/deposit.js.map +1 -0
  27. package/_cjs/actions/parsers/deposit/depositWithBond.js +22 -0
  28. package/_cjs/actions/parsers/deposit/depositWithBond.js.map +1 -0
  29. package/_cjs/actions/parsers/deposit/index.js +12 -0
  30. package/_cjs/actions/parsers/deposit/index.js.map +1 -0
  31. package/_cjs/actions/parsers/deposit/stake.js +22 -0
  32. package/_cjs/actions/parsers/deposit/stake.js.map +1 -0
  33. package/_cjs/actions/parsers/fee/fee.js +38 -0
  34. package/_cjs/actions/parsers/fee/fee.js.map +1 -0
  35. package/_cjs/actions/parsers/fee/index.js +8 -0
  36. package/_cjs/actions/parsers/fee/index.js.map +1 -0
  37. package/_cjs/actions/parsers/fee/transactionFee.js +21 -0
  38. package/_cjs/actions/parsers/fee/transactionFee.js.map +1 -0
  39. package/_cjs/actions/parsers/ignore/approve.js +14 -0
  40. package/_cjs/actions/parsers/ignore/approve.js.map +1 -0
  41. package/_cjs/actions/parsers/ignore/failTx.js +14 -0
  42. package/_cjs/actions/parsers/ignore/failTx.js.map +1 -0
  43. package/_cjs/actions/parsers/ignore/index.js +16 -0
  44. package/_cjs/actions/parsers/ignore/index.js.map +1 -0
  45. package/_cjs/actions/parsers/ignore/receiveFromCex.js +12 -0
  46. package/_cjs/actions/parsers/ignore/receiveFromCex.js.map +1 -0
  47. package/_cjs/actions/parsers/ignore/revoke.js +14 -0
  48. package/_cjs/actions/parsers/ignore/revoke.js.map +1 -0
  49. package/_cjs/actions/parsers/ignore/sendToCex.js +12 -0
  50. package/_cjs/actions/parsers/ignore/sendToCex.js.map +1 -0
  51. package/_cjs/actions/parsers/ignore/spam.js +22 -0
  52. package/_cjs/actions/parsers/ignore/spam.js.map +1 -0
  53. package/_cjs/actions/parsers/income/atomicArbitrage.js +81 -0
  54. package/_cjs/actions/parsers/income/atomicArbitrage.js.map +1 -0
  55. package/_cjs/actions/parsers/income/freeMintNft.js +21 -0
  56. package/_cjs/actions/parsers/income/freeMintNft.js.map +1 -0
  57. package/_cjs/actions/parsers/income/income.js +28 -0
  58. package/_cjs/actions/parsers/income/income.js.map +1 -0
  59. package/_cjs/actions/parsers/income/index.js +10 -0
  60. package/_cjs/actions/parsers/income/index.js.map +1 -0
  61. package/_cjs/actions/parsers/index.js +58 -0
  62. package/_cjs/actions/parsers/index.js.map +1 -0
  63. package/_cjs/actions/parsers/repayment/index.js +8 -0
  64. package/_cjs/actions/parsers/repayment/index.js.map +1 -0
  65. package/_cjs/actions/parsers/repayment/repayment.js +22 -0
  66. package/_cjs/actions/parsers/repayment/repayment.js.map +1 -0
  67. package/_cjs/actions/parsers/repayment/repaymentWithDebt.js +22 -0
  68. package/_cjs/actions/parsers/repayment/repaymentWithDebt.js.map +1 -0
  69. package/_cjs/actions/parsers/replace/index.js +12 -0
  70. package/_cjs/actions/parsers/replace/index.js.map +1 -0
  71. package/_cjs/actions/parsers/replace/replace.js +21 -0
  72. package/_cjs/actions/parsers/replace/replace.js.map +1 -0
  73. package/_cjs/actions/parsers/replace/swapNft.js +21 -0
  74. package/_cjs/actions/parsers/replace/swapNft.js.map +1 -0
  75. package/_cjs/actions/parsers/replace/unwrap.js +21 -0
  76. package/_cjs/actions/parsers/replace/unwrap.js.map +1 -0
  77. package/_cjs/actions/parsers/replace/wrap.js +21 -0
  78. package/_cjs/actions/parsers/replace/wrap.js.map +1 -0
  79. package/_cjs/actions/parsers/trade/buyCrypto.js +50 -0
  80. package/_cjs/actions/parsers/trade/buyCrypto.js.map +1 -0
  81. package/_cjs/actions/parsers/trade/buyNft.js +118 -0
  82. package/_cjs/actions/parsers/trade/buyNft.js.map +1 -0
  83. package/_cjs/actions/parsers/trade/index.js +16 -0
  84. package/_cjs/actions/parsers/trade/index.js.map +1 -0
  85. package/_cjs/actions/parsers/trade/mintNft.js +88 -0
  86. package/_cjs/actions/parsers/trade/mintNft.js.map +1 -0
  87. package/_cjs/actions/parsers/trade/sellCrypto.js +50 -0
  88. package/_cjs/actions/parsers/trade/sellCrypto.js.map +1 -0
  89. package/_cjs/actions/parsers/trade/sellNft.js +118 -0
  90. package/_cjs/actions/parsers/trade/sellNft.js.map +1 -0
  91. package/_cjs/actions/parsers/trade/trade.js +163 -0
  92. package/_cjs/actions/parsers/trade/trade.js.map +1 -0
  93. package/_cjs/actions/parsers/transfer/index.js +6 -0
  94. package/_cjs/actions/parsers/transfer/index.js.map +1 -0
  95. package/_cjs/actions/parsers/transfer/transfer.js +15 -0
  96. package/_cjs/actions/parsers/transfer/transfer.js.map +1 -0
  97. package/_cjs/actions/parsers/types.js +3 -0
  98. package/_cjs/actions/parsers/types.js.map +1 -0
  99. package/_cjs/actions/parsers/valuedown/index.js +6 -0
  100. package/_cjs/actions/parsers/valuedown/index.js.map +1 -0
  101. package/_cjs/actions/parsers/valuedown/valuedown.js +22 -0
  102. package/_cjs/actions/parsers/valuedown/valuedown.js.map +1 -0
  103. package/_cjs/actions/parsers/valueup/index.js +6 -0
  104. package/_cjs/actions/parsers/valueup/index.js.map +1 -0
  105. package/_cjs/actions/parsers/valueup/valueup.js +22 -0
  106. package/_cjs/actions/parsers/valueup/valueup.js.map +1 -0
  107. package/_cjs/actions/parsers/withdraw/index.js +12 -0
  108. package/_cjs/actions/parsers/withdraw/index.js.map +1 -0
  109. package/_cjs/actions/parsers/withdraw/removeLiquidity.js +22 -0
  110. package/_cjs/actions/parsers/withdraw/removeLiquidity.js.map +1 -0
  111. package/_cjs/actions/parsers/withdraw/unstake.js +22 -0
  112. package/_cjs/actions/parsers/withdraw/unstake.js.map +1 -0
  113. package/_cjs/actions/parsers/withdraw/withdraw.js +22 -0
  114. package/_cjs/actions/parsers/withdraw/withdraw.js.map +1 -0
  115. package/_cjs/actions/parsers/withdraw/withdrawWithBond.js +22 -0
  116. package/_cjs/actions/parsers/withdraw/withdrawWithBond.js.map +1 -0
  117. package/_cjs/actions/schemas/action.js +4 -0
  118. package/_cjs/actions/schemas/action.js.map +1 -1
  119. package/_cjs/actions/schemas/ignore/index.js +3 -1
  120. package/_cjs/actions/schemas/ignore/index.js.map +1 -1
  121. package/_cjs/actions/schemas/ignore/receiveFromCex.js +11 -1
  122. package/_cjs/actions/schemas/ignore/receiveFromCex.js.map +1 -1
  123. package/_cjs/actions/schemas/ignore/sendToCex.js +11 -1
  124. package/_cjs/actions/schemas/ignore/sendToCex.js.map +1 -1
  125. package/_cjs/actions/schemas/income/atomicArbitrage.js +4 -1
  126. package/_cjs/actions/schemas/income/atomicArbitrage.js.map +1 -1
  127. package/_cjs/actions/schemas/income/income.js +11 -1
  128. package/_cjs/actions/schemas/income/income.js.map +1 -1
  129. package/_cjs/actions/schemas/income/index.js +2 -1
  130. package/_cjs/actions/schemas/income/index.js.map +1 -1
  131. package/_cjs/actions/schemas/index.js +6 -1
  132. package/_cjs/actions/schemas/index.js.map +1 -1
  133. package/_cjs/actions/schemas/trade/index.js +2 -1
  134. package/_cjs/actions/schemas/trade/index.js.map +1 -1
  135. package/_cjs/actions/schemas/trade/sellNft.js +15 -1
  136. package/_cjs/actions/schemas/trade/sellNft.js.map +1 -1
  137. package/_cjs/actions/types/buyCrypto.js +3 -0
  138. package/_cjs/actions/types/buyCrypto.js.map +1 -0
  139. package/_cjs/actions/types/sellCrypto.js +3 -0
  140. package/_cjs/actions/types/sellCrypto.js.map +1 -0
  141. package/_cjs/actions/types/stake.js +3 -0
  142. package/_cjs/actions/types/stake.js.map +1 -0
  143. package/_cjs/actions/types/unstake.js +3 -0
  144. package/_cjs/actions/types/unstake.js.map +1 -0
  145. package/_cjs/index.js +6 -2
  146. package/_cjs/index.js.map +1 -1
  147. package/_esm/actions/index.js +2 -1
  148. package/_esm/actions/index.js.map +1 -1
  149. package/_esm/actions/parsers/borrow/borrow.js +18 -0
  150. package/_esm/actions/parsers/borrow/borrow.js.map +1 -0
  151. package/_esm/actions/parsers/borrow/borrowWithDebt.js +18 -0
  152. package/_esm/actions/parsers/borrow/borrowWithDebt.js.map +1 -0
  153. package/_esm/actions/parsers/borrow/index.js +3 -0
  154. package/_esm/actions/parsers/borrow/index.js.map +1 -0
  155. package/_esm/actions/parsers/crossReplace/bridgeFrom.js +18 -0
  156. package/_esm/actions/parsers/crossReplace/bridgeFrom.js.map +1 -0
  157. package/_esm/actions/parsers/crossReplace/bridgeTo.js +18 -0
  158. package/_esm/actions/parsers/crossReplace/bridgeTo.js.map +1 -0
  159. package/_esm/actions/parsers/crossReplace/crossReplace.js +18 -0
  160. package/_esm/actions/parsers/crossReplace/crossReplace.js.map +1 -0
  161. package/_esm/actions/parsers/crossReplace/index.js +4 -0
  162. package/_esm/actions/parsers/crossReplace/index.js.map +1 -0
  163. package/_esm/actions/parsers/crossTrade/crossTrade.js +18 -0
  164. package/_esm/actions/parsers/crossTrade/crossTrade.js.map +1 -0
  165. package/_esm/actions/parsers/crossTrade/index.js +2 -0
  166. package/_esm/actions/parsers/crossTrade/index.js.map +1 -0
  167. package/_esm/actions/parsers/default.js +125 -0
  168. package/_esm/actions/parsers/default.js.map +1 -0
  169. package/_esm/actions/parsers/deposit/addLiquidity.js +18 -0
  170. package/_esm/actions/parsers/deposit/addLiquidity.js.map +1 -0
  171. package/_esm/actions/parsers/deposit/deposit.js +18 -0
  172. package/_esm/actions/parsers/deposit/deposit.js.map +1 -0
  173. package/_esm/actions/parsers/deposit/depositWithBond.js +18 -0
  174. package/_esm/actions/parsers/deposit/depositWithBond.js.map +1 -0
  175. package/_esm/actions/parsers/deposit/index.js +5 -0
  176. package/_esm/actions/parsers/deposit/index.js.map +1 -0
  177. package/_esm/actions/parsers/deposit/stake.js +18 -0
  178. package/_esm/actions/parsers/deposit/stake.js.map +1 -0
  179. package/_esm/actions/parsers/fee/fee.js +35 -0
  180. package/_esm/actions/parsers/fee/fee.js.map +1 -0
  181. package/_esm/actions/parsers/fee/index.js +3 -0
  182. package/_esm/actions/parsers/fee/index.js.map +1 -0
  183. package/_esm/actions/parsers/fee/transactionFee.js +17 -0
  184. package/_esm/actions/parsers/fee/transactionFee.js.map +1 -0
  185. package/_esm/actions/parsers/ignore/approve.js +10 -0
  186. package/_esm/actions/parsers/ignore/approve.js.map +1 -0
  187. package/_esm/actions/parsers/ignore/failTx.js +10 -0
  188. package/_esm/actions/parsers/ignore/failTx.js.map +1 -0
  189. package/_esm/actions/parsers/ignore/index.js +7 -0
  190. package/_esm/actions/parsers/ignore/index.js.map +1 -0
  191. package/_esm/actions/parsers/ignore/receiveFromCex.js +8 -0
  192. package/_esm/actions/parsers/ignore/receiveFromCex.js.map +1 -0
  193. package/_esm/actions/parsers/ignore/revoke.js +10 -0
  194. package/_esm/actions/parsers/ignore/revoke.js.map +1 -0
  195. package/_esm/actions/parsers/ignore/sendToCex.js +8 -0
  196. package/_esm/actions/parsers/ignore/sendToCex.js.map +1 -0
  197. package/_esm/actions/parsers/ignore/spam.js +18 -0
  198. package/_esm/actions/parsers/ignore/spam.js.map +1 -0
  199. package/_esm/actions/parsers/income/atomicArbitrage.js +80 -0
  200. package/_esm/actions/parsers/income/atomicArbitrage.js.map +1 -0
  201. package/_esm/actions/parsers/income/freeMintNft.js +17 -0
  202. package/_esm/actions/parsers/income/freeMintNft.js.map +1 -0
  203. package/_esm/actions/parsers/income/income.js +24 -0
  204. package/_esm/actions/parsers/income/income.js.map +1 -0
  205. package/_esm/actions/parsers/income/index.js +4 -0
  206. package/_esm/actions/parsers/income/index.js.map +1 -0
  207. package/_esm/actions/parsers/index.js +15 -0
  208. package/_esm/actions/parsers/index.js.map +1 -0
  209. package/_esm/actions/parsers/repayment/index.js +3 -0
  210. package/_esm/actions/parsers/repayment/index.js.map +1 -0
  211. package/_esm/actions/parsers/repayment/repayment.js +18 -0
  212. package/_esm/actions/parsers/repayment/repayment.js.map +1 -0
  213. package/_esm/actions/parsers/repayment/repaymentWithDebt.js +18 -0
  214. package/_esm/actions/parsers/repayment/repaymentWithDebt.js.map +1 -0
  215. package/_esm/actions/parsers/replace/index.js +5 -0
  216. package/_esm/actions/parsers/replace/index.js.map +1 -0
  217. package/_esm/actions/parsers/replace/replace.js +17 -0
  218. package/_esm/actions/parsers/replace/replace.js.map +1 -0
  219. package/_esm/actions/parsers/replace/swapNft.js +17 -0
  220. package/_esm/actions/parsers/replace/swapNft.js.map +1 -0
  221. package/_esm/actions/parsers/replace/unwrap.js +17 -0
  222. package/_esm/actions/parsers/replace/unwrap.js.map +1 -0
  223. package/_esm/actions/parsers/replace/wrap.js +17 -0
  224. package/_esm/actions/parsers/replace/wrap.js.map +1 -0
  225. package/_esm/actions/parsers/trade/buyCrypto.js +47 -0
  226. package/_esm/actions/parsers/trade/buyCrypto.js.map +1 -0
  227. package/_esm/actions/parsers/trade/buyNft.js +119 -0
  228. package/_esm/actions/parsers/trade/buyNft.js.map +1 -0
  229. package/_esm/actions/parsers/trade/index.js +7 -0
  230. package/_esm/actions/parsers/trade/index.js.map +1 -0
  231. package/_esm/actions/parsers/trade/mintNft.js +88 -0
  232. package/_esm/actions/parsers/trade/mintNft.js.map +1 -0
  233. package/_esm/actions/parsers/trade/sellCrypto.js +47 -0
  234. package/_esm/actions/parsers/trade/sellCrypto.js.map +1 -0
  235. package/_esm/actions/parsers/trade/sellNft.js +120 -0
  236. package/_esm/actions/parsers/trade/sellNft.js.map +1 -0
  237. package/_esm/actions/parsers/trade/trade.js +168 -0
  238. package/_esm/actions/parsers/trade/trade.js.map +1 -0
  239. package/_esm/actions/parsers/transfer/index.js +2 -0
  240. package/_esm/actions/parsers/transfer/index.js.map +1 -0
  241. package/_esm/actions/parsers/transfer/transfer.js +11 -0
  242. package/_esm/actions/parsers/transfer/transfer.js.map +1 -0
  243. package/_esm/actions/parsers/types.js +2 -0
  244. package/_esm/actions/parsers/types.js.map +1 -0
  245. package/_esm/actions/parsers/valuedown/index.js +2 -0
  246. package/_esm/actions/parsers/valuedown/index.js.map +1 -0
  247. package/_esm/actions/parsers/valuedown/valuedown.js +18 -0
  248. package/_esm/actions/parsers/valuedown/valuedown.js.map +1 -0
  249. package/_esm/actions/parsers/valueup/index.js +2 -0
  250. package/_esm/actions/parsers/valueup/index.js.map +1 -0
  251. package/_esm/actions/parsers/valueup/valueup.js +18 -0
  252. package/_esm/actions/parsers/valueup/valueup.js.map +1 -0
  253. package/_esm/actions/parsers/withdraw/index.js +5 -0
  254. package/_esm/actions/parsers/withdraw/index.js.map +1 -0
  255. package/_esm/actions/parsers/withdraw/removeLiquidity.js +18 -0
  256. package/_esm/actions/parsers/withdraw/removeLiquidity.js.map +1 -0
  257. package/_esm/actions/parsers/withdraw/unstake.js +18 -0
  258. package/_esm/actions/parsers/withdraw/unstake.js.map +1 -0
  259. package/_esm/actions/parsers/withdraw/withdraw.js +18 -0
  260. package/_esm/actions/parsers/withdraw/withdraw.js.map +1 -0
  261. package/_esm/actions/parsers/withdraw/withdrawWithBond.js +18 -0
  262. package/_esm/actions/parsers/withdraw/withdrawWithBond.js.map +1 -0
  263. package/_esm/actions/schemas/action.js +7 -3
  264. package/_esm/actions/schemas/action.js.map +1 -1
  265. package/_esm/actions/schemas/ignore/index.js +2 -2
  266. package/_esm/actions/schemas/ignore/index.js.map +1 -1
  267. package/_esm/actions/schemas/ignore/receiveFromCex.js +11 -1
  268. package/_esm/actions/schemas/ignore/receiveFromCex.js.map +1 -1
  269. package/_esm/actions/schemas/ignore/sendToCex.js +11 -1
  270. package/_esm/actions/schemas/ignore/sendToCex.js.map +1 -1
  271. package/_esm/actions/schemas/income/atomicArbitrage.js +4 -1
  272. package/_esm/actions/schemas/income/atomicArbitrage.js.map +1 -1
  273. package/_esm/actions/schemas/income/income.js +11 -1
  274. package/_esm/actions/schemas/income/income.js.map +1 -1
  275. package/_esm/actions/schemas/income/index.js +1 -1
  276. package/_esm/actions/schemas/income/index.js.map +1 -1
  277. package/_esm/actions/schemas/index.js +3 -3
  278. package/_esm/actions/schemas/index.js.map +1 -1
  279. package/_esm/actions/schemas/trade/index.js +1 -1
  280. package/_esm/actions/schemas/trade/index.js.map +1 -1
  281. package/_esm/actions/schemas/trade/sellNft.js +15 -1
  282. package/_esm/actions/schemas/trade/sellNft.js.map +1 -1
  283. package/_esm/actions/types/buyCrypto.js +2 -0
  284. package/_esm/actions/types/buyCrypto.js.map +1 -0
  285. package/_esm/actions/types/sellCrypto.js +2 -0
  286. package/_esm/actions/types/sellCrypto.js.map +1 -0
  287. package/_esm/actions/types/stake.js +2 -0
  288. package/_esm/actions/types/stake.js.map +1 -0
  289. package/_esm/actions/types/unstake.js +2 -0
  290. package/_esm/actions/types/unstake.js.map +1 -0
  291. package/_esm/index.js +1 -1
  292. package/_esm/index.js.map +1 -1
  293. package/_types/actions/index.d.ts +3 -2
  294. package/_types/actions/index.d.ts.map +1 -1
  295. package/_types/actions/parsers/borrow/borrow.d.ts +4 -0
  296. package/_types/actions/parsers/borrow/borrow.d.ts.map +1 -0
  297. package/_types/actions/parsers/borrow/borrowWithDebt.d.ts +4 -0
  298. package/_types/actions/parsers/borrow/borrowWithDebt.d.ts.map +1 -0
  299. package/_types/actions/parsers/borrow/index.d.ts +3 -0
  300. package/_types/actions/parsers/borrow/index.d.ts.map +1 -0
  301. package/_types/actions/parsers/crossReplace/bridgeFrom.d.ts +4 -0
  302. package/_types/actions/parsers/crossReplace/bridgeFrom.d.ts.map +1 -0
  303. package/_types/actions/parsers/crossReplace/bridgeTo.d.ts +4 -0
  304. package/_types/actions/parsers/crossReplace/bridgeTo.d.ts.map +1 -0
  305. package/_types/actions/parsers/crossReplace/crossReplace.d.ts +4 -0
  306. package/_types/actions/parsers/crossReplace/crossReplace.d.ts.map +1 -0
  307. package/_types/actions/parsers/crossReplace/index.d.ts +4 -0
  308. package/_types/actions/parsers/crossReplace/index.d.ts.map +1 -0
  309. package/_types/actions/parsers/crossTrade/crossTrade.d.ts +4 -0
  310. package/_types/actions/parsers/crossTrade/crossTrade.d.ts.map +1 -0
  311. package/_types/actions/parsers/crossTrade/index.d.ts +2 -0
  312. package/_types/actions/parsers/crossTrade/index.d.ts.map +1 -0
  313. package/_types/actions/parsers/default.d.ts +24 -0
  314. package/_types/actions/parsers/default.d.ts.map +1 -0
  315. package/_types/actions/parsers/deposit/addLiquidity.d.ts +4 -0
  316. package/_types/actions/parsers/deposit/addLiquidity.d.ts.map +1 -0
  317. package/_types/actions/parsers/deposit/deposit.d.ts +4 -0
  318. package/_types/actions/parsers/deposit/deposit.d.ts.map +1 -0
  319. package/_types/actions/parsers/deposit/depositWithBond.d.ts +4 -0
  320. package/_types/actions/parsers/deposit/depositWithBond.d.ts.map +1 -0
  321. package/_types/actions/parsers/deposit/index.d.ts +5 -0
  322. package/_types/actions/parsers/deposit/index.d.ts.map +1 -0
  323. package/_types/actions/parsers/deposit/stake.d.ts +4 -0
  324. package/_types/actions/parsers/deposit/stake.d.ts.map +1 -0
  325. package/_types/actions/parsers/fee/fee.d.ts +4 -0
  326. package/_types/actions/parsers/fee/fee.d.ts.map +1 -0
  327. package/_types/actions/parsers/fee/index.d.ts +3 -0
  328. package/_types/actions/parsers/fee/index.d.ts.map +1 -0
  329. package/_types/actions/parsers/fee/transactionFee.d.ts +4 -0
  330. package/_types/actions/parsers/fee/transactionFee.d.ts.map +1 -0
  331. package/_types/actions/parsers/ignore/approve.d.ts +6 -0
  332. package/_types/actions/parsers/ignore/approve.d.ts.map +1 -0
  333. package/_types/actions/parsers/ignore/failTx.d.ts +6 -0
  334. package/_types/actions/parsers/ignore/failTx.d.ts.map +1 -0
  335. package/_types/actions/parsers/ignore/index.d.ts +7 -0
  336. package/_types/actions/parsers/ignore/index.d.ts.map +1 -0
  337. package/_types/actions/parsers/ignore/receiveFromCex.d.ts +4 -0
  338. package/_types/actions/parsers/ignore/receiveFromCex.d.ts.map +1 -0
  339. package/_types/actions/parsers/ignore/revoke.d.ts +6 -0
  340. package/_types/actions/parsers/ignore/revoke.d.ts.map +1 -0
  341. package/_types/actions/parsers/ignore/sendToCex.d.ts +4 -0
  342. package/_types/actions/parsers/ignore/sendToCex.d.ts.map +1 -0
  343. package/_types/actions/parsers/ignore/spam.d.ts +6 -0
  344. package/_types/actions/parsers/ignore/spam.d.ts.map +1 -0
  345. package/_types/actions/parsers/income/atomicArbitrage.d.ts +6 -0
  346. package/_types/actions/parsers/income/atomicArbitrage.d.ts.map +1 -0
  347. package/_types/actions/parsers/income/freeMintNft.d.ts +4 -0
  348. package/_types/actions/parsers/income/freeMintNft.d.ts.map +1 -0
  349. package/_types/actions/parsers/income/income.d.ts +4 -0
  350. package/_types/actions/parsers/income/income.d.ts.map +1 -0
  351. package/_types/actions/parsers/income/index.d.ts +4 -0
  352. package/_types/actions/parsers/income/index.d.ts.map +1 -0
  353. package/_types/actions/parsers/index.d.ts +15 -0
  354. package/_types/actions/parsers/index.d.ts.map +1 -0
  355. package/_types/actions/parsers/repayment/index.d.ts +3 -0
  356. package/_types/actions/parsers/repayment/index.d.ts.map +1 -0
  357. package/_types/actions/parsers/repayment/repayment.d.ts +4 -0
  358. package/_types/actions/parsers/repayment/repayment.d.ts.map +1 -0
  359. package/_types/actions/parsers/repayment/repaymentWithDebt.d.ts +4 -0
  360. package/_types/actions/parsers/repayment/repaymentWithDebt.d.ts.map +1 -0
  361. package/_types/actions/parsers/replace/index.d.ts +5 -0
  362. package/_types/actions/parsers/replace/index.d.ts.map +1 -0
  363. package/_types/actions/parsers/replace/replace.d.ts +4 -0
  364. package/_types/actions/parsers/replace/replace.d.ts.map +1 -0
  365. package/_types/actions/parsers/replace/swapNft.d.ts +4 -0
  366. package/_types/actions/parsers/replace/swapNft.d.ts.map +1 -0
  367. package/_types/actions/parsers/replace/unwrap.d.ts +4 -0
  368. package/_types/actions/parsers/replace/unwrap.d.ts.map +1 -0
  369. package/_types/actions/parsers/replace/wrap.d.ts +4 -0
  370. package/_types/actions/parsers/replace/wrap.d.ts.map +1 -0
  371. package/_types/actions/parsers/trade/buyCrypto.d.ts +4 -0
  372. package/_types/actions/parsers/trade/buyCrypto.d.ts.map +1 -0
  373. package/_types/actions/parsers/trade/buyNft.d.ts +4 -0
  374. package/_types/actions/parsers/trade/buyNft.d.ts.map +1 -0
  375. package/_types/actions/parsers/trade/index.d.ts +7 -0
  376. package/_types/actions/parsers/trade/index.d.ts.map +1 -0
  377. package/_types/actions/parsers/trade/mintNft.d.ts +4 -0
  378. package/_types/actions/parsers/trade/mintNft.d.ts.map +1 -0
  379. package/_types/actions/parsers/trade/sellCrypto.d.ts +4 -0
  380. package/_types/actions/parsers/trade/sellCrypto.d.ts.map +1 -0
  381. package/_types/actions/parsers/trade/sellNft.d.ts +4 -0
  382. package/_types/actions/parsers/trade/sellNft.d.ts.map +1 -0
  383. package/_types/actions/parsers/trade/trade.d.ts +6 -0
  384. package/_types/actions/parsers/trade/trade.d.ts.map +1 -0
  385. package/_types/actions/parsers/transfer/index.d.ts +2 -0
  386. package/_types/actions/parsers/transfer/index.d.ts.map +1 -0
  387. package/_types/actions/parsers/transfer/transfer.d.ts +4 -0
  388. package/_types/actions/parsers/transfer/transfer.d.ts.map +1 -0
  389. package/_types/actions/parsers/types.d.ts +8 -0
  390. package/_types/actions/parsers/types.d.ts.map +1 -0
  391. package/_types/actions/parsers/valuedown/index.d.ts +2 -0
  392. package/_types/actions/parsers/valuedown/index.d.ts.map +1 -0
  393. package/_types/actions/parsers/valuedown/valuedown.d.ts +4 -0
  394. package/_types/actions/parsers/valuedown/valuedown.d.ts.map +1 -0
  395. package/_types/actions/parsers/valueup/index.d.ts +2 -0
  396. package/_types/actions/parsers/valueup/index.d.ts.map +1 -0
  397. package/_types/actions/parsers/valueup/valueup.d.ts +4 -0
  398. package/_types/actions/parsers/valueup/valueup.d.ts.map +1 -0
  399. package/_types/actions/parsers/withdraw/index.d.ts +5 -0
  400. package/_types/actions/parsers/withdraw/index.d.ts.map +1 -0
  401. package/_types/actions/parsers/withdraw/removeLiquidity.d.ts +4 -0
  402. package/_types/actions/parsers/withdraw/removeLiquidity.d.ts.map +1 -0
  403. package/_types/actions/parsers/withdraw/unstake.d.ts +4 -0
  404. package/_types/actions/parsers/withdraw/unstake.d.ts.map +1 -0
  405. package/_types/actions/parsers/withdraw/withdraw.d.ts +4 -0
  406. package/_types/actions/parsers/withdraw/withdraw.d.ts.map +1 -0
  407. package/_types/actions/parsers/withdraw/withdrawWithBond.d.ts +4 -0
  408. package/_types/actions/parsers/withdraw/withdrawWithBond.d.ts.map +1 -0
  409. package/_types/actions/schemas/action.d.ts +6369 -2899
  410. package/_types/actions/schemas/action.d.ts.map +1 -1
  411. package/_types/actions/schemas/ignore/index.d.ts +2 -2
  412. package/_types/actions/schemas/ignore/index.d.ts.map +1 -1
  413. package/_types/actions/schemas/ignore/receiveFromCex.d.ts +729 -0
  414. package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
  415. package/_types/actions/schemas/ignore/sendToCex.d.ts +729 -0
  416. package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
  417. package/_types/actions/schemas/income/atomicArbitrage.d.ts +412 -10
  418. package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
  419. package/_types/actions/schemas/income/income.d.ts +617 -0
  420. package/_types/actions/schemas/income/income.d.ts.map +1 -1
  421. package/_types/actions/schemas/income/index.d.ts +1 -1
  422. package/_types/actions/schemas/income/index.d.ts.map +1 -1
  423. package/_types/actions/schemas/index.d.ts +3 -3
  424. package/_types/actions/schemas/index.d.ts.map +1 -1
  425. package/_types/actions/schemas/trade/index.d.ts +1 -1
  426. package/_types/actions/schemas/trade/index.d.ts.map +1 -1
  427. package/_types/actions/schemas/trade/sellNft.d.ts +997 -0
  428. package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
  429. package/_types/actions/types/buyCrypto.d.ts +5 -0
  430. package/_types/actions/types/buyCrypto.d.ts.map +1 -0
  431. package/_types/actions/types/income.d.ts +2 -1
  432. package/_types/actions/types/income.d.ts.map +1 -1
  433. package/_types/actions/types/index.d.ts +10 -6
  434. package/_types/actions/types/index.d.ts.map +1 -1
  435. package/_types/actions/types/receiveFromCex.d.ts +2 -1
  436. package/_types/actions/types/receiveFromCex.d.ts.map +1 -1
  437. package/_types/actions/types/sellCrypto.d.ts +5 -0
  438. package/_types/actions/types/sellCrypto.d.ts.map +1 -0
  439. package/_types/actions/types/sellNft.d.ts +2 -1
  440. package/_types/actions/types/sellNft.d.ts.map +1 -1
  441. package/_types/actions/types/sendToCex.d.ts +2 -1
  442. package/_types/actions/types/sendToCex.d.ts.map +1 -1
  443. package/_types/actions/types/stake.d.ts +5 -0
  444. package/_types/actions/types/stake.d.ts.map +1 -0
  445. package/_types/actions/types/unstake.d.ts +5 -0
  446. package/_types/actions/types/unstake.d.ts.map +1 -0
  447. package/_types/index.d.ts +2 -2
  448. package/_types/index.d.ts.map +1 -1
  449. package/actions/index.ts +60 -0
  450. package/actions/parsers/borrow/borrow.ts +46 -0
  451. package/actions/parsers/borrow/borrowWithDebt.ts +46 -0
  452. package/actions/parsers/borrow/index.ts +2 -0
  453. package/actions/parsers/crossReplace/bridgeFrom.ts +46 -0
  454. package/actions/parsers/crossReplace/bridgeTo.ts +46 -0
  455. package/actions/parsers/crossReplace/crossReplace.ts +46 -0
  456. package/actions/parsers/crossReplace/index.ts +3 -0
  457. package/actions/parsers/crossTrade/crossTrade.ts +46 -0
  458. package/actions/parsers/crossTrade/index.ts +1 -0
  459. package/actions/parsers/default.ts +208 -0
  460. package/actions/parsers/deposit/addLiquidity.ts +46 -0
  461. package/actions/parsers/deposit/deposit.ts +46 -0
  462. package/actions/parsers/deposit/depositWithBond.ts +46 -0
  463. package/actions/parsers/deposit/index.ts +4 -0
  464. package/actions/parsers/deposit/stake.ts +46 -0
  465. package/actions/parsers/fee/fee.ts +68 -0
  466. package/actions/parsers/fee/index.ts +2 -0
  467. package/actions/parsers/fee/transactionFee.ts +45 -0
  468. package/actions/parsers/ignore/approve.ts +17 -0
  469. package/actions/parsers/ignore/failTx.ts +17 -0
  470. package/actions/parsers/ignore/index.ts +6 -0
  471. package/actions/parsers/ignore/receiveFromCex.ts +29 -0
  472. package/actions/parsers/ignore/revoke.ts +17 -0
  473. package/actions/parsers/ignore/sendToCex.ts +29 -0
  474. package/actions/parsers/ignore/spam.ts +46 -0
  475. package/actions/parsers/income/atomicArbitrage.ts +159 -0
  476. package/actions/parsers/income/freeMintNft.ts +45 -0
  477. package/actions/parsers/income/income.ts +56 -0
  478. package/actions/parsers/income/index.ts +3 -0
  479. package/actions/parsers/index.ts +60 -0
  480. package/actions/parsers/repayment/index.ts +2 -0
  481. package/actions/parsers/repayment/repayment.ts +46 -0
  482. package/actions/parsers/repayment/repaymentWithDebt.ts +46 -0
  483. package/actions/parsers/replace/index.ts +4 -0
  484. package/actions/parsers/replace/replace.ts +45 -0
  485. package/actions/parsers/replace/swapNft.ts +45 -0
  486. package/actions/parsers/replace/unwrap.ts +45 -0
  487. package/actions/parsers/replace/wrap.ts +45 -0
  488. package/actions/parsers/trade/buyCrypto.ts +79 -0
  489. package/actions/parsers/trade/buyNft.ts +203 -0
  490. package/actions/parsers/trade/index.ts +6 -0
  491. package/actions/parsers/trade/mintNft.ts +164 -0
  492. package/actions/parsers/trade/sellCrypto.ts +79 -0
  493. package/actions/parsers/trade/sellNft.ts +204 -0
  494. package/actions/parsers/trade/trade.ts +271 -0
  495. package/actions/parsers/transfer/index.ts +1 -0
  496. package/actions/parsers/transfer/transfer.ts +32 -0
  497. package/actions/parsers/types.ts +10 -0
  498. package/actions/parsers/valuedown/index.ts +1 -0
  499. package/actions/parsers/valuedown/valuedown.ts +46 -0
  500. package/actions/parsers/valueup/index.ts +1 -0
  501. package/actions/parsers/valueup/valueup.ts +46 -0
  502. package/actions/parsers/withdraw/index.ts +4 -0
  503. package/actions/parsers/withdraw/removeLiquidity.ts +46 -0
  504. package/actions/parsers/withdraw/unstake.ts +46 -0
  505. package/actions/parsers/withdraw/withdraw.ts +46 -0
  506. package/actions/parsers/withdraw/withdrawWithBond.ts +46 -0
  507. package/actions/schemas/action.ts +8 -0
  508. package/actions/schemas/ignore/index.ts +8 -2
  509. package/actions/schemas/ignore/receiveFromCex.ts +14 -0
  510. package/actions/schemas/ignore/sendToCex.ts +14 -0
  511. package/actions/schemas/income/atomicArbitrage.ts +6 -1
  512. package/actions/schemas/income/income.ts +16 -1
  513. package/actions/schemas/income/index.ts +1 -1
  514. package/actions/schemas/index.ts +4 -0
  515. package/actions/schemas/trade/index.ts +4 -1
  516. package/actions/schemas/trade/sellNft.ts +18 -0
  517. package/actions/types/buyCrypto.ts +11 -0
  518. package/actions/types/income.ts +6 -1
  519. package/actions/types/index.ts +16 -6
  520. package/actions/types/receiveFromCex.ts +8 -1
  521. package/actions/types/sellCrypto.ts +13 -0
  522. package/actions/types/sellNft.ts +6 -1
  523. package/actions/types/sendToCex.ts +6 -1
  524. package/actions/types/stake.ts +9 -0
  525. package/actions/types/unstake.ts +9 -0
  526. package/index.ts +18 -0
  527. package/package.json +1 -1
@@ -1,4 +1,1001 @@
1
1
  import { z } from 'zod';
2
+ export declare const normalActionSellNftSchema: 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-nft">;
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<"in">;
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: "in";
383
+ price?: {
384
+ cryptoCurrencyId: string;
385
+ fiatCurrencyId: string;
386
+ price: {
387
+ value: bigint;
388
+ decimals: number;
389
+ };
390
+ timestamp: number;
391
+ } | undefined;
392
+ from?: string | undefined;
393
+ to?: string | undefined;
394
+ }, {
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: "in";
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: "in";
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: "in";
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
+ }>, z.ZodEffects<z.ZodObject<{
491
+ price: z.ZodOptional<z.ZodObject<{
492
+ cryptoCurrencyId: z.ZodString;
493
+ fiatCurrencyId: z.ZodString;
494
+ price: z.ZodObject<{
495
+ value: z.ZodBigInt;
496
+ decimals: z.ZodNumber;
497
+ }, "strip", z.ZodTypeAny, {
498
+ value: bigint;
499
+ decimals: number;
500
+ }, {
501
+ value: bigint;
502
+ decimals: number;
503
+ }>;
504
+ timestamp: z.ZodNumber;
505
+ }, "strip", z.ZodTypeAny, {
506
+ cryptoCurrencyId: string;
507
+ fiatCurrencyId: string;
508
+ price: {
509
+ value: bigint;
510
+ decimals: number;
511
+ };
512
+ timestamp: number;
513
+ }, {
514
+ cryptoCurrencyId: string;
515
+ fiatCurrencyId: string;
516
+ price: {
517
+ value: bigint;
518
+ decimals: number;
519
+ };
520
+ timestamp: number;
521
+ }>>;
522
+ from: z.ZodOptional<z.ZodString>;
523
+ to: z.ZodOptional<z.ZodString>;
524
+ amount: z.ZodObject<{
525
+ value: z.ZodBigInt;
526
+ decimals: z.ZodNumber;
527
+ }, "strip", z.ZodTypeAny, {
528
+ value: bigint;
529
+ decimals: number;
530
+ }, {
531
+ value: bigint;
532
+ decimals: number;
533
+ }>;
534
+ direction: z.ZodLiteral<"out">;
535
+ asset: z.ZodObject<{
536
+ type: z.ZodLiteral<"Nft">;
537
+ id: z.ZodString;
538
+ }, "strip", z.ZodTypeAny, {
539
+ type: "Nft";
540
+ id: string;
541
+ }, {
542
+ type: "Nft";
543
+ id: string;
544
+ }>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ asset: {
547
+ type: "Nft";
548
+ id: string;
549
+ };
550
+ amount: {
551
+ value: bigint;
552
+ decimals: number;
553
+ };
554
+ direction: "out";
555
+ price?: {
556
+ cryptoCurrencyId: string;
557
+ fiatCurrencyId: string;
558
+ price: {
559
+ value: bigint;
560
+ decimals: number;
561
+ };
562
+ timestamp: number;
563
+ } | undefined;
564
+ from?: string | undefined;
565
+ to?: string | undefined;
566
+ }, {
567
+ asset: {
568
+ type: "Nft";
569
+ id: string;
570
+ };
571
+ amount: {
572
+ value: bigint;
573
+ decimals: number;
574
+ };
575
+ direction: "out";
576
+ price?: {
577
+ cryptoCurrencyId: string;
578
+ fiatCurrencyId: string;
579
+ price: {
580
+ value: bigint;
581
+ decimals: number;
582
+ };
583
+ timestamp: number;
584
+ } | undefined;
585
+ from?: string | undefined;
586
+ to?: string | undefined;
587
+ }>, {
588
+ from: string | undefined;
589
+ to: string | undefined;
590
+ price: {
591
+ cryptoCurrencyId: string;
592
+ fiatCurrencyId: string;
593
+ price: {
594
+ value: bigint;
595
+ decimals: number;
596
+ };
597
+ timestamp: number;
598
+ } | undefined;
599
+ asset: {
600
+ type: "Nft";
601
+ id: string;
602
+ };
603
+ amount: {
604
+ value: bigint;
605
+ decimals: number;
606
+ };
607
+ direction: "out";
608
+ }, {
609
+ asset: {
610
+ type: "Nft";
611
+ id: string;
612
+ };
613
+ amount: {
614
+ value: bigint;
615
+ decimals: number;
616
+ };
617
+ direction: "out";
618
+ price?: {
619
+ cryptoCurrencyId: string;
620
+ fiatCurrencyId: string;
621
+ price: {
622
+ value: bigint;
623
+ decimals: number;
624
+ };
625
+ timestamp: number;
626
+ } | undefined;
627
+ from?: string | undefined;
628
+ to?: string | undefined;
629
+ }>]>, "many">;
630
+ }, "strip", z.ZodTypeAny, {
631
+ type: "NormalAction";
632
+ timestamp: number;
633
+ action: "sell-nft";
634
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
635
+ transfers: ({
636
+ from: string | undefined;
637
+ to: string | undefined;
638
+ price: {
639
+ cryptoCurrencyId: string;
640
+ fiatCurrencyId: string;
641
+ price: {
642
+ value: bigint;
643
+ decimals: number;
644
+ };
645
+ timestamp: number;
646
+ } | undefined;
647
+ asset: {
648
+ icon: string | undefined;
649
+ symbol: string;
650
+ type: "CryptoCurrency";
651
+ id: string;
652
+ name: string;
653
+ market: {
654
+ coingeckoId: string | undefined;
655
+ marketCapUsd: {
656
+ value: bigint;
657
+ decimals: number;
658
+ } | undefined;
659
+ };
660
+ updatedAt: number;
661
+ };
662
+ amount: {
663
+ value: bigint;
664
+ decimals: number;
665
+ };
666
+ direction: "in";
667
+ } | {
668
+ from: string | undefined;
669
+ to: string | undefined;
670
+ price: {
671
+ cryptoCurrencyId: string;
672
+ fiatCurrencyId: string;
673
+ price: {
674
+ value: bigint;
675
+ decimals: number;
676
+ };
677
+ timestamp: number;
678
+ } | undefined;
679
+ asset: {
680
+ icon: string | undefined;
681
+ symbol: string;
682
+ type: "FiatCurrency";
683
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
684
+ name: string;
685
+ };
686
+ amount: {
687
+ value: bigint;
688
+ decimals: number;
689
+ };
690
+ direction: "in";
691
+ } | {
692
+ from: string | undefined;
693
+ to: string | undefined;
694
+ price: {
695
+ cryptoCurrencyId: string;
696
+ fiatCurrencyId: string;
697
+ price: {
698
+ value: bigint;
699
+ decimals: number;
700
+ };
701
+ timestamp: number;
702
+ } | undefined;
703
+ asset: {
704
+ type: "Nft";
705
+ id: string;
706
+ };
707
+ amount: {
708
+ value: bigint;
709
+ decimals: number;
710
+ };
711
+ direction: "out";
712
+ })[];
713
+ comment?: string | undefined;
714
+ app?: {
715
+ description: string | undefined;
716
+ website: string | undefined;
717
+ icon: string | undefined;
718
+ id: string;
719
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
720
+ name: string;
721
+ } | undefined;
722
+ }, {
723
+ type: "NormalAction";
724
+ timestamp: number;
725
+ action: "sell-nft";
726
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
727
+ transfers: ({
728
+ asset: {
729
+ symbol: string;
730
+ type: "CryptoCurrency";
731
+ id: string;
732
+ name: string;
733
+ market: {
734
+ coingeckoId?: string | undefined;
735
+ marketCapUsd?: {
736
+ value: bigint;
737
+ decimals: number;
738
+ } | undefined;
739
+ };
740
+ updatedAt: number;
741
+ icon?: string | undefined;
742
+ };
743
+ amount: {
744
+ value: bigint;
745
+ decimals: number;
746
+ };
747
+ direction: "in";
748
+ price?: {
749
+ cryptoCurrencyId: string;
750
+ fiatCurrencyId: string;
751
+ price: {
752
+ value: bigint;
753
+ decimals: number;
754
+ };
755
+ timestamp: number;
756
+ } | undefined;
757
+ from?: string | undefined;
758
+ to?: string | undefined;
759
+ } | {
760
+ asset: {
761
+ symbol: string;
762
+ type: "FiatCurrency";
763
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
764
+ name: string;
765
+ icon?: string | undefined;
766
+ };
767
+ amount: {
768
+ value: bigint;
769
+ decimals: number;
770
+ };
771
+ direction: "in";
772
+ price?: {
773
+ cryptoCurrencyId: string;
774
+ fiatCurrencyId: string;
775
+ price: {
776
+ value: bigint;
777
+ decimals: number;
778
+ };
779
+ timestamp: number;
780
+ } | undefined;
781
+ from?: string | undefined;
782
+ to?: string | undefined;
783
+ } | {
784
+ asset: {
785
+ type: "Nft";
786
+ id: string;
787
+ };
788
+ amount: {
789
+ value: bigint;
790
+ decimals: number;
791
+ };
792
+ direction: "out";
793
+ price?: {
794
+ cryptoCurrencyId: string;
795
+ fiatCurrencyId: string;
796
+ price: {
797
+ value: bigint;
798
+ decimals: number;
799
+ };
800
+ timestamp: number;
801
+ } | undefined;
802
+ from?: string | undefined;
803
+ to?: string | undefined;
804
+ })[];
805
+ comment?: string | undefined;
806
+ app?: {
807
+ id: string;
808
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
809
+ name: string;
810
+ description?: string | undefined;
811
+ website?: string | undefined;
812
+ icon?: string | undefined;
813
+ } | undefined;
814
+ }>, {
815
+ comment: string | undefined;
816
+ app: {
817
+ description: string | undefined;
818
+ website: string | undefined;
819
+ icon: string | undefined;
820
+ id: string;
821
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
822
+ name: string;
823
+ } | undefined;
824
+ type: "NormalAction";
825
+ timestamp: number;
826
+ action: "sell-nft";
827
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
828
+ transfers: ({
829
+ from: string | undefined;
830
+ to: string | undefined;
831
+ price: {
832
+ cryptoCurrencyId: string;
833
+ fiatCurrencyId: string;
834
+ price: {
835
+ value: bigint;
836
+ decimals: number;
837
+ };
838
+ timestamp: number;
839
+ } | undefined;
840
+ asset: {
841
+ icon: string | undefined;
842
+ symbol: string;
843
+ type: "CryptoCurrency";
844
+ id: string;
845
+ name: string;
846
+ market: {
847
+ coingeckoId: string | undefined;
848
+ marketCapUsd: {
849
+ value: bigint;
850
+ decimals: number;
851
+ } | undefined;
852
+ };
853
+ updatedAt: number;
854
+ };
855
+ amount: {
856
+ value: bigint;
857
+ decimals: number;
858
+ };
859
+ direction: "in";
860
+ } | {
861
+ from: string | undefined;
862
+ to: string | undefined;
863
+ price: {
864
+ cryptoCurrencyId: string;
865
+ fiatCurrencyId: string;
866
+ price: {
867
+ value: bigint;
868
+ decimals: number;
869
+ };
870
+ timestamp: number;
871
+ } | undefined;
872
+ asset: {
873
+ icon: string | undefined;
874
+ symbol: string;
875
+ type: "FiatCurrency";
876
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
877
+ name: string;
878
+ };
879
+ amount: {
880
+ value: bigint;
881
+ decimals: number;
882
+ };
883
+ direction: "in";
884
+ } | {
885
+ from: string | undefined;
886
+ to: string | undefined;
887
+ price: {
888
+ cryptoCurrencyId: string;
889
+ fiatCurrencyId: string;
890
+ price: {
891
+ value: bigint;
892
+ decimals: number;
893
+ };
894
+ timestamp: number;
895
+ } | undefined;
896
+ asset: {
897
+ type: "Nft";
898
+ id: string;
899
+ };
900
+ amount: {
901
+ value: bigint;
902
+ decimals: number;
903
+ };
904
+ direction: "out";
905
+ })[];
906
+ }, {
907
+ type: "NormalAction";
908
+ timestamp: number;
909
+ action: "sell-nft";
910
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
911
+ transfers: ({
912
+ asset: {
913
+ symbol: string;
914
+ type: "CryptoCurrency";
915
+ id: string;
916
+ name: string;
917
+ market: {
918
+ coingeckoId?: string | undefined;
919
+ marketCapUsd?: {
920
+ value: bigint;
921
+ decimals: number;
922
+ } | undefined;
923
+ };
924
+ updatedAt: number;
925
+ icon?: string | undefined;
926
+ };
927
+ amount: {
928
+ value: bigint;
929
+ decimals: number;
930
+ };
931
+ direction: "in";
932
+ price?: {
933
+ cryptoCurrencyId: string;
934
+ fiatCurrencyId: string;
935
+ price: {
936
+ value: bigint;
937
+ decimals: number;
938
+ };
939
+ timestamp: number;
940
+ } | undefined;
941
+ from?: string | undefined;
942
+ to?: string | undefined;
943
+ } | {
944
+ asset: {
945
+ symbol: string;
946
+ type: "FiatCurrency";
947
+ id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
948
+ name: string;
949
+ icon?: string | undefined;
950
+ };
951
+ amount: {
952
+ value: bigint;
953
+ decimals: number;
954
+ };
955
+ direction: "in";
956
+ price?: {
957
+ cryptoCurrencyId: string;
958
+ fiatCurrencyId: string;
959
+ price: {
960
+ value: bigint;
961
+ decimals: number;
962
+ };
963
+ timestamp: number;
964
+ } | undefined;
965
+ from?: string | undefined;
966
+ to?: string | undefined;
967
+ } | {
968
+ asset: {
969
+ type: "Nft";
970
+ id: string;
971
+ };
972
+ amount: {
973
+ value: bigint;
974
+ decimals: number;
975
+ };
976
+ direction: "out";
977
+ price?: {
978
+ cryptoCurrencyId: string;
979
+ fiatCurrencyId: string;
980
+ price: {
981
+ value: bigint;
982
+ decimals: number;
983
+ };
984
+ timestamp: number;
985
+ } | undefined;
986
+ from?: string | undefined;
987
+ to?: string | undefined;
988
+ })[];
989
+ comment?: string | undefined;
990
+ app?: {
991
+ id: string;
992
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
993
+ name: string;
994
+ description?: string | undefined;
995
+ website?: string | undefined;
996
+ icon?: string | undefined;
997
+ } | undefined;
998
+ }>;
2
999
  export declare const accountActionSellNftSchema: z.ZodEffects<z.ZodObject<{
3
1000
  type: z.ZodLiteral<"NormalAccountAction">;
4
1001
  timestamp: z.ZodNumber;