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