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