@nirvana-labs/nirvana 1.9.0 → 1.11.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 (678) hide show
  1. package/CHANGELOG.md +18 -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 +22 -0
  37. package/resources/vektor/borrow/borrow.d.mts.map +1 -0
  38. package/resources/vektor/borrow/borrow.d.ts +22 -0
  39. package/resources/vektor/borrow/borrow.d.ts.map +1 -0
  40. package/resources/vektor/borrow/borrow.js +29 -0
  41. package/resources/vektor/borrow/borrow.js.map +1 -0
  42. package/resources/vektor/borrow/borrow.mjs +24 -0
  43. package/resources/vektor/borrow/borrow.mjs.map +1 -0
  44. package/resources/vektor/borrow/borrow_.d.mts +47 -0
  45. package/resources/vektor/borrow/borrow_.d.mts.map +1 -0
  46. package/resources/vektor/borrow/borrow_.d.ts +47 -0
  47. package/resources/vektor/borrow/borrow_.d.ts.map +1 -0
  48. package/resources/vektor/borrow/borrow_.js +26 -0
  49. package/resources/vektor/borrow/borrow_.js.map +1 -0
  50. package/resources/vektor/borrow/borrow_.mjs +22 -0
  51. package/resources/vektor/borrow/borrow_.mjs.map +1 -0
  52. package/resources/vektor/borrow/index.d.mts +6 -0
  53. package/resources/vektor/borrow/index.d.mts.map +1 -0
  54. package/resources/vektor/borrow/index.d.ts +6 -0
  55. package/resources/vektor/borrow/index.d.ts.map +1 -0
  56. package/resources/vektor/borrow/index.js +13 -0
  57. package/resources/vektor/borrow/index.js.map +1 -0
  58. package/resources/vektor/borrow/index.mjs +6 -0
  59. package/resources/vektor/borrow/index.mjs.map +1 -0
  60. package/resources/vektor/borrow/markets.d.mts +158 -0
  61. package/resources/vektor/borrow/markets.d.mts.map +1 -0
  62. package/resources/vektor/borrow/markets.d.ts +158 -0
  63. package/resources/vektor/borrow/markets.d.ts.map +1 -0
  64. package/resources/vektor/borrow/markets.js +42 -0
  65. package/resources/vektor/borrow/markets.js.map +1 -0
  66. package/resources/vektor/borrow/markets.mjs +38 -0
  67. package/resources/vektor/borrow/markets.mjs.map +1 -0
  68. package/resources/vektor/borrow/positions.d.mts +182 -0
  69. package/resources/vektor/borrow/positions.d.mts.map +1 -0
  70. package/resources/vektor/borrow/positions.d.ts +182 -0
  71. package/resources/vektor/borrow/positions.d.ts.map +1 -0
  72. package/resources/vektor/borrow/positions.js +50 -0
  73. package/resources/vektor/borrow/positions.js.map +1 -0
  74. package/resources/vektor/borrow/positions.mjs +46 -0
  75. package/resources/vektor/borrow/positions.mjs.map +1 -0
  76. package/resources/vektor/borrow.d.mts +2 -0
  77. package/resources/vektor/borrow.d.mts.map +1 -0
  78. package/resources/vektor/borrow.d.ts +2 -0
  79. package/resources/vektor/borrow.d.ts.map +1 -0
  80. package/resources/vektor/borrow.js +6 -0
  81. package/resources/vektor/borrow.js.map +1 -0
  82. package/resources/vektor/borrow.mjs +3 -0
  83. package/resources/vektor/borrow.mjs.map +1 -0
  84. package/resources/vektor/bridge/bridge.d.mts +10 -0
  85. package/resources/vektor/bridge/bridge.d.mts.map +1 -0
  86. package/resources/vektor/bridge/bridge.d.ts +10 -0
  87. package/resources/vektor/bridge/bridge.d.ts.map +1 -0
  88. package/resources/vektor/bridge/bridge.js +17 -0
  89. package/resources/vektor/bridge/bridge.js.map +1 -0
  90. package/resources/vektor/bridge/bridge.mjs +12 -0
  91. package/resources/vektor/bridge/bridge.mjs.map +1 -0
  92. package/resources/vektor/bridge/index.d.mts +3 -0
  93. package/resources/vektor/bridge/index.d.mts.map +1 -0
  94. package/resources/vektor/bridge/index.d.ts +3 -0
  95. package/resources/vektor/bridge/index.d.ts.map +1 -0
  96. package/resources/vektor/bridge/index.js +9 -0
  97. package/resources/vektor/bridge/index.js.map +1 -0
  98. package/resources/vektor/bridge/index.mjs +4 -0
  99. package/resources/vektor/bridge/index.mjs.map +1 -0
  100. package/resources/vektor/bridge/quotes.d.mts +57 -0
  101. package/resources/vektor/bridge/quotes.d.mts.map +1 -0
  102. package/resources/vektor/bridge/quotes.d.ts +57 -0
  103. package/resources/vektor/bridge/quotes.d.ts.map +1 -0
  104. package/resources/vektor/bridge/quotes.js +26 -0
  105. package/resources/vektor/bridge/quotes.js.map +1 -0
  106. package/resources/vektor/bridge/quotes.mjs +22 -0
  107. package/resources/vektor/bridge/quotes.mjs.map +1 -0
  108. package/resources/vektor/bridge.d.mts +2 -0
  109. package/resources/vektor/bridge.d.mts.map +1 -0
  110. package/resources/vektor/bridge.d.ts +2 -0
  111. package/resources/vektor/bridge.d.ts.map +1 -0
  112. package/resources/vektor/bridge.js +6 -0
  113. package/resources/vektor/bridge.js.map +1 -0
  114. package/resources/vektor/bridge.mjs +3 -0
  115. package/resources/vektor/bridge.mjs.map +1 -0
  116. package/resources/vektor/buy/buy.d.mts +14 -0
  117. package/resources/vektor/buy/buy.d.mts.map +1 -0
  118. package/resources/vektor/buy/buy.d.ts +14 -0
  119. package/resources/vektor/buy/buy.d.ts.map +1 -0
  120. package/resources/vektor/buy/buy.js +21 -0
  121. package/resources/vektor/buy/buy.js.map +1 -0
  122. package/resources/vektor/buy/buy.mjs +16 -0
  123. package/resources/vektor/buy/buy.mjs.map +1 -0
  124. package/resources/vektor/buy/buy_.d.mts +56 -0
  125. package/resources/vektor/buy/buy_.d.mts.map +1 -0
  126. package/resources/vektor/buy/buy_.d.ts +56 -0
  127. package/resources/vektor/buy/buy_.d.ts.map +1 -0
  128. package/resources/vektor/buy/buy_.js +27 -0
  129. package/resources/vektor/buy/buy_.js.map +1 -0
  130. package/resources/vektor/buy/buy_.mjs +23 -0
  131. package/resources/vektor/buy/buy_.mjs.map +1 -0
  132. package/resources/vektor/buy/index.d.mts +4 -0
  133. package/resources/vektor/buy/index.d.mts.map +1 -0
  134. package/resources/vektor/buy/index.d.ts +4 -0
  135. package/resources/vektor/buy/index.d.ts.map +1 -0
  136. package/resources/vektor/buy/index.js +9 -0
  137. package/resources/vektor/buy/index.js.map +1 -0
  138. package/resources/vektor/buy/index.mjs +4 -0
  139. package/resources/vektor/buy/index.mjs.map +1 -0
  140. package/resources/vektor/buy/quotes.d.mts +57 -0
  141. package/resources/vektor/buy/quotes.d.mts.map +1 -0
  142. package/resources/vektor/buy/quotes.d.ts +57 -0
  143. package/resources/vektor/buy/quotes.d.ts.map +1 -0
  144. package/resources/vektor/buy/quotes.js +26 -0
  145. package/resources/vektor/buy/quotes.js.map +1 -0
  146. package/resources/vektor/buy/quotes.mjs +22 -0
  147. package/resources/vektor/buy/quotes.mjs.map +1 -0
  148. package/resources/vektor/buy.d.mts +2 -0
  149. package/resources/vektor/buy.d.mts.map +1 -0
  150. package/resources/vektor/buy.d.ts +2 -0
  151. package/resources/vektor/buy.d.ts.map +1 -0
  152. package/resources/vektor/buy.js +6 -0
  153. package/resources/vektor/buy.js.map +1 -0
  154. package/resources/vektor/buy.mjs +3 -0
  155. package/resources/vektor/buy.mjs.map +1 -0
  156. package/resources/vektor/executions/executions.d.mts +38 -0
  157. package/resources/vektor/executions/executions.d.mts.map +1 -0
  158. package/resources/vektor/executions/executions.d.ts +38 -0
  159. package/resources/vektor/executions/executions.d.ts.map +1 -0
  160. package/resources/vektor/executions/executions.js +42 -0
  161. package/resources/vektor/executions/executions.js.map +1 -0
  162. package/resources/vektor/executions/executions.mjs +37 -0
  163. package/resources/vektor/executions/executions.mjs.map +1 -0
  164. package/resources/vektor/executions/index.d.mts +3 -0
  165. package/resources/vektor/executions/index.d.mts.map +1 -0
  166. package/resources/vektor/executions/index.d.ts +3 -0
  167. package/resources/vektor/executions/index.d.ts.map +1 -0
  168. package/resources/vektor/executions/index.js +9 -0
  169. package/resources/vektor/executions/index.js.map +1 -0
  170. package/resources/vektor/executions/index.mjs +4 -0
  171. package/resources/vektor/executions/index.mjs.map +1 -0
  172. package/resources/vektor/executions/steps.d.mts +1225 -0
  173. package/resources/vektor/executions/steps.d.mts.map +1 -0
  174. package/resources/vektor/executions/steps.d.ts +1225 -0
  175. package/resources/vektor/executions/steps.d.ts.map +1 -0
  176. package/resources/vektor/executions/steps.js +45 -0
  177. package/resources/vektor/executions/steps.js.map +1 -0
  178. package/resources/vektor/executions/steps.mjs +41 -0
  179. package/resources/vektor/executions/steps.mjs.map +1 -0
  180. package/resources/vektor/executions.d.mts +2 -0
  181. package/resources/vektor/executions.d.mts.map +1 -0
  182. package/resources/vektor/executions.d.ts +2 -0
  183. package/resources/vektor/executions.d.ts.map +1 -0
  184. package/resources/vektor/executions.js +6 -0
  185. package/resources/vektor/executions.js.map +1 -0
  186. package/resources/vektor/executions.mjs +3 -0
  187. package/resources/vektor/executions.mjs.map +1 -0
  188. package/resources/vektor/incentivize.d.mts +47 -0
  189. package/resources/vektor/incentivize.d.mts.map +1 -0
  190. package/resources/vektor/incentivize.d.ts +47 -0
  191. package/resources/vektor/incentivize.d.ts.map +1 -0
  192. package/resources/vektor/incentivize.js +24 -0
  193. package/resources/vektor/incentivize.js.map +1 -0
  194. package/resources/vektor/incentivize.mjs +20 -0
  195. package/resources/vektor/incentivize.mjs.map +1 -0
  196. package/resources/vektor/index.d.mts +17 -0
  197. package/resources/vektor/index.d.mts.map +1 -0
  198. package/resources/vektor/index.d.ts +17 -0
  199. package/resources/vektor/index.d.ts.map +1 -0
  200. package/resources/vektor/index.js +37 -0
  201. package/resources/vektor/index.js.map +1 -0
  202. package/resources/vektor/index.mjs +18 -0
  203. package/resources/vektor/index.mjs.map +1 -0
  204. package/resources/vektor/lend/index.d.mts +7 -0
  205. package/resources/vektor/lend/index.d.mts.map +1 -0
  206. package/resources/vektor/lend/index.d.ts +7 -0
  207. package/resources/vektor/lend/index.d.ts.map +1 -0
  208. package/resources/vektor/lend/index.js +15 -0
  209. package/resources/vektor/lend/index.js.map +1 -0
  210. package/resources/vektor/lend/index.mjs +7 -0
  211. package/resources/vektor/lend/index.mjs.map +1 -0
  212. package/resources/vektor/lend/lend.d.mts +26 -0
  213. package/resources/vektor/lend/lend.d.mts.map +1 -0
  214. package/resources/vektor/lend/lend.d.ts +26 -0
  215. package/resources/vektor/lend/lend.d.ts.map +1 -0
  216. package/resources/vektor/lend/lend.js +33 -0
  217. package/resources/vektor/lend/lend.js.map +1 -0
  218. package/resources/vektor/lend/lend.mjs +28 -0
  219. package/resources/vektor/lend/lend.mjs.map +1 -0
  220. package/resources/vektor/lend/lend_.d.mts +47 -0
  221. package/resources/vektor/lend/lend_.d.mts.map +1 -0
  222. package/resources/vektor/lend/lend_.d.ts +47 -0
  223. package/resources/vektor/lend/lend_.d.ts.map +1 -0
  224. package/resources/vektor/lend/lend_.js +26 -0
  225. package/resources/vektor/lend/lend_.js.map +1 -0
  226. package/resources/vektor/lend/lend_.mjs +22 -0
  227. package/resources/vektor/lend/lend_.mjs.map +1 -0
  228. package/resources/vektor/lend/markets.d.mts +158 -0
  229. package/resources/vektor/lend/markets.d.mts.map +1 -0
  230. package/resources/vektor/lend/markets.d.ts +158 -0
  231. package/resources/vektor/lend/markets.d.ts.map +1 -0
  232. package/resources/vektor/lend/markets.js +42 -0
  233. package/resources/vektor/lend/markets.js.map +1 -0
  234. package/resources/vektor/lend/markets.mjs +38 -0
  235. package/resources/vektor/lend/markets.mjs.map +1 -0
  236. package/resources/vektor/lend/positions.d.mts +178 -0
  237. package/resources/vektor/lend/positions.d.mts.map +1 -0
  238. package/resources/vektor/lend/positions.d.ts +178 -0
  239. package/resources/vektor/lend/positions.d.ts.map +1 -0
  240. package/resources/vektor/lend/positions.js +46 -0
  241. package/resources/vektor/lend/positions.js.map +1 -0
  242. package/resources/vektor/lend/positions.mjs +42 -0
  243. package/resources/vektor/lend/positions.mjs.map +1 -0
  244. package/resources/vektor/lend/set-collateral.d.mts +42 -0
  245. package/resources/vektor/lend/set-collateral.d.mts.map +1 -0
  246. package/resources/vektor/lend/set-collateral.d.ts +42 -0
  247. package/resources/vektor/lend/set-collateral.d.ts.map +1 -0
  248. package/resources/vektor/lend/set-collateral.js +27 -0
  249. package/resources/vektor/lend/set-collateral.js.map +1 -0
  250. package/resources/vektor/lend/set-collateral.mjs +23 -0
  251. package/resources/vektor/lend/set-collateral.mjs.map +1 -0
  252. package/resources/vektor/lend/withdraw.d.mts +47 -0
  253. package/resources/vektor/lend/withdraw.d.mts.map +1 -0
  254. package/resources/vektor/lend/withdraw.d.ts +47 -0
  255. package/resources/vektor/lend/withdraw.d.ts.map +1 -0
  256. package/resources/vektor/lend/withdraw.js +25 -0
  257. package/resources/vektor/lend/withdraw.js.map +1 -0
  258. package/resources/vektor/lend/withdraw.mjs +21 -0
  259. package/resources/vektor/lend/withdraw.mjs.map +1 -0
  260. package/resources/vektor/lend.d.mts +2 -0
  261. package/resources/vektor/lend.d.mts.map +1 -0
  262. package/resources/vektor/lend.d.ts +2 -0
  263. package/resources/vektor/lend.d.ts.map +1 -0
  264. package/resources/vektor/lend.js +6 -0
  265. package/resources/vektor/lend.js.map +1 -0
  266. package/resources/vektor/lend.mjs +3 -0
  267. package/resources/vektor/lend.mjs.map +1 -0
  268. package/resources/vektor/lock/index.d.mts +4 -0
  269. package/resources/vektor/lock/index.d.mts.map +1 -0
  270. package/resources/vektor/lock/index.d.ts +4 -0
  271. package/resources/vektor/lock/index.d.ts.map +1 -0
  272. package/resources/vektor/lock/index.js +11 -0
  273. package/resources/vektor/lock/index.js.map +1 -0
  274. package/resources/vektor/lock/index.mjs +5 -0
  275. package/resources/vektor/lock/index.mjs.map +1 -0
  276. package/resources/vektor/lock/lock.d.mts +14 -0
  277. package/resources/vektor/lock/lock.d.mts.map +1 -0
  278. package/resources/vektor/lock/lock.d.ts +14 -0
  279. package/resources/vektor/lock/lock.d.ts.map +1 -0
  280. package/resources/vektor/lock/lock.js +21 -0
  281. package/resources/vektor/lock/lock.js.map +1 -0
  282. package/resources/vektor/lock/lock.mjs +16 -0
  283. package/resources/vektor/lock/lock.mjs.map +1 -0
  284. package/resources/vektor/lock/markets.d.mts +43 -0
  285. package/resources/vektor/lock/markets.d.mts.map +1 -0
  286. package/resources/vektor/lock/markets.d.ts +43 -0
  287. package/resources/vektor/lock/markets.d.ts.map +1 -0
  288. package/resources/vektor/lock/markets.js +24 -0
  289. package/resources/vektor/lock/markets.js.map +1 -0
  290. package/resources/vektor/lock/markets.mjs +20 -0
  291. package/resources/vektor/lock/markets.mjs.map +1 -0
  292. package/resources/vektor/lock/positions.d.mts +48 -0
  293. package/resources/vektor/lock/positions.d.mts.map +1 -0
  294. package/resources/vektor/lock/positions.d.ts +48 -0
  295. package/resources/vektor/lock/positions.d.ts.map +1 -0
  296. package/resources/vektor/lock/positions.js +25 -0
  297. package/resources/vektor/lock/positions.js.map +1 -0
  298. package/resources/vektor/lock/positions.mjs +21 -0
  299. package/resources/vektor/lock/positions.mjs.map +1 -0
  300. package/resources/vektor/lock.d.mts +2 -0
  301. package/resources/vektor/lock.d.mts.map +1 -0
  302. package/resources/vektor/lock.d.ts +2 -0
  303. package/resources/vektor/lock.d.ts.map +1 -0
  304. package/resources/vektor/lock.js +6 -0
  305. package/resources/vektor/lock.js.map +1 -0
  306. package/resources/vektor/lock.mjs +3 -0
  307. package/resources/vektor/lock.mjs.map +1 -0
  308. package/resources/vektor/lp/deposit-quote.d.mts +119 -0
  309. package/resources/vektor/lp/deposit-quote.d.mts.map +1 -0
  310. package/resources/vektor/lp/deposit-quote.d.ts +119 -0
  311. package/resources/vektor/lp/deposit-quote.d.ts.map +1 -0
  312. package/resources/vektor/lp/deposit-quote.js +27 -0
  313. package/resources/vektor/lp/deposit-quote.js.map +1 -0
  314. package/resources/vektor/lp/deposit-quote.mjs +23 -0
  315. package/resources/vektor/lp/deposit-quote.mjs.map +1 -0
  316. package/resources/vektor/lp/index.d.mts +6 -0
  317. package/resources/vektor/lp/index.d.mts.map +1 -0
  318. package/resources/vektor/lp/index.d.ts +6 -0
  319. package/resources/vektor/lp/index.d.ts.map +1 -0
  320. package/resources/vektor/lp/index.js +15 -0
  321. package/resources/vektor/lp/index.js.map +1 -0
  322. package/resources/vektor/lp/index.mjs +7 -0
  323. package/resources/vektor/lp/index.mjs.map +1 -0
  324. package/resources/vektor/lp/lp.d.mts +22 -0
  325. package/resources/vektor/lp/lp.d.mts.map +1 -0
  326. package/resources/vektor/lp/lp.d.ts +22 -0
  327. package/resources/vektor/lp/lp.d.ts.map +1 -0
  328. package/resources/vektor/lp/lp.js +29 -0
  329. package/resources/vektor/lp/lp.js.map +1 -0
  330. package/resources/vektor/lp/lp.mjs +24 -0
  331. package/resources/vektor/lp/lp.mjs.map +1 -0
  332. package/resources/vektor/lp/pools.d.mts +158 -0
  333. package/resources/vektor/lp/pools.d.mts.map +1 -0
  334. package/resources/vektor/lp/pools.d.ts +158 -0
  335. package/resources/vektor/lp/pools.d.ts.map +1 -0
  336. package/resources/vektor/lp/pools.js +42 -0
  337. package/resources/vektor/lp/pools.js.map +1 -0
  338. package/resources/vektor/lp/pools.mjs +38 -0
  339. package/resources/vektor/lp/pools.mjs.map +1 -0
  340. package/resources/vektor/lp/positions.d.mts +194 -0
  341. package/resources/vektor/lp/positions.d.mts.map +1 -0
  342. package/resources/vektor/lp/positions.d.ts +194 -0
  343. package/resources/vektor/lp/positions.d.ts.map +1 -0
  344. package/resources/vektor/lp/positions.js +46 -0
  345. package/resources/vektor/lp/positions.js.map +1 -0
  346. package/resources/vektor/lp/positions.mjs +42 -0
  347. package/resources/vektor/lp/positions.mjs.map +1 -0
  348. package/resources/vektor/lp/withdraw-quote.d.mts +73 -0
  349. package/resources/vektor/lp/withdraw-quote.d.mts.map +1 -0
  350. package/resources/vektor/lp/withdraw-quote.d.ts +73 -0
  351. package/resources/vektor/lp/withdraw-quote.d.ts.map +1 -0
  352. package/resources/vektor/lp/withdraw-quote.js +27 -0
  353. package/resources/vektor/lp/withdraw-quote.js.map +1 -0
  354. package/resources/vektor/lp/withdraw-quote.mjs +23 -0
  355. package/resources/vektor/lp/withdraw-quote.mjs.map +1 -0
  356. package/resources/vektor/lp.d.mts +2 -0
  357. package/resources/vektor/lp.d.mts.map +1 -0
  358. package/resources/vektor/lp.d.ts +2 -0
  359. package/resources/vektor/lp.d.ts.map +1 -0
  360. package/resources/vektor/lp.js +6 -0
  361. package/resources/vektor/lp.js.map +1 -0
  362. package/resources/vektor/lp.mjs +3 -0
  363. package/resources/vektor/lp.mjs.map +1 -0
  364. package/resources/vektor/move.d.mts +47 -0
  365. package/resources/vektor/move.d.mts.map +1 -0
  366. package/resources/vektor/move.d.ts +47 -0
  367. package/resources/vektor/move.d.ts.map +1 -0
  368. package/resources/vektor/move.js +26 -0
  369. package/resources/vektor/move.js.map +1 -0
  370. package/resources/vektor/move.mjs +22 -0
  371. package/resources/vektor/move.mjs.map +1 -0
  372. package/resources/vektor/prices.d.mts +77 -0
  373. package/resources/vektor/prices.d.mts.map +1 -0
  374. package/resources/vektor/prices.d.ts +77 -0
  375. package/resources/vektor/prices.d.ts.map +1 -0
  376. package/resources/vektor/prices.js +35 -0
  377. package/resources/vektor/prices.js.map +1 -0
  378. package/resources/vektor/prices.mjs +31 -0
  379. package/resources/vektor/prices.mjs.map +1 -0
  380. package/resources/vektor/registry/assets.d.mts +39 -0
  381. package/resources/vektor/registry/assets.d.mts.map +1 -0
  382. package/resources/vektor/registry/assets.d.ts +39 -0
  383. package/resources/vektor/registry/assets.d.ts.map +1 -0
  384. package/resources/vektor/registry/assets.js +20 -0
  385. package/resources/vektor/registry/assets.js.map +1 -0
  386. package/resources/vektor/registry/assets.mjs +16 -0
  387. package/resources/vektor/registry/assets.mjs.map +1 -0
  388. package/resources/vektor/registry/blockchains.d.mts +36 -0
  389. package/resources/vektor/registry/blockchains.d.mts.map +1 -0
  390. package/resources/vektor/registry/blockchains.d.ts +36 -0
  391. package/resources/vektor/registry/blockchains.d.ts.map +1 -0
  392. package/resources/vektor/registry/blockchains.js +21 -0
  393. package/resources/vektor/registry/blockchains.js.map +1 -0
  394. package/resources/vektor/registry/blockchains.mjs +17 -0
  395. package/resources/vektor/registry/blockchains.mjs.map +1 -0
  396. package/resources/vektor/registry/borrow-markets.d.mts +46 -0
  397. package/resources/vektor/registry/borrow-markets.d.mts.map +1 -0
  398. package/resources/vektor/registry/borrow-markets.d.ts +46 -0
  399. package/resources/vektor/registry/borrow-markets.d.ts.map +1 -0
  400. package/resources/vektor/registry/borrow-markets.js +22 -0
  401. package/resources/vektor/registry/borrow-markets.js.map +1 -0
  402. package/resources/vektor/registry/borrow-markets.mjs +18 -0
  403. package/resources/vektor/registry/borrow-markets.mjs.map +1 -0
  404. package/resources/vektor/registry/errors.d.mts +28 -0
  405. package/resources/vektor/registry/errors.d.mts.map +1 -0
  406. package/resources/vektor/registry/errors.d.ts +28 -0
  407. package/resources/vektor/registry/errors.d.ts.map +1 -0
  408. package/resources/vektor/registry/errors.js +20 -0
  409. package/resources/vektor/registry/errors.js.map +1 -0
  410. package/resources/vektor/registry/errors.mjs +16 -0
  411. package/resources/vektor/registry/errors.mjs.map +1 -0
  412. package/resources/vektor/registry/index.d.mts +9 -0
  413. package/resources/vektor/registry/index.d.mts.map +1 -0
  414. package/resources/vektor/registry/index.d.ts +9 -0
  415. package/resources/vektor/registry/index.d.ts.map +1 -0
  416. package/resources/vektor/registry/index.js +21 -0
  417. package/resources/vektor/registry/index.js.map +1 -0
  418. package/resources/vektor/registry/index.mjs +10 -0
  419. package/resources/vektor/registry/index.mjs.map +1 -0
  420. package/resources/vektor/registry/lend-markets.d.mts +46 -0
  421. package/resources/vektor/registry/lend-markets.d.mts.map +1 -0
  422. package/resources/vektor/registry/lend-markets.d.ts +46 -0
  423. package/resources/vektor/registry/lend-markets.d.ts.map +1 -0
  424. package/resources/vektor/registry/lend-markets.js +22 -0
  425. package/resources/vektor/registry/lend-markets.js.map +1 -0
  426. package/resources/vektor/registry/lend-markets.mjs +18 -0
  427. package/resources/vektor/registry/lend-markets.mjs.map +1 -0
  428. package/resources/vektor/registry/lp-pools.d.mts +44 -0
  429. package/resources/vektor/registry/lp-pools.d.mts.map +1 -0
  430. package/resources/vektor/registry/lp-pools.d.ts +44 -0
  431. package/resources/vektor/registry/lp-pools.d.ts.map +1 -0
  432. package/resources/vektor/registry/lp-pools.js +21 -0
  433. package/resources/vektor/registry/lp-pools.js.map +1 -0
  434. package/resources/vektor/registry/lp-pools.mjs +17 -0
  435. package/resources/vektor/registry/lp-pools.mjs.map +1 -0
  436. package/resources/vektor/registry/registry.d.mts +34 -0
  437. package/resources/vektor/registry/registry.d.mts.map +1 -0
  438. package/resources/vektor/registry/registry.d.ts +34 -0
  439. package/resources/vektor/registry/registry.d.ts.map +1 -0
  440. package/resources/vektor/registry/registry.js +41 -0
  441. package/resources/vektor/registry/registry.js.map +1 -0
  442. package/resources/vektor/registry/registry.mjs +36 -0
  443. package/resources/vektor/registry/registry.mjs.map +1 -0
  444. package/resources/vektor/registry/venues.d.mts +35 -0
  445. package/resources/vektor/registry/venues.d.mts.map +1 -0
  446. package/resources/vektor/registry/venues.d.ts +35 -0
  447. package/resources/vektor/registry/venues.d.ts.map +1 -0
  448. package/resources/vektor/registry/venues.js +20 -0
  449. package/resources/vektor/registry/venues.js.map +1 -0
  450. package/resources/vektor/registry/venues.mjs +16 -0
  451. package/resources/vektor/registry/venues.mjs.map +1 -0
  452. package/resources/vektor/registry.d.mts +2 -0
  453. package/resources/vektor/registry.d.mts.map +1 -0
  454. package/resources/vektor/registry.d.ts +2 -0
  455. package/resources/vektor/registry.d.ts.map +1 -0
  456. package/resources/vektor/registry.js +6 -0
  457. package/resources/vektor/registry.js.map +1 -0
  458. package/resources/vektor/registry.mjs +3 -0
  459. package/resources/vektor/registry.mjs.map +1 -0
  460. package/resources/vektor/sell/index.d.mts +4 -0
  461. package/resources/vektor/sell/index.d.mts.map +1 -0
  462. package/resources/vektor/sell/index.d.ts +4 -0
  463. package/resources/vektor/sell/index.d.ts.map +1 -0
  464. package/resources/vektor/sell/index.js +9 -0
  465. package/resources/vektor/sell/index.js.map +1 -0
  466. package/resources/vektor/sell/index.mjs +4 -0
  467. package/resources/vektor/sell/index.mjs.map +1 -0
  468. package/resources/vektor/sell/quotes.d.mts +57 -0
  469. package/resources/vektor/sell/quotes.d.mts.map +1 -0
  470. package/resources/vektor/sell/quotes.d.ts +57 -0
  471. package/resources/vektor/sell/quotes.d.ts.map +1 -0
  472. package/resources/vektor/sell/quotes.js +26 -0
  473. package/resources/vektor/sell/quotes.js.map +1 -0
  474. package/resources/vektor/sell/quotes.mjs +22 -0
  475. package/resources/vektor/sell/quotes.mjs.map +1 -0
  476. package/resources/vektor/sell/sell.d.mts +14 -0
  477. package/resources/vektor/sell/sell.d.mts.map +1 -0
  478. package/resources/vektor/sell/sell.d.ts +14 -0
  479. package/resources/vektor/sell/sell.d.ts.map +1 -0
  480. package/resources/vektor/sell/sell.js +21 -0
  481. package/resources/vektor/sell/sell.js.map +1 -0
  482. package/resources/vektor/sell/sell.mjs +16 -0
  483. package/resources/vektor/sell/sell.mjs.map +1 -0
  484. package/resources/vektor/sell/sell_.d.mts +56 -0
  485. package/resources/vektor/sell/sell_.d.mts.map +1 -0
  486. package/resources/vektor/sell/sell_.d.ts +56 -0
  487. package/resources/vektor/sell/sell_.d.ts.map +1 -0
  488. package/resources/vektor/sell/sell_.js +27 -0
  489. package/resources/vektor/sell/sell_.js.map +1 -0
  490. package/resources/vektor/sell/sell_.mjs +23 -0
  491. package/resources/vektor/sell/sell_.mjs.map +1 -0
  492. package/resources/vektor/sell.d.mts +2 -0
  493. package/resources/vektor/sell.d.mts.map +1 -0
  494. package/resources/vektor/sell.d.ts +2 -0
  495. package/resources/vektor/sell.d.ts.map +1 -0
  496. package/resources/vektor/sell.js +6 -0
  497. package/resources/vektor/sell.js.map +1 -0
  498. package/resources/vektor/sell.mjs +3 -0
  499. package/resources/vektor/sell.mjs.map +1 -0
  500. package/resources/vektor/vektor.d.mts +2974 -0
  501. package/resources/vektor/vektor.d.mts.map +1 -0
  502. package/resources/vektor/vektor.d.ts +2974 -0
  503. package/resources/vektor/vektor.d.ts.map +1 -0
  504. package/resources/vektor/vektor.js +73 -0
  505. package/resources/vektor/vektor.js.map +1 -0
  506. package/resources/vektor/vektor.mjs +68 -0
  507. package/resources/vektor/vektor.mjs.map +1 -0
  508. package/resources/vektor/vote/index.d.mts +4 -0
  509. package/resources/vektor/vote/index.d.mts.map +1 -0
  510. package/resources/vektor/vote/index.d.ts +4 -0
  511. package/resources/vektor/vote/index.d.ts.map +1 -0
  512. package/resources/vektor/vote/index.js +11 -0
  513. package/resources/vektor/vote/index.js.map +1 -0
  514. package/resources/vektor/vote/index.mjs +5 -0
  515. package/resources/vektor/vote/index.mjs.map +1 -0
  516. package/resources/vektor/vote/markets.d.mts +47 -0
  517. package/resources/vektor/vote/markets.d.mts.map +1 -0
  518. package/resources/vektor/vote/markets.d.ts +47 -0
  519. package/resources/vektor/vote/markets.d.ts.map +1 -0
  520. package/resources/vektor/vote/markets.js +24 -0
  521. package/resources/vektor/vote/markets.js.map +1 -0
  522. package/resources/vektor/vote/markets.mjs +20 -0
  523. package/resources/vektor/vote/markets.mjs.map +1 -0
  524. package/resources/vektor/vote/rewards.d.mts +52 -0
  525. package/resources/vektor/vote/rewards.d.mts.map +1 -0
  526. package/resources/vektor/vote/rewards.d.ts +52 -0
  527. package/resources/vektor/vote/rewards.d.ts.map +1 -0
  528. package/resources/vektor/vote/rewards.js +25 -0
  529. package/resources/vektor/vote/rewards.js.map +1 -0
  530. package/resources/vektor/vote/rewards.mjs +21 -0
  531. package/resources/vektor/vote/rewards.mjs.map +1 -0
  532. package/resources/vektor/vote/vote.d.mts +14 -0
  533. package/resources/vektor/vote/vote.d.mts.map +1 -0
  534. package/resources/vektor/vote/vote.d.ts +14 -0
  535. package/resources/vektor/vote/vote.d.ts.map +1 -0
  536. package/resources/vektor/vote/vote.js +21 -0
  537. package/resources/vektor/vote/vote.js.map +1 -0
  538. package/resources/vektor/vote/vote.mjs +16 -0
  539. package/resources/vektor/vote/vote.mjs.map +1 -0
  540. package/resources/vektor/vote.d.mts +2 -0
  541. package/resources/vektor/vote.d.mts.map +1 -0
  542. package/resources/vektor/vote.d.ts +2 -0
  543. package/resources/vektor/vote.d.ts.map +1 -0
  544. package/resources/vektor/vote.js +6 -0
  545. package/resources/vektor/vote.js.map +1 -0
  546. package/resources/vektor/vote.mjs +3 -0
  547. package/resources/vektor/vote.mjs.map +1 -0
  548. package/resources/vektor/wrap/index.d.mts +4 -0
  549. package/resources/vektor/wrap/index.d.mts.map +1 -0
  550. package/resources/vektor/wrap/index.d.ts +4 -0
  551. package/resources/vektor/wrap/index.d.ts.map +1 -0
  552. package/resources/vektor/wrap/index.js +9 -0
  553. package/resources/vektor/wrap/index.js.map +1 -0
  554. package/resources/vektor/wrap/index.mjs +4 -0
  555. package/resources/vektor/wrap/index.mjs.map +1 -0
  556. package/resources/vektor/wrap/unwrap.d.mts +37 -0
  557. package/resources/vektor/wrap/unwrap.d.mts.map +1 -0
  558. package/resources/vektor/wrap/unwrap.d.ts +37 -0
  559. package/resources/vektor/wrap/unwrap.d.ts.map +1 -0
  560. package/resources/vektor/wrap/unwrap.js +24 -0
  561. package/resources/vektor/wrap/unwrap.js.map +1 -0
  562. package/resources/vektor/wrap/unwrap.mjs +20 -0
  563. package/resources/vektor/wrap/unwrap.mjs.map +1 -0
  564. package/resources/vektor/wrap/wrap.d.mts +14 -0
  565. package/resources/vektor/wrap/wrap.d.mts.map +1 -0
  566. package/resources/vektor/wrap/wrap.d.ts +14 -0
  567. package/resources/vektor/wrap/wrap.d.ts.map +1 -0
  568. package/resources/vektor/wrap/wrap.js +21 -0
  569. package/resources/vektor/wrap/wrap.js.map +1 -0
  570. package/resources/vektor/wrap/wrap.mjs +16 -0
  571. package/resources/vektor/wrap/wrap.mjs.map +1 -0
  572. package/resources/vektor/wrap/wrap_.d.mts +37 -0
  573. package/resources/vektor/wrap/wrap_.d.mts.map +1 -0
  574. package/resources/vektor/wrap/wrap_.d.ts +37 -0
  575. package/resources/vektor/wrap/wrap_.d.ts.map +1 -0
  576. package/resources/vektor/wrap/wrap_.js +24 -0
  577. package/resources/vektor/wrap/wrap_.js.map +1 -0
  578. package/resources/vektor/wrap/wrap_.mjs +20 -0
  579. package/resources/vektor/wrap/wrap_.mjs.map +1 -0
  580. package/resources/vektor/wrap.d.mts +2 -0
  581. package/resources/vektor/wrap.d.mts.map +1 -0
  582. package/resources/vektor/wrap.d.ts +2 -0
  583. package/resources/vektor/wrap.d.ts.map +1 -0
  584. package/resources/vektor/wrap.js +6 -0
  585. package/resources/vektor/wrap.js.map +1 -0
  586. package/resources/vektor/wrap.mjs +3 -0
  587. package/resources/vektor/wrap.mjs.map +1 -0
  588. package/resources/vektor.d.mts +2 -0
  589. package/resources/vektor.d.mts.map +1 -0
  590. package/resources/vektor.d.ts +2 -0
  591. package/resources/vektor.d.ts.map +1 -0
  592. package/resources/vektor.js +6 -0
  593. package/resources/vektor.js.map +1 -0
  594. package/resources/vektor.mjs +3 -0
  595. package/resources/vektor.mjs.map +1 -0
  596. package/src/client.ts +5 -0
  597. package/src/resources/index.ts +1 -0
  598. package/src/resources/vektor/balances.ts +146 -0
  599. package/src/resources/vektor/borrow/accounts.ts +146 -0
  600. package/src/resources/vektor/borrow/borrow.ts +69 -0
  601. package/src/resources/vektor/borrow/borrow_.ts +57 -0
  602. package/src/resources/vektor/borrow/index.ts +25 -0
  603. package/src/resources/vektor/borrow/markets.ts +205 -0
  604. package/src/resources/vektor/borrow/positions.ts +233 -0
  605. package/src/resources/vektor/borrow.ts +3 -0
  606. package/src/resources/vektor/bridge/bridge.ts +19 -0
  607. package/src/resources/vektor/bridge/index.ts +4 -0
  608. package/src/resources/vektor/bridge/quotes.ts +69 -0
  609. package/src/resources/vektor/bridge.ts +3 -0
  610. package/src/resources/vektor/buy/buy.ts +25 -0
  611. package/src/resources/vektor/buy/buy_.ts +68 -0
  612. package/src/resources/vektor/buy/index.ts +5 -0
  613. package/src/resources/vektor/buy/quotes.ts +69 -0
  614. package/src/resources/vektor/buy.ts +3 -0
  615. package/src/resources/vektor/executions/executions.ts +57 -0
  616. package/src/resources/vektor/executions/index.ts +4 -0
  617. package/src/resources/vektor/executions/steps.ts +1519 -0
  618. package/src/resources/vektor/executions.ts +3 -0
  619. package/src/resources/vektor/incentivize.ts +60 -0
  620. package/src/resources/vektor/index.ts +30 -0
  621. package/src/resources/vektor/lend/index.ts +20 -0
  622. package/src/resources/vektor/lend/lend.ts +63 -0
  623. package/src/resources/vektor/lend/lend_.ts +57 -0
  624. package/src/resources/vektor/lend/markets.ts +205 -0
  625. package/src/resources/vektor/lend/positions.ts +229 -0
  626. package/src/resources/vektor/lend/set-collateral.ts +51 -0
  627. package/src/resources/vektor/lend/withdraw.ts +57 -0
  628. package/src/resources/vektor/lend.ts +3 -0
  629. package/src/resources/vektor/lock/index.ts +5 -0
  630. package/src/resources/vektor/lock/lock.ts +29 -0
  631. package/src/resources/vektor/lock/markets.ts +52 -0
  632. package/src/resources/vektor/lock/positions.ts +58 -0
  633. package/src/resources/vektor/lock.ts +3 -0
  634. package/src/resources/vektor/lp/deposit-quote.ts +147 -0
  635. package/src/resources/vektor/lp/index.ts +27 -0
  636. package/src/resources/vektor/lp/lp.ts +65 -0
  637. package/src/resources/vektor/lp/pools.ts +205 -0
  638. package/src/resources/vektor/lp/positions.ts +249 -0
  639. package/src/resources/vektor/lp/withdraw-quote.ts +90 -0
  640. package/src/resources/vektor/lp.ts +3 -0
  641. package/src/resources/vektor/move.ts +57 -0
  642. package/src/resources/vektor/prices.ts +102 -0
  643. package/src/resources/vektor/registry/assets.ts +51 -0
  644. package/src/resources/vektor/registry/blockchains.ts +50 -0
  645. package/src/resources/vektor/registry/borrow-markets.ts +62 -0
  646. package/src/resources/vektor/registry/errors.ts +38 -0
  647. package/src/resources/vektor/registry/index.ts +10 -0
  648. package/src/resources/vektor/registry/lend-markets.ts +62 -0
  649. package/src/resources/vektor/registry/lp-pools.ts +57 -0
  650. package/src/resources/vektor/registry/registry.ts +79 -0
  651. package/src/resources/vektor/registry/venues.ts +46 -0
  652. package/src/resources/vektor/registry.ts +3 -0
  653. package/src/resources/vektor/sell/index.ts +5 -0
  654. package/src/resources/vektor/sell/quotes.ts +69 -0
  655. package/src/resources/vektor/sell/sell.ts +25 -0
  656. package/src/resources/vektor/sell/sell_.ts +68 -0
  657. package/src/resources/vektor/sell.ts +3 -0
  658. package/src/resources/vektor/vektor.ts +3751 -0
  659. package/src/resources/vektor/vote/index.ts +5 -0
  660. package/src/resources/vektor/vote/markets.ts +57 -0
  661. package/src/resources/vektor/vote/rewards.ts +63 -0
  662. package/src/resources/vektor/vote/vote.ts +29 -0
  663. package/src/resources/vektor/vote.ts +3 -0
  664. package/src/resources/vektor/wrap/index.ts +5 -0
  665. package/src/resources/vektor/wrap/unwrap.ts +45 -0
  666. package/src/resources/vektor/wrap/wrap.ts +21 -0
  667. package/src/resources/vektor/wrap/wrap_.ts +45 -0
  668. package/src/resources/vektor/wrap.ts +3 -0
  669. package/src/resources/vektor.ts +3 -0
  670. package/src/version.ts +1 -1
  671. package/version.d.mts +1 -1
  672. package/version.d.mts.map +1 -1
  673. package/version.d.ts +1 -1
  674. package/version.d.ts.map +1 -1
  675. package/version.js +1 -1
  676. package/version.js.map +1 -1
  677. package/version.mjs +1 -1
  678. package/version.mjs.map +1 -1
@@ -0,0 +1,3751 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as VektorAPI from './vektor';
5
+ import * as BalancesAPI from './balances';
6
+ import {
7
+ BalanceListHistoricalParams,
8
+ BalanceListHistoricalResponse,
9
+ BalanceListParams,
10
+ BalanceListResponse,
11
+ Balances,
12
+ } from './balances';
13
+ import * as IncentivizeAPI from './incentivize';
14
+ import { Incentivize, IncentivizeListParams, IncentivizeListResponse } from './incentivize';
15
+ import * as MoveAPI from './move';
16
+ import { Move, MoveCreateParams } from './move';
17
+ import * as PricesAPI from './prices';
18
+ import {
19
+ PriceListHistoricalParams,
20
+ PriceListHistoricalResponse,
21
+ PriceListParams,
22
+ PriceListResponse,
23
+ Prices,
24
+ } from './prices';
25
+ import * as BorrowAPI from './borrow/borrow';
26
+ import { Borrow } from './borrow/borrow';
27
+ import * as BridgeAPI from './bridge/bridge';
28
+ import { Bridge } from './bridge/bridge';
29
+ import * as BuyAPI from './buy/buy';
30
+ import { Buy } from './buy/buy';
31
+ import * as ExecutionsAPI from './executions/executions';
32
+ import { ExecutionListResponse, Executions } from './executions/executions';
33
+ import * as LendAPI from './lend/lend';
34
+ import { Lend } from './lend/lend';
35
+ import * as LockAPI from './lock/lock';
36
+ import { Lock } from './lock/lock';
37
+ import * as LPAPI from './lp/lp';
38
+ import { LP } from './lp/lp';
39
+ import * as RegistryAPI from './registry/registry';
40
+ import { Registry } from './registry/registry';
41
+ import * as SellAPI from './sell/sell';
42
+ import { Sell } from './sell/sell';
43
+ import * as VoteAPI from './vote/vote';
44
+ import { Vote } from './vote/vote';
45
+ import * as WrapAPI from './wrap/wrap';
46
+ import { Wrap } from './wrap/wrap';
47
+
48
+ export class Vektor extends APIResource {
49
+ registry: RegistryAPI.Registry = new RegistryAPI.Registry(this._client);
50
+ balances: BalancesAPI.Balances = new BalancesAPI.Balances(this._client);
51
+ prices: PricesAPI.Prices = new PricesAPI.Prices(this._client);
52
+ lend: LendAPI.Lend = new LendAPI.Lend(this._client);
53
+ borrow: BorrowAPI.Borrow = new BorrowAPI.Borrow(this._client);
54
+ lp: LPAPI.LP = new LPAPI.LP(this._client);
55
+ buy: BuyAPI.Buy = new BuyAPI.Buy(this._client);
56
+ sell: SellAPI.Sell = new SellAPI.Sell(this._client);
57
+ move: MoveAPI.Move = new MoveAPI.Move(this._client);
58
+ wrap: WrapAPI.Wrap = new WrapAPI.Wrap(this._client);
59
+ bridge: BridgeAPI.Bridge = new BridgeAPI.Bridge(this._client);
60
+ lock: LockAPI.Lock = new LockAPI.Lock(this._client);
61
+ vote: VoteAPI.Vote = new VoteAPI.Vote(this._client);
62
+ incentivize: IncentivizeAPI.Incentivize = new IncentivizeAPI.Incentivize(this._client);
63
+ executions: ExecutionsAPI.Executions = new ExecutionsAPI.Executions(this._client);
64
+ }
65
+
66
+ /**
67
+ * An EVM address
68
+ */
69
+ export type Account = string;
70
+
71
+ /**
72
+ * An EVM address
73
+ */
74
+ export type AddressEVM = string;
75
+
76
+ /**
77
+ * APY Data
78
+ */
79
+ export interface APY {
80
+ /**
81
+ * An arbitrary precision decimal represented as a string
82
+ */
83
+ apy: Decimal;
84
+
85
+ /**
86
+ * On-chain asset (aka token)
87
+ */
88
+ asset: Asset;
89
+
90
+ /**
91
+ * APY Type
92
+ */
93
+ type: 'fixed' | 'variable';
94
+ }
95
+
96
+ /**
97
+ * On-chain asset (aka token)
98
+ */
99
+ export interface Asset {
100
+ /**
101
+ * An asset ID, represented as a TypeID with `asset` prefix
102
+ */
103
+ id: AssetID;
104
+
105
+ /**
106
+ * An EVM address
107
+ */
108
+ address: string | null;
109
+
110
+ /**
111
+ * Data about a blockchain
112
+ */
113
+ blockchain: Blockchain;
114
+
115
+ /**
116
+ * Asset's decimal places
117
+ */
118
+ decimals: number;
119
+
120
+ /**
121
+ * Asset's name
122
+ */
123
+ name: string;
124
+
125
+ /**
126
+ * Asset's symbol
127
+ */
128
+ symbol: string;
129
+ }
130
+
131
+ /**
132
+ * An asset ID, represented as a TypeID with `asset` prefix
133
+ */
134
+ export type AssetID = string;
135
+
136
+ /**
137
+ * An asset ID, represented as a TypeID with `asset` prefix
138
+ */
139
+ export type AssetIDOrAddressEVMOrAssetSymbol = string;
140
+
141
+ /**
142
+ * An asset symbol
143
+ */
144
+ export type AssetSymbol = string;
145
+
146
+ /**
147
+ * Balance properties
148
+ */
149
+ export interface Balance {
150
+ /**
151
+ * An EVM address
152
+ */
153
+ account: AddressEVM;
154
+
155
+ /**
156
+ * An arbitrary precision decimal represented as a string
157
+ */
158
+ amount: Decimal;
159
+
160
+ /**
161
+ * An asset ID, represented as a TypeID with `asset` prefix
162
+ */
163
+ asset_id: AssetID;
164
+
165
+ /**
166
+ * Information about a specific block number and its timestamp
167
+ */
168
+ blockstamp: Blockstamp;
169
+
170
+ /**
171
+ * An arbitrary precision decimal represented as a string
172
+ */
173
+ value: Decimal;
174
+
175
+ /**
176
+ * An asset symbol
177
+ */
178
+ quote_asset_symbol?: string | null;
179
+ }
180
+
181
+ /**
182
+ * A block number
183
+ */
184
+ export type BlockNumber = number;
185
+
186
+ /**
187
+ * Data about a blockchain
188
+ */
189
+ export interface Blockchain {
190
+ /**
191
+ * A blockchain ID, represented as a TypeID with `blockchain` prefix
192
+ */
193
+ id: BlockchainID;
194
+
195
+ /**
196
+ * Data about an EVM blockchain
197
+ */
198
+ chain_data: EVMChainData;
199
+
200
+ /**
201
+ * Blockchain ecosystem
202
+ */
203
+ chain_type: ChainType;
204
+
205
+ /**
206
+ * The blockchain's explorer URL
207
+ */
208
+ explorer_url: string;
209
+
210
+ /**
211
+ * BlockchainName
212
+ */
213
+ name: BlockchainName;
214
+
215
+ /**
216
+ * Blockchain's network
217
+ */
218
+ network: NetworkName;
219
+
220
+ /**
221
+ * A blockchain symbol
222
+ */
223
+ symbol: BlockchainSymbol;
224
+ }
225
+
226
+ /**
227
+ * A blockchain ID, represented as a TypeID with `blockchain` prefix
228
+ */
229
+ export type BlockchainID = string;
230
+
231
+ /**
232
+ * A blockchain ID, represented as a TypeID with `blockchain` prefix
233
+ */
234
+ export type BlockchainIDOrBlockchainSymbol = string;
235
+
236
+ /**
237
+ * BlockchainName
238
+ */
239
+ export type BlockchainName = string;
240
+
241
+ /**
242
+ * A blockchain symbol
243
+ */
244
+ export type BlockchainSymbol = string;
245
+
246
+ /**
247
+ * Information about a specific block number and its timestamp
248
+ */
249
+ export interface Blockstamp {
250
+ /**
251
+ * A block number
252
+ */
253
+ block_number: BlockNumber;
254
+
255
+ /**
256
+ * Data about a blockchain
257
+ */
258
+ blockchain: Blockchain;
259
+
260
+ /**
261
+ * ISO8601 Timestamp
262
+ */
263
+ timestamp: Timestamp;
264
+ }
265
+
266
+ /**
267
+ * A borrow account
268
+ */
269
+ export interface BorrowAccount {
270
+ /**
271
+ * An EVM address
272
+ */
273
+ account: Account;
274
+
275
+ /**
276
+ * An arbitrary precision decimal represented as a string
277
+ */
278
+ available_borrow: Decimal;
279
+
280
+ /**
281
+ * Information about a specific block number and its timestamp
282
+ */
283
+ blockstamp: Blockstamp;
284
+
285
+ /**
286
+ * An arbitrary precision decimal represented as a string
287
+ */
288
+ health_factor: Decimal;
289
+
290
+ /**
291
+ * An asset symbol
292
+ */
293
+ quote_asset_symbol: string | null;
294
+
295
+ /**
296
+ * An arbitrary precision decimal represented as a string
297
+ */
298
+ total_collateral: Decimal;
299
+
300
+ /**
301
+ * An arbitrary precision decimal represented as a string
302
+ */
303
+ total_debt: Decimal;
304
+
305
+ /**
306
+ * On-chain venue
307
+ */
308
+ venue: Venue;
309
+ }
310
+
311
+ /**
312
+ * A borrow market
313
+ */
314
+ export interface BorrowMarket {
315
+ /**
316
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
317
+ * prefix
318
+ */
319
+ id: LendBorrowMarketID;
320
+
321
+ /**
322
+ * APY Data for lend/borrow markets
323
+ */
324
+ apys: LendBorrowAPYs;
325
+
326
+ /**
327
+ * On-chain asset (aka token)
328
+ */
329
+ asset: Asset;
330
+
331
+ /**
332
+ * Information about a specific block number and its timestamp
333
+ */
334
+ blockstamp: Blockstamp;
335
+
336
+ /**
337
+ * An arbitrary precision decimal represented as a string
338
+ */
339
+ liquidity: Decimal;
340
+
341
+ /**
342
+ * An asset symbol
343
+ */
344
+ quote_asset_symbol: string | null;
345
+
346
+ /**
347
+ * An arbitrary precision decimal represented as a string
348
+ */
349
+ total_debt: Decimal;
350
+
351
+ /**
352
+ * On-chain venue
353
+ */
354
+ venue: Venue;
355
+ }
356
+
357
+ /**
358
+ * A borrow position
359
+ */
360
+ export interface BorrowPosition {
361
+ /**
362
+ * An EVM address
363
+ */
364
+ account: Account;
365
+
366
+ /**
367
+ * Information about a specific block number and its timestamp
368
+ */
369
+ blockstamp: Blockstamp;
370
+
371
+ /**
372
+ * An arbitrary precision decimal represented as a string
373
+ */
374
+ debt_amount: Decimal;
375
+
376
+ /**
377
+ * A borrow market
378
+ */
379
+ market: BorrowMarket;
380
+
381
+ /**
382
+ * An asset symbol
383
+ */
384
+ quote_asset_symbol: string | null;
385
+
386
+ /**
387
+ * An arbitrary precision decimal represented as a string
388
+ */
389
+ value: string | null;
390
+ }
391
+
392
+ /**
393
+ * A bridge quote
394
+ */
395
+ export interface BridgeQuote {
396
+ /**
397
+ * Estimated cost of an operation
398
+ */
399
+ fee_estimate: BridgeQuote.FeeEstimate | null;
400
+
401
+ /**
402
+ * An arbitrary precision decimal represented as a string
403
+ */
404
+ receive_amount: Decimal;
405
+
406
+ /**
407
+ * On-chain asset (aka token)
408
+ */
409
+ receive_asset: Asset;
410
+
411
+ /**
412
+ * Estimated time to receive the asset (in seconds)
413
+ */
414
+ receive_time_est: number;
415
+
416
+ /**
417
+ * The route name
418
+ */
419
+ route: string;
420
+
421
+ /**
422
+ * An arbitrary precision decimal represented as a string
423
+ */
424
+ send_amount: Decimal;
425
+
426
+ /**
427
+ * On-chain asset (aka token)
428
+ */
429
+ send_asset: Asset;
430
+
431
+ /**
432
+ * On-chain venue
433
+ */
434
+ venue: Venue;
435
+ }
436
+
437
+ export namespace BridgeQuote {
438
+ /**
439
+ * Estimated cost of an operation
440
+ */
441
+ export interface FeeEstimate {
442
+ /**
443
+ * An arbitrary precision decimal represented as a string
444
+ */
445
+ amount: VektorAPI.Decimal;
446
+
447
+ /**
448
+ * On-chain asset (aka token)
449
+ */
450
+ asset: VektorAPI.Asset;
451
+
452
+ /**
453
+ * An arbitrary precision decimal represented as a string
454
+ */
455
+ cost: string | null;
456
+
457
+ /**
458
+ * An asset symbol
459
+ */
460
+ quote_asset_symbol: string | null;
461
+ }
462
+ }
463
+
464
+ /**
465
+ * A buy quote
466
+ */
467
+ export interface BuyQuote {
468
+ /**
469
+ * Data about a blockchain
470
+ */
471
+ blockchain: Blockchain;
472
+
473
+ /**
474
+ * Estimated cost of an operation
475
+ */
476
+ fee_estimate: BuyQuote.FeeEstimate | null;
477
+
478
+ /**
479
+ * An asset symbol
480
+ */
481
+ quote_asset_symbol: string | null;
482
+
483
+ /**
484
+ * Quote info for buy quotes
485
+ */
486
+ quote_info: QuoteInfoUniswapV2 | QuoteInfoUniswapV3;
487
+
488
+ /**
489
+ * An arbitrary precision decimal represented as a string
490
+ */
491
+ quote_value: string | null;
492
+
493
+ /**
494
+ * An arbitrary precision decimal represented as a string
495
+ */
496
+ receive_amount: Decimal;
497
+
498
+ /**
499
+ * On-chain asset (aka token)
500
+ */
501
+ receive_asset: Asset;
502
+
503
+ /**
504
+ * An arbitrary precision decimal represented as a string
505
+ */
506
+ spend_amount: Decimal;
507
+
508
+ /**
509
+ * On-chain asset (aka token)
510
+ */
511
+ spend_asset: Asset;
512
+
513
+ /**
514
+ * On-chain venue
515
+ */
516
+ venue: Venue;
517
+ }
518
+
519
+ export namespace BuyQuote {
520
+ /**
521
+ * Estimated cost of an operation
522
+ */
523
+ export interface FeeEstimate {
524
+ /**
525
+ * An arbitrary precision decimal represented as a string
526
+ */
527
+ amount: VektorAPI.Decimal;
528
+
529
+ /**
530
+ * On-chain asset (aka token)
531
+ */
532
+ asset: VektorAPI.Asset;
533
+
534
+ /**
535
+ * An arbitrary precision decimal represented as a string
536
+ */
537
+ cost: string | null;
538
+
539
+ /**
540
+ * An asset symbol
541
+ */
542
+ quote_asset_symbol: string | null;
543
+ }
544
+ }
545
+
546
+ /**
547
+ * Blockchain ecosystem
548
+ */
549
+ export type ChainType = 'evm';
550
+
551
+ /**
552
+ * An arbitrary precision decimal represented as a string
553
+ */
554
+ export type Decimal = string;
555
+
556
+ /**
557
+ * Wraps a list of errors into an error response
558
+ */
559
+ export interface ErrorWrapper {
560
+ /**
561
+ * A list of errors
562
+ */
563
+ errors?: Array<VektorError>;
564
+ }
565
+
566
+ /**
567
+ * Data about an EVM blockchain
568
+ */
569
+ export interface EVMChainData {
570
+ /**
571
+ * Chain ID
572
+ */
573
+ chain_id: number;
574
+ }
575
+
576
+ /**
577
+ * An execution
578
+ */
579
+ export interface Execution {
580
+ /**
581
+ * An execution ID, represented as a TypeID with `execution` prefix
582
+ */
583
+ id: ExecutionID;
584
+
585
+ /**
586
+ * ISO8601 Timestamp
587
+ */
588
+ created_at: Timestamp;
589
+
590
+ /**
591
+ * An execution request
592
+ */
593
+ request:
594
+ | Execution.BorrowRequestFull
595
+ | Execution.BuyRequestFull
596
+ | Execution.LendRequestFull
597
+ | Execution.LendSetCollateralRequestFull
598
+ | Execution.LendWithdrawRequestFull
599
+ | Execution.MoveRequestFull
600
+ | Execution.SellRequestFull
601
+ | Execution.WrapRequestFull
602
+ | Execution.UnwrapRequestFull;
603
+
604
+ /**
605
+ * An execution step ID, represented as a TypeID with `execution_step` prefix
606
+ */
607
+ request_action_step_id: string | null;
608
+
609
+ /**
610
+ * The state of an execution
611
+ */
612
+ state: ExecutionState;
613
+
614
+ step_action_url: string | null;
615
+
616
+ /**
617
+ * A list of execution steps
618
+ */
619
+ steps: Array<Execution.Step>;
620
+
621
+ /**
622
+ * ISO8601 Timestamp
623
+ */
624
+ updated_at: Timestamp;
625
+ }
626
+
627
+ export namespace Execution {
628
+ /**
629
+ * A request to borrow an asset
630
+ */
631
+ export interface BorrowRequestFull {
632
+ /**
633
+ * An arbitrary precision decimal represented as a string
634
+ */
635
+ amount: VektorAPI.Decimal;
636
+
637
+ /**
638
+ * On-chain asset (aka token)
639
+ */
640
+ asset: VektorAPI.Asset;
641
+
642
+ /**
643
+ * Data about a blockchain
644
+ */
645
+ blockchain: VektorAPI.Blockchain;
646
+
647
+ /**
648
+ * An EVM address
649
+ */
650
+ from: VektorAPI.Account;
651
+
652
+ /**
653
+ * A list of venues
654
+ */
655
+ venues: Array<VektorAPI.Venue>;
656
+ }
657
+
658
+ /**
659
+ * A request to buy an asset
660
+ */
661
+ export interface BuyRequestFull {
662
+ /**
663
+ * Data about a blockchain
664
+ */
665
+ blockchain: VektorAPI.Blockchain;
666
+
667
+ /**
668
+ * An EVM address
669
+ */
670
+ from: VektorAPI.Account;
671
+
672
+ /**
673
+ * An arbitrary precision decimal represented as a string
674
+ */
675
+ receive_amount: VektorAPI.Decimal;
676
+
677
+ /**
678
+ * On-chain asset (aka token)
679
+ */
680
+ receive_asset: VektorAPI.Asset;
681
+
682
+ /**
683
+ * An arbitrary precision decimal represented as a string
684
+ */
685
+ slippage: VektorAPI.Decimal;
686
+
687
+ /**
688
+ * On-chain asset (aka token)
689
+ */
690
+ spend_asset: VektorAPI.Asset;
691
+
692
+ /**
693
+ * A list of venues
694
+ */
695
+ venues: Array<VektorAPI.Venue>;
696
+ }
697
+
698
+ /**
699
+ * A request to lend an asset
700
+ */
701
+ export interface LendRequestFull {
702
+ /**
703
+ * An arbitrary precision decimal represented as a string
704
+ */
705
+ amount: VektorAPI.Decimal;
706
+
707
+ /**
708
+ * On-chain asset (aka token)
709
+ */
710
+ asset: VektorAPI.Asset;
711
+
712
+ /**
713
+ * Data about a blockchain
714
+ */
715
+ blockchain: VektorAPI.Blockchain;
716
+
717
+ /**
718
+ * An EVM address
719
+ */
720
+ from: VektorAPI.Account;
721
+
722
+ /**
723
+ * A list of venues
724
+ */
725
+ venues: Array<VektorAPI.Venue>;
726
+ }
727
+
728
+ /**
729
+ * A request to set/unset a position as collateral
730
+ */
731
+ export interface LendSetCollateralRequestFull {
732
+ /**
733
+ * Data about a blockchain
734
+ */
735
+ blockchain: VektorAPI.Blockchain;
736
+
737
+ /**
738
+ * An EVM address
739
+ */
740
+ from: VektorAPI.Account;
741
+
742
+ /**
743
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
744
+ * prefix
745
+ */
746
+ market_id: VektorAPI.LendBorrowMarketID;
747
+
748
+ status: boolean;
749
+ }
750
+
751
+ /**
752
+ * A request to withdraw an asset
753
+ */
754
+ export interface LendWithdrawRequestFull {
755
+ /**
756
+ * An arbitrary precision decimal represented as a string
757
+ */
758
+ amount: string | null;
759
+
760
+ /**
761
+ * Data about a blockchain
762
+ */
763
+ blockchain: VektorAPI.Blockchain;
764
+
765
+ /**
766
+ * An EVM address
767
+ */
768
+ from: VektorAPI.Account;
769
+
770
+ /**
771
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
772
+ * prefix
773
+ */
774
+ market_id: VektorAPI.LendBorrowMarketID;
775
+
776
+ /**
777
+ * On-chain asset (aka token)
778
+ */
779
+ asset?: LendWithdrawRequestFull.Asset | null;
780
+ }
781
+
782
+ export namespace LendWithdrawRequestFull {
783
+ /**
784
+ * On-chain asset (aka token)
785
+ */
786
+ export interface Asset {
787
+ /**
788
+ * An asset ID, represented as a TypeID with `asset` prefix
789
+ */
790
+ id: VektorAPI.AssetID;
791
+
792
+ /**
793
+ * An EVM address
794
+ */
795
+ address: string | null;
796
+
797
+ /**
798
+ * Data about a blockchain
799
+ */
800
+ blockchain: VektorAPI.Blockchain;
801
+
802
+ /**
803
+ * Asset's decimal places
804
+ */
805
+ decimals: number;
806
+
807
+ /**
808
+ * Asset's name
809
+ */
810
+ name: string;
811
+
812
+ /**
813
+ * Asset's symbol
814
+ */
815
+ symbol: string;
816
+ }
817
+ }
818
+
819
+ /**
820
+ * A request to move assets from one account to another
821
+ */
822
+ export interface MoveRequestFull {
823
+ /**
824
+ * An arbitrary precision decimal represented as a string
825
+ */
826
+ amount: VektorAPI.Decimal;
827
+
828
+ /**
829
+ * On-chain asset (aka token)
830
+ */
831
+ asset: VektorAPI.Asset;
832
+
833
+ /**
834
+ * Data about a blockchain
835
+ */
836
+ blockchain: VektorAPI.Blockchain;
837
+
838
+ /**
839
+ * An EVM address
840
+ */
841
+ from: VektorAPI.Account;
842
+
843
+ /**
844
+ * An EVM address
845
+ */
846
+ to: VektorAPI.Account;
847
+ }
848
+
849
+ /**
850
+ * A request to sell an asset
851
+ */
852
+ export interface SellRequestFull {
853
+ /**
854
+ * Data about a blockchain
855
+ */
856
+ blockchain: VektorAPI.Blockchain;
857
+
858
+ /**
859
+ * An EVM address
860
+ */
861
+ from: VektorAPI.Account;
862
+
863
+ /**
864
+ * On-chain asset (aka token)
865
+ */
866
+ receive_asset: VektorAPI.Asset;
867
+
868
+ /**
869
+ * An arbitrary precision decimal represented as a string
870
+ */
871
+ slippage: VektorAPI.Decimal;
872
+
873
+ /**
874
+ * An arbitrary precision decimal represented as a string
875
+ */
876
+ spend_amount: VektorAPI.Decimal;
877
+
878
+ /**
879
+ * On-chain asset (aka token)
880
+ */
881
+ spend_asset: VektorAPI.Asset;
882
+
883
+ /**
884
+ * A list of venues
885
+ */
886
+ venues: Array<VektorAPI.Venue>;
887
+ }
888
+
889
+ /**
890
+ * A request to wrap the native asset
891
+ */
892
+ export interface WrapRequestFull {
893
+ /**
894
+ * An arbitrary precision decimal represented as a string
895
+ */
896
+ amount: VektorAPI.Decimal;
897
+
898
+ /**
899
+ * Data about a blockchain
900
+ */
901
+ blockchain: VektorAPI.Blockchain;
902
+
903
+ /**
904
+ * An EVM address
905
+ */
906
+ from: VektorAPI.Account;
907
+ }
908
+
909
+ /**
910
+ * A request to unwrap the wrapped native asset
911
+ */
912
+ export interface UnwrapRequestFull {
913
+ /**
914
+ * An arbitrary precision decimal represented as a string
915
+ */
916
+ amount: VektorAPI.Decimal;
917
+
918
+ /**
919
+ * Data about a blockchain
920
+ */
921
+ blockchain: VektorAPI.Blockchain;
922
+
923
+ /**
924
+ * An EVM address
925
+ */
926
+ from: VektorAPI.Account;
927
+ }
928
+
929
+ /**
930
+ * An execution step
931
+ */
932
+ export interface Step {
933
+ /**
934
+ * An execution step ID, represented as a TypeID with `execution_step` prefix
935
+ */
936
+ id: VektorAPI.ExecutionStepID;
937
+
938
+ /**
939
+ * ISO8601 Timestamp
940
+ */
941
+ created_at: VektorAPI.Timestamp;
942
+
943
+ /**
944
+ * The definition of an execution step
945
+ */
946
+ definition:
947
+ | Step.ExecutionEVMTransactionApprove
948
+ | Step.ExecutionEVMTransactionBorrow
949
+ | Step.ExecutionEVMTransactionBuy
950
+ | Step.ExecutionEVMTransactionLend
951
+ | Step.ExecutionEVMTransactionLendSetCollateral
952
+ | Step.ExecutionEVMTransactionLendWithdraw
953
+ | Step.ExecutionEVMTransactionMove
954
+ | Step.ExecutionEVMTransactionPermission
955
+ | Step.ExecutionEVMTransactionUnwrap
956
+ | Step.ExecutionEVMTransactionWrap
957
+ | Step.ExecutionEVMTransactionSell;
958
+
959
+ index: number;
960
+
961
+ /**
962
+ * The type of an execution step
963
+ */
964
+ type:
965
+ | 'evm_transaction_approve'
966
+ | 'evm_transaction_borrow'
967
+ | 'evm_transaction_buy'
968
+ | 'evm_transaction_lend'
969
+ | 'evm_transaction_lend_set_collateral'
970
+ | 'evm_transaction_lend_withdraw'
971
+ | 'evm_transaction_move'
972
+ | 'evm_transaction_permission'
973
+ | 'evm_transaction_wrap'
974
+ | 'evm_transaction_unwrap'
975
+ | 'evm_transaction_sell';
976
+
977
+ /**
978
+ * ISO8601 Timestamp
979
+ */
980
+ updated_at: VektorAPI.Timestamp;
981
+ }
982
+
983
+ export namespace Step {
984
+ /**
985
+ * An approval of an asset
986
+ */
987
+ export interface ExecutionEVMTransactionApprove {
988
+ /**
989
+ * An arbitrary precision decimal represented as a string
990
+ */
991
+ amount: VektorAPI.Decimal;
992
+
993
+ /**
994
+ * On-chain asset (aka token)
995
+ */
996
+ asset: VektorAPI.Asset;
997
+
998
+ block_number: number | null;
999
+
1000
+ /**
1001
+ * ISO8601 Timestamp
1002
+ */
1003
+ broadcasted_at: string | null;
1004
+
1005
+ confirmation_target: number;
1006
+
1007
+ /**
1008
+ * ISO8601 Timestamp
1009
+ */
1010
+ confirmed_at: string | null;
1011
+
1012
+ /**
1013
+ * ISO8601 Timestamp
1014
+ */
1015
+ created_at: VektorAPI.Timestamp;
1016
+
1017
+ /**
1018
+ * A hex string starting with 0x
1019
+ */
1020
+ data: string | null;
1021
+
1022
+ /**
1023
+ * An arbitrary precision decimal represented as a string
1024
+ */
1025
+ effective_gas_price: string | null;
1026
+
1027
+ /**
1028
+ * An error
1029
+ */
1030
+ error: ExecutionEVMTransactionApprove.Error | null;
1031
+
1032
+ /**
1033
+ * ISO8601 Timestamp
1034
+ */
1035
+ errored_at: string | null;
1036
+
1037
+ /**
1038
+ * An arbitrary precision decimal represented as a string
1039
+ */
1040
+ gas_used: string | null;
1041
+
1042
+ /**
1043
+ * A transaction hash
1044
+ */
1045
+ hash: string | null;
1046
+
1047
+ /**
1048
+ * The payload of an EIP-1559 transaction
1049
+ */
1050
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1051
+
1052
+ /**
1053
+ * ISO8601 Timestamp
1054
+ */
1055
+ signed_at: string | null;
1056
+
1057
+ /**
1058
+ * An EVM address
1059
+ */
1060
+ spender: VektorAPI.Account;
1061
+
1062
+ /**
1063
+ * The state of an EVM transaction
1064
+ */
1065
+ state: VektorAPI.ExecutionEVMTransactionState;
1066
+
1067
+ /**
1068
+ * The state of an EVM transaction
1069
+ */
1070
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1071
+
1072
+ /**
1073
+ * An EVM address
1074
+ */
1075
+ to: string | null;
1076
+
1077
+ /**
1078
+ * The type of approval
1079
+ */
1080
+ type: 'spend_erc20' | 'borrow_erc20' | 'spend_erc721' | 'spend_erc721_collection';
1081
+
1082
+ /**
1083
+ * ISO8601 Timestamp
1084
+ */
1085
+ updated_at: VektorAPI.Timestamp;
1086
+
1087
+ /**
1088
+ * An arbitrary precision decimal represented as a string
1089
+ */
1090
+ value: string | null;
1091
+ }
1092
+
1093
+ export namespace ExecutionEVMTransactionApprove {
1094
+ /**
1095
+ * An error
1096
+ */
1097
+ export interface Error {
1098
+ /**
1099
+ * Error message
1100
+ */
1101
+ message: string;
1102
+
1103
+ /**
1104
+ * Error parameters
1105
+ */
1106
+ params: { [key: string]: unknown };
1107
+
1108
+ /**
1109
+ * Error type
1110
+ */
1111
+ type: string;
1112
+ }
1113
+ }
1114
+
1115
+ /**
1116
+ * Borrowing an asset
1117
+ */
1118
+ export interface ExecutionEVMTransactionBorrow {
1119
+ /**
1120
+ * An arbitrary precision decimal represented as a string
1121
+ */
1122
+ amount: VektorAPI.Decimal;
1123
+
1124
+ /**
1125
+ * On-chain asset (aka token)
1126
+ */
1127
+ asset: VektorAPI.Asset;
1128
+
1129
+ block_number: number | null;
1130
+
1131
+ /**
1132
+ * ISO8601 Timestamp
1133
+ */
1134
+ broadcasted_at: string | null;
1135
+
1136
+ confirmation_target: number;
1137
+
1138
+ /**
1139
+ * ISO8601 Timestamp
1140
+ */
1141
+ confirmed_at: string | null;
1142
+
1143
+ /**
1144
+ * ISO8601 Timestamp
1145
+ */
1146
+ created_at: VektorAPI.Timestamp;
1147
+
1148
+ /**
1149
+ * A hex string starting with 0x
1150
+ */
1151
+ data: string | null;
1152
+
1153
+ /**
1154
+ * An arbitrary precision decimal represented as a string
1155
+ */
1156
+ effective_gas_price: string | null;
1157
+
1158
+ /**
1159
+ * An error
1160
+ */
1161
+ error: ExecutionEVMTransactionBorrow.Error | null;
1162
+
1163
+ /**
1164
+ * ISO8601 Timestamp
1165
+ */
1166
+ errored_at: string | null;
1167
+
1168
+ /**
1169
+ * An arbitrary precision decimal represented as a string
1170
+ */
1171
+ gas_used: string | null;
1172
+
1173
+ /**
1174
+ * A transaction hash
1175
+ */
1176
+ hash: string | null;
1177
+
1178
+ /**
1179
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
1180
+ * prefix
1181
+ */
1182
+ lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
1183
+
1184
+ /**
1185
+ * The payload of an EIP-1559 transaction
1186
+ */
1187
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1188
+
1189
+ /**
1190
+ * ISO8601 Timestamp
1191
+ */
1192
+ signed_at: string | null;
1193
+
1194
+ /**
1195
+ * The state of an EVM transaction
1196
+ */
1197
+ state: VektorAPI.ExecutionEVMTransactionState;
1198
+
1199
+ /**
1200
+ * The state of an EVM transaction
1201
+ */
1202
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1203
+
1204
+ /**
1205
+ * An EVM address
1206
+ */
1207
+ to: string | null;
1208
+
1209
+ /**
1210
+ * ISO8601 Timestamp
1211
+ */
1212
+ updated_at: VektorAPI.Timestamp;
1213
+
1214
+ /**
1215
+ * An arbitrary precision decimal represented as a string
1216
+ */
1217
+ value: string | null;
1218
+
1219
+ /**
1220
+ * A venue symbol
1221
+ */
1222
+ venue_symbol: VektorAPI.VenueSymbol;
1223
+ }
1224
+
1225
+ export namespace ExecutionEVMTransactionBorrow {
1226
+ /**
1227
+ * An error
1228
+ */
1229
+ export interface Error {
1230
+ /**
1231
+ * Error message
1232
+ */
1233
+ message: string;
1234
+
1235
+ /**
1236
+ * Error parameters
1237
+ */
1238
+ params: { [key: string]: unknown };
1239
+
1240
+ /**
1241
+ * Error type
1242
+ */
1243
+ type: string;
1244
+ }
1245
+ }
1246
+
1247
+ /**
1248
+ * Buying an asset with another asset
1249
+ */
1250
+ export interface ExecutionEVMTransactionBuy {
1251
+ /**
1252
+ * An EVM address
1253
+ */
1254
+ approval_target: VektorAPI.Account;
1255
+
1256
+ block_number: number | null;
1257
+
1258
+ /**
1259
+ * ISO8601 Timestamp
1260
+ */
1261
+ broadcasted_at: string | null;
1262
+
1263
+ confirmation_target: number;
1264
+
1265
+ /**
1266
+ * ISO8601 Timestamp
1267
+ */
1268
+ confirmed_at: string | null;
1269
+
1270
+ /**
1271
+ * ISO8601 Timestamp
1272
+ */
1273
+ created_at: VektorAPI.Timestamp;
1274
+
1275
+ /**
1276
+ * A hex string starting with 0x
1277
+ */
1278
+ data: string | null;
1279
+
1280
+ /**
1281
+ * An arbitrary precision decimal represented as a string
1282
+ */
1283
+ effective_gas_price: string | null;
1284
+
1285
+ /**
1286
+ * An error
1287
+ */
1288
+ error: ExecutionEVMTransactionBuy.Error | null;
1289
+
1290
+ /**
1291
+ * ISO8601 Timestamp
1292
+ */
1293
+ errored_at: string | null;
1294
+
1295
+ /**
1296
+ * An arbitrary precision decimal represented as a string
1297
+ */
1298
+ gas_used: string | null;
1299
+
1300
+ /**
1301
+ * A transaction hash
1302
+ */
1303
+ hash: string | null;
1304
+
1305
+ /**
1306
+ * An arbitrary precision decimal represented as a string
1307
+ */
1308
+ max_spend_amount: VektorAPI.Decimal;
1309
+
1310
+ /**
1311
+ * The payload of an EIP-1559 transaction
1312
+ */
1313
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1314
+
1315
+ /**
1316
+ * A buy quote
1317
+ */
1318
+ quote: VektorAPI.BuyQuote;
1319
+
1320
+ /**
1321
+ * ISO8601 Timestamp
1322
+ */
1323
+ signed_at: string | null;
1324
+
1325
+ /**
1326
+ * An arbitrary precision decimal represented as a string
1327
+ */
1328
+ slippage: VektorAPI.Decimal;
1329
+
1330
+ /**
1331
+ * The state of an EVM transaction
1332
+ */
1333
+ state: VektorAPI.ExecutionEVMTransactionState;
1334
+
1335
+ /**
1336
+ * The state of an EVM transaction
1337
+ */
1338
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1339
+
1340
+ /**
1341
+ * An EVM address
1342
+ */
1343
+ to: string | null;
1344
+
1345
+ /**
1346
+ * ISO8601 Timestamp
1347
+ */
1348
+ updated_at: VektorAPI.Timestamp;
1349
+
1350
+ /**
1351
+ * An arbitrary precision decimal represented as a string
1352
+ */
1353
+ value: string | null;
1354
+ }
1355
+
1356
+ export namespace ExecutionEVMTransactionBuy {
1357
+ /**
1358
+ * An error
1359
+ */
1360
+ export interface Error {
1361
+ /**
1362
+ * Error message
1363
+ */
1364
+ message: string;
1365
+
1366
+ /**
1367
+ * Error parameters
1368
+ */
1369
+ params: { [key: string]: unknown };
1370
+
1371
+ /**
1372
+ * Error type
1373
+ */
1374
+ type: string;
1375
+ }
1376
+ }
1377
+
1378
+ /**
1379
+ * Lending an asset
1380
+ */
1381
+ export interface ExecutionEVMTransactionLend {
1382
+ /**
1383
+ * An arbitrary precision decimal represented as a string
1384
+ */
1385
+ amount: VektorAPI.Decimal;
1386
+
1387
+ /**
1388
+ * On-chain asset (aka token)
1389
+ */
1390
+ asset: VektorAPI.Asset;
1391
+
1392
+ block_number: number | null;
1393
+
1394
+ /**
1395
+ * ISO8601 Timestamp
1396
+ */
1397
+ broadcasted_at: string | null;
1398
+
1399
+ confirmation_target: number;
1400
+
1401
+ /**
1402
+ * ISO8601 Timestamp
1403
+ */
1404
+ confirmed_at: string | null;
1405
+
1406
+ /**
1407
+ * ISO8601 Timestamp
1408
+ */
1409
+ created_at: VektorAPI.Timestamp;
1410
+
1411
+ /**
1412
+ * A hex string starting with 0x
1413
+ */
1414
+ data: string | null;
1415
+
1416
+ /**
1417
+ * An arbitrary precision decimal represented as a string
1418
+ */
1419
+ effective_gas_price: string | null;
1420
+
1421
+ /**
1422
+ * An error
1423
+ */
1424
+ error: ExecutionEVMTransactionLend.Error | null;
1425
+
1426
+ /**
1427
+ * ISO8601 Timestamp
1428
+ */
1429
+ errored_at: string | null;
1430
+
1431
+ /**
1432
+ * An arbitrary precision decimal represented as a string
1433
+ */
1434
+ gas_used: string | null;
1435
+
1436
+ /**
1437
+ * A transaction hash
1438
+ */
1439
+ hash: string | null;
1440
+
1441
+ /**
1442
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
1443
+ * prefix
1444
+ */
1445
+ lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
1446
+
1447
+ /**
1448
+ * The payload of an EIP-1559 transaction
1449
+ */
1450
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1451
+
1452
+ /**
1453
+ * ISO8601 Timestamp
1454
+ */
1455
+ signed_at: string | null;
1456
+
1457
+ /**
1458
+ * The state of an EVM transaction
1459
+ */
1460
+ state: VektorAPI.ExecutionEVMTransactionState;
1461
+
1462
+ /**
1463
+ * The state of an EVM transaction
1464
+ */
1465
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1466
+
1467
+ /**
1468
+ * An EVM address
1469
+ */
1470
+ to: string | null;
1471
+
1472
+ /**
1473
+ * ISO8601 Timestamp
1474
+ */
1475
+ updated_at: VektorAPI.Timestamp;
1476
+
1477
+ /**
1478
+ * An arbitrary precision decimal represented as a string
1479
+ */
1480
+ value: string | null;
1481
+
1482
+ /**
1483
+ * A venue symbol
1484
+ */
1485
+ venue_symbol: VektorAPI.VenueSymbol;
1486
+ }
1487
+
1488
+ export namespace ExecutionEVMTransactionLend {
1489
+ /**
1490
+ * An error
1491
+ */
1492
+ export interface Error {
1493
+ /**
1494
+ * Error message
1495
+ */
1496
+ message: string;
1497
+
1498
+ /**
1499
+ * Error parameters
1500
+ */
1501
+ params: { [key: string]: unknown };
1502
+
1503
+ /**
1504
+ * Error type
1505
+ */
1506
+ type: string;
1507
+ }
1508
+ }
1509
+
1510
+ /**
1511
+ * Setting/unsetting a position as collateral
1512
+ */
1513
+ export interface ExecutionEVMTransactionLendSetCollateral {
1514
+ block_number: number | null;
1515
+
1516
+ /**
1517
+ * ISO8601 Timestamp
1518
+ */
1519
+ broadcasted_at: string | null;
1520
+
1521
+ confirmation_target: number;
1522
+
1523
+ /**
1524
+ * ISO8601 Timestamp
1525
+ */
1526
+ confirmed_at: string | null;
1527
+
1528
+ /**
1529
+ * ISO8601 Timestamp
1530
+ */
1531
+ created_at: VektorAPI.Timestamp;
1532
+
1533
+ /**
1534
+ * A hex string starting with 0x
1535
+ */
1536
+ data: string | null;
1537
+
1538
+ /**
1539
+ * An arbitrary precision decimal represented as a string
1540
+ */
1541
+ effective_gas_price: string | null;
1542
+
1543
+ /**
1544
+ * An error
1545
+ */
1546
+ error: ExecutionEVMTransactionLendSetCollateral.Error | null;
1547
+
1548
+ /**
1549
+ * ISO8601 Timestamp
1550
+ */
1551
+ errored_at: string | null;
1552
+
1553
+ /**
1554
+ * An arbitrary precision decimal represented as a string
1555
+ */
1556
+ gas_used: string | null;
1557
+
1558
+ /**
1559
+ * A transaction hash
1560
+ */
1561
+ hash: string | null;
1562
+
1563
+ /**
1564
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
1565
+ * prefix
1566
+ */
1567
+ lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
1568
+
1569
+ /**
1570
+ * The payload of an EIP-1559 transaction
1571
+ */
1572
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1573
+
1574
+ /**
1575
+ * ISO8601 Timestamp
1576
+ */
1577
+ signed_at: string | null;
1578
+
1579
+ /**
1580
+ * The state of an EVM transaction
1581
+ */
1582
+ state: VektorAPI.ExecutionEVMTransactionState;
1583
+
1584
+ status: boolean;
1585
+
1586
+ /**
1587
+ * The state of an EVM transaction
1588
+ */
1589
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1590
+
1591
+ /**
1592
+ * An EVM address
1593
+ */
1594
+ to: string | null;
1595
+
1596
+ /**
1597
+ * ISO8601 Timestamp
1598
+ */
1599
+ updated_at: VektorAPI.Timestamp;
1600
+
1601
+ /**
1602
+ * An arbitrary precision decimal represented as a string
1603
+ */
1604
+ value: string | null;
1605
+ }
1606
+
1607
+ export namespace ExecutionEVMTransactionLendSetCollateral {
1608
+ /**
1609
+ * An error
1610
+ */
1611
+ export interface Error {
1612
+ /**
1613
+ * Error message
1614
+ */
1615
+ message: string;
1616
+
1617
+ /**
1618
+ * Error parameters
1619
+ */
1620
+ params: { [key: string]: unknown };
1621
+
1622
+ /**
1623
+ * Error type
1624
+ */
1625
+ type: string;
1626
+ }
1627
+ }
1628
+
1629
+ /**
1630
+ * Withdrawing an asset
1631
+ */
1632
+ export interface ExecutionEVMTransactionLendWithdraw {
1633
+ /**
1634
+ * An arbitrary precision decimal represented as a string
1635
+ */
1636
+ amount: string | null;
1637
+
1638
+ /**
1639
+ * On-chain asset (aka token)
1640
+ */
1641
+ asset: VektorAPI.Asset;
1642
+
1643
+ block_number: number | null;
1644
+
1645
+ /**
1646
+ * ISO8601 Timestamp
1647
+ */
1648
+ broadcasted_at: string | null;
1649
+
1650
+ confirmation_target: number;
1651
+
1652
+ /**
1653
+ * ISO8601 Timestamp
1654
+ */
1655
+ confirmed_at: string | null;
1656
+
1657
+ /**
1658
+ * ISO8601 Timestamp
1659
+ */
1660
+ created_at: VektorAPI.Timestamp;
1661
+
1662
+ /**
1663
+ * A hex string starting with 0x
1664
+ */
1665
+ data: string | null;
1666
+
1667
+ /**
1668
+ * An arbitrary precision decimal represented as a string
1669
+ */
1670
+ effective_gas_price: string | null;
1671
+
1672
+ /**
1673
+ * An error
1674
+ */
1675
+ error: ExecutionEVMTransactionLendWithdraw.Error | null;
1676
+
1677
+ /**
1678
+ * ISO8601 Timestamp
1679
+ */
1680
+ errored_at: string | null;
1681
+
1682
+ /**
1683
+ * An arbitrary precision decimal represented as a string
1684
+ */
1685
+ gas_used: string | null;
1686
+
1687
+ /**
1688
+ * A transaction hash
1689
+ */
1690
+ hash: string | null;
1691
+
1692
+ /**
1693
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
1694
+ * prefix
1695
+ */
1696
+ lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
1697
+
1698
+ /**
1699
+ * The payload of an EIP-1559 transaction
1700
+ */
1701
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1702
+
1703
+ /**
1704
+ * ISO8601 Timestamp
1705
+ */
1706
+ signed_at: string | null;
1707
+
1708
+ /**
1709
+ * The state of an EVM transaction
1710
+ */
1711
+ state: VektorAPI.ExecutionEVMTransactionState;
1712
+
1713
+ /**
1714
+ * The state of an EVM transaction
1715
+ */
1716
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1717
+
1718
+ /**
1719
+ * An EVM address
1720
+ */
1721
+ to: string | null;
1722
+
1723
+ /**
1724
+ * ISO8601 Timestamp
1725
+ */
1726
+ updated_at: VektorAPI.Timestamp;
1727
+
1728
+ /**
1729
+ * An arbitrary precision decimal represented as a string
1730
+ */
1731
+ value: string | null;
1732
+ }
1733
+
1734
+ export namespace ExecutionEVMTransactionLendWithdraw {
1735
+ /**
1736
+ * An error
1737
+ */
1738
+ export interface Error {
1739
+ /**
1740
+ * Error message
1741
+ */
1742
+ message: string;
1743
+
1744
+ /**
1745
+ * Error parameters
1746
+ */
1747
+ params: { [key: string]: unknown };
1748
+
1749
+ /**
1750
+ * Error type
1751
+ */
1752
+ type: string;
1753
+ }
1754
+ }
1755
+
1756
+ /**
1757
+ * A move of assets from one account to another
1758
+ */
1759
+ export interface ExecutionEVMTransactionMove {
1760
+ /**
1761
+ * An arbitrary precision decimal represented as a string
1762
+ */
1763
+ amount: VektorAPI.Decimal;
1764
+
1765
+ /**
1766
+ * On-chain asset (aka token)
1767
+ */
1768
+ asset: VektorAPI.Asset;
1769
+
1770
+ block_number: number | null;
1771
+
1772
+ /**
1773
+ * ISO8601 Timestamp
1774
+ */
1775
+ broadcasted_at: string | null;
1776
+
1777
+ confirmation_target: number;
1778
+
1779
+ /**
1780
+ * ISO8601 Timestamp
1781
+ */
1782
+ confirmed_at: string | null;
1783
+
1784
+ /**
1785
+ * ISO8601 Timestamp
1786
+ */
1787
+ created_at: VektorAPI.Timestamp;
1788
+
1789
+ /**
1790
+ * A hex string starting with 0x
1791
+ */
1792
+ data: string | null;
1793
+
1794
+ /**
1795
+ * An arbitrary precision decimal represented as a string
1796
+ */
1797
+ effective_gas_price: string | null;
1798
+
1799
+ /**
1800
+ * An error
1801
+ */
1802
+ error: ExecutionEVMTransactionMove.Error | null;
1803
+
1804
+ /**
1805
+ * ISO8601 Timestamp
1806
+ */
1807
+ errored_at: string | null;
1808
+
1809
+ /**
1810
+ * An arbitrary precision decimal represented as a string
1811
+ */
1812
+ gas_used: string | null;
1813
+
1814
+ /**
1815
+ * A transaction hash
1816
+ */
1817
+ hash: string | null;
1818
+
1819
+ /**
1820
+ * The payload of an EIP-1559 transaction
1821
+ */
1822
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1823
+
1824
+ /**
1825
+ * ISO8601 Timestamp
1826
+ */
1827
+ signed_at: string | null;
1828
+
1829
+ /**
1830
+ * The state of an EVM transaction
1831
+ */
1832
+ state: VektorAPI.ExecutionEVMTransactionState;
1833
+
1834
+ /**
1835
+ * The state of an EVM transaction
1836
+ */
1837
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1838
+
1839
+ /**
1840
+ * An EVM address
1841
+ */
1842
+ to: VektorAPI.Account | null;
1843
+
1844
+ /**
1845
+ * ISO8601 Timestamp
1846
+ */
1847
+ updated_at: VektorAPI.Timestamp;
1848
+
1849
+ /**
1850
+ * An arbitrary precision decimal represented as a string
1851
+ */
1852
+ value: string | null;
1853
+ }
1854
+
1855
+ export namespace ExecutionEVMTransactionMove {
1856
+ /**
1857
+ * An error
1858
+ */
1859
+ export interface Error {
1860
+ /**
1861
+ * Error message
1862
+ */
1863
+ message: string;
1864
+
1865
+ /**
1866
+ * Error parameters
1867
+ */
1868
+ params: { [key: string]: unknown };
1869
+
1870
+ /**
1871
+ * Error type
1872
+ */
1873
+ type: string;
1874
+ }
1875
+ }
1876
+
1877
+ /**
1878
+ * A permission to a contract
1879
+ */
1880
+ export interface ExecutionEVMTransactionPermission {
1881
+ block_number: number | null;
1882
+
1883
+ /**
1884
+ * ISO8601 Timestamp
1885
+ */
1886
+ broadcasted_at: string | null;
1887
+
1888
+ confirmation_target: number;
1889
+
1890
+ /**
1891
+ * ISO8601 Timestamp
1892
+ */
1893
+ confirmed_at: string | null;
1894
+
1895
+ /**
1896
+ * An EVM address
1897
+ */
1898
+ contract_address: VektorAPI.AddressEVM;
1899
+
1900
+ /**
1901
+ * ISO8601 Timestamp
1902
+ */
1903
+ created_at: VektorAPI.Timestamp;
1904
+
1905
+ /**
1906
+ * A hex string starting with 0x
1907
+ */
1908
+ data: string | null;
1909
+
1910
+ /**
1911
+ * An arbitrary precision decimal represented as a string
1912
+ */
1913
+ effective_gas_price: string | null;
1914
+
1915
+ /**
1916
+ * An error
1917
+ */
1918
+ error: ExecutionEVMTransactionPermission.Error | null;
1919
+
1920
+ /**
1921
+ * ISO8601 Timestamp
1922
+ */
1923
+ errored_at: string | null;
1924
+
1925
+ /**
1926
+ * An arbitrary precision decimal represented as a string
1927
+ */
1928
+ gas_used: string | null;
1929
+
1930
+ /**
1931
+ * A transaction hash
1932
+ */
1933
+ hash: string | null;
1934
+
1935
+ /**
1936
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
1937
+ * prefix
1938
+ */
1939
+ lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
1940
+
1941
+ /**
1942
+ * The payload of an EIP-1559 transaction
1943
+ */
1944
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1945
+
1946
+ permission: boolean;
1947
+
1948
+ /**
1949
+ * ISO8601 Timestamp
1950
+ */
1951
+ signed_at: string | null;
1952
+
1953
+ /**
1954
+ * An EVM address
1955
+ */
1956
+ spender: VektorAPI.Account;
1957
+
1958
+ /**
1959
+ * The state of an EVM transaction
1960
+ */
1961
+ state: VektorAPI.ExecutionEVMTransactionState;
1962
+
1963
+ /**
1964
+ * The state of an EVM transaction
1965
+ */
1966
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1967
+
1968
+ /**
1969
+ * An EVM address
1970
+ */
1971
+ to: string | null;
1972
+
1973
+ /**
1974
+ * The type of a permission
1975
+ */
1976
+ type: 'compound_v3_comet';
1977
+
1978
+ /**
1979
+ * ISO8601 Timestamp
1980
+ */
1981
+ updated_at: VektorAPI.Timestamp;
1982
+
1983
+ /**
1984
+ * An arbitrary precision decimal represented as a string
1985
+ */
1986
+ value: string | null;
1987
+ }
1988
+
1989
+ export namespace ExecutionEVMTransactionPermission {
1990
+ /**
1991
+ * An error
1992
+ */
1993
+ export interface Error {
1994
+ /**
1995
+ * Error message
1996
+ */
1997
+ message: string;
1998
+
1999
+ /**
2000
+ * Error parameters
2001
+ */
2002
+ params: { [key: string]: unknown };
2003
+
2004
+ /**
2005
+ * Error type
2006
+ */
2007
+ type: string;
2008
+ }
2009
+ }
2010
+
2011
+ /**
2012
+ * An unwrap of the wrapped native asset
2013
+ */
2014
+ export interface ExecutionEVMTransactionUnwrap {
2015
+ /**
2016
+ * An arbitrary precision decimal represented as a string
2017
+ */
2018
+ amount: VektorAPI.Decimal;
2019
+
2020
+ block_number: number | null;
2021
+
2022
+ /**
2023
+ * ISO8601 Timestamp
2024
+ */
2025
+ broadcasted_at: string | null;
2026
+
2027
+ confirmation_target: number;
2028
+
2029
+ /**
2030
+ * ISO8601 Timestamp
2031
+ */
2032
+ confirmed_at: string | null;
2033
+
2034
+ /**
2035
+ * ISO8601 Timestamp
2036
+ */
2037
+ created_at: VektorAPI.Timestamp;
2038
+
2039
+ /**
2040
+ * A hex string starting with 0x
2041
+ */
2042
+ data: string | null;
2043
+
2044
+ /**
2045
+ * An arbitrary precision decimal represented as a string
2046
+ */
2047
+ effective_gas_price: string | null;
2048
+
2049
+ /**
2050
+ * An error
2051
+ */
2052
+ error: ExecutionEVMTransactionUnwrap.Error | null;
2053
+
2054
+ /**
2055
+ * ISO8601 Timestamp
2056
+ */
2057
+ errored_at: string | null;
2058
+
2059
+ /**
2060
+ * An arbitrary precision decimal represented as a string
2061
+ */
2062
+ gas_used: string | null;
2063
+
2064
+ /**
2065
+ * A transaction hash
2066
+ */
2067
+ hash: string | null;
2068
+
2069
+ /**
2070
+ * The payload of an EIP-1559 transaction
2071
+ */
2072
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
2073
+
2074
+ /**
2075
+ * ISO8601 Timestamp
2076
+ */
2077
+ signed_at: string | null;
2078
+
2079
+ /**
2080
+ * The state of an EVM transaction
2081
+ */
2082
+ state: VektorAPI.ExecutionEVMTransactionState;
2083
+
2084
+ /**
2085
+ * The state of an EVM transaction
2086
+ */
2087
+ target_state: VektorAPI.ExecutionEVMTransactionState;
2088
+
2089
+ /**
2090
+ * An EVM address
2091
+ */
2092
+ to: string | null;
2093
+
2094
+ /**
2095
+ * ISO8601 Timestamp
2096
+ */
2097
+ updated_at: VektorAPI.Timestamp;
2098
+
2099
+ /**
2100
+ * An arbitrary precision decimal represented as a string
2101
+ */
2102
+ value: string | null;
2103
+ }
2104
+
2105
+ export namespace ExecutionEVMTransactionUnwrap {
2106
+ /**
2107
+ * An error
2108
+ */
2109
+ export interface Error {
2110
+ /**
2111
+ * Error message
2112
+ */
2113
+ message: string;
2114
+
2115
+ /**
2116
+ * Error parameters
2117
+ */
2118
+ params: { [key: string]: unknown };
2119
+
2120
+ /**
2121
+ * Error type
2122
+ */
2123
+ type: string;
2124
+ }
2125
+ }
2126
+
2127
+ /**
2128
+ * A wrap of the native asset
2129
+ */
2130
+ export interface ExecutionEVMTransactionWrap {
2131
+ /**
2132
+ * An arbitrary precision decimal represented as a string
2133
+ */
2134
+ amount: VektorAPI.Decimal;
2135
+
2136
+ block_number: number | null;
2137
+
2138
+ /**
2139
+ * ISO8601 Timestamp
2140
+ */
2141
+ broadcasted_at: string | null;
2142
+
2143
+ confirmation_target: number;
2144
+
2145
+ /**
2146
+ * ISO8601 Timestamp
2147
+ */
2148
+ confirmed_at: string | null;
2149
+
2150
+ /**
2151
+ * ISO8601 Timestamp
2152
+ */
2153
+ created_at: VektorAPI.Timestamp;
2154
+
2155
+ /**
2156
+ * A hex string starting with 0x
2157
+ */
2158
+ data: string | null;
2159
+
2160
+ /**
2161
+ * An arbitrary precision decimal represented as a string
2162
+ */
2163
+ effective_gas_price: string | null;
2164
+
2165
+ /**
2166
+ * An error
2167
+ */
2168
+ error: ExecutionEVMTransactionWrap.Error | null;
2169
+
2170
+ /**
2171
+ * ISO8601 Timestamp
2172
+ */
2173
+ errored_at: string | null;
2174
+
2175
+ /**
2176
+ * An arbitrary precision decimal represented as a string
2177
+ */
2178
+ gas_used: string | null;
2179
+
2180
+ /**
2181
+ * A transaction hash
2182
+ */
2183
+ hash: string | null;
2184
+
2185
+ /**
2186
+ * The payload of an EIP-1559 transaction
2187
+ */
2188
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
2189
+
2190
+ /**
2191
+ * ISO8601 Timestamp
2192
+ */
2193
+ signed_at: string | null;
2194
+
2195
+ /**
2196
+ * The state of an EVM transaction
2197
+ */
2198
+ state: VektorAPI.ExecutionEVMTransactionState;
2199
+
2200
+ /**
2201
+ * The state of an EVM transaction
2202
+ */
2203
+ target_state: VektorAPI.ExecutionEVMTransactionState;
2204
+
2205
+ /**
2206
+ * An EVM address
2207
+ */
2208
+ to: string | null;
2209
+
2210
+ /**
2211
+ * ISO8601 Timestamp
2212
+ */
2213
+ updated_at: VektorAPI.Timestamp;
2214
+
2215
+ /**
2216
+ * An arbitrary precision decimal represented as a string
2217
+ */
2218
+ value: string | null;
2219
+ }
2220
+
2221
+ export namespace ExecutionEVMTransactionWrap {
2222
+ /**
2223
+ * An error
2224
+ */
2225
+ export interface Error {
2226
+ /**
2227
+ * Error message
2228
+ */
2229
+ message: string;
2230
+
2231
+ /**
2232
+ * Error parameters
2233
+ */
2234
+ params: { [key: string]: unknown };
2235
+
2236
+ /**
2237
+ * Error type
2238
+ */
2239
+ type: string;
2240
+ }
2241
+ }
2242
+
2243
+ /**
2244
+ * Selling an asset for another asset
2245
+ */
2246
+ export interface ExecutionEVMTransactionSell {
2247
+ /**
2248
+ * An EVM address
2249
+ */
2250
+ approval_target: VektorAPI.Account;
2251
+
2252
+ block_number: number | null;
2253
+
2254
+ /**
2255
+ * ISO8601 Timestamp
2256
+ */
2257
+ broadcasted_at: string | null;
2258
+
2259
+ confirmation_target: number;
2260
+
2261
+ /**
2262
+ * ISO8601 Timestamp
2263
+ */
2264
+ confirmed_at: string | null;
2265
+
2266
+ /**
2267
+ * ISO8601 Timestamp
2268
+ */
2269
+ created_at: VektorAPI.Timestamp;
2270
+
2271
+ /**
2272
+ * A hex string starting with 0x
2273
+ */
2274
+ data: string | null;
2275
+
2276
+ /**
2277
+ * An arbitrary precision decimal represented as a string
2278
+ */
2279
+ effective_gas_price: string | null;
2280
+
2281
+ /**
2282
+ * An error
2283
+ */
2284
+ error: ExecutionEVMTransactionSell.Error | null;
2285
+
2286
+ /**
2287
+ * ISO8601 Timestamp
2288
+ */
2289
+ errored_at: string | null;
2290
+
2291
+ /**
2292
+ * An arbitrary precision decimal represented as a string
2293
+ */
2294
+ gas_used: string | null;
2295
+
2296
+ /**
2297
+ * A transaction hash
2298
+ */
2299
+ hash: string | null;
2300
+
2301
+ /**
2302
+ * An arbitrary precision decimal represented as a string
2303
+ */
2304
+ min_receive_amount: VektorAPI.Decimal;
2305
+
2306
+ /**
2307
+ * The payload of an EIP-1559 transaction
2308
+ */
2309
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
2310
+
2311
+ /**
2312
+ * A sell quote
2313
+ */
2314
+ quote: VektorAPI.SellQuote;
2315
+
2316
+ /**
2317
+ * ISO8601 Timestamp
2318
+ */
2319
+ signed_at: string | null;
2320
+
2321
+ /**
2322
+ * An arbitrary precision decimal represented as a string
2323
+ */
2324
+ slippage: VektorAPI.Decimal;
2325
+
2326
+ /**
2327
+ * The state of an EVM transaction
2328
+ */
2329
+ state: VektorAPI.ExecutionEVMTransactionState;
2330
+
2331
+ /**
2332
+ * The state of an EVM transaction
2333
+ */
2334
+ target_state: VektorAPI.ExecutionEVMTransactionState;
2335
+
2336
+ /**
2337
+ * An EVM address
2338
+ */
2339
+ to: string | null;
2340
+
2341
+ /**
2342
+ * ISO8601 Timestamp
2343
+ */
2344
+ updated_at: VektorAPI.Timestamp;
2345
+
2346
+ /**
2347
+ * An arbitrary precision decimal represented as a string
2348
+ */
2349
+ value: string | null;
2350
+ }
2351
+
2352
+ export namespace ExecutionEVMTransactionSell {
2353
+ /**
2354
+ * An error
2355
+ */
2356
+ export interface Error {
2357
+ /**
2358
+ * Error message
2359
+ */
2360
+ message: string;
2361
+
2362
+ /**
2363
+ * Error parameters
2364
+ */
2365
+ params: { [key: string]: unknown };
2366
+
2367
+ /**
2368
+ * Error type
2369
+ */
2370
+ type: string;
2371
+ }
2372
+ }
2373
+ }
2374
+ }
2375
+
2376
+ /**
2377
+ * The payload of an EIP-1559 transaction
2378
+ */
2379
+ export interface ExecutionEVMTransactionEIP1559Payload {
2380
+ /**
2381
+ * A hex string starting with 0x
2382
+ */
2383
+ data: HexString;
2384
+
2385
+ /**
2386
+ * An EVM address
2387
+ */
2388
+ from: AddressEVM;
2389
+
2390
+ /**
2391
+ * A hex string starting with 0x
2392
+ */
2393
+ gasLimit: HexString;
2394
+
2395
+ /**
2396
+ * A hex string starting with 0x
2397
+ */
2398
+ maxFeePerGas: HexString;
2399
+
2400
+ /**
2401
+ * A hex string starting with 0x
2402
+ */
2403
+ maxPriorityFeePerGas: HexString;
2404
+
2405
+ /**
2406
+ * A hex string starting with 0x
2407
+ */
2408
+ nonce: HexString;
2409
+
2410
+ /**
2411
+ * An EVM address
2412
+ */
2413
+ to: AddressEVM;
2414
+
2415
+ /**
2416
+ * A hex string starting with 0x
2417
+ */
2418
+ value: HexString;
2419
+
2420
+ /**
2421
+ * A hex string starting with 0x
2422
+ */
2423
+ chainId?: HexString;
2424
+ }
2425
+
2426
+ /**
2427
+ * The payload of an EIP-1559 transaction
2428
+ */
2429
+ export interface ExecutionEVMTransactionPayload {
2430
+ /**
2431
+ * A hex string starting with 0x
2432
+ */
2433
+ data: HexString;
2434
+
2435
+ /**
2436
+ * An EVM address
2437
+ */
2438
+ from: AddressEVM;
2439
+
2440
+ /**
2441
+ * A hex string starting with 0x
2442
+ */
2443
+ gasLimit: HexString;
2444
+
2445
+ /**
2446
+ * A hex string starting with 0x
2447
+ */
2448
+ maxFeePerGas: HexString;
2449
+
2450
+ /**
2451
+ * A hex string starting with 0x
2452
+ */
2453
+ maxPriorityFeePerGas: HexString;
2454
+
2455
+ /**
2456
+ * A hex string starting with 0x
2457
+ */
2458
+ nonce: HexString;
2459
+
2460
+ /**
2461
+ * An EVM address
2462
+ */
2463
+ to: AddressEVM;
2464
+
2465
+ /**
2466
+ * A hex string starting with 0x
2467
+ */
2468
+ value: HexString;
2469
+
2470
+ /**
2471
+ * A hex string starting with 0x
2472
+ */
2473
+ chainId?: HexString;
2474
+ }
2475
+
2476
+ /**
2477
+ * The state of an EVM transaction
2478
+ */
2479
+ export type ExecutionEVMTransactionState =
2480
+ | 'not_started'
2481
+ | 'signature_required'
2482
+ | 'signed'
2483
+ | 'broadcasted'
2484
+ | 'confirmed'
2485
+ | 'error';
2486
+
2487
+ /**
2488
+ * An execution ID, represented as a TypeID with `execution` prefix
2489
+ */
2490
+ export type ExecutionID = string;
2491
+
2492
+ /**
2493
+ * The state of an execution
2494
+ */
2495
+ export type ExecutionState = 'not_started' | 'started' | 'success' | 'aborted' | 'error';
2496
+
2497
+ /**
2498
+ * An execution step ID, represented as a TypeID with `execution_step` prefix
2499
+ */
2500
+ export type ExecutionStepID = string;
2501
+
2502
+ /**
2503
+ * A hex string starting with 0x
2504
+ */
2505
+ export type HexString = string;
2506
+
2507
+ /**
2508
+ * A lp pool incentive market
2509
+ */
2510
+ export interface IncentivizeMarket {
2511
+ /**
2512
+ * A list of arbitrary precision decimals
2513
+ */
2514
+ amounts: Array<Decimal>;
2515
+
2516
+ /**
2517
+ * Response for multiple assets
2518
+ */
2519
+ assets: Array<Asset>;
2520
+
2521
+ /**
2522
+ * Information about a specific block number and its timestamp
2523
+ */
2524
+ blockstamp: Blockstamp;
2525
+
2526
+ /**
2527
+ * ISO8601 Timestamp
2528
+ */
2529
+ closed_at: Timestamp;
2530
+
2531
+ /**
2532
+ * A liquidity pool
2533
+ */
2534
+ pool: LPPool;
2535
+
2536
+ /**
2537
+ * An asset symbol
2538
+ */
2539
+ quote_asset_symbol: string | null;
2540
+
2541
+ /**
2542
+ * The round number
2543
+ */
2544
+ round: number;
2545
+
2546
+ /**
2547
+ * An arbitrary precision decimal represented as a string
2548
+ */
2549
+ value: string | null;
2550
+
2551
+ /**
2552
+ * On-chain venue
2553
+ */
2554
+ venue: Venue;
2555
+ }
2556
+
2557
+ /**
2558
+ * APY Data for lend/borrow markets
2559
+ */
2560
+ export interface LendBorrowAPYs {
2561
+ /**
2562
+ * APY Data
2563
+ */
2564
+ base: APY;
2565
+
2566
+ /**
2567
+ * Array of APY
2568
+ */
2569
+ rewards: Array<APY>;
2570
+
2571
+ /**
2572
+ * An arbitrary precision decimal represented as a string
2573
+ */
2574
+ total: Decimal;
2575
+ }
2576
+
2577
+ /**
2578
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
2579
+ * prefix
2580
+ */
2581
+ export type LendBorrowMarketID = string;
2582
+
2583
+ /**
2584
+ * A lend market
2585
+ */
2586
+ export interface LendMarket {
2587
+ /**
2588
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
2589
+ * prefix
2590
+ */
2591
+ id: LendBorrowMarketID;
2592
+
2593
+ /**
2594
+ * APY Data for lend/borrow markets
2595
+ */
2596
+ apys: LendBorrowAPYs;
2597
+
2598
+ /**
2599
+ * On-chain asset (aka token)
2600
+ */
2601
+ asset: Asset;
2602
+
2603
+ /**
2604
+ * Information about a specific block number and its timestamp
2605
+ */
2606
+ blockstamp: Blockstamp;
2607
+
2608
+ /**
2609
+ * An arbitrary precision decimal represented as a string
2610
+ */
2611
+ liquidity: Decimal;
2612
+
2613
+ /**
2614
+ * An asset symbol
2615
+ */
2616
+ quote_asset_symbol: string | null;
2617
+
2618
+ /**
2619
+ * An arbitrary precision decimal represented as a string
2620
+ */
2621
+ total_supply: Decimal;
2622
+
2623
+ /**
2624
+ * On-chain venue
2625
+ */
2626
+ venue: Venue;
2627
+ }
2628
+
2629
+ /**
2630
+ * A lend position
2631
+ */
2632
+ export interface LendPosition {
2633
+ /**
2634
+ * An EVM address
2635
+ */
2636
+ account: Account;
2637
+
2638
+ /**
2639
+ * Information about a specific block number and its timestamp
2640
+ */
2641
+ blockstamp: Blockstamp;
2642
+
2643
+ collateral_enabled: boolean;
2644
+
2645
+ /**
2646
+ * A lend market
2647
+ */
2648
+ market: LendMarket;
2649
+
2650
+ /**
2651
+ * An asset symbol
2652
+ */
2653
+ quote_asset_symbol: string | null;
2654
+
2655
+ /**
2656
+ * An arbitrary precision decimal represented as a string
2657
+ */
2658
+ supplied_amount: Decimal;
2659
+
2660
+ /**
2661
+ * An arbitrary precision decimal represented as a string
2662
+ */
2663
+ value: string | null;
2664
+ }
2665
+
2666
+ /**
2667
+ * A lock market
2668
+ */
2669
+ export interface LockMarket {
2670
+ /**
2671
+ * On-chain asset (aka token)
2672
+ */
2673
+ asset: Asset;
2674
+
2675
+ /**
2676
+ * Data about a blockchain
2677
+ */
2678
+ blockchain: Blockchain;
2679
+
2680
+ /**
2681
+ * On-chain venue
2682
+ */
2683
+ venue: Venue;
2684
+ }
2685
+
2686
+ /**
2687
+ * A lock position
2688
+ */
2689
+ export interface LockPosition {
2690
+ /**
2691
+ * An EVM address
2692
+ */
2693
+ account: Account;
2694
+
2695
+ /**
2696
+ * Information about a specific block number and its timestamp
2697
+ */
2698
+ blockstamp: Blockstamp;
2699
+
2700
+ /**
2701
+ * An arbitrary precision decimal represented as a string
2702
+ */
2703
+ locked_amount: Decimal;
2704
+
2705
+ /**
2706
+ * A NFT
2707
+ */
2708
+ locked_asset: NFT;
2709
+
2710
+ /**
2711
+ * A lock market
2712
+ */
2713
+ market: LockMarket;
2714
+
2715
+ /**
2716
+ * ISO8601 Timestamp
2717
+ */
2718
+ unlocked_at: Timestamp;
2719
+
2720
+ used: boolean;
2721
+
2722
+ /**
2723
+ * An arbitrary precision decimal represented as a string
2724
+ */
2725
+ voting_power: Decimal;
2726
+ }
2727
+
2728
+ /**
2729
+ * A liquidity pool
2730
+ */
2731
+ export interface LPPool {
2732
+ /**
2733
+ * A LP pool ID, represented as a TypeID with `lp_pool` prefix
2734
+ */
2735
+ id: string;
2736
+
2737
+ /**
2738
+ * Response for multiple assets
2739
+ */
2740
+ assets: Array<Asset>;
2741
+
2742
+ /**
2743
+ * Pool attributes that are specific to particular venue types
2744
+ */
2745
+ attributes: LPPoolUniswapV3Attributes | LPPoolSolidlyAttributes;
2746
+
2747
+ /**
2748
+ * Information about a specific block number and its timestamp
2749
+ */
2750
+ blockstamp: Blockstamp;
2751
+
2752
+ /**
2753
+ * An EVM address
2754
+ */
2755
+ pool_address: Account;
2756
+
2757
+ /**
2758
+ * An arbitrary precision decimal represented as a string
2759
+ */
2760
+ pool_fee: Decimal;
2761
+
2762
+ /**
2763
+ * Type of a liquidity pool
2764
+ */
2765
+ pool_type: 'pair' | 'multi' | 'weighted' | 'range';
2766
+
2767
+ /**
2768
+ * An asset symbol
2769
+ */
2770
+ quote_asset_symbol: string | null;
2771
+
2772
+ /**
2773
+ * A list of arbitrary precision decimals
2774
+ */
2775
+ reserve_amounts: Array<Decimal>;
2776
+
2777
+ /**
2778
+ * A list of arbitrary precision decimals
2779
+ */
2780
+ reserve_ratios: Array<Decimal> | null;
2781
+
2782
+ /**
2783
+ * An arbitrary precision decimal represented as a string
2784
+ */
2785
+ total_liquidity: string | null;
2786
+
2787
+ /**
2788
+ * On-chain venue
2789
+ */
2790
+ venue: Venue;
2791
+ }
2792
+
2793
+ /**
2794
+ * Attributes for Solidly venue type pools
2795
+ */
2796
+ export interface LPPoolSolidlyAttributes {
2797
+ /**
2798
+ * True if pool is stable, false if volatile
2799
+ */
2800
+ stable: boolean;
2801
+ }
2802
+
2803
+ /**
2804
+ * Attributes for Uniswap V3 venue type pools
2805
+ */
2806
+ export interface LPPoolUniswapV3Attributes {
2807
+ /**
2808
+ * Pool fee
2809
+ */
2810
+ fee: string;
2811
+ }
2812
+
2813
+ /**
2814
+ * A position in a liquidity pool
2815
+ */
2816
+ export interface LPPosition {
2817
+ /**
2818
+ * An EVM address
2819
+ */
2820
+ account: Account;
2821
+
2822
+ /**
2823
+ * A list of arbitrary precision decimals
2824
+ */
2825
+ amounts: Array<Decimal>;
2826
+
2827
+ /**
2828
+ * Attributes for Uniswap V3 venue type positions
2829
+ */
2830
+ attributes: LPPositionAttributes;
2831
+
2832
+ /**
2833
+ * Information about a specific block number and its timestamp
2834
+ */
2835
+ blockstamp: Blockstamp;
2836
+
2837
+ /**
2838
+ * An arbitrary precision decimal represented as a string
2839
+ */
2840
+ lp_amount: Decimal;
2841
+
2842
+ /**
2843
+ * An LP asset, either an Asset or a NFT
2844
+ */
2845
+ lp_asset: Asset | NFT;
2846
+
2847
+ /**
2848
+ * An arbitrary precision decimal represented as a string
2849
+ */
2850
+ ownership: string | null;
2851
+
2852
+ /**
2853
+ * A liquidity pool
2854
+ */
2855
+ pool: LPPool;
2856
+
2857
+ /**
2858
+ * An asset symbol
2859
+ */
2860
+ quote_asset_symbol: string | null;
2861
+
2862
+ /**
2863
+ * An arbitrary precision decimal represented as a string
2864
+ */
2865
+ value: string | null;
2866
+ }
2867
+
2868
+ /**
2869
+ * Attributes for Uniswap V3 venue type positions
2870
+ */
2871
+ export interface LPPositionAttributes {
2872
+ /**
2873
+ * Whether the position is in range
2874
+ */
2875
+ in_range: boolean;
2876
+
2877
+ /**
2878
+ * An arbitrary precision decimal represented as a string
2879
+ */
2880
+ lower: Decimal;
2881
+
2882
+ /**
2883
+ * An arbitrary precision decimal represented as a string
2884
+ */
2885
+ price: Decimal;
2886
+
2887
+ /**
2888
+ * Lower tick
2889
+ */
2890
+ tick_lower: number;
2891
+
2892
+ /**
2893
+ * Upper tick
2894
+ */
2895
+ tick_upper: number;
2896
+
2897
+ /**
2898
+ * An arbitrary precision decimal represented as a string
2899
+ */
2900
+ upper: Decimal;
2901
+ }
2902
+
2903
+ /**
2904
+ * Attributes for Uniswap V3 venue type positions
2905
+ */
2906
+ export interface LPPositionUniswapV3Attributes {
2907
+ /**
2908
+ * Whether the position is in range
2909
+ */
2910
+ in_range: boolean;
2911
+
2912
+ /**
2913
+ * An arbitrary precision decimal represented as a string
2914
+ */
2915
+ lower: Decimal;
2916
+
2917
+ /**
2918
+ * An arbitrary precision decimal represented as a string
2919
+ */
2920
+ price: Decimal;
2921
+
2922
+ /**
2923
+ * Lower tick
2924
+ */
2925
+ tick_lower: number;
2926
+
2927
+ /**
2928
+ * Upper tick
2929
+ */
2930
+ tick_upper: number;
2931
+
2932
+ /**
2933
+ * An arbitrary precision decimal represented as a string
2934
+ */
2935
+ upper: Decimal;
2936
+ }
2937
+
2938
+ /**
2939
+ * An LP quote
2940
+ */
2941
+ export interface LPQuote {
2942
+ /**
2943
+ * An EVM address
2944
+ */
2945
+ account: Account;
2946
+
2947
+ /**
2948
+ * A list of arbitrary precision decimals
2949
+ */
2950
+ amounts: Array<Decimal>;
2951
+
2952
+ /**
2953
+ * A list of arbitrary precision decimals
2954
+ */
2955
+ amounts_delta: Array<Decimal>;
2956
+
2957
+ /**
2958
+ * Information about a specific block number and its timestamp
2959
+ */
2960
+ blockstamp: Blockstamp;
2961
+
2962
+ /**
2963
+ * An arbitrary precision decimal represented as a string
2964
+ */
2965
+ ownership: string | null;
2966
+
2967
+ /**
2968
+ * A liquidity pool
2969
+ */
2970
+ pool: LPPool;
2971
+
2972
+ /**
2973
+ * An asset symbol
2974
+ */
2975
+ quote_asset_symbol: string | null;
2976
+
2977
+ /**
2978
+ * An arbitrary precision decimal represented as a string
2979
+ */
2980
+ value: string | null;
2981
+ }
2982
+
2983
+ /**
2984
+ * Uniswap position specifier
2985
+ */
2986
+ export interface LPUniswapV3PositionSpecifier {
2987
+ /**
2988
+ * A NFT
2989
+ */
2990
+ position_nft: NFT;
2991
+ }
2992
+
2993
+ /**
2994
+ * A Uniswap V3 range. Lower and upper bounds should satisfy 0 <= `lower` <
2995
+ * `upper`. The value -1 can be used in `upper` for infinity
2996
+ */
2997
+ export interface LPUniswapV3Range {
2998
+ /**
2999
+ * An arbitrary precision decimal represented as a string
3000
+ */
3001
+ lower: Decimal;
3002
+
3003
+ /**
3004
+ * An arbitrary precision decimal represented as a string
3005
+ */
3006
+ upper: Decimal;
3007
+ }
3008
+
3009
+ /**
3010
+ * Estimated cost of an operation
3011
+ */
3012
+ export interface NetworkFeeEstimate {
3013
+ /**
3014
+ * An arbitrary precision decimal represented as a string
3015
+ */
3016
+ amount: Decimal;
3017
+
3018
+ /**
3019
+ * On-chain asset (aka token)
3020
+ */
3021
+ asset: Asset;
3022
+
3023
+ /**
3024
+ * An arbitrary precision decimal represented as a string
3025
+ */
3026
+ cost: string | null;
3027
+
3028
+ /**
3029
+ * An asset symbol
3030
+ */
3031
+ quote_asset_symbol: string | null;
3032
+ }
3033
+
3034
+ /**
3035
+ * Blockchain's network
3036
+ */
3037
+ export type NetworkName = string;
3038
+
3039
+ /**
3040
+ * A NFT
3041
+ */
3042
+ export interface NFT {
3043
+ /**
3044
+ * The NFT id
3045
+ */
3046
+ id: number;
3047
+
3048
+ /**
3049
+ * A NFT Collection
3050
+ */
3051
+ collection: NFTCollection;
3052
+ }
3053
+
3054
+ /**
3055
+ * A NFT Collection
3056
+ */
3057
+ export interface NFTCollection {
3058
+ /**
3059
+ * The NFT Collection's address
3060
+ */
3061
+ address: string;
3062
+
3063
+ /**
3064
+ * Data about a blockchain
3065
+ */
3066
+ blockchain?: NFTCollection.Blockchain;
3067
+
3068
+ /**
3069
+ * The NFT Collection's name
3070
+ */
3071
+ name?: string;
3072
+ }
3073
+
3074
+ export namespace NFTCollection {
3075
+ /**
3076
+ * Data about a blockchain
3077
+ */
3078
+ export interface Blockchain {
3079
+ /**
3080
+ * A blockchain ID, represented as a TypeID with `blockchain` prefix
3081
+ */
3082
+ id: VektorAPI.BlockchainID;
3083
+
3084
+ /**
3085
+ * Data about an EVM blockchain
3086
+ */
3087
+ chain_data: VektorAPI.EVMChainData;
3088
+
3089
+ /**
3090
+ * Blockchain ecosystem
3091
+ */
3092
+ chain_type: VektorAPI.ChainType;
3093
+
3094
+ /**
3095
+ * The blockchain's explorer URL
3096
+ */
3097
+ explorer_url: string;
3098
+
3099
+ /**
3100
+ * BlockchainName
3101
+ */
3102
+ name: VektorAPI.BlockchainName;
3103
+
3104
+ /**
3105
+ * Blockchain's network
3106
+ */
3107
+ network: VektorAPI.NetworkName;
3108
+
3109
+ /**
3110
+ * A blockchain symbol
3111
+ */
3112
+ symbol: VektorAPI.BlockchainSymbol;
3113
+ }
3114
+ }
3115
+
3116
+ /**
3117
+ * A range of timestamps
3118
+ */
3119
+ export interface OffChainHistoricalRange {
3120
+ /**
3121
+ * ISO8601 Timestamp
3122
+ */
3123
+ from: Timestamp;
3124
+
3125
+ /**
3126
+ * ISO8601 Timestamp
3127
+ */
3128
+ to: Timestamp;
3129
+ }
3130
+
3131
+ /**
3132
+ * A range of blockstamps
3133
+ */
3134
+ export interface OnChainHistoricalRange {
3135
+ /**
3136
+ * Information about a specific block number and its timestamp
3137
+ */
3138
+ from: Blockstamp;
3139
+
3140
+ /**
3141
+ * Information about a specific block number and its timestamp
3142
+ */
3143
+ to: Blockstamp;
3144
+ }
3145
+
3146
+ /**
3147
+ * A price
3148
+ */
3149
+ export interface Price {
3150
+ /**
3151
+ * An asset symbol
3152
+ */
3153
+ asset_symbol: AssetSymbol;
3154
+
3155
+ /**
3156
+ * An arbitrary precision decimal represented as a string
3157
+ */
3158
+ change_1h: string | null;
3159
+
3160
+ /**
3161
+ * An arbitrary precision decimal represented as a string
3162
+ */
3163
+ change_1y: string | null;
3164
+
3165
+ /**
3166
+ * An arbitrary precision decimal represented as a string
3167
+ */
3168
+ change_24h: string | null;
3169
+
3170
+ /**
3171
+ * An arbitrary precision decimal represented as a string
3172
+ */
3173
+ change_30d: string | null;
3174
+
3175
+ /**
3176
+ * An arbitrary precision decimal represented as a string
3177
+ */
3178
+ change_7d: string | null;
3179
+
3180
+ /**
3181
+ * An arbitrary precision decimal represented as a string
3182
+ */
3183
+ market_cap: string | null;
3184
+
3185
+ /**
3186
+ * An arbitrary precision decimal represented as a string
3187
+ */
3188
+ price: Decimal;
3189
+
3190
+ /**
3191
+ * An asset symbol
3192
+ */
3193
+ quote_asset_symbol: AssetSymbol;
3194
+ }
3195
+
3196
+ /**
3197
+ * Quote info for 0x
3198
+ */
3199
+ export interface QuoteInfo0x {
3200
+ /**
3201
+ * An arbitrary precision decimal represented as a string
3202
+ */
3203
+ estimated_gas_used: string | null;
3204
+
3205
+ /**
3206
+ * A route in a 0x quote
3207
+ */
3208
+ route: QuoteInfo0xRoute;
3209
+ }
3210
+
3211
+ /**
3212
+ * A fill in a 0x quote
3213
+ */
3214
+ export interface QuoteInfo0xFill {
3215
+ /**
3216
+ * An EVM address
3217
+ */
3218
+ from: AddressEVM;
3219
+
3220
+ proportion_bps: number;
3221
+
3222
+ source: string;
3223
+
3224
+ /**
3225
+ * An EVM address
3226
+ */
3227
+ to: AddressEVM;
3228
+ }
3229
+
3230
+ /**
3231
+ * A route in a 0x quote
3232
+ */
3233
+ export interface QuoteInfo0xRoute {
3234
+ /**
3235
+ * A list of fills in a 0x quote
3236
+ */
3237
+ fills: Array<QuoteInfo0xFill>;
3238
+
3239
+ /**
3240
+ * A list of tokens in a 0x quote
3241
+ */
3242
+ tokens: Array<QuoteInfo0xToken>;
3243
+ }
3244
+
3245
+ /**
3246
+ * A token in a 0x quote
3247
+ */
3248
+ export interface QuoteInfo0xToken {
3249
+ /**
3250
+ * An EVM address
3251
+ */
3252
+ address: AddressEVM;
3253
+
3254
+ symbol: string;
3255
+ }
3256
+
3257
+ /**
3258
+ * Quote info for Curve
3259
+ */
3260
+ export interface QuoteInfoCurve {
3261
+ i_index: number;
3262
+
3263
+ j_index: number;
3264
+
3265
+ /**
3266
+ * A LP pool ID, represented as a TypeID with `lp_pool` prefix
3267
+ */
3268
+ pool_id: string;
3269
+
3270
+ swap_type: string;
3271
+ }
3272
+
3273
+ /**
3274
+ * Quote info for Uniswap V2
3275
+ */
3276
+ export interface QuoteInfoUniswapV2 {
3277
+ /**
3278
+ * A list of LP pool IDs
3279
+ */
3280
+ pool_ids: Array<string>;
3281
+ }
3282
+
3283
+ /**
3284
+ * Quote info for Uniswap V3
3285
+ */
3286
+ export interface QuoteInfoUniswapV3 {
3287
+ /**
3288
+ * A list of LP pool IDs
3289
+ */
3290
+ pool_ids: Array<string>;
3291
+ }
3292
+
3293
+ /**
3294
+ * Registry data for a lend borrow market
3295
+ */
3296
+ export interface RegistryLendBorrowMarket {
3297
+ /**
3298
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
3299
+ * prefix
3300
+ */
3301
+ id: LendBorrowMarketID;
3302
+
3303
+ /**
3304
+ * On-chain asset (aka token)
3305
+ */
3306
+ asset: Asset;
3307
+
3308
+ /**
3309
+ * Data about a blockchain
3310
+ */
3311
+ blockchain: Blockchain;
3312
+
3313
+ /**
3314
+ * On-chain venue
3315
+ */
3316
+ venue: Venue;
3317
+ }
3318
+
3319
+ /**
3320
+ * Registry data for an LP pool
3321
+ */
3322
+ export interface RegistryLPPool {
3323
+ /**
3324
+ * A LP pool ID, represented as a TypeID with `lp_pool` prefix
3325
+ */
3326
+ id: string;
3327
+
3328
+ /**
3329
+ * Response for multiple assets
3330
+ */
3331
+ assets: Array<Asset>;
3332
+
3333
+ /**
3334
+ * Data about a blockchain
3335
+ */
3336
+ blockchain: Blockchain;
3337
+
3338
+ /**
3339
+ * On-chain venue
3340
+ */
3341
+ venue: Venue;
3342
+ }
3343
+
3344
+ /**
3345
+ * A sell quote
3346
+ */
3347
+ export interface SellQuote {
3348
+ /**
3349
+ * Data about a blockchain
3350
+ */
3351
+ blockchain: Blockchain;
3352
+
3353
+ /**
3354
+ * Estimated cost of an operation
3355
+ */
3356
+ fee_estimate: SellQuote.FeeEstimate | null;
3357
+
3358
+ /**
3359
+ * An asset symbol
3360
+ */
3361
+ quote_asset_symbol: string | null;
3362
+
3363
+ /**
3364
+ * Quote info for sell quotes
3365
+ */
3366
+ quote_info: QuoteInfoCurve | QuoteInfoUniswapV2 | QuoteInfoUniswapV3 | QuoteInfo0x;
3367
+
3368
+ /**
3369
+ * An arbitrary precision decimal represented as a string
3370
+ */
3371
+ quote_value: string | null;
3372
+
3373
+ /**
3374
+ * An arbitrary precision decimal represented as a string
3375
+ */
3376
+ receive_amount: Decimal;
3377
+
3378
+ /**
3379
+ * On-chain asset (aka token)
3380
+ */
3381
+ receive_asset: Asset;
3382
+
3383
+ /**
3384
+ * An arbitrary precision decimal represented as a string
3385
+ */
3386
+ spend_amount: Decimal;
3387
+
3388
+ /**
3389
+ * On-chain asset (aka token)
3390
+ */
3391
+ spend_asset: Asset;
3392
+
3393
+ /**
3394
+ * On-chain venue
3395
+ */
3396
+ venue: Venue;
3397
+ }
3398
+
3399
+ export namespace SellQuote {
3400
+ /**
3401
+ * Estimated cost of an operation
3402
+ */
3403
+ export interface FeeEstimate {
3404
+ /**
3405
+ * An arbitrary precision decimal represented as a string
3406
+ */
3407
+ amount: VektorAPI.Decimal;
3408
+
3409
+ /**
3410
+ * On-chain asset (aka token)
3411
+ */
3412
+ asset: VektorAPI.Asset;
3413
+
3414
+ /**
3415
+ * An arbitrary precision decimal represented as a string
3416
+ */
3417
+ cost: string | null;
3418
+
3419
+ /**
3420
+ * An asset symbol
3421
+ */
3422
+ quote_asset_symbol: string | null;
3423
+ }
3424
+ }
3425
+
3426
+ /**
3427
+ * ISO8601 Timestamp
3428
+ */
3429
+ export type Timestamp = string;
3430
+
3431
+ /**
3432
+ * Either a ISO8601 timestamp or a block number
3433
+ */
3434
+ export type TimestampOrBlockNumber = Timestamp | BlockNumber;
3435
+
3436
+ /**
3437
+ * A transaction hash
3438
+ */
3439
+ export type TransactionHash = string;
3440
+
3441
+ /**
3442
+ * An error
3443
+ */
3444
+ export interface VektorError {
3445
+ /**
3446
+ * Error message
3447
+ */
3448
+ message: string;
3449
+
3450
+ /**
3451
+ * Error parameters
3452
+ */
3453
+ params: { [key: string]: unknown };
3454
+
3455
+ /**
3456
+ * Error type
3457
+ */
3458
+ type: string;
3459
+ }
3460
+
3461
+ /**
3462
+ * On-chain venue
3463
+ */
3464
+ export interface Venue {
3465
+ /**
3466
+ * A venue ID, represented as a TypeID with `venue` prefix
3467
+ */
3468
+ id: VenueID;
3469
+
3470
+ /**
3471
+ * A list of blockchain IDs
3472
+ */
3473
+ blockchain_ids: Array<BlockchainID>;
3474
+
3475
+ /**
3476
+ * Venue name
3477
+ */
3478
+ name: string;
3479
+
3480
+ /**
3481
+ * A venue symbol
3482
+ */
3483
+ symbol: VenueSymbol;
3484
+
3485
+ /**
3486
+ * Venue type
3487
+ */
3488
+ type: string;
3489
+
3490
+ /**
3491
+ * Venue url
3492
+ */
3493
+ url: string;
3494
+ }
3495
+
3496
+ /**
3497
+ * A venue ID, represented as a TypeID with `venue` prefix
3498
+ */
3499
+ export type VenueID = string;
3500
+
3501
+ /**
3502
+ * A venue ID, represented as a TypeID with `venue` prefix
3503
+ */
3504
+ export type VenueIDOrVenueSymbol = string;
3505
+
3506
+ /**
3507
+ * A venue symbol
3508
+ */
3509
+ export type VenueSymbol = string;
3510
+
3511
+ /**
3512
+ * A LP incentive vote market
3513
+ */
3514
+ export interface VoteMarket {
3515
+ /**
3516
+ * Information about a specific block number and its timestamp
3517
+ */
3518
+ blockstamp: Blockstamp;
3519
+
3520
+ /**
3521
+ * A lp pool incentive market
3522
+ */
3523
+ market: IncentivizeMarket;
3524
+
3525
+ /**
3526
+ * An asset symbol
3527
+ */
3528
+ quote_asset_symbol: string | null;
3529
+
3530
+ /**
3531
+ * A list of arbitrary precision decimals
3532
+ */
3533
+ trading_fees_amounts: Array<Decimal>;
3534
+
3535
+ /**
3536
+ * Response for multiple assets
3537
+ */
3538
+ trading_fees_assets: Array<Asset>;
3539
+
3540
+ /**
3541
+ * An arbitrary precision decimal represented as a string
3542
+ */
3543
+ value: Decimal;
3544
+
3545
+ /**
3546
+ * An arbitrary precision decimal represented as a string
3547
+ */
3548
+ value_per_vote: Decimal;
3549
+
3550
+ /**
3551
+ * An arbitrary precision decimal represented as a string
3552
+ */
3553
+ votes: Decimal;
3554
+ }
3555
+
3556
+ /**
3557
+ * A LP vote reward
3558
+ */
3559
+ export interface VoteReward {
3560
+ /**
3561
+ * An EVM address
3562
+ */
3563
+ account: Account;
3564
+
3565
+ /**
3566
+ * Information about a specific block number and its timestamp
3567
+ */
3568
+ blockstamp: Blockstamp;
3569
+
3570
+ /**
3571
+ * A list of arbitrary precision decimals
3572
+ */
3573
+ fee_amounts: Array<Decimal>;
3574
+
3575
+ /**
3576
+ * Response for multiple assets
3577
+ */
3578
+ fee_assets: Array<Asset>;
3579
+
3580
+ /**
3581
+ * A list of arbitrary precision decimals
3582
+ */
3583
+ incentive_amounts: Array<Decimal>;
3584
+
3585
+ /**
3586
+ * Response for multiple assets
3587
+ */
3588
+ incentive_assets: Array<Asset>;
3589
+
3590
+ /**
3591
+ * A list of lock positions
3592
+ */
3593
+ lock_positions: Array<LockPosition>;
3594
+
3595
+ /**
3596
+ * A liquidity pool
3597
+ */
3598
+ pool: LPPool;
3599
+
3600
+ /**
3601
+ * An asset symbol
3602
+ */
3603
+ quote_asset_symbol: string | null;
3604
+
3605
+ /**
3606
+ * An arbitrary precision decimal represented as a string
3607
+ */
3608
+ value: Decimal;
3609
+ }
3610
+
3611
+ Vektor.Registry = Registry;
3612
+ Vektor.Balances = Balances;
3613
+ Vektor.Prices = Prices;
3614
+ Vektor.Lend = Lend;
3615
+ Vektor.Borrow = Borrow;
3616
+ Vektor.LP = LP;
3617
+ Vektor.Buy = Buy;
3618
+ Vektor.Sell = Sell;
3619
+ Vektor.Move = Move;
3620
+ Vektor.Wrap = Wrap;
3621
+ Vektor.Bridge = Bridge;
3622
+ Vektor.Lock = Lock;
3623
+ Vektor.Vote = Vote;
3624
+ Vektor.Incentivize = Incentivize;
3625
+ Vektor.Executions = Executions;
3626
+
3627
+ export declare namespace Vektor {
3628
+ export {
3629
+ type Account as Account,
3630
+ type AddressEVM as AddressEVM,
3631
+ type APY as APY,
3632
+ type Asset as Asset,
3633
+ type AssetID as AssetID,
3634
+ type AssetIDOrAddressEVMOrAssetSymbol as AssetIDOrAddressEVMOrAssetSymbol,
3635
+ type AssetSymbol as AssetSymbol,
3636
+ type Balance as Balance,
3637
+ type BlockNumber as BlockNumber,
3638
+ type Blockchain as Blockchain,
3639
+ type BlockchainID as BlockchainID,
3640
+ type BlockchainIDOrBlockchainSymbol as BlockchainIDOrBlockchainSymbol,
3641
+ type BlockchainName as BlockchainName,
3642
+ type BlockchainSymbol as BlockchainSymbol,
3643
+ type Blockstamp as Blockstamp,
3644
+ type BorrowAccount as BorrowAccount,
3645
+ type BorrowMarket as BorrowMarket,
3646
+ type BorrowPosition as BorrowPosition,
3647
+ type BridgeQuote as BridgeQuote,
3648
+ type BuyQuote as BuyQuote,
3649
+ type ChainType as ChainType,
3650
+ type Decimal as Decimal,
3651
+ type ErrorWrapper as ErrorWrapper,
3652
+ type EVMChainData as EVMChainData,
3653
+ type Execution as Execution,
3654
+ type ExecutionEVMTransactionEIP1559Payload as ExecutionEVMTransactionEIP1559Payload,
3655
+ type ExecutionEVMTransactionPayload as ExecutionEVMTransactionPayload,
3656
+ type ExecutionEVMTransactionState as ExecutionEVMTransactionState,
3657
+ type ExecutionID as ExecutionID,
3658
+ type ExecutionState as ExecutionState,
3659
+ type ExecutionStepID as ExecutionStepID,
3660
+ type HexString as HexString,
3661
+ type IncentivizeMarket as IncentivizeMarket,
3662
+ type LendBorrowAPYs as LendBorrowAPYs,
3663
+ type LendBorrowMarketID as LendBorrowMarketID,
3664
+ type LendMarket as LendMarket,
3665
+ type LendPosition as LendPosition,
3666
+ type LockMarket as LockMarket,
3667
+ type LockPosition as LockPosition,
3668
+ type LPPool as LPPool,
3669
+ type LPPoolSolidlyAttributes as LPPoolSolidlyAttributes,
3670
+ type LPPoolUniswapV3Attributes as LPPoolUniswapV3Attributes,
3671
+ type LPPosition as LPPosition,
3672
+ type LPPositionAttributes as LPPositionAttributes,
3673
+ type LPPositionUniswapV3Attributes as LPPositionUniswapV3Attributes,
3674
+ type LPQuote as LPQuote,
3675
+ type LPUniswapV3PositionSpecifier as LPUniswapV3PositionSpecifier,
3676
+ type LPUniswapV3Range as LPUniswapV3Range,
3677
+ type NetworkFeeEstimate as NetworkFeeEstimate,
3678
+ type NetworkName as NetworkName,
3679
+ type NFT as NFT,
3680
+ type NFTCollection as NFTCollection,
3681
+ type OffChainHistoricalRange as OffChainHistoricalRange,
3682
+ type OnChainHistoricalRange as OnChainHistoricalRange,
3683
+ type Price as Price,
3684
+ type QuoteInfo0x as QuoteInfo0x,
3685
+ type QuoteInfo0xFill as QuoteInfo0xFill,
3686
+ type QuoteInfo0xRoute as QuoteInfo0xRoute,
3687
+ type QuoteInfo0xToken as QuoteInfo0xToken,
3688
+ type QuoteInfoCurve as QuoteInfoCurve,
3689
+ type QuoteInfoUniswapV2 as QuoteInfoUniswapV2,
3690
+ type QuoteInfoUniswapV3 as QuoteInfoUniswapV3,
3691
+ type RegistryLendBorrowMarket as RegistryLendBorrowMarket,
3692
+ type RegistryLPPool as RegistryLPPool,
3693
+ type SellQuote as SellQuote,
3694
+ type Timestamp as Timestamp,
3695
+ type TimestampOrBlockNumber as TimestampOrBlockNumber,
3696
+ type TransactionHash as TransactionHash,
3697
+ type VektorError as VektorError,
3698
+ type Venue as Venue,
3699
+ type VenueID as VenueID,
3700
+ type VenueIDOrVenueSymbol as VenueIDOrVenueSymbol,
3701
+ type VenueSymbol as VenueSymbol,
3702
+ type VoteMarket as VoteMarket,
3703
+ type VoteReward as VoteReward,
3704
+ };
3705
+
3706
+ export { Registry as Registry };
3707
+
3708
+ export {
3709
+ Balances as Balances,
3710
+ type BalanceListResponse as BalanceListResponse,
3711
+ type BalanceListHistoricalResponse as BalanceListHistoricalResponse,
3712
+ type BalanceListParams as BalanceListParams,
3713
+ type BalanceListHistoricalParams as BalanceListHistoricalParams,
3714
+ };
3715
+
3716
+ export {
3717
+ Prices as Prices,
3718
+ type PriceListResponse as PriceListResponse,
3719
+ type PriceListHistoricalResponse as PriceListHistoricalResponse,
3720
+ type PriceListParams as PriceListParams,
3721
+ type PriceListHistoricalParams as PriceListHistoricalParams,
3722
+ };
3723
+
3724
+ export { Lend as Lend };
3725
+
3726
+ export { Borrow as Borrow };
3727
+
3728
+ export { LP as LP };
3729
+
3730
+ export { Buy as Buy };
3731
+
3732
+ export { Sell as Sell };
3733
+
3734
+ export { Move as Move, type MoveCreateParams as MoveCreateParams };
3735
+
3736
+ export { Wrap as Wrap };
3737
+
3738
+ export { Bridge as Bridge };
3739
+
3740
+ export { Lock as Lock };
3741
+
3742
+ export { Vote as Vote };
3743
+
3744
+ export {
3745
+ Incentivize as Incentivize,
3746
+ type IncentivizeListResponse as IncentivizeListResponse,
3747
+ type IncentivizeListParams as IncentivizeListParams,
3748
+ };
3749
+
3750
+ export { Executions as Executions, type ExecutionListResponse as ExecutionListResponse };
3751
+ }