@nirvana-labs/nirvana 1.9.0 → 1.10.0

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 (669) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/bin/migration-config.json +70 -0
  3. package/client.d.mts +3 -0
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +3 -0
  6. package/client.d.ts.map +1 -1
  7. package/client.js +3 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +3 -0
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/index.d.mts +1 -0
  13. package/resources/index.d.mts.map +1 -1
  14. package/resources/index.d.ts +1 -0
  15. package/resources/index.d.ts.map +1 -1
  16. package/resources/index.js +3 -1
  17. package/resources/index.js.map +1 -1
  18. package/resources/index.mjs +1 -0
  19. package/resources/index.mjs.map +1 -1
  20. package/resources/vektor/balances.d.mts +114 -0
  21. package/resources/vektor/balances.d.mts.map +1 -0
  22. package/resources/vektor/balances.d.ts +114 -0
  23. package/resources/vektor/balances.d.ts.map +1 -0
  24. package/resources/vektor/balances.js +44 -0
  25. package/resources/vektor/balances.js.map +1 -0
  26. package/resources/vektor/balances.mjs +40 -0
  27. package/resources/vektor/balances.mjs.map +1 -0
  28. package/resources/vektor/borrow/accounts.d.mts +114 -0
  29. package/resources/vektor/borrow/accounts.d.mts.map +1 -0
  30. package/resources/vektor/borrow/accounts.d.ts +114 -0
  31. package/resources/vektor/borrow/accounts.d.ts.map +1 -0
  32. package/resources/vektor/borrow/accounts.js +44 -0
  33. package/resources/vektor/borrow/accounts.js.map +1 -0
  34. package/resources/vektor/borrow/accounts.mjs +40 -0
  35. package/resources/vektor/borrow/accounts.mjs.map +1 -0
  36. package/resources/vektor/borrow/borrow.d.mts +18 -0
  37. package/resources/vektor/borrow/borrow.d.mts.map +1 -0
  38. package/resources/vektor/borrow/borrow.d.ts +18 -0
  39. package/resources/vektor/borrow/borrow.d.ts.map +1 -0
  40. package/resources/vektor/borrow/borrow.js +25 -0
  41. package/resources/vektor/borrow/borrow.js.map +1 -0
  42. package/resources/vektor/borrow/borrow.mjs +20 -0
  43. package/resources/vektor/borrow/borrow.mjs.map +1 -0
  44. package/resources/vektor/borrow/index.d.mts +5 -0
  45. package/resources/vektor/borrow/index.d.mts.map +1 -0
  46. package/resources/vektor/borrow/index.d.ts +5 -0
  47. package/resources/vektor/borrow/index.d.ts.map +1 -0
  48. package/resources/vektor/borrow/index.js +13 -0
  49. package/resources/vektor/borrow/index.js.map +1 -0
  50. package/resources/vektor/borrow/index.mjs +6 -0
  51. package/resources/vektor/borrow/index.mjs.map +1 -0
  52. package/resources/vektor/borrow/markets.d.mts +158 -0
  53. package/resources/vektor/borrow/markets.d.mts.map +1 -0
  54. package/resources/vektor/borrow/markets.d.ts +158 -0
  55. package/resources/vektor/borrow/markets.d.ts.map +1 -0
  56. package/resources/vektor/borrow/markets.js +42 -0
  57. package/resources/vektor/borrow/markets.js.map +1 -0
  58. package/resources/vektor/borrow/markets.mjs +38 -0
  59. package/resources/vektor/borrow/markets.mjs.map +1 -0
  60. package/resources/vektor/borrow/positions.d.mts +182 -0
  61. package/resources/vektor/borrow/positions.d.mts.map +1 -0
  62. package/resources/vektor/borrow/positions.d.ts +182 -0
  63. package/resources/vektor/borrow/positions.d.ts.map +1 -0
  64. package/resources/vektor/borrow/positions.js +50 -0
  65. package/resources/vektor/borrow/positions.js.map +1 -0
  66. package/resources/vektor/borrow/positions.mjs +46 -0
  67. package/resources/vektor/borrow/positions.mjs.map +1 -0
  68. package/resources/vektor/borrow.d.mts +2 -0
  69. package/resources/vektor/borrow.d.mts.map +1 -0
  70. package/resources/vektor/borrow.d.ts +2 -0
  71. package/resources/vektor/borrow.d.ts.map +1 -0
  72. package/resources/vektor/borrow.js +6 -0
  73. package/resources/vektor/borrow.js.map +1 -0
  74. package/resources/vektor/borrow.mjs +3 -0
  75. package/resources/vektor/borrow.mjs.map +1 -0
  76. package/resources/vektor/bridge/bridge.d.mts +10 -0
  77. package/resources/vektor/bridge/bridge.d.mts.map +1 -0
  78. package/resources/vektor/bridge/bridge.d.ts +10 -0
  79. package/resources/vektor/bridge/bridge.d.ts.map +1 -0
  80. package/resources/vektor/bridge/bridge.js +17 -0
  81. package/resources/vektor/bridge/bridge.js.map +1 -0
  82. package/resources/vektor/bridge/bridge.mjs +12 -0
  83. package/resources/vektor/bridge/bridge.mjs.map +1 -0
  84. package/resources/vektor/bridge/index.d.mts +3 -0
  85. package/resources/vektor/bridge/index.d.mts.map +1 -0
  86. package/resources/vektor/bridge/index.d.ts +3 -0
  87. package/resources/vektor/bridge/index.d.ts.map +1 -0
  88. package/resources/vektor/bridge/index.js +9 -0
  89. package/resources/vektor/bridge/index.js.map +1 -0
  90. package/resources/vektor/bridge/index.mjs +4 -0
  91. package/resources/vektor/bridge/index.mjs.map +1 -0
  92. package/resources/vektor/bridge/quotes.d.mts +57 -0
  93. package/resources/vektor/bridge/quotes.d.mts.map +1 -0
  94. package/resources/vektor/bridge/quotes.d.ts +57 -0
  95. package/resources/vektor/bridge/quotes.d.ts.map +1 -0
  96. package/resources/vektor/bridge/quotes.js +26 -0
  97. package/resources/vektor/bridge/quotes.js.map +1 -0
  98. package/resources/vektor/bridge/quotes.mjs +22 -0
  99. package/resources/vektor/bridge/quotes.mjs.map +1 -0
  100. package/resources/vektor/bridge.d.mts +2 -0
  101. package/resources/vektor/bridge.d.mts.map +1 -0
  102. package/resources/vektor/bridge.d.ts +2 -0
  103. package/resources/vektor/bridge.d.ts.map +1 -0
  104. package/resources/vektor/bridge.js +6 -0
  105. package/resources/vektor/bridge.js.map +1 -0
  106. package/resources/vektor/bridge.mjs +3 -0
  107. package/resources/vektor/bridge.mjs.map +1 -0
  108. package/resources/vektor/buy/buy.d.mts +14 -0
  109. package/resources/vektor/buy/buy.d.mts.map +1 -0
  110. package/resources/vektor/buy/buy.d.ts +14 -0
  111. package/resources/vektor/buy/buy.d.ts.map +1 -0
  112. package/resources/vektor/buy/buy.js +21 -0
  113. package/resources/vektor/buy/buy.js.map +1 -0
  114. package/resources/vektor/buy/buy.mjs +16 -0
  115. package/resources/vektor/buy/buy.mjs.map +1 -0
  116. package/resources/vektor/buy/buy_.d.mts +56 -0
  117. package/resources/vektor/buy/buy_.d.mts.map +1 -0
  118. package/resources/vektor/buy/buy_.d.ts +56 -0
  119. package/resources/vektor/buy/buy_.d.ts.map +1 -0
  120. package/resources/vektor/buy/buy_.js +27 -0
  121. package/resources/vektor/buy/buy_.js.map +1 -0
  122. package/resources/vektor/buy/buy_.mjs +23 -0
  123. package/resources/vektor/buy/buy_.mjs.map +1 -0
  124. package/resources/vektor/buy/index.d.mts +4 -0
  125. package/resources/vektor/buy/index.d.mts.map +1 -0
  126. package/resources/vektor/buy/index.d.ts +4 -0
  127. package/resources/vektor/buy/index.d.ts.map +1 -0
  128. package/resources/vektor/buy/index.js +9 -0
  129. package/resources/vektor/buy/index.js.map +1 -0
  130. package/resources/vektor/buy/index.mjs +4 -0
  131. package/resources/vektor/buy/index.mjs.map +1 -0
  132. package/resources/vektor/buy/quotes.d.mts +57 -0
  133. package/resources/vektor/buy/quotes.d.mts.map +1 -0
  134. package/resources/vektor/buy/quotes.d.ts +57 -0
  135. package/resources/vektor/buy/quotes.d.ts.map +1 -0
  136. package/resources/vektor/buy/quotes.js +26 -0
  137. package/resources/vektor/buy/quotes.js.map +1 -0
  138. package/resources/vektor/buy/quotes.mjs +22 -0
  139. package/resources/vektor/buy/quotes.mjs.map +1 -0
  140. package/resources/vektor/buy.d.mts +2 -0
  141. package/resources/vektor/buy.d.mts.map +1 -0
  142. package/resources/vektor/buy.d.ts +2 -0
  143. package/resources/vektor/buy.d.ts.map +1 -0
  144. package/resources/vektor/buy.js +6 -0
  145. package/resources/vektor/buy.js.map +1 -0
  146. package/resources/vektor/buy.mjs +3 -0
  147. package/resources/vektor/buy.mjs.map +1 -0
  148. package/resources/vektor/executions/executions.d.mts +38 -0
  149. package/resources/vektor/executions/executions.d.mts.map +1 -0
  150. package/resources/vektor/executions/executions.d.ts +38 -0
  151. package/resources/vektor/executions/executions.d.ts.map +1 -0
  152. package/resources/vektor/executions/executions.js +42 -0
  153. package/resources/vektor/executions/executions.js.map +1 -0
  154. package/resources/vektor/executions/executions.mjs +37 -0
  155. package/resources/vektor/executions/executions.mjs.map +1 -0
  156. package/resources/vektor/executions/index.d.mts +3 -0
  157. package/resources/vektor/executions/index.d.mts.map +1 -0
  158. package/resources/vektor/executions/index.d.ts +3 -0
  159. package/resources/vektor/executions/index.d.ts.map +1 -0
  160. package/resources/vektor/executions/index.js +9 -0
  161. package/resources/vektor/executions/index.js.map +1 -0
  162. package/resources/vektor/executions/index.mjs +4 -0
  163. package/resources/vektor/executions/index.mjs.map +1 -0
  164. package/resources/vektor/executions/steps.d.mts +1112 -0
  165. package/resources/vektor/executions/steps.d.mts.map +1 -0
  166. package/resources/vektor/executions/steps.d.ts +1112 -0
  167. package/resources/vektor/executions/steps.d.ts.map +1 -0
  168. package/resources/vektor/executions/steps.js +45 -0
  169. package/resources/vektor/executions/steps.js.map +1 -0
  170. package/resources/vektor/executions/steps.mjs +41 -0
  171. package/resources/vektor/executions/steps.mjs.map +1 -0
  172. package/resources/vektor/executions.d.mts +2 -0
  173. package/resources/vektor/executions.d.mts.map +1 -0
  174. package/resources/vektor/executions.d.ts +2 -0
  175. package/resources/vektor/executions.d.ts.map +1 -0
  176. package/resources/vektor/executions.js +6 -0
  177. package/resources/vektor/executions.js.map +1 -0
  178. package/resources/vektor/executions.mjs +3 -0
  179. package/resources/vektor/executions.mjs.map +1 -0
  180. package/resources/vektor/incentivize.d.mts +47 -0
  181. package/resources/vektor/incentivize.d.mts.map +1 -0
  182. package/resources/vektor/incentivize.d.ts +47 -0
  183. package/resources/vektor/incentivize.d.ts.map +1 -0
  184. package/resources/vektor/incentivize.js +24 -0
  185. package/resources/vektor/incentivize.js.map +1 -0
  186. package/resources/vektor/incentivize.mjs +20 -0
  187. package/resources/vektor/incentivize.mjs.map +1 -0
  188. package/resources/vektor/index.d.mts +17 -0
  189. package/resources/vektor/index.d.mts.map +1 -0
  190. package/resources/vektor/index.d.ts +17 -0
  191. package/resources/vektor/index.d.ts.map +1 -0
  192. package/resources/vektor/index.js +37 -0
  193. package/resources/vektor/index.js.map +1 -0
  194. package/resources/vektor/index.mjs +18 -0
  195. package/resources/vektor/index.mjs.map +1 -0
  196. package/resources/vektor/lend/index.d.mts +7 -0
  197. package/resources/vektor/lend/index.d.mts.map +1 -0
  198. package/resources/vektor/lend/index.d.ts +7 -0
  199. package/resources/vektor/lend/index.d.ts.map +1 -0
  200. package/resources/vektor/lend/index.js +15 -0
  201. package/resources/vektor/lend/index.js.map +1 -0
  202. package/resources/vektor/lend/index.mjs +7 -0
  203. package/resources/vektor/lend/index.mjs.map +1 -0
  204. package/resources/vektor/lend/lend.d.mts +26 -0
  205. package/resources/vektor/lend/lend.d.mts.map +1 -0
  206. package/resources/vektor/lend/lend.d.ts +26 -0
  207. package/resources/vektor/lend/lend.d.ts.map +1 -0
  208. package/resources/vektor/lend/lend.js +33 -0
  209. package/resources/vektor/lend/lend.js.map +1 -0
  210. package/resources/vektor/lend/lend.mjs +28 -0
  211. package/resources/vektor/lend/lend.mjs.map +1 -0
  212. package/resources/vektor/lend/lend_.d.mts +47 -0
  213. package/resources/vektor/lend/lend_.d.mts.map +1 -0
  214. package/resources/vektor/lend/lend_.d.ts +47 -0
  215. package/resources/vektor/lend/lend_.d.ts.map +1 -0
  216. package/resources/vektor/lend/lend_.js +26 -0
  217. package/resources/vektor/lend/lend_.js.map +1 -0
  218. package/resources/vektor/lend/lend_.mjs +22 -0
  219. package/resources/vektor/lend/lend_.mjs.map +1 -0
  220. package/resources/vektor/lend/markets.d.mts +158 -0
  221. package/resources/vektor/lend/markets.d.mts.map +1 -0
  222. package/resources/vektor/lend/markets.d.ts +158 -0
  223. package/resources/vektor/lend/markets.d.ts.map +1 -0
  224. package/resources/vektor/lend/markets.js +42 -0
  225. package/resources/vektor/lend/markets.js.map +1 -0
  226. package/resources/vektor/lend/markets.mjs +38 -0
  227. package/resources/vektor/lend/markets.mjs.map +1 -0
  228. package/resources/vektor/lend/positions.d.mts +178 -0
  229. package/resources/vektor/lend/positions.d.mts.map +1 -0
  230. package/resources/vektor/lend/positions.d.ts +178 -0
  231. package/resources/vektor/lend/positions.d.ts.map +1 -0
  232. package/resources/vektor/lend/positions.js +46 -0
  233. package/resources/vektor/lend/positions.js.map +1 -0
  234. package/resources/vektor/lend/positions.mjs +42 -0
  235. package/resources/vektor/lend/positions.mjs.map +1 -0
  236. package/resources/vektor/lend/set-collateral.d.mts +42 -0
  237. package/resources/vektor/lend/set-collateral.d.mts.map +1 -0
  238. package/resources/vektor/lend/set-collateral.d.ts +42 -0
  239. package/resources/vektor/lend/set-collateral.d.ts.map +1 -0
  240. package/resources/vektor/lend/set-collateral.js +27 -0
  241. package/resources/vektor/lend/set-collateral.js.map +1 -0
  242. package/resources/vektor/lend/set-collateral.mjs +23 -0
  243. package/resources/vektor/lend/set-collateral.mjs.map +1 -0
  244. package/resources/vektor/lend/withdraw.d.mts +47 -0
  245. package/resources/vektor/lend/withdraw.d.mts.map +1 -0
  246. package/resources/vektor/lend/withdraw.d.ts +47 -0
  247. package/resources/vektor/lend/withdraw.d.ts.map +1 -0
  248. package/resources/vektor/lend/withdraw.js +25 -0
  249. package/resources/vektor/lend/withdraw.js.map +1 -0
  250. package/resources/vektor/lend/withdraw.mjs +21 -0
  251. package/resources/vektor/lend/withdraw.mjs.map +1 -0
  252. package/resources/vektor/lend.d.mts +2 -0
  253. package/resources/vektor/lend.d.mts.map +1 -0
  254. package/resources/vektor/lend.d.ts +2 -0
  255. package/resources/vektor/lend.d.ts.map +1 -0
  256. package/resources/vektor/lend.js +6 -0
  257. package/resources/vektor/lend.js.map +1 -0
  258. package/resources/vektor/lend.mjs +3 -0
  259. package/resources/vektor/lend.mjs.map +1 -0
  260. package/resources/vektor/lock/index.d.mts +4 -0
  261. package/resources/vektor/lock/index.d.mts.map +1 -0
  262. package/resources/vektor/lock/index.d.ts +4 -0
  263. package/resources/vektor/lock/index.d.ts.map +1 -0
  264. package/resources/vektor/lock/index.js +11 -0
  265. package/resources/vektor/lock/index.js.map +1 -0
  266. package/resources/vektor/lock/index.mjs +5 -0
  267. package/resources/vektor/lock/index.mjs.map +1 -0
  268. package/resources/vektor/lock/lock.d.mts +14 -0
  269. package/resources/vektor/lock/lock.d.mts.map +1 -0
  270. package/resources/vektor/lock/lock.d.ts +14 -0
  271. package/resources/vektor/lock/lock.d.ts.map +1 -0
  272. package/resources/vektor/lock/lock.js +21 -0
  273. package/resources/vektor/lock/lock.js.map +1 -0
  274. package/resources/vektor/lock/lock.mjs +16 -0
  275. package/resources/vektor/lock/lock.mjs.map +1 -0
  276. package/resources/vektor/lock/markets.d.mts +43 -0
  277. package/resources/vektor/lock/markets.d.mts.map +1 -0
  278. package/resources/vektor/lock/markets.d.ts +43 -0
  279. package/resources/vektor/lock/markets.d.ts.map +1 -0
  280. package/resources/vektor/lock/markets.js +24 -0
  281. package/resources/vektor/lock/markets.js.map +1 -0
  282. package/resources/vektor/lock/markets.mjs +20 -0
  283. package/resources/vektor/lock/markets.mjs.map +1 -0
  284. package/resources/vektor/lock/positions.d.mts +48 -0
  285. package/resources/vektor/lock/positions.d.mts.map +1 -0
  286. package/resources/vektor/lock/positions.d.ts +48 -0
  287. package/resources/vektor/lock/positions.d.ts.map +1 -0
  288. package/resources/vektor/lock/positions.js +25 -0
  289. package/resources/vektor/lock/positions.js.map +1 -0
  290. package/resources/vektor/lock/positions.mjs +21 -0
  291. package/resources/vektor/lock/positions.mjs.map +1 -0
  292. package/resources/vektor/lock.d.mts +2 -0
  293. package/resources/vektor/lock.d.mts.map +1 -0
  294. package/resources/vektor/lock.d.ts +2 -0
  295. package/resources/vektor/lock.d.ts.map +1 -0
  296. package/resources/vektor/lock.js +6 -0
  297. package/resources/vektor/lock.js.map +1 -0
  298. package/resources/vektor/lock.mjs +3 -0
  299. package/resources/vektor/lock.mjs.map +1 -0
  300. package/resources/vektor/lp/deposit-quote.d.mts +119 -0
  301. package/resources/vektor/lp/deposit-quote.d.mts.map +1 -0
  302. package/resources/vektor/lp/deposit-quote.d.ts +119 -0
  303. package/resources/vektor/lp/deposit-quote.d.ts.map +1 -0
  304. package/resources/vektor/lp/deposit-quote.js +27 -0
  305. package/resources/vektor/lp/deposit-quote.js.map +1 -0
  306. package/resources/vektor/lp/deposit-quote.mjs +23 -0
  307. package/resources/vektor/lp/deposit-quote.mjs.map +1 -0
  308. package/resources/vektor/lp/index.d.mts +6 -0
  309. package/resources/vektor/lp/index.d.mts.map +1 -0
  310. package/resources/vektor/lp/index.d.ts +6 -0
  311. package/resources/vektor/lp/index.d.ts.map +1 -0
  312. package/resources/vektor/lp/index.js +15 -0
  313. package/resources/vektor/lp/index.js.map +1 -0
  314. package/resources/vektor/lp/index.mjs +7 -0
  315. package/resources/vektor/lp/index.mjs.map +1 -0
  316. package/resources/vektor/lp/lp.d.mts +22 -0
  317. package/resources/vektor/lp/lp.d.mts.map +1 -0
  318. package/resources/vektor/lp/lp.d.ts +22 -0
  319. package/resources/vektor/lp/lp.d.ts.map +1 -0
  320. package/resources/vektor/lp/lp.js +29 -0
  321. package/resources/vektor/lp/lp.js.map +1 -0
  322. package/resources/vektor/lp/lp.mjs +24 -0
  323. package/resources/vektor/lp/lp.mjs.map +1 -0
  324. package/resources/vektor/lp/pools.d.mts +158 -0
  325. package/resources/vektor/lp/pools.d.mts.map +1 -0
  326. package/resources/vektor/lp/pools.d.ts +158 -0
  327. package/resources/vektor/lp/pools.d.ts.map +1 -0
  328. package/resources/vektor/lp/pools.js +42 -0
  329. package/resources/vektor/lp/pools.js.map +1 -0
  330. package/resources/vektor/lp/pools.mjs +38 -0
  331. package/resources/vektor/lp/pools.mjs.map +1 -0
  332. package/resources/vektor/lp/positions.d.mts +194 -0
  333. package/resources/vektor/lp/positions.d.mts.map +1 -0
  334. package/resources/vektor/lp/positions.d.ts +194 -0
  335. package/resources/vektor/lp/positions.d.ts.map +1 -0
  336. package/resources/vektor/lp/positions.js +46 -0
  337. package/resources/vektor/lp/positions.js.map +1 -0
  338. package/resources/vektor/lp/positions.mjs +42 -0
  339. package/resources/vektor/lp/positions.mjs.map +1 -0
  340. package/resources/vektor/lp/withdraw-quote.d.mts +73 -0
  341. package/resources/vektor/lp/withdraw-quote.d.mts.map +1 -0
  342. package/resources/vektor/lp/withdraw-quote.d.ts +73 -0
  343. package/resources/vektor/lp/withdraw-quote.d.ts.map +1 -0
  344. package/resources/vektor/lp/withdraw-quote.js +27 -0
  345. package/resources/vektor/lp/withdraw-quote.js.map +1 -0
  346. package/resources/vektor/lp/withdraw-quote.mjs +23 -0
  347. package/resources/vektor/lp/withdraw-quote.mjs.map +1 -0
  348. package/resources/vektor/lp.d.mts +2 -0
  349. package/resources/vektor/lp.d.mts.map +1 -0
  350. package/resources/vektor/lp.d.ts +2 -0
  351. package/resources/vektor/lp.d.ts.map +1 -0
  352. package/resources/vektor/lp.js +6 -0
  353. package/resources/vektor/lp.js.map +1 -0
  354. package/resources/vektor/lp.mjs +3 -0
  355. package/resources/vektor/lp.mjs.map +1 -0
  356. package/resources/vektor/move.d.mts +47 -0
  357. package/resources/vektor/move.d.mts.map +1 -0
  358. package/resources/vektor/move.d.ts +47 -0
  359. package/resources/vektor/move.d.ts.map +1 -0
  360. package/resources/vektor/move.js +26 -0
  361. package/resources/vektor/move.js.map +1 -0
  362. package/resources/vektor/move.mjs +22 -0
  363. package/resources/vektor/move.mjs.map +1 -0
  364. package/resources/vektor/prices.d.mts +77 -0
  365. package/resources/vektor/prices.d.mts.map +1 -0
  366. package/resources/vektor/prices.d.ts +77 -0
  367. package/resources/vektor/prices.d.ts.map +1 -0
  368. package/resources/vektor/prices.js +35 -0
  369. package/resources/vektor/prices.js.map +1 -0
  370. package/resources/vektor/prices.mjs +31 -0
  371. package/resources/vektor/prices.mjs.map +1 -0
  372. package/resources/vektor/registry/assets.d.mts +39 -0
  373. package/resources/vektor/registry/assets.d.mts.map +1 -0
  374. package/resources/vektor/registry/assets.d.ts +39 -0
  375. package/resources/vektor/registry/assets.d.ts.map +1 -0
  376. package/resources/vektor/registry/assets.js +20 -0
  377. package/resources/vektor/registry/assets.js.map +1 -0
  378. package/resources/vektor/registry/assets.mjs +16 -0
  379. package/resources/vektor/registry/assets.mjs.map +1 -0
  380. package/resources/vektor/registry/blockchains.d.mts +36 -0
  381. package/resources/vektor/registry/blockchains.d.mts.map +1 -0
  382. package/resources/vektor/registry/blockchains.d.ts +36 -0
  383. package/resources/vektor/registry/blockchains.d.ts.map +1 -0
  384. package/resources/vektor/registry/blockchains.js +21 -0
  385. package/resources/vektor/registry/blockchains.js.map +1 -0
  386. package/resources/vektor/registry/blockchains.mjs +17 -0
  387. package/resources/vektor/registry/blockchains.mjs.map +1 -0
  388. package/resources/vektor/registry/borrow-markets.d.mts +46 -0
  389. package/resources/vektor/registry/borrow-markets.d.mts.map +1 -0
  390. package/resources/vektor/registry/borrow-markets.d.ts +46 -0
  391. package/resources/vektor/registry/borrow-markets.d.ts.map +1 -0
  392. package/resources/vektor/registry/borrow-markets.js +22 -0
  393. package/resources/vektor/registry/borrow-markets.js.map +1 -0
  394. package/resources/vektor/registry/borrow-markets.mjs +18 -0
  395. package/resources/vektor/registry/borrow-markets.mjs.map +1 -0
  396. package/resources/vektor/registry/errors.d.mts +28 -0
  397. package/resources/vektor/registry/errors.d.mts.map +1 -0
  398. package/resources/vektor/registry/errors.d.ts +28 -0
  399. package/resources/vektor/registry/errors.d.ts.map +1 -0
  400. package/resources/vektor/registry/errors.js +20 -0
  401. package/resources/vektor/registry/errors.js.map +1 -0
  402. package/resources/vektor/registry/errors.mjs +16 -0
  403. package/resources/vektor/registry/errors.mjs.map +1 -0
  404. package/resources/vektor/registry/index.d.mts +9 -0
  405. package/resources/vektor/registry/index.d.mts.map +1 -0
  406. package/resources/vektor/registry/index.d.ts +9 -0
  407. package/resources/vektor/registry/index.d.ts.map +1 -0
  408. package/resources/vektor/registry/index.js +21 -0
  409. package/resources/vektor/registry/index.js.map +1 -0
  410. package/resources/vektor/registry/index.mjs +10 -0
  411. package/resources/vektor/registry/index.mjs.map +1 -0
  412. package/resources/vektor/registry/lend-markets.d.mts +46 -0
  413. package/resources/vektor/registry/lend-markets.d.mts.map +1 -0
  414. package/resources/vektor/registry/lend-markets.d.ts +46 -0
  415. package/resources/vektor/registry/lend-markets.d.ts.map +1 -0
  416. package/resources/vektor/registry/lend-markets.js +22 -0
  417. package/resources/vektor/registry/lend-markets.js.map +1 -0
  418. package/resources/vektor/registry/lend-markets.mjs +18 -0
  419. package/resources/vektor/registry/lend-markets.mjs.map +1 -0
  420. package/resources/vektor/registry/lp-pools.d.mts +44 -0
  421. package/resources/vektor/registry/lp-pools.d.mts.map +1 -0
  422. package/resources/vektor/registry/lp-pools.d.ts +44 -0
  423. package/resources/vektor/registry/lp-pools.d.ts.map +1 -0
  424. package/resources/vektor/registry/lp-pools.js +21 -0
  425. package/resources/vektor/registry/lp-pools.js.map +1 -0
  426. package/resources/vektor/registry/lp-pools.mjs +17 -0
  427. package/resources/vektor/registry/lp-pools.mjs.map +1 -0
  428. package/resources/vektor/registry/registry.d.mts +34 -0
  429. package/resources/vektor/registry/registry.d.mts.map +1 -0
  430. package/resources/vektor/registry/registry.d.ts +34 -0
  431. package/resources/vektor/registry/registry.d.ts.map +1 -0
  432. package/resources/vektor/registry/registry.js +41 -0
  433. package/resources/vektor/registry/registry.js.map +1 -0
  434. package/resources/vektor/registry/registry.mjs +36 -0
  435. package/resources/vektor/registry/registry.mjs.map +1 -0
  436. package/resources/vektor/registry/venues.d.mts +35 -0
  437. package/resources/vektor/registry/venues.d.mts.map +1 -0
  438. package/resources/vektor/registry/venues.d.ts +35 -0
  439. package/resources/vektor/registry/venues.d.ts.map +1 -0
  440. package/resources/vektor/registry/venues.js +20 -0
  441. package/resources/vektor/registry/venues.js.map +1 -0
  442. package/resources/vektor/registry/venues.mjs +16 -0
  443. package/resources/vektor/registry/venues.mjs.map +1 -0
  444. package/resources/vektor/registry.d.mts +2 -0
  445. package/resources/vektor/registry.d.mts.map +1 -0
  446. package/resources/vektor/registry.d.ts +2 -0
  447. package/resources/vektor/registry.d.ts.map +1 -0
  448. package/resources/vektor/registry.js +6 -0
  449. package/resources/vektor/registry.js.map +1 -0
  450. package/resources/vektor/registry.mjs +3 -0
  451. package/resources/vektor/registry.mjs.map +1 -0
  452. package/resources/vektor/sell/index.d.mts +4 -0
  453. package/resources/vektor/sell/index.d.mts.map +1 -0
  454. package/resources/vektor/sell/index.d.ts +4 -0
  455. package/resources/vektor/sell/index.d.ts.map +1 -0
  456. package/resources/vektor/sell/index.js +9 -0
  457. package/resources/vektor/sell/index.js.map +1 -0
  458. package/resources/vektor/sell/index.mjs +4 -0
  459. package/resources/vektor/sell/index.mjs.map +1 -0
  460. package/resources/vektor/sell/quotes.d.mts +57 -0
  461. package/resources/vektor/sell/quotes.d.mts.map +1 -0
  462. package/resources/vektor/sell/quotes.d.ts +57 -0
  463. package/resources/vektor/sell/quotes.d.ts.map +1 -0
  464. package/resources/vektor/sell/quotes.js +26 -0
  465. package/resources/vektor/sell/quotes.js.map +1 -0
  466. package/resources/vektor/sell/quotes.mjs +22 -0
  467. package/resources/vektor/sell/quotes.mjs.map +1 -0
  468. package/resources/vektor/sell/sell.d.mts +14 -0
  469. package/resources/vektor/sell/sell.d.mts.map +1 -0
  470. package/resources/vektor/sell/sell.d.ts +14 -0
  471. package/resources/vektor/sell/sell.d.ts.map +1 -0
  472. package/resources/vektor/sell/sell.js +21 -0
  473. package/resources/vektor/sell/sell.js.map +1 -0
  474. package/resources/vektor/sell/sell.mjs +16 -0
  475. package/resources/vektor/sell/sell.mjs.map +1 -0
  476. package/resources/vektor/sell/sell_.d.mts +56 -0
  477. package/resources/vektor/sell/sell_.d.mts.map +1 -0
  478. package/resources/vektor/sell/sell_.d.ts +56 -0
  479. package/resources/vektor/sell/sell_.d.ts.map +1 -0
  480. package/resources/vektor/sell/sell_.js +27 -0
  481. package/resources/vektor/sell/sell_.js.map +1 -0
  482. package/resources/vektor/sell/sell_.mjs +23 -0
  483. package/resources/vektor/sell/sell_.mjs.map +1 -0
  484. package/resources/vektor/sell.d.mts +2 -0
  485. package/resources/vektor/sell.d.mts.map +1 -0
  486. package/resources/vektor/sell.d.ts +2 -0
  487. package/resources/vektor/sell.d.ts.map +1 -0
  488. package/resources/vektor/sell.js +6 -0
  489. package/resources/vektor/sell.js.map +1 -0
  490. package/resources/vektor/sell.mjs +3 -0
  491. package/resources/vektor/sell.mjs.map +1 -0
  492. package/resources/vektor/vektor.d.mts +2836 -0
  493. package/resources/vektor/vektor.d.mts.map +1 -0
  494. package/resources/vektor/vektor.d.ts +2836 -0
  495. package/resources/vektor/vektor.d.ts.map +1 -0
  496. package/resources/vektor/vektor.js +73 -0
  497. package/resources/vektor/vektor.js.map +1 -0
  498. package/resources/vektor/vektor.mjs +68 -0
  499. package/resources/vektor/vektor.mjs.map +1 -0
  500. package/resources/vektor/vote/index.d.mts +4 -0
  501. package/resources/vektor/vote/index.d.mts.map +1 -0
  502. package/resources/vektor/vote/index.d.ts +4 -0
  503. package/resources/vektor/vote/index.d.ts.map +1 -0
  504. package/resources/vektor/vote/index.js +11 -0
  505. package/resources/vektor/vote/index.js.map +1 -0
  506. package/resources/vektor/vote/index.mjs +5 -0
  507. package/resources/vektor/vote/index.mjs.map +1 -0
  508. package/resources/vektor/vote/markets.d.mts +47 -0
  509. package/resources/vektor/vote/markets.d.mts.map +1 -0
  510. package/resources/vektor/vote/markets.d.ts +47 -0
  511. package/resources/vektor/vote/markets.d.ts.map +1 -0
  512. package/resources/vektor/vote/markets.js +24 -0
  513. package/resources/vektor/vote/markets.js.map +1 -0
  514. package/resources/vektor/vote/markets.mjs +20 -0
  515. package/resources/vektor/vote/markets.mjs.map +1 -0
  516. package/resources/vektor/vote/rewards.d.mts +52 -0
  517. package/resources/vektor/vote/rewards.d.mts.map +1 -0
  518. package/resources/vektor/vote/rewards.d.ts +52 -0
  519. package/resources/vektor/vote/rewards.d.ts.map +1 -0
  520. package/resources/vektor/vote/rewards.js +25 -0
  521. package/resources/vektor/vote/rewards.js.map +1 -0
  522. package/resources/vektor/vote/rewards.mjs +21 -0
  523. package/resources/vektor/vote/rewards.mjs.map +1 -0
  524. package/resources/vektor/vote/vote.d.mts +14 -0
  525. package/resources/vektor/vote/vote.d.mts.map +1 -0
  526. package/resources/vektor/vote/vote.d.ts +14 -0
  527. package/resources/vektor/vote/vote.d.ts.map +1 -0
  528. package/resources/vektor/vote/vote.js +21 -0
  529. package/resources/vektor/vote/vote.js.map +1 -0
  530. package/resources/vektor/vote/vote.mjs +16 -0
  531. package/resources/vektor/vote/vote.mjs.map +1 -0
  532. package/resources/vektor/vote.d.mts +2 -0
  533. package/resources/vektor/vote.d.mts.map +1 -0
  534. package/resources/vektor/vote.d.ts +2 -0
  535. package/resources/vektor/vote.d.ts.map +1 -0
  536. package/resources/vektor/vote.js +6 -0
  537. package/resources/vektor/vote.js.map +1 -0
  538. package/resources/vektor/vote.mjs +3 -0
  539. package/resources/vektor/vote.mjs.map +1 -0
  540. package/resources/vektor/wrap/index.d.mts +4 -0
  541. package/resources/vektor/wrap/index.d.mts.map +1 -0
  542. package/resources/vektor/wrap/index.d.ts +4 -0
  543. package/resources/vektor/wrap/index.d.ts.map +1 -0
  544. package/resources/vektor/wrap/index.js +9 -0
  545. package/resources/vektor/wrap/index.js.map +1 -0
  546. package/resources/vektor/wrap/index.mjs +4 -0
  547. package/resources/vektor/wrap/index.mjs.map +1 -0
  548. package/resources/vektor/wrap/unwrap.d.mts +37 -0
  549. package/resources/vektor/wrap/unwrap.d.mts.map +1 -0
  550. package/resources/vektor/wrap/unwrap.d.ts +37 -0
  551. package/resources/vektor/wrap/unwrap.d.ts.map +1 -0
  552. package/resources/vektor/wrap/unwrap.js +24 -0
  553. package/resources/vektor/wrap/unwrap.js.map +1 -0
  554. package/resources/vektor/wrap/unwrap.mjs +20 -0
  555. package/resources/vektor/wrap/unwrap.mjs.map +1 -0
  556. package/resources/vektor/wrap/wrap.d.mts +14 -0
  557. package/resources/vektor/wrap/wrap.d.mts.map +1 -0
  558. package/resources/vektor/wrap/wrap.d.ts +14 -0
  559. package/resources/vektor/wrap/wrap.d.ts.map +1 -0
  560. package/resources/vektor/wrap/wrap.js +21 -0
  561. package/resources/vektor/wrap/wrap.js.map +1 -0
  562. package/resources/vektor/wrap/wrap.mjs +16 -0
  563. package/resources/vektor/wrap/wrap.mjs.map +1 -0
  564. package/resources/vektor/wrap/wrap_.d.mts +37 -0
  565. package/resources/vektor/wrap/wrap_.d.mts.map +1 -0
  566. package/resources/vektor/wrap/wrap_.d.ts +37 -0
  567. package/resources/vektor/wrap/wrap_.d.ts.map +1 -0
  568. package/resources/vektor/wrap/wrap_.js +24 -0
  569. package/resources/vektor/wrap/wrap_.js.map +1 -0
  570. package/resources/vektor/wrap/wrap_.mjs +20 -0
  571. package/resources/vektor/wrap/wrap_.mjs.map +1 -0
  572. package/resources/vektor/wrap.d.mts +2 -0
  573. package/resources/vektor/wrap.d.mts.map +1 -0
  574. package/resources/vektor/wrap.d.ts +2 -0
  575. package/resources/vektor/wrap.d.ts.map +1 -0
  576. package/resources/vektor/wrap.js +6 -0
  577. package/resources/vektor/wrap.js.map +1 -0
  578. package/resources/vektor/wrap.mjs +3 -0
  579. package/resources/vektor/wrap.mjs.map +1 -0
  580. package/resources/vektor.d.mts +2 -0
  581. package/resources/vektor.d.mts.map +1 -0
  582. package/resources/vektor.d.ts +2 -0
  583. package/resources/vektor.d.ts.map +1 -0
  584. package/resources/vektor.js +6 -0
  585. package/resources/vektor.js.map +1 -0
  586. package/resources/vektor.mjs +3 -0
  587. package/resources/vektor.mjs.map +1 -0
  588. package/src/client.ts +5 -0
  589. package/src/resources/index.ts +1 -0
  590. package/src/resources/vektor/balances.ts +146 -0
  591. package/src/resources/vektor/borrow/accounts.ts +146 -0
  592. package/src/resources/vektor/borrow/borrow.ts +63 -0
  593. package/src/resources/vektor/borrow/index.ts +24 -0
  594. package/src/resources/vektor/borrow/markets.ts +205 -0
  595. package/src/resources/vektor/borrow/positions.ts +233 -0
  596. package/src/resources/vektor/borrow.ts +3 -0
  597. package/src/resources/vektor/bridge/bridge.ts +19 -0
  598. package/src/resources/vektor/bridge/index.ts +4 -0
  599. package/src/resources/vektor/bridge/quotes.ts +69 -0
  600. package/src/resources/vektor/bridge.ts +3 -0
  601. package/src/resources/vektor/buy/buy.ts +25 -0
  602. package/src/resources/vektor/buy/buy_.ts +68 -0
  603. package/src/resources/vektor/buy/index.ts +5 -0
  604. package/src/resources/vektor/buy/quotes.ts +69 -0
  605. package/src/resources/vektor/buy.ts +3 -0
  606. package/src/resources/vektor/executions/executions.ts +57 -0
  607. package/src/resources/vektor/executions/index.ts +4 -0
  608. package/src/resources/vektor/executions/steps.ts +1380 -0
  609. package/src/resources/vektor/executions.ts +3 -0
  610. package/src/resources/vektor/incentivize.ts +60 -0
  611. package/src/resources/vektor/index.ts +30 -0
  612. package/src/resources/vektor/lend/index.ts +20 -0
  613. package/src/resources/vektor/lend/lend.ts +63 -0
  614. package/src/resources/vektor/lend/lend_.ts +57 -0
  615. package/src/resources/vektor/lend/markets.ts +205 -0
  616. package/src/resources/vektor/lend/positions.ts +229 -0
  617. package/src/resources/vektor/lend/set-collateral.ts +51 -0
  618. package/src/resources/vektor/lend/withdraw.ts +57 -0
  619. package/src/resources/vektor/lend.ts +3 -0
  620. package/src/resources/vektor/lock/index.ts +5 -0
  621. package/src/resources/vektor/lock/lock.ts +29 -0
  622. package/src/resources/vektor/lock/markets.ts +52 -0
  623. package/src/resources/vektor/lock/positions.ts +58 -0
  624. package/src/resources/vektor/lock.ts +3 -0
  625. package/src/resources/vektor/lp/deposit-quote.ts +147 -0
  626. package/src/resources/vektor/lp/index.ts +27 -0
  627. package/src/resources/vektor/lp/lp.ts +65 -0
  628. package/src/resources/vektor/lp/pools.ts +205 -0
  629. package/src/resources/vektor/lp/positions.ts +249 -0
  630. package/src/resources/vektor/lp/withdraw-quote.ts +90 -0
  631. package/src/resources/vektor/lp.ts +3 -0
  632. package/src/resources/vektor/move.ts +57 -0
  633. package/src/resources/vektor/prices.ts +102 -0
  634. package/src/resources/vektor/registry/assets.ts +51 -0
  635. package/src/resources/vektor/registry/blockchains.ts +50 -0
  636. package/src/resources/vektor/registry/borrow-markets.ts +62 -0
  637. package/src/resources/vektor/registry/errors.ts +38 -0
  638. package/src/resources/vektor/registry/index.ts +10 -0
  639. package/src/resources/vektor/registry/lend-markets.ts +62 -0
  640. package/src/resources/vektor/registry/lp-pools.ts +57 -0
  641. package/src/resources/vektor/registry/registry.ts +79 -0
  642. package/src/resources/vektor/registry/venues.ts +46 -0
  643. package/src/resources/vektor/registry.ts +3 -0
  644. package/src/resources/vektor/sell/index.ts +5 -0
  645. package/src/resources/vektor/sell/quotes.ts +69 -0
  646. package/src/resources/vektor/sell/sell.ts +25 -0
  647. package/src/resources/vektor/sell/sell_.ts +68 -0
  648. package/src/resources/vektor/sell.ts +3 -0
  649. package/src/resources/vektor/vektor.ts +3581 -0
  650. package/src/resources/vektor/vote/index.ts +5 -0
  651. package/src/resources/vektor/vote/markets.ts +57 -0
  652. package/src/resources/vektor/vote/rewards.ts +63 -0
  653. package/src/resources/vektor/vote/vote.ts +29 -0
  654. package/src/resources/vektor/vote.ts +3 -0
  655. package/src/resources/vektor/wrap/index.ts +5 -0
  656. package/src/resources/vektor/wrap/unwrap.ts +45 -0
  657. package/src/resources/vektor/wrap/wrap.ts +21 -0
  658. package/src/resources/vektor/wrap/wrap_.ts +45 -0
  659. package/src/resources/vektor/wrap.ts +3 -0
  660. package/src/resources/vektor.ts +3 -0
  661. package/src/version.ts +1 -1
  662. package/version.d.mts +1 -1
  663. package/version.d.mts.map +1 -1
  664. package/version.d.ts +1 -1
  665. package/version.d.ts.map +1 -1
  666. package/version.js +1 -1
  667. package/version.js.map +1 -1
  668. package/version.mjs +1 -1
  669. package/version.mjs.map +1 -1
@@ -0,0 +1,46 @@
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import * as VektorAPI from "../vektor.js";
3
+ import { APIPromise } from "../../../core/api-promise.js";
4
+ import { RequestOptions } from "../../../internal/request-options.js";
5
+ export declare class BorrowMarkets extends APIResource {
6
+ /**
7
+ * List borrow markets in the registry, optionally filtered by blockchain, assets
8
+ * or venues
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const borrowMarkets =
13
+ * await client.vektor.registry.borrowMarkets.list();
14
+ * ```
15
+ */
16
+ list(body?: BorrowMarketListParams | null | undefined, options?: RequestOptions): APIPromise<BorrowMarketListResponse>;
17
+ }
18
+ export interface BorrowMarketListResponse {
19
+ /**
20
+ * A list of registry data for lend borrow markets
21
+ */
22
+ items: Array<VektorAPI.RegistryLendBorrowMarket>;
23
+ }
24
+ export interface BorrowMarketListParams {
25
+ /**
26
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
27
+ * prefix
28
+ */
29
+ id?: string | null;
30
+ /**
31
+ * A list of asset IDs, EVM addresses or asset symbols
32
+ */
33
+ assets?: Array<VektorAPI.AssetIDOrAddressEVMOrAssetSymbol> | null;
34
+ /**
35
+ * A blockchain ID, represented as a TypeID with `blockchain` prefix
36
+ */
37
+ blockchain?: VektorAPI.BlockchainID;
38
+ /**
39
+ * A list of venue IDs or venue symbols
40
+ */
41
+ venues?: Array<VektorAPI.VenueIDOrVenueSymbol> | null;
42
+ }
43
+ export declare namespace BorrowMarkets {
44
+ export { type BorrowMarketListResponse as BorrowMarketListResponse, type BorrowMarketListParams as BorrowMarketListParams, };
45
+ }
46
+ //# sourceMappingURL=borrow-markets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"borrow-markets.d.ts","sourceRoot":"","sources":["../../../src/resources/vektor/registry/borrow-markets.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;OASG;IACH,IAAI,CACF,IAAI,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;CAGxC;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;CAClD;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gCAAgC,CAAC,GAAG,IAAI,CAAC;IAElE;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC;IAEpC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;CACvD;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.BorrowMarkets = void 0;
5
+ const resource_1 = require("../../../core/resource.js");
6
+ class BorrowMarkets extends resource_1.APIResource {
7
+ /**
8
+ * List borrow markets in the registry, optionally filtered by blockchain, assets
9
+ * or venues
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const borrowMarkets =
14
+ * await client.vektor.registry.borrowMarkets.list();
15
+ * ```
16
+ */
17
+ list(body = {}, options) {
18
+ return this._client.post('/v1/vektor/registry/borrow/markets', { body, ...options });
19
+ }
20
+ }
21
+ exports.BorrowMarkets = BorrowMarkets;
22
+ //# sourceMappingURL=borrow-markets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"borrow-markets.js","sourceRoot":"","sources":["../../../src/resources/vektor/registry/borrow-markets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;OASG;IACH,IAAI,CACF,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oCAAoC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF;AAjBD,sCAiBC"}
@@ -0,0 +1,18 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ export class BorrowMarkets extends APIResource {
4
+ /**
5
+ * List borrow markets in the registry, optionally filtered by blockchain, assets
6
+ * or venues
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const borrowMarkets =
11
+ * await client.vektor.registry.borrowMarkets.list();
12
+ * ```
13
+ */
14
+ list(body = {}, options) {
15
+ return this._client.post('/v1/vektor/registry/borrow/markets', { body, ...options });
16
+ }
17
+ }
18
+ //# sourceMappingURL=borrow-markets.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"borrow-markets.mjs","sourceRoot":"","sources":["../../../src/resources/vektor/registry/borrow-markets.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;OASG;IACH,IAAI,CACF,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oCAAoC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF"}
@@ -0,0 +1,28 @@
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import * as VektorAPI from "../vektor.mjs";
3
+ import { APIPromise } from "../../../core/api-promise.mjs";
4
+ import { RequestOptions } from "../../../internal/request-options.mjs";
5
+ export declare class Errors extends APIResource {
6
+ /**
7
+ * A list with one example of each error type
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const errors = await client.vektor.registry.errors.list();
12
+ * ```
13
+ */
14
+ list(body?: ErrorListParams | null | undefined, options?: RequestOptions): APIPromise<ErrorListResponse>;
15
+ }
16
+ export interface ErrorListResponse {
17
+ /**
18
+ * A list of errors
19
+ */
20
+ items: Array<VektorAPI.VektorError>;
21
+ }
22
+ export interface ErrorListParams {
23
+ errors?: Array<string> | null;
24
+ }
25
+ export declare namespace Errors {
26
+ export { type ErrorListResponse as ErrorListResponse, type ErrorListParams as ErrorListParams };
27
+ }
28
+ //# sourceMappingURL=errors.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.mts","sourceRoot":"","sources":["../../../src/resources/vektor/registry/errors.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;OAOG;IACH,IAAI,CACF,IAAI,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;CAGjC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACjG"}
@@ -0,0 +1,28 @@
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import * as VektorAPI from "../vektor.js";
3
+ import { APIPromise } from "../../../core/api-promise.js";
4
+ import { RequestOptions } from "../../../internal/request-options.js";
5
+ export declare class Errors extends APIResource {
6
+ /**
7
+ * A list with one example of each error type
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const errors = await client.vektor.registry.errors.list();
12
+ * ```
13
+ */
14
+ list(body?: ErrorListParams | null | undefined, options?: RequestOptions): APIPromise<ErrorListResponse>;
15
+ }
16
+ export interface ErrorListResponse {
17
+ /**
18
+ * A list of errors
19
+ */
20
+ items: Array<VektorAPI.VektorError>;
21
+ }
22
+ export interface ErrorListParams {
23
+ errors?: Array<string> | null;
24
+ }
25
+ export declare namespace Errors {
26
+ export { type ErrorListResponse as ErrorListResponse, type ErrorListParams as ErrorListParams };
27
+ }
28
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/resources/vektor/registry/errors.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;OAOG;IACH,IAAI,CACF,IAAI,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;CAGjC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACjG"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Errors = void 0;
5
+ const resource_1 = require("../../../core/resource.js");
6
+ class Errors extends resource_1.APIResource {
7
+ /**
8
+ * A list with one example of each error type
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const errors = await client.vektor.registry.errors.list();
13
+ * ```
14
+ */
15
+ list(body = {}, options) {
16
+ return this._client.post('/v1/vektor/registry/errors', { body, ...options });
17
+ }
18
+ }
19
+ exports.Errors = Errors;
20
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/resources/vektor/registry/errors.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;OAOG;IACH,IAAI,CACF,OAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF;AAfD,wBAeC"}
@@ -0,0 +1,16 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ export class Errors extends APIResource {
4
+ /**
5
+ * A list with one example of each error type
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * const errors = await client.vektor.registry.errors.list();
10
+ * ```
11
+ */
12
+ list(body = {}, options) {
13
+ return this._client.post('/v1/vektor/registry/errors', { body, ...options });
14
+ }
15
+ }
16
+ //# sourceMappingURL=errors.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.mjs","sourceRoot":"","sources":["../../../src/resources/vektor/registry/errors.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;OAOG;IACH,IAAI,CACF,OAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF"}
@@ -0,0 +1,9 @@
1
+ export { Assets, type AssetListResponse, type AssetListParams } from "./assets.mjs";
2
+ export { Blockchains, type BlockchainListResponse, type BlockchainListParams } from "./blockchains.mjs";
3
+ export { BorrowMarkets, type BorrowMarketListResponse, type BorrowMarketListParams } from "./borrow-markets.mjs";
4
+ export { Errors, type ErrorListResponse, type ErrorListParams } from "./errors.mjs";
5
+ export { LPPools, type LPPoolListResponse, type LPPoolListParams } from "./lp-pools.mjs";
6
+ export { LendMarkets, type LendMarketListResponse, type LendMarketListParams } from "./lend-markets.mjs";
7
+ export { Registry } from "./registry.mjs";
8
+ export { Venues, type VenueListResponse, type VenueListParams } from "./venues.mjs";
9
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/vektor/registry/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACxD,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE;OACvE,EAAE,aAAa,EAAE,KAAK,wBAAwB,EAAE,KAAK,sBAAsB,EAAE;OAC7E,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACxD,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC3D,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE;OACvE,EAAE,QAAQ,EAAE;OACZ,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE"}
@@ -0,0 +1,9 @@
1
+ export { Assets, type AssetListResponse, type AssetListParams } from "./assets.js";
2
+ export { Blockchains, type BlockchainListResponse, type BlockchainListParams } from "./blockchains.js";
3
+ export { BorrowMarkets, type BorrowMarketListResponse, type BorrowMarketListParams } from "./borrow-markets.js";
4
+ export { Errors, type ErrorListResponse, type ErrorListParams } from "./errors.js";
5
+ export { LPPools, type LPPoolListResponse, type LPPoolListParams } from "./lp-pools.js";
6
+ export { LendMarkets, type LendMarketListResponse, type LendMarketListParams } from "./lend-markets.js";
7
+ export { Registry } from "./registry.js";
8
+ export { Venues, type VenueListResponse, type VenueListParams } from "./venues.js";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/vektor/registry/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACxD,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE;OACvE,EAAE,aAAa,EAAE,KAAK,wBAAwB,EAAE,KAAK,sBAAsB,EAAE;OAC7E,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACxD,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC3D,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE;OACvE,EAAE,QAAQ,EAAE;OACZ,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Venues = exports.Registry = exports.LendMarkets = exports.LPPools = exports.Errors = exports.BorrowMarkets = exports.Blockchains = exports.Assets = void 0;
5
+ var assets_1 = require("./assets.js");
6
+ Object.defineProperty(exports, "Assets", { enumerable: true, get: function () { return assets_1.Assets; } });
7
+ var blockchains_1 = require("./blockchains.js");
8
+ Object.defineProperty(exports, "Blockchains", { enumerable: true, get: function () { return blockchains_1.Blockchains; } });
9
+ var borrow_markets_1 = require("./borrow-markets.js");
10
+ Object.defineProperty(exports, "BorrowMarkets", { enumerable: true, get: function () { return borrow_markets_1.BorrowMarkets; } });
11
+ var errors_1 = require("./errors.js");
12
+ Object.defineProperty(exports, "Errors", { enumerable: true, get: function () { return errors_1.Errors; } });
13
+ var lp_pools_1 = require("./lp-pools.js");
14
+ Object.defineProperty(exports, "LPPools", { enumerable: true, get: function () { return lp_pools_1.LPPools; } });
15
+ var lend_markets_1 = require("./lend-markets.js");
16
+ Object.defineProperty(exports, "LendMarkets", { enumerable: true, get: function () { return lend_markets_1.LendMarkets; } });
17
+ var registry_1 = require("./registry.js");
18
+ Object.defineProperty(exports, "Registry", { enumerable: true, get: function () { return registry_1.Registry; } });
19
+ var venues_1 = require("./venues.js");
20
+ Object.defineProperty(exports, "Venues", { enumerable: true, get: function () { return venues_1.Venues; } });
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/vektor/registry/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAgF;AAAvE,gGAAA,MAAM,OAAA;AACf,gDAAoG;AAA3F,0GAAA,WAAW,OAAA;AACpB,sDAA6G;AAApG,+GAAA,aAAa,OAAA;AACtB,sCAAgF;AAAvE,gGAAA,MAAM,OAAA;AACf,0CAAqF;AAA5E,mGAAA,OAAO,OAAA;AAChB,kDAAqG;AAA5F,2GAAA,WAAW,OAAA;AACpB,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,sCAAgF;AAAvE,gGAAA,MAAM,OAAA"}
@@ -0,0 +1,10 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Assets } from "./assets.mjs";
3
+ export { Blockchains } from "./blockchains.mjs";
4
+ export { BorrowMarkets } from "./borrow-markets.mjs";
5
+ export { Errors } from "./errors.mjs";
6
+ export { LPPools } from "./lp-pools.mjs";
7
+ export { LendMarkets } from "./lend-markets.mjs";
8
+ export { Registry } from "./registry.mjs";
9
+ export { Venues } from "./venues.mjs";
10
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/vektor/registry/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAAgD;OACxD,EAAE,WAAW,EAA0D;OACvE,EAAE,aAAa,EAA8D;OAC7E,EAAE,MAAM,EAAgD;OACxD,EAAE,OAAO,EAAkD;OAC3D,EAAE,WAAW,EAA0D;OACvE,EAAE,QAAQ,EAAE;OACZ,EAAE,MAAM,EAAgD"}
@@ -0,0 +1,46 @@
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import * as VektorAPI from "../vektor.mjs";
3
+ import { APIPromise } from "../../../core/api-promise.mjs";
4
+ import { RequestOptions } from "../../../internal/request-options.mjs";
5
+ export declare class LendMarkets extends APIResource {
6
+ /**
7
+ * List lend markets in the registry, optionally filtered by blockchain, assets or
8
+ * venues
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const lendMarkets =
13
+ * await client.vektor.registry.lendMarkets.list();
14
+ * ```
15
+ */
16
+ list(body?: LendMarketListParams | null | undefined, options?: RequestOptions): APIPromise<LendMarketListResponse>;
17
+ }
18
+ export interface LendMarketListResponse {
19
+ /**
20
+ * A list of registry data for lend borrow markets
21
+ */
22
+ items: Array<VektorAPI.RegistryLendBorrowMarket>;
23
+ }
24
+ export interface LendMarketListParams {
25
+ /**
26
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
27
+ * prefix
28
+ */
29
+ id?: string | null;
30
+ /**
31
+ * A list of asset IDs, EVM addresses or asset symbols
32
+ */
33
+ assets?: Array<VektorAPI.AssetIDOrAddressEVMOrAssetSymbol> | null;
34
+ /**
35
+ * A blockchain ID, represented as a TypeID with `blockchain` prefix
36
+ */
37
+ blockchain?: VektorAPI.BlockchainID;
38
+ /**
39
+ * A list of venue IDs or venue symbols
40
+ */
41
+ venues?: Array<VektorAPI.VenueIDOrVenueSymbol> | null;
42
+ }
43
+ export declare namespace LendMarkets {
44
+ export { type LendMarketListResponse as LendMarketListResponse, type LendMarketListParams as LendMarketListParams, };
45
+ }
46
+ //# sourceMappingURL=lend-markets.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lend-markets.d.mts","sourceRoot":"","sources":["../../../src/resources/vektor/registry/lend-markets.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;OASG;IACH,IAAI,CACF,IAAI,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;CAClD;AAED,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gCAAgC,CAAC,GAAG,IAAI,CAAC;IAElE;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC;IAEpC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;CACvD;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -0,0 +1,46 @@
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import * as VektorAPI from "../vektor.js";
3
+ import { APIPromise } from "../../../core/api-promise.js";
4
+ import { RequestOptions } from "../../../internal/request-options.js";
5
+ export declare class LendMarkets extends APIResource {
6
+ /**
7
+ * List lend markets in the registry, optionally filtered by blockchain, assets or
8
+ * venues
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const lendMarkets =
13
+ * await client.vektor.registry.lendMarkets.list();
14
+ * ```
15
+ */
16
+ list(body?: LendMarketListParams | null | undefined, options?: RequestOptions): APIPromise<LendMarketListResponse>;
17
+ }
18
+ export interface LendMarketListResponse {
19
+ /**
20
+ * A list of registry data for lend borrow markets
21
+ */
22
+ items: Array<VektorAPI.RegistryLendBorrowMarket>;
23
+ }
24
+ export interface LendMarketListParams {
25
+ /**
26
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
27
+ * prefix
28
+ */
29
+ id?: string | null;
30
+ /**
31
+ * A list of asset IDs, EVM addresses or asset symbols
32
+ */
33
+ assets?: Array<VektorAPI.AssetIDOrAddressEVMOrAssetSymbol> | null;
34
+ /**
35
+ * A blockchain ID, represented as a TypeID with `blockchain` prefix
36
+ */
37
+ blockchain?: VektorAPI.BlockchainID;
38
+ /**
39
+ * A list of venue IDs or venue symbols
40
+ */
41
+ venues?: Array<VektorAPI.VenueIDOrVenueSymbol> | null;
42
+ }
43
+ export declare namespace LendMarkets {
44
+ export { type LendMarketListResponse as LendMarketListResponse, type LendMarketListParams as LendMarketListParams, };
45
+ }
46
+ //# sourceMappingURL=lend-markets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lend-markets.d.ts","sourceRoot":"","sources":["../../../src/resources/vektor/registry/lend-markets.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;OASG;IACH,IAAI,CACF,IAAI,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;CAClD;AAED,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gCAAgC,CAAC,GAAG,IAAI,CAAC;IAElE;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC;IAEpC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;CACvD;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.LendMarkets = void 0;
5
+ const resource_1 = require("../../../core/resource.js");
6
+ class LendMarkets extends resource_1.APIResource {
7
+ /**
8
+ * List lend markets in the registry, optionally filtered by blockchain, assets or
9
+ * venues
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const lendMarkets =
14
+ * await client.vektor.registry.lendMarkets.list();
15
+ * ```
16
+ */
17
+ list(body = {}, options) {
18
+ return this._client.post('/v1/vektor/registry/lend/markets', { body, ...options });
19
+ }
20
+ }
21
+ exports.LendMarkets = LendMarkets;
22
+ //# sourceMappingURL=lend-markets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lend-markets.js","sourceRoot":"","sources":["../../../src/resources/vektor/registry/lend-markets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;OASG;IACH,IAAI,CACF,OAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAjBD,kCAiBC"}
@@ -0,0 +1,18 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ export class LendMarkets extends APIResource {
4
+ /**
5
+ * List lend markets in the registry, optionally filtered by blockchain, assets or
6
+ * venues
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const lendMarkets =
11
+ * await client.vektor.registry.lendMarkets.list();
12
+ * ```
13
+ */
14
+ list(body = {}, options) {
15
+ return this._client.post('/v1/vektor/registry/lend/markets', { body, ...options });
16
+ }
17
+ }
18
+ //# sourceMappingURL=lend-markets.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lend-markets.mjs","sourceRoot":"","sources":["../../../src/resources/vektor/registry/lend-markets.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;OASG;IACH,IAAI,CACF,OAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF"}
@@ -0,0 +1,44 @@
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import * as VektorAPI from "../vektor.mjs";
3
+ import { APIPromise } from "../../../core/api-promise.mjs";
4
+ import { RequestOptions } from "../../../internal/request-options.mjs";
5
+ export declare class LPPools extends APIResource {
6
+ /**
7
+ * List LP pools in the registry, optionally filtered by blockchain, assets or
8
+ * venues
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const lpPools = await client.vektor.registry.lpPools.list();
13
+ * ```
14
+ */
15
+ list(body?: LPPoolListParams | null | undefined, options?: RequestOptions): APIPromise<LPPoolListResponse>;
16
+ }
17
+ export interface LPPoolListResponse {
18
+ /**
19
+ * A list of registry data for LP pools
20
+ */
21
+ items: Array<VektorAPI.RegistryLPPool>;
22
+ }
23
+ export interface LPPoolListParams {
24
+ /**
25
+ * A LP pool ID, represented as a TypeID with `lp_pool` prefix
26
+ */
27
+ id?: string | null;
28
+ /**
29
+ * A list of asset IDs, EVM addresses or asset symbols
30
+ */
31
+ assets?: Array<VektorAPI.AssetIDOrAddressEVMOrAssetSymbol> | null;
32
+ /**
33
+ * A blockchain ID, represented as a TypeID with `blockchain` prefix
34
+ */
35
+ blockchain?: VektorAPI.BlockchainID;
36
+ /**
37
+ * A list of venue IDs or venue symbols
38
+ */
39
+ venues?: Array<VektorAPI.VenueIDOrVenueSymbol> | null;
40
+ }
41
+ export declare namespace LPPools {
42
+ export { type LPPoolListResponse as LPPoolListResponse, type LPPoolListParams as LPPoolListParams };
43
+ }
44
+ //# sourceMappingURL=lp-pools.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lp-pools.d.mts","sourceRoot":"","sources":["../../../src/resources/vektor/registry/lp-pools.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;OAQG;IACH,IAAI,CACF,IAAI,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CACxC;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gCAAgC,CAAC,GAAG,IAAI,CAAC;IAElE;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC;IAEpC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;CACvD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
@@ -0,0 +1,44 @@
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import * as VektorAPI from "../vektor.js";
3
+ import { APIPromise } from "../../../core/api-promise.js";
4
+ import { RequestOptions } from "../../../internal/request-options.js";
5
+ export declare class LPPools extends APIResource {
6
+ /**
7
+ * List LP pools in the registry, optionally filtered by blockchain, assets or
8
+ * venues
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const lpPools = await client.vektor.registry.lpPools.list();
13
+ * ```
14
+ */
15
+ list(body?: LPPoolListParams | null | undefined, options?: RequestOptions): APIPromise<LPPoolListResponse>;
16
+ }
17
+ export interface LPPoolListResponse {
18
+ /**
19
+ * A list of registry data for LP pools
20
+ */
21
+ items: Array<VektorAPI.RegistryLPPool>;
22
+ }
23
+ export interface LPPoolListParams {
24
+ /**
25
+ * A LP pool ID, represented as a TypeID with `lp_pool` prefix
26
+ */
27
+ id?: string | null;
28
+ /**
29
+ * A list of asset IDs, EVM addresses or asset symbols
30
+ */
31
+ assets?: Array<VektorAPI.AssetIDOrAddressEVMOrAssetSymbol> | null;
32
+ /**
33
+ * A blockchain ID, represented as a TypeID with `blockchain` prefix
34
+ */
35
+ blockchain?: VektorAPI.BlockchainID;
36
+ /**
37
+ * A list of venue IDs or venue symbols
38
+ */
39
+ venues?: Array<VektorAPI.VenueIDOrVenueSymbol> | null;
40
+ }
41
+ export declare namespace LPPools {
42
+ export { type LPPoolListResponse as LPPoolListResponse, type LPPoolListParams as LPPoolListParams };
43
+ }
44
+ //# sourceMappingURL=lp-pools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lp-pools.d.ts","sourceRoot":"","sources":["../../../src/resources/vektor/registry/lp-pools.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;OAQG;IACH,IAAI,CACF,IAAI,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CACxC;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gCAAgC,CAAC,GAAG,IAAI,CAAC;IAElE;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC;IAEpC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;CACvD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.LPPools = void 0;
5
+ const resource_1 = require("../../../core/resource.js");
6
+ class LPPools extends resource_1.APIResource {
7
+ /**
8
+ * List LP pools in the registry, optionally filtered by blockchain, assets or
9
+ * venues
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const lpPools = await client.vektor.registry.lpPools.list();
14
+ * ```
15
+ */
16
+ list(body = {}, options) {
17
+ return this._client.post('/v1/vektor/registry/lp/pools', { body, ...options });
18
+ }
19
+ }
20
+ exports.LPPools = LPPools;
21
+ //# sourceMappingURL=lp-pools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lp-pools.js","sourceRoot":"","sources":["../../../src/resources/vektor/registry/lp-pools.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;OAQG;IACH,IAAI,CACF,OAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF;AAhBD,0BAgBC"}
@@ -0,0 +1,17 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ export class LPPools extends APIResource {
4
+ /**
5
+ * List LP pools in the registry, optionally filtered by blockchain, assets or
6
+ * venues
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const lpPools = await client.vektor.registry.lpPools.list();
11
+ * ```
12
+ */
13
+ list(body = {}, options) {
14
+ return this._client.post('/v1/vektor/registry/lp/pools', { body, ...options });
15
+ }
16
+ }
17
+ //# sourceMappingURL=lp-pools.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lp-pools.mjs","sourceRoot":"","sources":["../../../src/resources/vektor/registry/lp-pools.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;OAQG;IACH,IAAI,CACF,OAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
@@ -0,0 +1,34 @@
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import * as AssetsAPI from "./assets.mjs";
3
+ import { AssetListParams, AssetListResponse, Assets } from "./assets.mjs";
4
+ import * as BlockchainsAPI from "./blockchains.mjs";
5
+ import { BlockchainListParams, BlockchainListResponse, Blockchains } from "./blockchains.mjs";
6
+ import * as BorrowMarketsAPI from "./borrow-markets.mjs";
7
+ import { BorrowMarketListParams, BorrowMarketListResponse, BorrowMarkets } from "./borrow-markets.mjs";
8
+ import * as ErrorsAPI from "./errors.mjs";
9
+ import { ErrorListParams, ErrorListResponse, Errors } from "./errors.mjs";
10
+ import * as LendMarketsAPI from "./lend-markets.mjs";
11
+ import { LendMarketListParams, LendMarketListResponse, LendMarkets } from "./lend-markets.mjs";
12
+ import * as LPPoolsAPI from "./lp-pools.mjs";
13
+ import { LPPoolListParams, LPPoolListResponse, LPPools } from "./lp-pools.mjs";
14
+ import * as VenuesAPI from "./venues.mjs";
15
+ import { VenueListParams, VenueListResponse, Venues } from "./venues.mjs";
16
+ export declare class Registry extends APIResource {
17
+ assets: AssetsAPI.Assets;
18
+ blockchains: BlockchainsAPI.Blockchains;
19
+ venues: VenuesAPI.Venues;
20
+ errors: ErrorsAPI.Errors;
21
+ lendMarkets: LendMarketsAPI.LendMarkets;
22
+ borrowMarkets: BorrowMarketsAPI.BorrowMarkets;
23
+ lpPools: LPPoolsAPI.LPPools;
24
+ }
25
+ export declare namespace Registry {
26
+ export { Assets as Assets, type AssetListResponse as AssetListResponse, type AssetListParams as AssetListParams, };
27
+ export { Blockchains as Blockchains, type BlockchainListResponse as BlockchainListResponse, type BlockchainListParams as BlockchainListParams, };
28
+ export { Venues as Venues, type VenueListResponse as VenueListResponse, type VenueListParams as VenueListParams, };
29
+ export { Errors as Errors, type ErrorListResponse as ErrorListResponse, type ErrorListParams as ErrorListParams, };
30
+ export { LendMarkets as LendMarkets, type LendMarketListResponse as LendMarketListResponse, type LendMarketListParams as LendMarketListParams, };
31
+ export { BorrowMarkets as BorrowMarkets, type BorrowMarketListResponse as BorrowMarketListResponse, type BorrowMarketListParams as BorrowMarketListParams, };
32
+ export { LPPools as LPPools, type LPPoolListResponse as LPPoolListResponse, type LPPoolListParams as LPPoolListParams, };
33
+ }
34
+ //# sourceMappingURL=registry.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.d.mts","sourceRoot":"","sources":["../../../src/resources/vektor/registry/registry.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,EAAE;OAC9C,KAAK,cAAc;OACnB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,WAAW,EAAE;OAC7D,KAAK,gBAAgB;OACrB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,aAAa,EAAE;OACnE,KAAK,SAAS;OACd,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,EAAE;OAC9C,KAAK,cAAc;OACnB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,WAAW,EAAE;OAC7D,KAAK,UAAU;OACf,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,OAAO,EAAE;OACjD,KAAK,SAAS;OACd,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,EAAE;AAErD,qBAAa,QAAS,SAAQ,WAAW;IACvC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IACjG,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAUD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}