@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,733 @@
1
1
  import { z } from 'zod';
2
+ export declare const normalActionSendToCexSchema: 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<"send-to-cex">;
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<"out">;
89
+ asset: z.ZodEffects<z.ZodObject<{
90
+ type: z.ZodLiteral<"CryptoCurrency">;
91
+ id: z.ZodString;
92
+ name: z.ZodString;
93
+ symbol: z.ZodString;
94
+ icon: z.ZodOptional<z.ZodString>;
95
+ market: z.ZodEffects<z.ZodObject<{
96
+ coingeckoId: z.ZodOptional<z.ZodString>;
97
+ marketCapUsd: z.ZodOptional<z.ZodObject<{
98
+ value: z.ZodBigInt;
99
+ decimals: z.ZodNumber;
100
+ }, "strip", z.ZodTypeAny, {
101
+ value: bigint;
102
+ decimals: number;
103
+ }, {
104
+ value: bigint;
105
+ decimals: number;
106
+ }>>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ coingeckoId?: string | undefined;
109
+ marketCapUsd?: {
110
+ value: bigint;
111
+ decimals: number;
112
+ } | undefined;
113
+ }, {
114
+ coingeckoId?: string | undefined;
115
+ marketCapUsd?: {
116
+ value: bigint;
117
+ decimals: number;
118
+ } | undefined;
119
+ }>, {
120
+ coingeckoId: string | undefined;
121
+ marketCapUsd: {
122
+ value: bigint;
123
+ decimals: number;
124
+ } | undefined;
125
+ }, {
126
+ coingeckoId?: string | undefined;
127
+ marketCapUsd?: {
128
+ value: bigint;
129
+ decimals: number;
130
+ } | undefined;
131
+ }>;
132
+ updatedAt: z.ZodNumber;
133
+ }, "strip", z.ZodTypeAny, {
134
+ symbol: string;
135
+ type: "CryptoCurrency";
136
+ id: string;
137
+ name: string;
138
+ market: {
139
+ coingeckoId: string | undefined;
140
+ marketCapUsd: {
141
+ value: bigint;
142
+ decimals: number;
143
+ } | undefined;
144
+ };
145
+ updatedAt: number;
146
+ icon?: string | undefined;
147
+ }, {
148
+ symbol: string;
149
+ type: "CryptoCurrency";
150
+ id: string;
151
+ name: string;
152
+ market: {
153
+ coingeckoId?: string | undefined;
154
+ marketCapUsd?: {
155
+ value: bigint;
156
+ decimals: number;
157
+ } | undefined;
158
+ };
159
+ updatedAt: number;
160
+ icon?: string | undefined;
161
+ }>, {
162
+ icon: string | undefined;
163
+ symbol: string;
164
+ type: "CryptoCurrency";
165
+ id: string;
166
+ name: string;
167
+ market: {
168
+ coingeckoId: string | undefined;
169
+ marketCapUsd: {
170
+ value: bigint;
171
+ decimals: number;
172
+ } | undefined;
173
+ };
174
+ updatedAt: number;
175
+ }, {
176
+ symbol: string;
177
+ type: "CryptoCurrency";
178
+ id: string;
179
+ name: string;
180
+ market: {
181
+ coingeckoId?: string | undefined;
182
+ marketCapUsd?: {
183
+ value: bigint;
184
+ decimals: number;
185
+ } | undefined;
186
+ };
187
+ updatedAt: number;
188
+ icon?: string | undefined;
189
+ }>;
190
+ }, "strip", z.ZodTypeAny, {
191
+ asset: {
192
+ icon: string | undefined;
193
+ symbol: string;
194
+ type: "CryptoCurrency";
195
+ id: string;
196
+ name: string;
197
+ market: {
198
+ coingeckoId: string | undefined;
199
+ marketCapUsd: {
200
+ value: bigint;
201
+ decimals: number;
202
+ } | undefined;
203
+ };
204
+ updatedAt: number;
205
+ };
206
+ amount: {
207
+ value: bigint;
208
+ decimals: number;
209
+ };
210
+ direction: "out";
211
+ price?: {
212
+ cryptoCurrencyId: string;
213
+ fiatCurrencyId: string;
214
+ price: {
215
+ value: bigint;
216
+ decimals: number;
217
+ };
218
+ timestamp: number;
219
+ } | undefined;
220
+ from?: string | undefined;
221
+ to?: string | undefined;
222
+ }, {
223
+ asset: {
224
+ symbol: string;
225
+ type: "CryptoCurrency";
226
+ id: string;
227
+ name: string;
228
+ market: {
229
+ coingeckoId?: string | undefined;
230
+ marketCapUsd?: {
231
+ value: bigint;
232
+ decimals: number;
233
+ } | undefined;
234
+ };
235
+ updatedAt: number;
236
+ icon?: string | undefined;
237
+ };
238
+ amount: {
239
+ value: bigint;
240
+ decimals: number;
241
+ };
242
+ direction: "out";
243
+ price?: {
244
+ cryptoCurrencyId: string;
245
+ fiatCurrencyId: string;
246
+ price: {
247
+ value: bigint;
248
+ decimals: number;
249
+ };
250
+ timestamp: number;
251
+ } | undefined;
252
+ from?: string | undefined;
253
+ to?: string | undefined;
254
+ }>, {
255
+ from: string | undefined;
256
+ to: string | undefined;
257
+ price: {
258
+ cryptoCurrencyId: string;
259
+ fiatCurrencyId: string;
260
+ price: {
261
+ value: bigint;
262
+ decimals: number;
263
+ };
264
+ timestamp: number;
265
+ } | undefined;
266
+ asset: {
267
+ icon: string | undefined;
268
+ symbol: string;
269
+ type: "CryptoCurrency";
270
+ id: string;
271
+ name: string;
272
+ market: {
273
+ coingeckoId: string | undefined;
274
+ marketCapUsd: {
275
+ value: bigint;
276
+ decimals: number;
277
+ } | undefined;
278
+ };
279
+ updatedAt: number;
280
+ };
281
+ amount: {
282
+ value: bigint;
283
+ decimals: number;
284
+ };
285
+ direction: "out";
286
+ }, {
287
+ asset: {
288
+ symbol: string;
289
+ type: "CryptoCurrency";
290
+ id: string;
291
+ name: string;
292
+ market: {
293
+ coingeckoId?: string | undefined;
294
+ marketCapUsd?: {
295
+ value: bigint;
296
+ decimals: number;
297
+ } | undefined;
298
+ };
299
+ updatedAt: number;
300
+ icon?: string | undefined;
301
+ };
302
+ amount: {
303
+ value: bigint;
304
+ decimals: number;
305
+ };
306
+ direction: "out";
307
+ price?: {
308
+ cryptoCurrencyId: string;
309
+ fiatCurrencyId: string;
310
+ price: {
311
+ value: bigint;
312
+ decimals: number;
313
+ };
314
+ timestamp: number;
315
+ } | undefined;
316
+ from?: string | undefined;
317
+ to?: string | undefined;
318
+ }>, z.ZodEffects<z.ZodObject<{
319
+ price: z.ZodOptional<z.ZodObject<{
320
+ cryptoCurrencyId: z.ZodString;
321
+ fiatCurrencyId: z.ZodString;
322
+ price: z.ZodObject<{
323
+ value: z.ZodBigInt;
324
+ decimals: z.ZodNumber;
325
+ }, "strip", z.ZodTypeAny, {
326
+ value: bigint;
327
+ decimals: number;
328
+ }, {
329
+ value: bigint;
330
+ decimals: number;
331
+ }>;
332
+ timestamp: z.ZodNumber;
333
+ }, "strip", z.ZodTypeAny, {
334
+ cryptoCurrencyId: string;
335
+ fiatCurrencyId: string;
336
+ price: {
337
+ value: bigint;
338
+ decimals: number;
339
+ };
340
+ timestamp: number;
341
+ }, {
342
+ cryptoCurrencyId: string;
343
+ fiatCurrencyId: string;
344
+ price: {
345
+ value: bigint;
346
+ decimals: number;
347
+ };
348
+ timestamp: number;
349
+ }>>;
350
+ from: z.ZodOptional<z.ZodString>;
351
+ to: z.ZodOptional<z.ZodString>;
352
+ amount: z.ZodObject<{
353
+ value: z.ZodBigInt;
354
+ decimals: z.ZodNumber;
355
+ }, "strip", z.ZodTypeAny, {
356
+ value: bigint;
357
+ decimals: number;
358
+ }, {
359
+ value: bigint;
360
+ decimals: number;
361
+ }>;
362
+ direction: z.ZodLiteral<"out">;
363
+ asset: z.ZodObject<{
364
+ type: z.ZodLiteral<"Nft">;
365
+ id: z.ZodString;
366
+ }, "strip", z.ZodTypeAny, {
367
+ type: "Nft";
368
+ id: string;
369
+ }, {
370
+ type: "Nft";
371
+ id: string;
372
+ }>;
373
+ }, "strip", z.ZodTypeAny, {
374
+ asset: {
375
+ type: "Nft";
376
+ id: string;
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
+ type: "Nft";
397
+ id: string;
398
+ };
399
+ amount: {
400
+ value: bigint;
401
+ decimals: number;
402
+ };
403
+ direction: "out";
404
+ price?: {
405
+ cryptoCurrencyId: string;
406
+ fiatCurrencyId: string;
407
+ price: {
408
+ value: bigint;
409
+ decimals: number;
410
+ };
411
+ timestamp: number;
412
+ } | undefined;
413
+ from?: string | undefined;
414
+ to?: string | undefined;
415
+ }>, {
416
+ from: string | undefined;
417
+ to: string | undefined;
418
+ price: {
419
+ cryptoCurrencyId: string;
420
+ fiatCurrencyId: string;
421
+ price: {
422
+ value: bigint;
423
+ decimals: number;
424
+ };
425
+ timestamp: number;
426
+ } | undefined;
427
+ asset: {
428
+ type: "Nft";
429
+ id: string;
430
+ };
431
+ amount: {
432
+ value: bigint;
433
+ decimals: number;
434
+ };
435
+ direction: "out";
436
+ }, {
437
+ asset: {
438
+ type: "Nft";
439
+ id: string;
440
+ };
441
+ amount: {
442
+ value: bigint;
443
+ decimals: number;
444
+ };
445
+ direction: "out";
446
+ price?: {
447
+ cryptoCurrencyId: string;
448
+ fiatCurrencyId: string;
449
+ price: {
450
+ value: bigint;
451
+ decimals: number;
452
+ };
453
+ timestamp: number;
454
+ } | undefined;
455
+ from?: string | undefined;
456
+ to?: string | undefined;
457
+ }>]>, "many">;
458
+ }, "strip", z.ZodTypeAny, {
459
+ type: "NormalAction";
460
+ timestamp: number;
461
+ action: "send-to-cex";
462
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
463
+ transfers: ({
464
+ from: string | undefined;
465
+ to: string | undefined;
466
+ price: {
467
+ cryptoCurrencyId: string;
468
+ fiatCurrencyId: string;
469
+ price: {
470
+ value: bigint;
471
+ decimals: number;
472
+ };
473
+ timestamp: number;
474
+ } | undefined;
475
+ asset: {
476
+ icon: string | undefined;
477
+ symbol: string;
478
+ type: "CryptoCurrency";
479
+ id: string;
480
+ name: string;
481
+ market: {
482
+ coingeckoId: string | undefined;
483
+ marketCapUsd: {
484
+ value: bigint;
485
+ decimals: number;
486
+ } | undefined;
487
+ };
488
+ updatedAt: number;
489
+ };
490
+ amount: {
491
+ value: bigint;
492
+ decimals: number;
493
+ };
494
+ direction: "out";
495
+ } | {
496
+ from: string | undefined;
497
+ to: string | undefined;
498
+ price: {
499
+ cryptoCurrencyId: string;
500
+ fiatCurrencyId: string;
501
+ price: {
502
+ value: bigint;
503
+ decimals: number;
504
+ };
505
+ timestamp: number;
506
+ } | undefined;
507
+ asset: {
508
+ type: "Nft";
509
+ id: string;
510
+ };
511
+ amount: {
512
+ value: bigint;
513
+ decimals: number;
514
+ };
515
+ direction: "out";
516
+ })[];
517
+ comment?: string | undefined;
518
+ app?: {
519
+ description: string | undefined;
520
+ website: string | undefined;
521
+ icon: string | undefined;
522
+ id: string;
523
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
524
+ name: string;
525
+ } | undefined;
526
+ }, {
527
+ type: "NormalAction";
528
+ timestamp: number;
529
+ action: "send-to-cex";
530
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
531
+ transfers: ({
532
+ asset: {
533
+ symbol: string;
534
+ type: "CryptoCurrency";
535
+ id: string;
536
+ name: string;
537
+ market: {
538
+ coingeckoId?: string | undefined;
539
+ marketCapUsd?: {
540
+ value: bigint;
541
+ decimals: number;
542
+ } | undefined;
543
+ };
544
+ updatedAt: number;
545
+ icon?: string | undefined;
546
+ };
547
+ amount: {
548
+ value: bigint;
549
+ decimals: number;
550
+ };
551
+ direction: "out";
552
+ price?: {
553
+ cryptoCurrencyId: string;
554
+ fiatCurrencyId: string;
555
+ price: {
556
+ value: bigint;
557
+ decimals: number;
558
+ };
559
+ timestamp: number;
560
+ } | undefined;
561
+ from?: string | undefined;
562
+ to?: string | undefined;
563
+ } | {
564
+ asset: {
565
+ type: "Nft";
566
+ id: string;
567
+ };
568
+ amount: {
569
+ value: bigint;
570
+ decimals: number;
571
+ };
572
+ direction: "out";
573
+ price?: {
574
+ cryptoCurrencyId: string;
575
+ fiatCurrencyId: string;
576
+ price: {
577
+ value: bigint;
578
+ decimals: number;
579
+ };
580
+ timestamp: number;
581
+ } | undefined;
582
+ from?: string | undefined;
583
+ to?: string | undefined;
584
+ })[];
585
+ comment?: string | undefined;
586
+ app?: {
587
+ id: string;
588
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
589
+ name: string;
590
+ description?: string | undefined;
591
+ website?: string | undefined;
592
+ icon?: string | undefined;
593
+ } | undefined;
594
+ }>, {
595
+ comment: string | undefined;
596
+ app: {
597
+ description: string | undefined;
598
+ website: string | undefined;
599
+ icon: string | undefined;
600
+ id: string;
601
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
602
+ name: string;
603
+ } | undefined;
604
+ type: "NormalAction";
605
+ timestamp: number;
606
+ action: "send-to-cex";
607
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
608
+ transfers: ({
609
+ from: string | undefined;
610
+ to: string | undefined;
611
+ price: {
612
+ cryptoCurrencyId: string;
613
+ fiatCurrencyId: string;
614
+ price: {
615
+ value: bigint;
616
+ decimals: number;
617
+ };
618
+ timestamp: number;
619
+ } | undefined;
620
+ asset: {
621
+ icon: string | undefined;
622
+ symbol: string;
623
+ type: "CryptoCurrency";
624
+ id: string;
625
+ name: string;
626
+ market: {
627
+ coingeckoId: string | undefined;
628
+ marketCapUsd: {
629
+ value: bigint;
630
+ decimals: number;
631
+ } | undefined;
632
+ };
633
+ updatedAt: number;
634
+ };
635
+ amount: {
636
+ value: bigint;
637
+ decimals: number;
638
+ };
639
+ direction: "out";
640
+ } | {
641
+ from: string | undefined;
642
+ to: string | undefined;
643
+ price: {
644
+ cryptoCurrencyId: string;
645
+ fiatCurrencyId: string;
646
+ price: {
647
+ value: bigint;
648
+ decimals: number;
649
+ };
650
+ timestamp: number;
651
+ } | undefined;
652
+ asset: {
653
+ type: "Nft";
654
+ id: string;
655
+ };
656
+ amount: {
657
+ value: bigint;
658
+ decimals: number;
659
+ };
660
+ direction: "out";
661
+ })[];
662
+ }, {
663
+ type: "NormalAction";
664
+ timestamp: number;
665
+ action: "send-to-cex";
666
+ evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
667
+ transfers: ({
668
+ asset: {
669
+ symbol: string;
670
+ type: "CryptoCurrency";
671
+ id: string;
672
+ name: string;
673
+ market: {
674
+ coingeckoId?: string | undefined;
675
+ marketCapUsd?: {
676
+ value: bigint;
677
+ decimals: number;
678
+ } | undefined;
679
+ };
680
+ updatedAt: number;
681
+ icon?: string | undefined;
682
+ };
683
+ amount: {
684
+ value: bigint;
685
+ decimals: number;
686
+ };
687
+ direction: "out";
688
+ price?: {
689
+ cryptoCurrencyId: string;
690
+ fiatCurrencyId: string;
691
+ price: {
692
+ value: bigint;
693
+ decimals: number;
694
+ };
695
+ timestamp: number;
696
+ } | undefined;
697
+ from?: string | undefined;
698
+ to?: string | undefined;
699
+ } | {
700
+ asset: {
701
+ type: "Nft";
702
+ id: string;
703
+ };
704
+ amount: {
705
+ value: bigint;
706
+ decimals: number;
707
+ };
708
+ direction: "out";
709
+ price?: {
710
+ cryptoCurrencyId: string;
711
+ fiatCurrencyId: string;
712
+ price: {
713
+ value: bigint;
714
+ decimals: number;
715
+ };
716
+ timestamp: number;
717
+ } | undefined;
718
+ from?: string | undefined;
719
+ to?: string | undefined;
720
+ })[];
721
+ comment?: string | undefined;
722
+ app?: {
723
+ id: string;
724
+ categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
725
+ name: string;
726
+ description?: string | undefined;
727
+ website?: string | undefined;
728
+ icon?: string | undefined;
729
+ } | undefined;
730
+ }>;
2
731
  export declare const accountActionSendToCexSchema: z.ZodEffects<z.ZodObject<{
3
732
  type: z.ZodLiteral<"NormalAccountAction">;
4
733
  timestamp: z.ZodNumber;