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