@plutonlabs/sdk 0.0.1-beta

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 (331) hide show
  1. package/README.md +1 -0
  2. package/Readme.md +0 -0
  3. package/dist/common/consts/globalConst.d.ts +12 -0
  4. package/dist/common/consts/globalConst.d.ts.map +1 -0
  5. package/dist/common/consts/globalConst.js +15 -0
  6. package/dist/common/consts/globalConst.js.map +1 -0
  7. package/dist/common/enums/calc_mode.enum.d.ts +8 -0
  8. package/dist/common/enums/calc_mode.enum.d.ts.map +1 -0
  9. package/dist/common/enums/calc_mode.enum.js +32 -0
  10. package/dist/common/enums/calc_mode.enum.js.map +1 -0
  11. package/dist/common/enums/index.d.ts +3 -0
  12. package/dist/common/enums/index.d.ts.map +1 -0
  13. package/dist/common/enums/index.js +19 -0
  14. package/dist/common/enums/index.js.map +1 -0
  15. package/dist/common/enums/intent_type.enum.d.ts +6 -0
  16. package/dist/common/enums/intent_type.enum.d.ts.map +1 -0
  17. package/dist/common/enums/intent_type.enum.js +10 -0
  18. package/dist/common/enums/intent_type.enum.js.map +1 -0
  19. package/dist/common/index.d.ts +3 -0
  20. package/dist/common/index.d.ts.map +1 -0
  21. package/dist/common/index.js +19 -0
  22. package/dist/common/index.js.map +1 -0
  23. package/dist/common/interfaces/IChain.d.ts +20 -0
  24. package/dist/common/interfaces/IChain.d.ts.map +1 -0
  25. package/dist/common/interfaces/IChain.js +3 -0
  26. package/dist/common/interfaces/IChain.js.map +1 -0
  27. package/dist/common/interfaces/ILog.d.ts +8 -0
  28. package/dist/common/interfaces/ILog.d.ts.map +1 -0
  29. package/dist/common/interfaces/ILog.js +3 -0
  30. package/dist/common/interfaces/ILog.js.map +1 -0
  31. package/dist/common/utils/bignumber.column.transformer.d.ts +6 -0
  32. package/dist/common/utils/bignumber.column.transformer.d.ts.map +1 -0
  33. package/dist/common/utils/bignumber.column.transformer.js +17 -0
  34. package/dist/common/utils/bignumber.column.transformer.js.map +1 -0
  35. package/dist/common/utils/index.d.ts +3 -0
  36. package/dist/common/utils/index.d.ts.map +1 -0
  37. package/dist/common/utils/index.js +19 -0
  38. package/dist/common/utils/index.js.map +1 -0
  39. package/dist/common/utils/list.d.ts +3 -0
  40. package/dist/common/utils/list.d.ts.map +1 -0
  41. package/dist/common/utils/list.js +25 -0
  42. package/dist/common/utils/list.js.map +1 -0
  43. package/dist/index.d.ts +2 -0
  44. package/dist/index.d.ts.map +1 -0
  45. package/dist/index.js +18 -0
  46. package/dist/index.js.map +1 -0
  47. package/dist/modules/chainsync/domain/dto/chain_contract.dto.d.ts +35 -0
  48. package/dist/modules/chainsync/domain/dto/chain_contract.dto.d.ts.map +1 -0
  49. package/dist/modules/chainsync/domain/dto/chain_contract.dto.js +44 -0
  50. package/dist/modules/chainsync/domain/dto/chain_contract.dto.js.map +1 -0
  51. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts +131 -0
  52. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts.map +1 -0
  53. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js +133 -0
  54. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js.map +1 -0
  55. package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.d.ts +43 -0
  56. package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.d.ts.map +1 -0
  57. package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.js +51 -0
  58. package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.js.map +1 -0
  59. package/dist/modules/chainsync/domain/dto/index.d.ts +5 -0
  60. package/dist/modules/chainsync/domain/dto/index.d.ts.map +1 -0
  61. package/dist/modules/chainsync/domain/dto/index.js +21 -0
  62. package/dist/modules/chainsync/domain/dto/index.js.map +1 -0
  63. package/dist/modules/chainsync/domain/dto/pluton_request.dto.d.ts +10 -0
  64. package/dist/modules/chainsync/domain/dto/pluton_request.dto.d.ts.map +1 -0
  65. package/dist/modules/chainsync/domain/dto/pluton_request.dto.js +54 -0
  66. package/dist/modules/chainsync/domain/dto/pluton_request.dto.js.map +1 -0
  67. package/dist/modules/chainsync/domain/index.d.ts +2 -0
  68. package/dist/modules/chainsync/domain/index.d.ts.map +1 -0
  69. package/dist/modules/chainsync/domain/index.js +18 -0
  70. package/dist/modules/chainsync/domain/index.js.map +1 -0
  71. package/dist/modules/chainsync/index.d.ts +2 -0
  72. package/dist/modules/chainsync/index.d.ts.map +1 -0
  73. package/dist/modules/chainsync/index.js +18 -0
  74. package/dist/modules/chainsync/index.js.map +1 -0
  75. package/dist/modules/index.d.ts +6 -0
  76. package/dist/modules/index.d.ts.map +1 -0
  77. package/dist/modules/index.js +22 -0
  78. package/dist/modules/index.js.map +1 -0
  79. package/dist/modules/network/domain/dto/index.d.ts +5 -0
  80. package/dist/modules/network/domain/dto/index.d.ts.map +1 -0
  81. package/dist/modules/network/domain/dto/index.js +21 -0
  82. package/dist/modules/network/domain/dto/index.js.map +1 -0
  83. package/dist/modules/network/domain/dto/network.dto.d.ts +50 -0
  84. package/dist/modules/network/domain/dto/network.dto.d.ts.map +1 -0
  85. package/dist/modules/network/domain/dto/network.dto.js +66 -0
  86. package/dist/modules/network/domain/dto/network.dto.js.map +1 -0
  87. package/dist/modules/network/domain/dto/network.update.dto.d.ts +66 -0
  88. package/dist/modules/network/domain/dto/network.update.dto.d.ts.map +1 -0
  89. package/dist/modules/network/domain/dto/network.update.dto.js +87 -0
  90. package/dist/modules/network/domain/dto/network.update.dto.js.map +1 -0
  91. package/dist/modules/network/domain/dto/network_provider.dto.d.ts +42 -0
  92. package/dist/modules/network/domain/dto/network_provider.dto.d.ts.map +1 -0
  93. package/dist/modules/network/domain/dto/network_provider.dto.js +53 -0
  94. package/dist/modules/network/domain/dto/network_provider.dto.js.map +1 -0
  95. package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts +45 -0
  96. package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts.map +1 -0
  97. package/dist/modules/network/domain/dto/network_provider.update.dto.js +58 -0
  98. package/dist/modules/network/domain/dto/network_provider.update.dto.js.map +1 -0
  99. package/dist/modules/network/domain/enums/chain_type.enum.d.ts +8 -0
  100. package/dist/modules/network/domain/enums/chain_type.enum.d.ts.map +1 -0
  101. package/dist/modules/network/domain/enums/chain_type.enum.js +25 -0
  102. package/dist/modules/network/domain/enums/chain_type.enum.js.map +1 -0
  103. package/dist/modules/network/domain/enums/coin_type.enum.d.ts +8 -0
  104. package/dist/modules/network/domain/enums/coin_type.enum.d.ts.map +1 -0
  105. package/dist/modules/network/domain/enums/coin_type.enum.js +12 -0
  106. package/dist/modules/network/domain/enums/coin_type.enum.js.map +1 -0
  107. package/dist/modules/network/domain/enums/index.d.ts +4 -0
  108. package/dist/modules/network/domain/enums/index.d.ts.map +1 -0
  109. package/dist/modules/network/domain/enums/index.js +20 -0
  110. package/dist/modules/network/domain/enums/index.js.map +1 -0
  111. package/dist/modules/network/domain/enums/provider_protocol_type.enum.d.ts +7 -0
  112. package/dist/modules/network/domain/enums/provider_protocol_type.enum.d.ts.map +1 -0
  113. package/dist/modules/network/domain/enums/provider_protocol_type.enum.js +11 -0
  114. package/dist/modules/network/domain/enums/provider_protocol_type.enum.js.map +1 -0
  115. package/dist/modules/network/domain/index.d.ts +3 -0
  116. package/dist/modules/network/domain/index.d.ts.map +1 -0
  117. package/dist/modules/network/domain/index.js +19 -0
  118. package/dist/modules/network/domain/index.js.map +1 -0
  119. package/dist/modules/network/index.d.ts +2 -0
  120. package/dist/modules/network/index.d.ts.map +1 -0
  121. package/dist/modules/network/index.js +18 -0
  122. package/dist/modules/network/index.js.map +1 -0
  123. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.d.ts +21 -0
  124. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.d.ts.map +1 -0
  125. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.js +35 -0
  126. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.js.map +1 -0
  127. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.d.ts +24 -0
  128. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.d.ts.map +1 -0
  129. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js +40 -0
  130. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js.map +1 -0
  131. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.d.ts +28 -0
  132. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.d.ts.map +1 -0
  133. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js +40 -0
  134. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js.map +1 -0
  135. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts +35 -0
  136. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts.map +1 -0
  137. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js +19 -0
  138. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js.map +1 -0
  139. package/dist/modules/quote/domain/dto/affiliate/index.d.ts +5 -0
  140. package/dist/modules/quote/domain/dto/affiliate/index.d.ts.map +1 -0
  141. package/dist/modules/quote/domain/dto/affiliate/index.js +21 -0
  142. package/dist/modules/quote/domain/dto/affiliate/index.js.map +1 -0
  143. package/dist/modules/quote/domain/dto/index.d.ts +4 -0
  144. package/dist/modules/quote/domain/dto/index.d.ts.map +1 -0
  145. package/dist/modules/quote/domain/dto/index.js +20 -0
  146. package/dist/modules/quote/domain/dto/index.js.map +1 -0
  147. package/dist/modules/quote/domain/dto/quote/index.d.ts +16 -0
  148. package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -0
  149. package/dist/modules/quote/domain/dto/quote/index.js +32 -0
  150. package/dist/modules/quote/domain/dto/quote/index.js.map +1 -0
  151. package/dist/modules/quote/domain/dto/quote/quote.dto.d.ts +9 -0
  152. package/dist/modules/quote/domain/dto/quote/quote.dto.d.ts.map +1 -0
  153. package/dist/modules/quote/domain/dto/quote/quote.dto.js +21 -0
  154. package/dist/modules/quote/domain/dto/quote/quote.dto.js.map +1 -0
  155. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts +14 -0
  156. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts.map +1 -0
  157. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js +27 -0
  158. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js.map +1 -0
  159. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.d.ts +14 -0
  160. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.d.ts.map +1 -0
  161. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.js +28 -0
  162. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.js.map +1 -0
  163. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts +17 -0
  164. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts.map +1 -0
  165. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js +22 -0
  166. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js.map +1 -0
  167. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts +44 -0
  168. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts.map +1 -0
  169. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js +47 -0
  170. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js.map +1 -0
  171. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.d.ts +8 -0
  172. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.d.ts.map +1 -0
  173. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.js +22 -0
  174. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.js.map +1 -0
  175. package/dist/modules/quote/domain/dto/quote/quote_intent.dto.d.ts +4 -0
  176. package/dist/modules/quote/domain/dto/quote/quote_intent.dto.d.ts.map +1 -0
  177. package/dist/modules/quote/domain/dto/quote/quote_intent.dto.js +3 -0
  178. package/dist/modules/quote/domain/dto/quote/quote_intent.dto.js.map +1 -0
  179. package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts +10 -0
  180. package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts.map +1 -0
  181. package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.js +3 -0
  182. package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.js.map +1 -0
  183. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts +16 -0
  184. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts.map +1 -0
  185. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js +57 -0
  186. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js.map +1 -0
  187. package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts +9 -0
  188. package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts.map +1 -0
  189. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js +26 -0
  190. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js.map +1 -0
  191. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts +50 -0
  192. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts.map +1 -0
  193. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js +21 -0
  194. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js.map +1 -0
  195. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +24 -0
  196. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -0
  197. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +41 -0
  198. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -0
  199. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts +50 -0
  200. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts.map +1 -0
  201. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js +21 -0
  202. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js.map +1 -0
  203. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.d.ts +14 -0
  204. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.d.ts.map +1 -0
  205. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.js +31 -0
  206. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.js.map +1 -0
  207. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts +3 -0
  208. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts.map +1 -0
  209. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js +7 -0
  210. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js.map +1 -0
  211. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts +8 -0
  212. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts.map +1 -0
  213. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js +21 -0
  214. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js.map +1 -0
  215. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.d.ts +8 -0
  216. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.d.ts.map +1 -0
  217. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.js +21 -0
  218. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.js.map +1 -0
  219. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.d.ts +18 -0
  220. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.d.ts.map +1 -0
  221. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.js +30 -0
  222. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.js.map +1 -0
  223. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.d.ts +23 -0
  224. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.d.ts.map +1 -0
  225. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js +7 -0
  226. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js.map +1 -0
  227. package/dist/modules/quote/domain/dto/refund/index.d.ts +5 -0
  228. package/dist/modules/quote/domain/dto/refund/index.d.ts.map +1 -0
  229. package/dist/modules/quote/domain/dto/refund/index.js +21 -0
  230. package/dist/modules/quote/domain/dto/refund/index.js.map +1 -0
  231. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.d.ts +13 -0
  232. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.d.ts.map +1 -0
  233. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.js +26 -0
  234. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.js.map +1 -0
  235. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.d.ts +8 -0
  236. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.d.ts.map +1 -0
  237. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.js +21 -0
  238. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.js.map +1 -0
  239. package/dist/modules/quote/domain/enums/index.d.ts +9 -0
  240. package/dist/modules/quote/domain/enums/index.d.ts.map +1 -0
  241. package/dist/modules/quote/domain/enums/index.js +25 -0
  242. package/dist/modules/quote/domain/enums/index.js.map +1 -0
  243. package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.d.ts +4 -0
  244. package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.d.ts.map +1 -0
  245. package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.js +8 -0
  246. package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.js.map +1 -0
  247. package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.d.ts +15 -0
  248. package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.d.ts.map +1 -0
  249. package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.js +22 -0
  250. package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.js.map +1 -0
  251. package/dist/modules/quote/domain/enums/quote_intent_type.enum.d.ts +4 -0
  252. package/dist/modules/quote/domain/enums/quote_intent_type.enum.d.ts.map +1 -0
  253. package/dist/modules/quote/domain/enums/quote_intent_type.enum.js +8 -0
  254. package/dist/modules/quote/domain/enums/quote_intent_type.enum.js.map +1 -0
  255. package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts +16 -0
  256. package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts.map +1 -0
  257. package/dist/modules/quote/domain/enums/quote_request_action.enum.js +20 -0
  258. package/dist/modules/quote/domain/enums/quote_request_action.enum.js.map +1 -0
  259. package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.d.ts +31 -0
  260. package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.d.ts.map +1 -0
  261. package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.js +40 -0
  262. package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.js.map +1 -0
  263. package/dist/modules/quote/domain/enums/quote_response_action.enum.d.ts +12 -0
  264. package/dist/modules/quote/domain/enums/quote_response_action.enum.d.ts.map +1 -0
  265. package/dist/modules/quote/domain/enums/quote_response_action.enum.js +16 -0
  266. package/dist/modules/quote/domain/enums/quote_response_action.enum.js.map +1 -0
  267. package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.d.ts +26 -0
  268. package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.d.ts.map +1 -0
  269. package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.js +35 -0
  270. package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.js.map +1 -0
  271. package/dist/modules/quote/domain/enums/selection_status.enum.d.ts +5 -0
  272. package/dist/modules/quote/domain/enums/selection_status.enum.d.ts.map +1 -0
  273. package/dist/modules/quote/domain/enums/selection_status.enum.js +9 -0
  274. package/dist/modules/quote/domain/enums/selection_status.enum.js.map +1 -0
  275. package/dist/modules/quote/domain/index.d.ts +3 -0
  276. package/dist/modules/quote/domain/index.d.ts.map +1 -0
  277. package/dist/modules/quote/domain/index.js +19 -0
  278. package/dist/modules/quote/domain/index.js.map +1 -0
  279. package/dist/modules/quote/index.d.ts +2 -0
  280. package/dist/modules/quote/index.d.ts.map +1 -0
  281. package/dist/modules/quote/index.js +18 -0
  282. package/dist/modules/quote/index.js.map +1 -0
  283. package/dist/modules/swap/domain/dto/index.d.ts +4 -0
  284. package/dist/modules/swap/domain/dto/index.d.ts.map +1 -0
  285. package/dist/modules/swap/domain/dto/index.js +20 -0
  286. package/dist/modules/swap/domain/dto/index.js.map +1 -0
  287. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.d.ts +9 -0
  288. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.d.ts.map +1 -0
  289. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.js +25 -0
  290. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.js.map +1 -0
  291. package/dist/modules/swap/domain/dto/token_swap_request.dto.d.ts +18 -0
  292. package/dist/modules/swap/domain/dto/token_swap_request.dto.d.ts.map +1 -0
  293. package/dist/modules/swap/domain/dto/token_swap_request.dto.js +31 -0
  294. package/dist/modules/swap/domain/dto/token_swap_request.dto.js.map +1 -0
  295. package/dist/modules/swap/domain/dto/token_swap_response.dto.d.ts +18 -0
  296. package/dist/modules/swap/domain/dto/token_swap_response.dto.d.ts.map +1 -0
  297. package/dist/modules/swap/domain/dto/token_swap_response.dto.js +32 -0
  298. package/dist/modules/swap/domain/dto/token_swap_response.dto.js.map +1 -0
  299. package/dist/modules/swap/domain/index.d.ts +2 -0
  300. package/dist/modules/swap/domain/index.d.ts.map +1 -0
  301. package/dist/modules/swap/domain/index.js +18 -0
  302. package/dist/modules/swap/domain/index.js.map +1 -0
  303. package/dist/modules/swap/index.d.ts +2 -0
  304. package/dist/modules/swap/index.d.ts.map +1 -0
  305. package/dist/modules/swap/index.js +18 -0
  306. package/dist/modules/swap/index.js.map +1 -0
  307. package/dist/modules/token/domain/dto/index.d.ts +4 -0
  308. package/dist/modules/token/domain/dto/index.d.ts.map +1 -0
  309. package/dist/modules/token/domain/dto/index.js +20 -0
  310. package/dist/modules/token/domain/dto/index.js.map +1 -0
  311. package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts +27 -0
  312. package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts.map +1 -0
  313. package/dist/modules/token/domain/dto/network_contract_find_token.dto.js +46 -0
  314. package/dist/modules/token/domain/dto/network_contract_find_token.dto.js.map +1 -0
  315. package/dist/modules/token/domain/dto/token.dto.d.ts +59 -0
  316. package/dist/modules/token/domain/dto/token.dto.d.ts.map +1 -0
  317. package/dist/modules/token/domain/dto/token.dto.js +70 -0
  318. package/dist/modules/token/domain/dto/token.dto.js.map +1 -0
  319. package/dist/modules/token/domain/dto/token.update.dto.d.ts +66 -0
  320. package/dist/modules/token/domain/dto/token.update.dto.d.ts.map +1 -0
  321. package/dist/modules/token/domain/dto/token.update.dto.js +75 -0
  322. package/dist/modules/token/domain/dto/token.update.dto.js.map +1 -0
  323. package/dist/modules/token/domain/index.d.ts +2 -0
  324. package/dist/modules/token/domain/index.d.ts.map +1 -0
  325. package/dist/modules/token/domain/index.js +18 -0
  326. package/dist/modules/token/domain/index.js.map +1 -0
  327. package/dist/modules/token/index.d.ts +2 -0
  328. package/dist/modules/token/index.d.ts.map +1 -0
  329. package/dist/modules/token/index.js +18 -0
  330. package/dist/modules/token/index.js.map +1 -0
  331. package/package.json +22 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_response_action.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_response_action.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,gCAAgC;IAC1C,IAAI,IAAI;IACR,qBAAqB,IAAA;IACrB,2BAA2B,IAAA;IAC3B,uBAAuB,IAAA;IACvB,+BAA+B,IAAA;IAE/B,+BAA+B,IAAA;IAC/B,gCAAgC,IAAA;IAChC,wBAAwB,IAAA;IACxB,wBAAwB,IAAA;CACzB"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoteResponseLifecycleActionType = void 0;
4
+ var QuoteResponseLifecycleActionType;
5
+ (function (QuoteResponseLifecycleActionType) {
6
+ QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["NONE"] = 1] = "NONE";
7
+ QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["CREATE_QUOTE_RESPONSE"] = 2] = "CREATE_QUOTE_RESPONSE";
8
+ QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_NOT_SELECTED"] = 3] = "QUOTE_RESPONSE_NOT_SELECTED";
9
+ QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_SELECTED"] = 4] = "QUOTE_RESPONSE_SELECTED";
10
+ QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_REQUEST_CANCELED"] = 5] = "QUOTE_RESPONSE_REQUEST_CANCELED";
11
+ QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_INITIATE_SOLVING"] = 6] = "QUOTE_RESPONSE_INITIATE_SOLVING";
12
+ QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_CHECK_SOLVE_STATE"] = 7] = "QUOTE_RESPONSE_CHECK_SOLVE_STATE";
13
+ QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["FULFILLED_QUOTE_RESPONSE"] = 8] = "FULFILLED_QUOTE_RESPONSE";
14
+ QuoteResponseLifecycleActionType[QuoteResponseLifecycleActionType["QUOTE_RESPONSE_TIMED_OUT"] = 9] = "QUOTE_RESPONSE_TIMED_OUT";
15
+ })(QuoteResponseLifecycleActionType || (exports.QuoteResponseLifecycleActionType = QuoteResponseLifecycleActionType = {}));
16
+ //# sourceMappingURL=quote_response_action.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_response_action.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_response_action.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gCAWX;AAXD,WAAY,gCAAgC;IAC1C,uFAAQ,CAAA;IACR,yHAAqB,CAAA;IACrB,qIAA2B,CAAA;IAC3B,6HAAuB,CAAA;IACvB,6IAA+B,CAAA;IAE/B,6IAA+B,CAAA;IAC/B,+IAAgC,CAAA;IAChC,+HAAwB,CAAA;IACxB,+HAAwB,CAAA;AAC1B,CAAC,EAXW,gCAAgC,gDAAhC,gCAAgC,QAW3C"}
@@ -0,0 +1,26 @@
1
+ export declare enum QuoteResponseLifecycleStage {
2
+ NONE = 1,
3
+ ENTRANCE = 2,
4
+ RETENTION = 3,
5
+ TERMINATION = 4
6
+ }
7
+ export declare enum QuoteResponseLifecycleState {
8
+ NONE = 1,
9
+ CREATION = 2,
10
+ SELECTED = 3,// => success transition of solve creation
11
+ INITIATE_SOLVING = 4,// => in_progress transition of solve selected
12
+ SOLVE_STUDING = 5,// => pending transition of initiate solving
13
+ NOT_SELECTED = 6,// => failure transition of creation
14
+ REQUEST_CANCELED = 7,// => failure transition of selected
15
+ FULFILLED = 8,// => success transition of solve studing
16
+ TIMED_OUT = 9
17
+ }
18
+ export declare enum QuoteResponseLifecycleStatus {
19
+ NONE = 1,
20
+ SUCCESS = 2,
21
+ PENDING = 3,
22
+ EXPIRED = 4,
23
+ FAILURE = 5,
24
+ IN_PROGRESS = 6
25
+ }
26
+ //# sourceMappingURL=quote_response_lifecycle.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_response_lifecycle.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_response_lifecycle.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,2BAA2B;IACrC,IAAI,IAAI;IACR,QAAQ,IAAA;IACR,SAAS,IAAA;IACT,WAAW,IAAA;CACZ;AAED,oBAAY,2BAA2B;IAErC,IAAI,IAAI;IACR,QAAQ,IAAA;IACR,QAAQ,IAAA,CAAE,0CAA0C;IAGpD,gBAAgB,IAAA,CAAE,8CAA8C;IAChE,aAAa,IAAA,CAAE,4CAA4C;IAG3D,YAAY,IAAA,CAAE,oCAAoC;IAClD,gBAAgB,IAAA,CAAE,oCAAoC;IACtD,SAAS,IAAA,CAAE,yCAAyC;IACpD,SAAS,IAAA;CACV;AAED,oBAAY,4BAA4B;IACtC,IAAI,IAAI;IACR,OAAO,IAAA;IACP,OAAO,IAAA;IACP,OAAO,IAAA;IACP,OAAO,IAAA;IAEP,WAAW,IAAA;CACZ"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoteResponseLifecycleStatus = exports.QuoteResponseLifecycleState = exports.QuoteResponseLifecycleStage = void 0;
4
+ var QuoteResponseLifecycleStage;
5
+ (function (QuoteResponseLifecycleStage) {
6
+ QuoteResponseLifecycleStage[QuoteResponseLifecycleStage["NONE"] = 1] = "NONE";
7
+ QuoteResponseLifecycleStage[QuoteResponseLifecycleStage["ENTRANCE"] = 2] = "ENTRANCE";
8
+ QuoteResponseLifecycleStage[QuoteResponseLifecycleStage["RETENTION"] = 3] = "RETENTION";
9
+ QuoteResponseLifecycleStage[QuoteResponseLifecycleStage["TERMINATION"] = 4] = "TERMINATION";
10
+ })(QuoteResponseLifecycleStage || (exports.QuoteResponseLifecycleStage = QuoteResponseLifecycleStage = {}));
11
+ var QuoteResponseLifecycleState;
12
+ (function (QuoteResponseLifecycleState) {
13
+ // entrance stage
14
+ QuoteResponseLifecycleState[QuoteResponseLifecycleState["NONE"] = 1] = "NONE";
15
+ QuoteResponseLifecycleState[QuoteResponseLifecycleState["CREATION"] = 2] = "CREATION";
16
+ QuoteResponseLifecycleState[QuoteResponseLifecycleState["SELECTED"] = 3] = "SELECTED";
17
+ // retention stage
18
+ QuoteResponseLifecycleState[QuoteResponseLifecycleState["INITIATE_SOLVING"] = 4] = "INITIATE_SOLVING";
19
+ QuoteResponseLifecycleState[QuoteResponseLifecycleState["SOLVE_STUDING"] = 5] = "SOLVE_STUDING";
20
+ // termination stage
21
+ QuoteResponseLifecycleState[QuoteResponseLifecycleState["NOT_SELECTED"] = 6] = "NOT_SELECTED";
22
+ QuoteResponseLifecycleState[QuoteResponseLifecycleState["REQUEST_CANCELED"] = 7] = "REQUEST_CANCELED";
23
+ QuoteResponseLifecycleState[QuoteResponseLifecycleState["FULFILLED"] = 8] = "FULFILLED";
24
+ QuoteResponseLifecycleState[QuoteResponseLifecycleState["TIMED_OUT"] = 9] = "TIMED_OUT";
25
+ })(QuoteResponseLifecycleState || (exports.QuoteResponseLifecycleState = QuoteResponseLifecycleState = {}));
26
+ var QuoteResponseLifecycleStatus;
27
+ (function (QuoteResponseLifecycleStatus) {
28
+ QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["NONE"] = 1] = "NONE";
29
+ QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["SUCCESS"] = 2] = "SUCCESS";
30
+ QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["PENDING"] = 3] = "PENDING";
31
+ QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["EXPIRED"] = 4] = "EXPIRED";
32
+ QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["FAILURE"] = 5] = "FAILURE";
33
+ QuoteResponseLifecycleStatus[QuoteResponseLifecycleStatus["IN_PROGRESS"] = 6] = "IN_PROGRESS";
34
+ })(QuoteResponseLifecycleStatus || (exports.QuoteResponseLifecycleStatus = QuoteResponseLifecycleStatus = {}));
35
+ //# sourceMappingURL=quote_response_lifecycle.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_response_lifecycle.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_response_lifecycle.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,6EAAQ,CAAA;IACR,qFAAQ,CAAA;IACR,uFAAS,CAAA;IACT,2FAAW,CAAA;AACb,CAAC,EALW,2BAA2B,2CAA3B,2BAA2B,QAKtC;AAED,IAAY,2BAeX;AAfD,WAAY,2BAA2B;IACrC,iBAAiB;IACjB,6EAAQ,CAAA;IACR,qFAAQ,CAAA;IACR,qFAAQ,CAAA;IAER,kBAAkB;IAClB,qGAAgB,CAAA;IAChB,+FAAa,CAAA;IAEb,oBAAoB;IACpB,6FAAY,CAAA;IACZ,qGAAgB,CAAA;IAChB,uFAAS,CAAA;IACT,uFAAS,CAAA;AACX,CAAC,EAfW,2BAA2B,2CAA3B,2BAA2B,QAetC;AAED,IAAY,4BAQX;AARD,WAAY,4BAA4B;IACtC,+EAAQ,CAAA;IACR,qFAAO,CAAA;IACP,qFAAO,CAAA;IACP,qFAAO,CAAA;IACP,qFAAO,CAAA;IAEP,6FAAW,CAAA;AACb,CAAC,EARW,4BAA4B,4CAA5B,4BAA4B,QAQvC"}
@@ -0,0 +1,5 @@
1
+ export declare enum SelectionStatus {
2
+ SELECTED = 1,
3
+ NOT_SELECTED = 2
4
+ }
5
+ //# sourceMappingURL=selection_status.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selection_status.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/selection_status.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,QAAQ,IAAI;IACZ,YAAY,IAAA;CACb"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SelectionStatus = void 0;
4
+ var SelectionStatus;
5
+ (function (SelectionStatus) {
6
+ SelectionStatus[SelectionStatus["SELECTED"] = 1] = "SELECTED";
7
+ SelectionStatus[SelectionStatus["NOT_SELECTED"] = 2] = "NOT_SELECTED";
8
+ })(SelectionStatus || (exports.SelectionStatus = SelectionStatus = {}));
9
+ //# sourceMappingURL=selection_status.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selection_status.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/selection_status.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,6DAAY,CAAA;IACZ,qEAAY,CAAA;AACd,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
@@ -0,0 +1,3 @@
1
+ export * from "./dto";
2
+ export * from "./enums";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/quote/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/quote/domain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
@@ -0,0 +1,2 @@
1
+ export * from './domain';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/quote/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./domain"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/quote/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
@@ -0,0 +1,4 @@
1
+ export * from './token_swap_request.dto';
2
+ export * from './token_swap_response.dto';
3
+ export * from './token_swap_output_estimate_response.dto';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2CAA2C,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./token_swap_request.dto"), exports);
18
+ __exportStar(require("./token_swap_response.dto"), exports);
19
+ __exportStar(require("./token_swap_output_estimate_response.dto"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,4DAA0C;AAC1C,4EAA0D"}
@@ -0,0 +1,9 @@
1
+ import BigNumber from 'bignumber.js';
2
+ export declare class TokenSwapOutputEstimateResponsetDto {
3
+ /**
4
+ * @description The amount of tokens after the swap
5
+ * @example 1000
6
+ */
7
+ amount: BigNumber;
8
+ }
9
+ //# sourceMappingURL=token_swap_output_estimate_response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token_swap_output_estimate_response.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/token_swap_output_estimate_response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAGrC,qBAAa,mCAAmC;IAC9C;;;OAGG;IAEH,MAAM,EAAE,SAAS,CAAC;CACnB"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.TokenSwapOutputEstimateResponsetDto = void 0;
16
+ const bignumber_js_1 = __importDefault(require("bignumber.js"));
17
+ const class_validator_1 = require("class-validator");
18
+ class TokenSwapOutputEstimateResponsetDto {
19
+ }
20
+ exports.TokenSwapOutputEstimateResponsetDto = TokenSwapOutputEstimateResponsetDto;
21
+ __decorate([
22
+ (0, class_validator_1.IsNotEmpty)(),
23
+ __metadata("design:type", bignumber_js_1.default)
24
+ ], TokenSwapOutputEstimateResponsetDto.prototype, "amount", void 0);
25
+ //# sourceMappingURL=token_swap_output_estimate_response.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token_swap_output_estimate_response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/token_swap_output_estimate_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,qDAA6C;AAE7C,MAAa,mCAAmC;CAO/C;AAPD,kFAOC;AADC;IADC,IAAA,4BAAU,GAAE;8BACL,sBAAS;mEAAC"}
@@ -0,0 +1,18 @@
1
+ export declare class TokenSwapRequestDto {
2
+ /**
3
+ * @description The type of coin for the swap
4
+ * @example 60
5
+ */
6
+ coinType: number;
7
+ /**
8
+ * @description The ID of the chain where the swap occurs
9
+ * @example 1
10
+ */
11
+ chainId: number;
12
+ /**
13
+ * @description The address of the contract for the swap
14
+ * @example '0x1234567890abcdef'
15
+ */
16
+ contract: string;
17
+ }
18
+ //# sourceMappingURL=token_swap_request.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token_swap_request.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/token_swap_request.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,mBAAmB;IAC9B;;;OAGG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IAEH,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.TokenSwapRequestDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class TokenSwapRequestDto {
15
+ }
16
+ exports.TokenSwapRequestDto = TokenSwapRequestDto;
17
+ __decorate([
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ (0, class_validator_1.IsNumber)(),
20
+ __metadata("design:type", Number)
21
+ ], TokenSwapRequestDto.prototype, "coinType", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ (0, class_validator_1.IsNumber)(),
25
+ __metadata("design:type", Number)
26
+ ], TokenSwapRequestDto.prototype, "chainId", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ __metadata("design:type", String)
30
+ ], TokenSwapRequestDto.prototype, "contract", void 0);
31
+ //# sourceMappingURL=token_swap_request.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token_swap_request.dto.js","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/token_swap_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,mBAAmB;CAuB/B;AAvBD,kDAuBC;AAhBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACK;AAOhB;IADC,IAAA,0BAAQ,GAAE;;qDACM"}
@@ -0,0 +1,18 @@
1
+ export declare class TokenSwapResponsetDto {
2
+ /**
3
+ * @description The transaction data for the token swap
4
+ * @example '0xabcdef...'
5
+ */
6
+ transactionData: string;
7
+ /**
8
+ * @description The value of the transaction for the swap
9
+ * @example '1000'
10
+ */
11
+ transactionValue: string;
12
+ /**
13
+ * @description The receiver of the transaction
14
+ * @example '0x1234567890abcdef'
15
+ */
16
+ transactionReceiver: string;
17
+ }
18
+ //# sourceMappingURL=token_swap_response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token_swap_response.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/token_swap_response.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,qBAAqB;IAChC;;;OAGG;IAGH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAGH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IAGH,mBAAmB,EAAE,MAAM,CAAC;CAC7B"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.TokenSwapResponsetDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class TokenSwapResponsetDto {
15
+ }
16
+ exports.TokenSwapResponsetDto = TokenSwapResponsetDto;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], TokenSwapResponsetDto.prototype, "transactionData", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], TokenSwapResponsetDto.prototype, "transactionValue", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", String)
31
+ ], TokenSwapResponsetDto.prototype, "transactionReceiver", void 0);
32
+ //# sourceMappingURL=token_swap_response.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token_swap_response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/swap/domain/dto/token_swap_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,qBAAqB;CAwBjC;AAxBD,sDAwBC;AAjBC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACW;AAQxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACY;AAQzB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACe"}
@@ -0,0 +1,2 @@
1
+ export * from './dto';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/swap/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/swap/domain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
@@ -0,0 +1,2 @@
1
+ export * from "./domain";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/swap/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./domain"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/swap/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
@@ -0,0 +1,4 @@
1
+ export * from './token.dto';
2
+ export * from './token.update.dto';
3
+ export * from './network_contract_find_token.dto';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mCAAmC,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./token.dto"), exports);
18
+ __exportStar(require("./token.update.dto"), exports);
19
+ __exportStar(require("./network_contract_find_token.dto"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,qDAAmC;AACnC,oEAAkD"}
@@ -0,0 +1,27 @@
1
+ export declare class NetworkContractFindTokenDto {
2
+ constructor(partial: Partial<NetworkContractFindTokenDto>);
3
+ private _contract;
4
+ get contract(): string | null;
5
+ set contract(value: string);
6
+ /**
7
+ * @description The type of coin for the network contract
8
+ * @example 60
9
+ */
10
+ coinType: number;
11
+ /**
12
+ * @description The ID of the chain for the network contract
13
+ * @example 1
14
+ */
15
+ chainId: number;
16
+ static from<T extends {
17
+ coinType: number;
18
+ chainId: number;
19
+ contract: string | null;
20
+ }>(obj: T): NetworkContractFindTokenDto;
21
+ static listFrom<T extends {
22
+ coinType: number;
23
+ chainId: number;
24
+ contract: string | null;
25
+ }>(objs: T[]): NetworkContractFindTokenDto[];
26
+ }
27
+ //# sourceMappingURL=network_contract_find_token.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"network_contract_find_token.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/network_contract_find_token.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,2BAA2B;gBAC1B,OAAO,EAAE,OAAO,CAAC,2BAA2B,CAAC;IAKzD,OAAO,CAAC,SAAS,CAAuB;IAExC,IAAI,QAAQ,IAAI,MAAM,GAAG,IAAI,CAE5B;IAED,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED;;;OAGG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,OAAO,EAAE,MAAM,CAAC;WAEF,IAAI,CAChB,CAAC,SAAS;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,EACD,GAAG,EAAE,CAAC,GAAG,2BAA2B;IAMtC,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,2BAA2B,EAAE;CAG5C"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.NetworkContractFindTokenDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class NetworkContractFindTokenDto {
15
+ constructor(partial) {
16
+ this._contract = null;
17
+ Object.assign(this, partial);
18
+ this._contract = this._contract?.trim() === '' ? null : this._contract;
19
+ }
20
+ get contract() {
21
+ return this._contract;
22
+ }
23
+ set contract(value) {
24
+ this._contract = value.trim().length === 0 ? null : value;
25
+ }
26
+ static from(obj) {
27
+ const dto = new NetworkContractFindTokenDto(obj);
28
+ dto.contract = obj.contract;
29
+ return dto;
30
+ }
31
+ static listFrom(objs) {
32
+ return objs.map(obj => NetworkContractFindTokenDto.from(obj));
33
+ }
34
+ }
35
+ exports.NetworkContractFindTokenDto = NetworkContractFindTokenDto;
36
+ __decorate([
37
+ (0, class_validator_1.IsNotEmpty)(),
38
+ (0, class_validator_1.IsNumber)(),
39
+ __metadata("design:type", Number)
40
+ ], NetworkContractFindTokenDto.prototype, "coinType", void 0);
41
+ __decorate([
42
+ (0, class_validator_1.IsNotEmpty)(),
43
+ (0, class_validator_1.IsNumber)(),
44
+ __metadata("design:type", Number)
45
+ ], NetworkContractFindTokenDto.prototype, "chainId", void 0);
46
+ //# sourceMappingURL=network_contract_find_token.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"network_contract_find_token.dto.js","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/network_contract_find_token.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,2BAA2B;IACtC,YAAY,OAA6C;QAKjD,cAAS,GAAkB,IAAI,CAAC;QAJtC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;IACzE,CAAC;IAID,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAI,QAAQ,CAAC,KAAa;QACxB,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IAC5D,CAAC;IAkBM,MAAM,CAAC,IAAI,CAMhB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,2BAA2B,CAAC,GAAG,CAAC,CAAC;QACjD,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC5B,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CAMb,IAAS;QACT,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,2BAA2B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAChE,CAAC;CACF;AArDD,kEAqDC;AA/BC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACK"}