@0xtorch/core 0.0.2 → 0.0.3

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