@nirvana-labs/nirvana 1.9.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (678) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/bin/migration-config.json +70 -0
  3. package/client.d.mts +3 -0
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +3 -0
  6. package/client.d.ts.map +1 -1
  7. package/client.js +3 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +3 -0
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/index.d.mts +1 -0
  13. package/resources/index.d.mts.map +1 -1
  14. package/resources/index.d.ts +1 -0
  15. package/resources/index.d.ts.map +1 -1
  16. package/resources/index.js +3 -1
  17. package/resources/index.js.map +1 -1
  18. package/resources/index.mjs +1 -0
  19. package/resources/index.mjs.map +1 -1
  20. package/resources/vektor/balances.d.mts +114 -0
  21. package/resources/vektor/balances.d.mts.map +1 -0
  22. package/resources/vektor/balances.d.ts +114 -0
  23. package/resources/vektor/balances.d.ts.map +1 -0
  24. package/resources/vektor/balances.js +44 -0
  25. package/resources/vektor/balances.js.map +1 -0
  26. package/resources/vektor/balances.mjs +40 -0
  27. package/resources/vektor/balances.mjs.map +1 -0
  28. package/resources/vektor/borrow/accounts.d.mts +114 -0
  29. package/resources/vektor/borrow/accounts.d.mts.map +1 -0
  30. package/resources/vektor/borrow/accounts.d.ts +114 -0
  31. package/resources/vektor/borrow/accounts.d.ts.map +1 -0
  32. package/resources/vektor/borrow/accounts.js +44 -0
  33. package/resources/vektor/borrow/accounts.js.map +1 -0
  34. package/resources/vektor/borrow/accounts.mjs +40 -0
  35. package/resources/vektor/borrow/accounts.mjs.map +1 -0
  36. package/resources/vektor/borrow/borrow.d.mts +22 -0
  37. package/resources/vektor/borrow/borrow.d.mts.map +1 -0
  38. package/resources/vektor/borrow/borrow.d.ts +22 -0
  39. package/resources/vektor/borrow/borrow.d.ts.map +1 -0
  40. package/resources/vektor/borrow/borrow.js +29 -0
  41. package/resources/vektor/borrow/borrow.js.map +1 -0
  42. package/resources/vektor/borrow/borrow.mjs +24 -0
  43. package/resources/vektor/borrow/borrow.mjs.map +1 -0
  44. package/resources/vektor/borrow/borrow_.d.mts +47 -0
  45. package/resources/vektor/borrow/borrow_.d.mts.map +1 -0
  46. package/resources/vektor/borrow/borrow_.d.ts +47 -0
  47. package/resources/vektor/borrow/borrow_.d.ts.map +1 -0
  48. package/resources/vektor/borrow/borrow_.js +26 -0
  49. package/resources/vektor/borrow/borrow_.js.map +1 -0
  50. package/resources/vektor/borrow/borrow_.mjs +22 -0
  51. package/resources/vektor/borrow/borrow_.mjs.map +1 -0
  52. package/resources/vektor/borrow/index.d.mts +6 -0
  53. package/resources/vektor/borrow/index.d.mts.map +1 -0
  54. package/resources/vektor/borrow/index.d.ts +6 -0
  55. package/resources/vektor/borrow/index.d.ts.map +1 -0
  56. package/resources/vektor/borrow/index.js +13 -0
  57. package/resources/vektor/borrow/index.js.map +1 -0
  58. package/resources/vektor/borrow/index.mjs +6 -0
  59. package/resources/vektor/borrow/index.mjs.map +1 -0
  60. package/resources/vektor/borrow/markets.d.mts +158 -0
  61. package/resources/vektor/borrow/markets.d.mts.map +1 -0
  62. package/resources/vektor/borrow/markets.d.ts +158 -0
  63. package/resources/vektor/borrow/markets.d.ts.map +1 -0
  64. package/resources/vektor/borrow/markets.js +42 -0
  65. package/resources/vektor/borrow/markets.js.map +1 -0
  66. package/resources/vektor/borrow/markets.mjs +38 -0
  67. package/resources/vektor/borrow/markets.mjs.map +1 -0
  68. package/resources/vektor/borrow/positions.d.mts +182 -0
  69. package/resources/vektor/borrow/positions.d.mts.map +1 -0
  70. package/resources/vektor/borrow/positions.d.ts +182 -0
  71. package/resources/vektor/borrow/positions.d.ts.map +1 -0
  72. package/resources/vektor/borrow/positions.js +50 -0
  73. package/resources/vektor/borrow/positions.js.map +1 -0
  74. package/resources/vektor/borrow/positions.mjs +46 -0
  75. package/resources/vektor/borrow/positions.mjs.map +1 -0
  76. package/resources/vektor/borrow.d.mts +2 -0
  77. package/resources/vektor/borrow.d.mts.map +1 -0
  78. package/resources/vektor/borrow.d.ts +2 -0
  79. package/resources/vektor/borrow.d.ts.map +1 -0
  80. package/resources/vektor/borrow.js +6 -0
  81. package/resources/vektor/borrow.js.map +1 -0
  82. package/resources/vektor/borrow.mjs +3 -0
  83. package/resources/vektor/borrow.mjs.map +1 -0
  84. package/resources/vektor/bridge/bridge.d.mts +10 -0
  85. package/resources/vektor/bridge/bridge.d.mts.map +1 -0
  86. package/resources/vektor/bridge/bridge.d.ts +10 -0
  87. package/resources/vektor/bridge/bridge.d.ts.map +1 -0
  88. package/resources/vektor/bridge/bridge.js +17 -0
  89. package/resources/vektor/bridge/bridge.js.map +1 -0
  90. package/resources/vektor/bridge/bridge.mjs +12 -0
  91. package/resources/vektor/bridge/bridge.mjs.map +1 -0
  92. package/resources/vektor/bridge/index.d.mts +3 -0
  93. package/resources/vektor/bridge/index.d.mts.map +1 -0
  94. package/resources/vektor/bridge/index.d.ts +3 -0
  95. package/resources/vektor/bridge/index.d.ts.map +1 -0
  96. package/resources/vektor/bridge/index.js +9 -0
  97. package/resources/vektor/bridge/index.js.map +1 -0
  98. package/resources/vektor/bridge/index.mjs +4 -0
  99. package/resources/vektor/bridge/index.mjs.map +1 -0
  100. package/resources/vektor/bridge/quotes.d.mts +57 -0
  101. package/resources/vektor/bridge/quotes.d.mts.map +1 -0
  102. package/resources/vektor/bridge/quotes.d.ts +57 -0
  103. package/resources/vektor/bridge/quotes.d.ts.map +1 -0
  104. package/resources/vektor/bridge/quotes.js +26 -0
  105. package/resources/vektor/bridge/quotes.js.map +1 -0
  106. package/resources/vektor/bridge/quotes.mjs +22 -0
  107. package/resources/vektor/bridge/quotes.mjs.map +1 -0
  108. package/resources/vektor/bridge.d.mts +2 -0
  109. package/resources/vektor/bridge.d.mts.map +1 -0
  110. package/resources/vektor/bridge.d.ts +2 -0
  111. package/resources/vektor/bridge.d.ts.map +1 -0
  112. package/resources/vektor/bridge.js +6 -0
  113. package/resources/vektor/bridge.js.map +1 -0
  114. package/resources/vektor/bridge.mjs +3 -0
  115. package/resources/vektor/bridge.mjs.map +1 -0
  116. package/resources/vektor/buy/buy.d.mts +14 -0
  117. package/resources/vektor/buy/buy.d.mts.map +1 -0
  118. package/resources/vektor/buy/buy.d.ts +14 -0
  119. package/resources/vektor/buy/buy.d.ts.map +1 -0
  120. package/resources/vektor/buy/buy.js +21 -0
  121. package/resources/vektor/buy/buy.js.map +1 -0
  122. package/resources/vektor/buy/buy.mjs +16 -0
  123. package/resources/vektor/buy/buy.mjs.map +1 -0
  124. package/resources/vektor/buy/buy_.d.mts +56 -0
  125. package/resources/vektor/buy/buy_.d.mts.map +1 -0
  126. package/resources/vektor/buy/buy_.d.ts +56 -0
  127. package/resources/vektor/buy/buy_.d.ts.map +1 -0
  128. package/resources/vektor/buy/buy_.js +27 -0
  129. package/resources/vektor/buy/buy_.js.map +1 -0
  130. package/resources/vektor/buy/buy_.mjs +23 -0
  131. package/resources/vektor/buy/buy_.mjs.map +1 -0
  132. package/resources/vektor/buy/index.d.mts +4 -0
  133. package/resources/vektor/buy/index.d.mts.map +1 -0
  134. package/resources/vektor/buy/index.d.ts +4 -0
  135. package/resources/vektor/buy/index.d.ts.map +1 -0
  136. package/resources/vektor/buy/index.js +9 -0
  137. package/resources/vektor/buy/index.js.map +1 -0
  138. package/resources/vektor/buy/index.mjs +4 -0
  139. package/resources/vektor/buy/index.mjs.map +1 -0
  140. package/resources/vektor/buy/quotes.d.mts +57 -0
  141. package/resources/vektor/buy/quotes.d.mts.map +1 -0
  142. package/resources/vektor/buy/quotes.d.ts +57 -0
  143. package/resources/vektor/buy/quotes.d.ts.map +1 -0
  144. package/resources/vektor/buy/quotes.js +26 -0
  145. package/resources/vektor/buy/quotes.js.map +1 -0
  146. package/resources/vektor/buy/quotes.mjs +22 -0
  147. package/resources/vektor/buy/quotes.mjs.map +1 -0
  148. package/resources/vektor/buy.d.mts +2 -0
  149. package/resources/vektor/buy.d.mts.map +1 -0
  150. package/resources/vektor/buy.d.ts +2 -0
  151. package/resources/vektor/buy.d.ts.map +1 -0
  152. package/resources/vektor/buy.js +6 -0
  153. package/resources/vektor/buy.js.map +1 -0
  154. package/resources/vektor/buy.mjs +3 -0
  155. package/resources/vektor/buy.mjs.map +1 -0
  156. package/resources/vektor/executions/executions.d.mts +38 -0
  157. package/resources/vektor/executions/executions.d.mts.map +1 -0
  158. package/resources/vektor/executions/executions.d.ts +38 -0
  159. package/resources/vektor/executions/executions.d.ts.map +1 -0
  160. package/resources/vektor/executions/executions.js +42 -0
  161. package/resources/vektor/executions/executions.js.map +1 -0
  162. package/resources/vektor/executions/executions.mjs +37 -0
  163. package/resources/vektor/executions/executions.mjs.map +1 -0
  164. package/resources/vektor/executions/index.d.mts +3 -0
  165. package/resources/vektor/executions/index.d.mts.map +1 -0
  166. package/resources/vektor/executions/index.d.ts +3 -0
  167. package/resources/vektor/executions/index.d.ts.map +1 -0
  168. package/resources/vektor/executions/index.js +9 -0
  169. package/resources/vektor/executions/index.js.map +1 -0
  170. package/resources/vektor/executions/index.mjs +4 -0
  171. package/resources/vektor/executions/index.mjs.map +1 -0
  172. package/resources/vektor/executions/steps.d.mts +1225 -0
  173. package/resources/vektor/executions/steps.d.mts.map +1 -0
  174. package/resources/vektor/executions/steps.d.ts +1225 -0
  175. package/resources/vektor/executions/steps.d.ts.map +1 -0
  176. package/resources/vektor/executions/steps.js +45 -0
  177. package/resources/vektor/executions/steps.js.map +1 -0
  178. package/resources/vektor/executions/steps.mjs +41 -0
  179. package/resources/vektor/executions/steps.mjs.map +1 -0
  180. package/resources/vektor/executions.d.mts +2 -0
  181. package/resources/vektor/executions.d.mts.map +1 -0
  182. package/resources/vektor/executions.d.ts +2 -0
  183. package/resources/vektor/executions.d.ts.map +1 -0
  184. package/resources/vektor/executions.js +6 -0
  185. package/resources/vektor/executions.js.map +1 -0
  186. package/resources/vektor/executions.mjs +3 -0
  187. package/resources/vektor/executions.mjs.map +1 -0
  188. package/resources/vektor/incentivize.d.mts +47 -0
  189. package/resources/vektor/incentivize.d.mts.map +1 -0
  190. package/resources/vektor/incentivize.d.ts +47 -0
  191. package/resources/vektor/incentivize.d.ts.map +1 -0
  192. package/resources/vektor/incentivize.js +24 -0
  193. package/resources/vektor/incentivize.js.map +1 -0
  194. package/resources/vektor/incentivize.mjs +20 -0
  195. package/resources/vektor/incentivize.mjs.map +1 -0
  196. package/resources/vektor/index.d.mts +17 -0
  197. package/resources/vektor/index.d.mts.map +1 -0
  198. package/resources/vektor/index.d.ts +17 -0
  199. package/resources/vektor/index.d.ts.map +1 -0
  200. package/resources/vektor/index.js +37 -0
  201. package/resources/vektor/index.js.map +1 -0
  202. package/resources/vektor/index.mjs +18 -0
  203. package/resources/vektor/index.mjs.map +1 -0
  204. package/resources/vektor/lend/index.d.mts +7 -0
  205. package/resources/vektor/lend/index.d.mts.map +1 -0
  206. package/resources/vektor/lend/index.d.ts +7 -0
  207. package/resources/vektor/lend/index.d.ts.map +1 -0
  208. package/resources/vektor/lend/index.js +15 -0
  209. package/resources/vektor/lend/index.js.map +1 -0
  210. package/resources/vektor/lend/index.mjs +7 -0
  211. package/resources/vektor/lend/index.mjs.map +1 -0
  212. package/resources/vektor/lend/lend.d.mts +26 -0
  213. package/resources/vektor/lend/lend.d.mts.map +1 -0
  214. package/resources/vektor/lend/lend.d.ts +26 -0
  215. package/resources/vektor/lend/lend.d.ts.map +1 -0
  216. package/resources/vektor/lend/lend.js +33 -0
  217. package/resources/vektor/lend/lend.js.map +1 -0
  218. package/resources/vektor/lend/lend.mjs +28 -0
  219. package/resources/vektor/lend/lend.mjs.map +1 -0
  220. package/resources/vektor/lend/lend_.d.mts +47 -0
  221. package/resources/vektor/lend/lend_.d.mts.map +1 -0
  222. package/resources/vektor/lend/lend_.d.ts +47 -0
  223. package/resources/vektor/lend/lend_.d.ts.map +1 -0
  224. package/resources/vektor/lend/lend_.js +26 -0
  225. package/resources/vektor/lend/lend_.js.map +1 -0
  226. package/resources/vektor/lend/lend_.mjs +22 -0
  227. package/resources/vektor/lend/lend_.mjs.map +1 -0
  228. package/resources/vektor/lend/markets.d.mts +158 -0
  229. package/resources/vektor/lend/markets.d.mts.map +1 -0
  230. package/resources/vektor/lend/markets.d.ts +158 -0
  231. package/resources/vektor/lend/markets.d.ts.map +1 -0
  232. package/resources/vektor/lend/markets.js +42 -0
  233. package/resources/vektor/lend/markets.js.map +1 -0
  234. package/resources/vektor/lend/markets.mjs +38 -0
  235. package/resources/vektor/lend/markets.mjs.map +1 -0
  236. package/resources/vektor/lend/positions.d.mts +178 -0
  237. package/resources/vektor/lend/positions.d.mts.map +1 -0
  238. package/resources/vektor/lend/positions.d.ts +178 -0
  239. package/resources/vektor/lend/positions.d.ts.map +1 -0
  240. package/resources/vektor/lend/positions.js +46 -0
  241. package/resources/vektor/lend/positions.js.map +1 -0
  242. package/resources/vektor/lend/positions.mjs +42 -0
  243. package/resources/vektor/lend/positions.mjs.map +1 -0
  244. package/resources/vektor/lend/set-collateral.d.mts +42 -0
  245. package/resources/vektor/lend/set-collateral.d.mts.map +1 -0
  246. package/resources/vektor/lend/set-collateral.d.ts +42 -0
  247. package/resources/vektor/lend/set-collateral.d.ts.map +1 -0
  248. package/resources/vektor/lend/set-collateral.js +27 -0
  249. package/resources/vektor/lend/set-collateral.js.map +1 -0
  250. package/resources/vektor/lend/set-collateral.mjs +23 -0
  251. package/resources/vektor/lend/set-collateral.mjs.map +1 -0
  252. package/resources/vektor/lend/withdraw.d.mts +47 -0
  253. package/resources/vektor/lend/withdraw.d.mts.map +1 -0
  254. package/resources/vektor/lend/withdraw.d.ts +47 -0
  255. package/resources/vektor/lend/withdraw.d.ts.map +1 -0
  256. package/resources/vektor/lend/withdraw.js +25 -0
  257. package/resources/vektor/lend/withdraw.js.map +1 -0
  258. package/resources/vektor/lend/withdraw.mjs +21 -0
  259. package/resources/vektor/lend/withdraw.mjs.map +1 -0
  260. package/resources/vektor/lend.d.mts +2 -0
  261. package/resources/vektor/lend.d.mts.map +1 -0
  262. package/resources/vektor/lend.d.ts +2 -0
  263. package/resources/vektor/lend.d.ts.map +1 -0
  264. package/resources/vektor/lend.js +6 -0
  265. package/resources/vektor/lend.js.map +1 -0
  266. package/resources/vektor/lend.mjs +3 -0
  267. package/resources/vektor/lend.mjs.map +1 -0
  268. package/resources/vektor/lock/index.d.mts +4 -0
  269. package/resources/vektor/lock/index.d.mts.map +1 -0
  270. package/resources/vektor/lock/index.d.ts +4 -0
  271. package/resources/vektor/lock/index.d.ts.map +1 -0
  272. package/resources/vektor/lock/index.js +11 -0
  273. package/resources/vektor/lock/index.js.map +1 -0
  274. package/resources/vektor/lock/index.mjs +5 -0
  275. package/resources/vektor/lock/index.mjs.map +1 -0
  276. package/resources/vektor/lock/lock.d.mts +14 -0
  277. package/resources/vektor/lock/lock.d.mts.map +1 -0
  278. package/resources/vektor/lock/lock.d.ts +14 -0
  279. package/resources/vektor/lock/lock.d.ts.map +1 -0
  280. package/resources/vektor/lock/lock.js +21 -0
  281. package/resources/vektor/lock/lock.js.map +1 -0
  282. package/resources/vektor/lock/lock.mjs +16 -0
  283. package/resources/vektor/lock/lock.mjs.map +1 -0
  284. package/resources/vektor/lock/markets.d.mts +43 -0
  285. package/resources/vektor/lock/markets.d.mts.map +1 -0
  286. package/resources/vektor/lock/markets.d.ts +43 -0
  287. package/resources/vektor/lock/markets.d.ts.map +1 -0
  288. package/resources/vektor/lock/markets.js +24 -0
  289. package/resources/vektor/lock/markets.js.map +1 -0
  290. package/resources/vektor/lock/markets.mjs +20 -0
  291. package/resources/vektor/lock/markets.mjs.map +1 -0
  292. package/resources/vektor/lock/positions.d.mts +48 -0
  293. package/resources/vektor/lock/positions.d.mts.map +1 -0
  294. package/resources/vektor/lock/positions.d.ts +48 -0
  295. package/resources/vektor/lock/positions.d.ts.map +1 -0
  296. package/resources/vektor/lock/positions.js +25 -0
  297. package/resources/vektor/lock/positions.js.map +1 -0
  298. package/resources/vektor/lock/positions.mjs +21 -0
  299. package/resources/vektor/lock/positions.mjs.map +1 -0
  300. package/resources/vektor/lock.d.mts +2 -0
  301. package/resources/vektor/lock.d.mts.map +1 -0
  302. package/resources/vektor/lock.d.ts +2 -0
  303. package/resources/vektor/lock.d.ts.map +1 -0
  304. package/resources/vektor/lock.js +6 -0
  305. package/resources/vektor/lock.js.map +1 -0
  306. package/resources/vektor/lock.mjs +3 -0
  307. package/resources/vektor/lock.mjs.map +1 -0
  308. package/resources/vektor/lp/deposit-quote.d.mts +119 -0
  309. package/resources/vektor/lp/deposit-quote.d.mts.map +1 -0
  310. package/resources/vektor/lp/deposit-quote.d.ts +119 -0
  311. package/resources/vektor/lp/deposit-quote.d.ts.map +1 -0
  312. package/resources/vektor/lp/deposit-quote.js +27 -0
  313. package/resources/vektor/lp/deposit-quote.js.map +1 -0
  314. package/resources/vektor/lp/deposit-quote.mjs +23 -0
  315. package/resources/vektor/lp/deposit-quote.mjs.map +1 -0
  316. package/resources/vektor/lp/index.d.mts +6 -0
  317. package/resources/vektor/lp/index.d.mts.map +1 -0
  318. package/resources/vektor/lp/index.d.ts +6 -0
  319. package/resources/vektor/lp/index.d.ts.map +1 -0
  320. package/resources/vektor/lp/index.js +15 -0
  321. package/resources/vektor/lp/index.js.map +1 -0
  322. package/resources/vektor/lp/index.mjs +7 -0
  323. package/resources/vektor/lp/index.mjs.map +1 -0
  324. package/resources/vektor/lp/lp.d.mts +22 -0
  325. package/resources/vektor/lp/lp.d.mts.map +1 -0
  326. package/resources/vektor/lp/lp.d.ts +22 -0
  327. package/resources/vektor/lp/lp.d.ts.map +1 -0
  328. package/resources/vektor/lp/lp.js +29 -0
  329. package/resources/vektor/lp/lp.js.map +1 -0
  330. package/resources/vektor/lp/lp.mjs +24 -0
  331. package/resources/vektor/lp/lp.mjs.map +1 -0
  332. package/resources/vektor/lp/pools.d.mts +158 -0
  333. package/resources/vektor/lp/pools.d.mts.map +1 -0
  334. package/resources/vektor/lp/pools.d.ts +158 -0
  335. package/resources/vektor/lp/pools.d.ts.map +1 -0
  336. package/resources/vektor/lp/pools.js +42 -0
  337. package/resources/vektor/lp/pools.js.map +1 -0
  338. package/resources/vektor/lp/pools.mjs +38 -0
  339. package/resources/vektor/lp/pools.mjs.map +1 -0
  340. package/resources/vektor/lp/positions.d.mts +194 -0
  341. package/resources/vektor/lp/positions.d.mts.map +1 -0
  342. package/resources/vektor/lp/positions.d.ts +194 -0
  343. package/resources/vektor/lp/positions.d.ts.map +1 -0
  344. package/resources/vektor/lp/positions.js +46 -0
  345. package/resources/vektor/lp/positions.js.map +1 -0
  346. package/resources/vektor/lp/positions.mjs +42 -0
  347. package/resources/vektor/lp/positions.mjs.map +1 -0
  348. package/resources/vektor/lp/withdraw-quote.d.mts +73 -0
  349. package/resources/vektor/lp/withdraw-quote.d.mts.map +1 -0
  350. package/resources/vektor/lp/withdraw-quote.d.ts +73 -0
  351. package/resources/vektor/lp/withdraw-quote.d.ts.map +1 -0
  352. package/resources/vektor/lp/withdraw-quote.js +27 -0
  353. package/resources/vektor/lp/withdraw-quote.js.map +1 -0
  354. package/resources/vektor/lp/withdraw-quote.mjs +23 -0
  355. package/resources/vektor/lp/withdraw-quote.mjs.map +1 -0
  356. package/resources/vektor/lp.d.mts +2 -0
  357. package/resources/vektor/lp.d.mts.map +1 -0
  358. package/resources/vektor/lp.d.ts +2 -0
  359. package/resources/vektor/lp.d.ts.map +1 -0
  360. package/resources/vektor/lp.js +6 -0
  361. package/resources/vektor/lp.js.map +1 -0
  362. package/resources/vektor/lp.mjs +3 -0
  363. package/resources/vektor/lp.mjs.map +1 -0
  364. package/resources/vektor/move.d.mts +47 -0
  365. package/resources/vektor/move.d.mts.map +1 -0
  366. package/resources/vektor/move.d.ts +47 -0
  367. package/resources/vektor/move.d.ts.map +1 -0
  368. package/resources/vektor/move.js +26 -0
  369. package/resources/vektor/move.js.map +1 -0
  370. package/resources/vektor/move.mjs +22 -0
  371. package/resources/vektor/move.mjs.map +1 -0
  372. package/resources/vektor/prices.d.mts +77 -0
  373. package/resources/vektor/prices.d.mts.map +1 -0
  374. package/resources/vektor/prices.d.ts +77 -0
  375. package/resources/vektor/prices.d.ts.map +1 -0
  376. package/resources/vektor/prices.js +35 -0
  377. package/resources/vektor/prices.js.map +1 -0
  378. package/resources/vektor/prices.mjs +31 -0
  379. package/resources/vektor/prices.mjs.map +1 -0
  380. package/resources/vektor/registry/assets.d.mts +39 -0
  381. package/resources/vektor/registry/assets.d.mts.map +1 -0
  382. package/resources/vektor/registry/assets.d.ts +39 -0
  383. package/resources/vektor/registry/assets.d.ts.map +1 -0
  384. package/resources/vektor/registry/assets.js +20 -0
  385. package/resources/vektor/registry/assets.js.map +1 -0
  386. package/resources/vektor/registry/assets.mjs +16 -0
  387. package/resources/vektor/registry/assets.mjs.map +1 -0
  388. package/resources/vektor/registry/blockchains.d.mts +36 -0
  389. package/resources/vektor/registry/blockchains.d.mts.map +1 -0
  390. package/resources/vektor/registry/blockchains.d.ts +36 -0
  391. package/resources/vektor/registry/blockchains.d.ts.map +1 -0
  392. package/resources/vektor/registry/blockchains.js +21 -0
  393. package/resources/vektor/registry/blockchains.js.map +1 -0
  394. package/resources/vektor/registry/blockchains.mjs +17 -0
  395. package/resources/vektor/registry/blockchains.mjs.map +1 -0
  396. package/resources/vektor/registry/borrow-markets.d.mts +46 -0
  397. package/resources/vektor/registry/borrow-markets.d.mts.map +1 -0
  398. package/resources/vektor/registry/borrow-markets.d.ts +46 -0
  399. package/resources/vektor/registry/borrow-markets.d.ts.map +1 -0
  400. package/resources/vektor/registry/borrow-markets.js +22 -0
  401. package/resources/vektor/registry/borrow-markets.js.map +1 -0
  402. package/resources/vektor/registry/borrow-markets.mjs +18 -0
  403. package/resources/vektor/registry/borrow-markets.mjs.map +1 -0
  404. package/resources/vektor/registry/errors.d.mts +28 -0
  405. package/resources/vektor/registry/errors.d.mts.map +1 -0
  406. package/resources/vektor/registry/errors.d.ts +28 -0
  407. package/resources/vektor/registry/errors.d.ts.map +1 -0
  408. package/resources/vektor/registry/errors.js +20 -0
  409. package/resources/vektor/registry/errors.js.map +1 -0
  410. package/resources/vektor/registry/errors.mjs +16 -0
  411. package/resources/vektor/registry/errors.mjs.map +1 -0
  412. package/resources/vektor/registry/index.d.mts +9 -0
  413. package/resources/vektor/registry/index.d.mts.map +1 -0
  414. package/resources/vektor/registry/index.d.ts +9 -0
  415. package/resources/vektor/registry/index.d.ts.map +1 -0
  416. package/resources/vektor/registry/index.js +21 -0
  417. package/resources/vektor/registry/index.js.map +1 -0
  418. package/resources/vektor/registry/index.mjs +10 -0
  419. package/resources/vektor/registry/index.mjs.map +1 -0
  420. package/resources/vektor/registry/lend-markets.d.mts +46 -0
  421. package/resources/vektor/registry/lend-markets.d.mts.map +1 -0
  422. package/resources/vektor/registry/lend-markets.d.ts +46 -0
  423. package/resources/vektor/registry/lend-markets.d.ts.map +1 -0
  424. package/resources/vektor/registry/lend-markets.js +22 -0
  425. package/resources/vektor/registry/lend-markets.js.map +1 -0
  426. package/resources/vektor/registry/lend-markets.mjs +18 -0
  427. package/resources/vektor/registry/lend-markets.mjs.map +1 -0
  428. package/resources/vektor/registry/lp-pools.d.mts +44 -0
  429. package/resources/vektor/registry/lp-pools.d.mts.map +1 -0
  430. package/resources/vektor/registry/lp-pools.d.ts +44 -0
  431. package/resources/vektor/registry/lp-pools.d.ts.map +1 -0
  432. package/resources/vektor/registry/lp-pools.js +21 -0
  433. package/resources/vektor/registry/lp-pools.js.map +1 -0
  434. package/resources/vektor/registry/lp-pools.mjs +17 -0
  435. package/resources/vektor/registry/lp-pools.mjs.map +1 -0
  436. package/resources/vektor/registry/registry.d.mts +34 -0
  437. package/resources/vektor/registry/registry.d.mts.map +1 -0
  438. package/resources/vektor/registry/registry.d.ts +34 -0
  439. package/resources/vektor/registry/registry.d.ts.map +1 -0
  440. package/resources/vektor/registry/registry.js +41 -0
  441. package/resources/vektor/registry/registry.js.map +1 -0
  442. package/resources/vektor/registry/registry.mjs +36 -0
  443. package/resources/vektor/registry/registry.mjs.map +1 -0
  444. package/resources/vektor/registry/venues.d.mts +35 -0
  445. package/resources/vektor/registry/venues.d.mts.map +1 -0
  446. package/resources/vektor/registry/venues.d.ts +35 -0
  447. package/resources/vektor/registry/venues.d.ts.map +1 -0
  448. package/resources/vektor/registry/venues.js +20 -0
  449. package/resources/vektor/registry/venues.js.map +1 -0
  450. package/resources/vektor/registry/venues.mjs +16 -0
  451. package/resources/vektor/registry/venues.mjs.map +1 -0
  452. package/resources/vektor/registry.d.mts +2 -0
  453. package/resources/vektor/registry.d.mts.map +1 -0
  454. package/resources/vektor/registry.d.ts +2 -0
  455. package/resources/vektor/registry.d.ts.map +1 -0
  456. package/resources/vektor/registry.js +6 -0
  457. package/resources/vektor/registry.js.map +1 -0
  458. package/resources/vektor/registry.mjs +3 -0
  459. package/resources/vektor/registry.mjs.map +1 -0
  460. package/resources/vektor/sell/index.d.mts +4 -0
  461. package/resources/vektor/sell/index.d.mts.map +1 -0
  462. package/resources/vektor/sell/index.d.ts +4 -0
  463. package/resources/vektor/sell/index.d.ts.map +1 -0
  464. package/resources/vektor/sell/index.js +9 -0
  465. package/resources/vektor/sell/index.js.map +1 -0
  466. package/resources/vektor/sell/index.mjs +4 -0
  467. package/resources/vektor/sell/index.mjs.map +1 -0
  468. package/resources/vektor/sell/quotes.d.mts +57 -0
  469. package/resources/vektor/sell/quotes.d.mts.map +1 -0
  470. package/resources/vektor/sell/quotes.d.ts +57 -0
  471. package/resources/vektor/sell/quotes.d.ts.map +1 -0
  472. package/resources/vektor/sell/quotes.js +26 -0
  473. package/resources/vektor/sell/quotes.js.map +1 -0
  474. package/resources/vektor/sell/quotes.mjs +22 -0
  475. package/resources/vektor/sell/quotes.mjs.map +1 -0
  476. package/resources/vektor/sell/sell.d.mts +14 -0
  477. package/resources/vektor/sell/sell.d.mts.map +1 -0
  478. package/resources/vektor/sell/sell.d.ts +14 -0
  479. package/resources/vektor/sell/sell.d.ts.map +1 -0
  480. package/resources/vektor/sell/sell.js +21 -0
  481. package/resources/vektor/sell/sell.js.map +1 -0
  482. package/resources/vektor/sell/sell.mjs +16 -0
  483. package/resources/vektor/sell/sell.mjs.map +1 -0
  484. package/resources/vektor/sell/sell_.d.mts +56 -0
  485. package/resources/vektor/sell/sell_.d.mts.map +1 -0
  486. package/resources/vektor/sell/sell_.d.ts +56 -0
  487. package/resources/vektor/sell/sell_.d.ts.map +1 -0
  488. package/resources/vektor/sell/sell_.js +27 -0
  489. package/resources/vektor/sell/sell_.js.map +1 -0
  490. package/resources/vektor/sell/sell_.mjs +23 -0
  491. package/resources/vektor/sell/sell_.mjs.map +1 -0
  492. package/resources/vektor/sell.d.mts +2 -0
  493. package/resources/vektor/sell.d.mts.map +1 -0
  494. package/resources/vektor/sell.d.ts +2 -0
  495. package/resources/vektor/sell.d.ts.map +1 -0
  496. package/resources/vektor/sell.js +6 -0
  497. package/resources/vektor/sell.js.map +1 -0
  498. package/resources/vektor/sell.mjs +3 -0
  499. package/resources/vektor/sell.mjs.map +1 -0
  500. package/resources/vektor/vektor.d.mts +2974 -0
  501. package/resources/vektor/vektor.d.mts.map +1 -0
  502. package/resources/vektor/vektor.d.ts +2974 -0
  503. package/resources/vektor/vektor.d.ts.map +1 -0
  504. package/resources/vektor/vektor.js +73 -0
  505. package/resources/vektor/vektor.js.map +1 -0
  506. package/resources/vektor/vektor.mjs +68 -0
  507. package/resources/vektor/vektor.mjs.map +1 -0
  508. package/resources/vektor/vote/index.d.mts +4 -0
  509. package/resources/vektor/vote/index.d.mts.map +1 -0
  510. package/resources/vektor/vote/index.d.ts +4 -0
  511. package/resources/vektor/vote/index.d.ts.map +1 -0
  512. package/resources/vektor/vote/index.js +11 -0
  513. package/resources/vektor/vote/index.js.map +1 -0
  514. package/resources/vektor/vote/index.mjs +5 -0
  515. package/resources/vektor/vote/index.mjs.map +1 -0
  516. package/resources/vektor/vote/markets.d.mts +47 -0
  517. package/resources/vektor/vote/markets.d.mts.map +1 -0
  518. package/resources/vektor/vote/markets.d.ts +47 -0
  519. package/resources/vektor/vote/markets.d.ts.map +1 -0
  520. package/resources/vektor/vote/markets.js +24 -0
  521. package/resources/vektor/vote/markets.js.map +1 -0
  522. package/resources/vektor/vote/markets.mjs +20 -0
  523. package/resources/vektor/vote/markets.mjs.map +1 -0
  524. package/resources/vektor/vote/rewards.d.mts +52 -0
  525. package/resources/vektor/vote/rewards.d.mts.map +1 -0
  526. package/resources/vektor/vote/rewards.d.ts +52 -0
  527. package/resources/vektor/vote/rewards.d.ts.map +1 -0
  528. package/resources/vektor/vote/rewards.js +25 -0
  529. package/resources/vektor/vote/rewards.js.map +1 -0
  530. package/resources/vektor/vote/rewards.mjs +21 -0
  531. package/resources/vektor/vote/rewards.mjs.map +1 -0
  532. package/resources/vektor/vote/vote.d.mts +14 -0
  533. package/resources/vektor/vote/vote.d.mts.map +1 -0
  534. package/resources/vektor/vote/vote.d.ts +14 -0
  535. package/resources/vektor/vote/vote.d.ts.map +1 -0
  536. package/resources/vektor/vote/vote.js +21 -0
  537. package/resources/vektor/vote/vote.js.map +1 -0
  538. package/resources/vektor/vote/vote.mjs +16 -0
  539. package/resources/vektor/vote/vote.mjs.map +1 -0
  540. package/resources/vektor/vote.d.mts +2 -0
  541. package/resources/vektor/vote.d.mts.map +1 -0
  542. package/resources/vektor/vote.d.ts +2 -0
  543. package/resources/vektor/vote.d.ts.map +1 -0
  544. package/resources/vektor/vote.js +6 -0
  545. package/resources/vektor/vote.js.map +1 -0
  546. package/resources/vektor/vote.mjs +3 -0
  547. package/resources/vektor/vote.mjs.map +1 -0
  548. package/resources/vektor/wrap/index.d.mts +4 -0
  549. package/resources/vektor/wrap/index.d.mts.map +1 -0
  550. package/resources/vektor/wrap/index.d.ts +4 -0
  551. package/resources/vektor/wrap/index.d.ts.map +1 -0
  552. package/resources/vektor/wrap/index.js +9 -0
  553. package/resources/vektor/wrap/index.js.map +1 -0
  554. package/resources/vektor/wrap/index.mjs +4 -0
  555. package/resources/vektor/wrap/index.mjs.map +1 -0
  556. package/resources/vektor/wrap/unwrap.d.mts +37 -0
  557. package/resources/vektor/wrap/unwrap.d.mts.map +1 -0
  558. package/resources/vektor/wrap/unwrap.d.ts +37 -0
  559. package/resources/vektor/wrap/unwrap.d.ts.map +1 -0
  560. package/resources/vektor/wrap/unwrap.js +24 -0
  561. package/resources/vektor/wrap/unwrap.js.map +1 -0
  562. package/resources/vektor/wrap/unwrap.mjs +20 -0
  563. package/resources/vektor/wrap/unwrap.mjs.map +1 -0
  564. package/resources/vektor/wrap/wrap.d.mts +14 -0
  565. package/resources/vektor/wrap/wrap.d.mts.map +1 -0
  566. package/resources/vektor/wrap/wrap.d.ts +14 -0
  567. package/resources/vektor/wrap/wrap.d.ts.map +1 -0
  568. package/resources/vektor/wrap/wrap.js +21 -0
  569. package/resources/vektor/wrap/wrap.js.map +1 -0
  570. package/resources/vektor/wrap/wrap.mjs +16 -0
  571. package/resources/vektor/wrap/wrap.mjs.map +1 -0
  572. package/resources/vektor/wrap/wrap_.d.mts +37 -0
  573. package/resources/vektor/wrap/wrap_.d.mts.map +1 -0
  574. package/resources/vektor/wrap/wrap_.d.ts +37 -0
  575. package/resources/vektor/wrap/wrap_.d.ts.map +1 -0
  576. package/resources/vektor/wrap/wrap_.js +24 -0
  577. package/resources/vektor/wrap/wrap_.js.map +1 -0
  578. package/resources/vektor/wrap/wrap_.mjs +20 -0
  579. package/resources/vektor/wrap/wrap_.mjs.map +1 -0
  580. package/resources/vektor/wrap.d.mts +2 -0
  581. package/resources/vektor/wrap.d.mts.map +1 -0
  582. package/resources/vektor/wrap.d.ts +2 -0
  583. package/resources/vektor/wrap.d.ts.map +1 -0
  584. package/resources/vektor/wrap.js +6 -0
  585. package/resources/vektor/wrap.js.map +1 -0
  586. package/resources/vektor/wrap.mjs +3 -0
  587. package/resources/vektor/wrap.mjs.map +1 -0
  588. package/resources/vektor.d.mts +2 -0
  589. package/resources/vektor.d.mts.map +1 -0
  590. package/resources/vektor.d.ts +2 -0
  591. package/resources/vektor.d.ts.map +1 -0
  592. package/resources/vektor.js +6 -0
  593. package/resources/vektor.js.map +1 -0
  594. package/resources/vektor.mjs +3 -0
  595. package/resources/vektor.mjs.map +1 -0
  596. package/src/client.ts +5 -0
  597. package/src/resources/index.ts +1 -0
  598. package/src/resources/vektor/balances.ts +146 -0
  599. package/src/resources/vektor/borrow/accounts.ts +146 -0
  600. package/src/resources/vektor/borrow/borrow.ts +69 -0
  601. package/src/resources/vektor/borrow/borrow_.ts +57 -0
  602. package/src/resources/vektor/borrow/index.ts +25 -0
  603. package/src/resources/vektor/borrow/markets.ts +205 -0
  604. package/src/resources/vektor/borrow/positions.ts +233 -0
  605. package/src/resources/vektor/borrow.ts +3 -0
  606. package/src/resources/vektor/bridge/bridge.ts +19 -0
  607. package/src/resources/vektor/bridge/index.ts +4 -0
  608. package/src/resources/vektor/bridge/quotes.ts +69 -0
  609. package/src/resources/vektor/bridge.ts +3 -0
  610. package/src/resources/vektor/buy/buy.ts +25 -0
  611. package/src/resources/vektor/buy/buy_.ts +68 -0
  612. package/src/resources/vektor/buy/index.ts +5 -0
  613. package/src/resources/vektor/buy/quotes.ts +69 -0
  614. package/src/resources/vektor/buy.ts +3 -0
  615. package/src/resources/vektor/executions/executions.ts +57 -0
  616. package/src/resources/vektor/executions/index.ts +4 -0
  617. package/src/resources/vektor/executions/steps.ts +1519 -0
  618. package/src/resources/vektor/executions.ts +3 -0
  619. package/src/resources/vektor/incentivize.ts +60 -0
  620. package/src/resources/vektor/index.ts +30 -0
  621. package/src/resources/vektor/lend/index.ts +20 -0
  622. package/src/resources/vektor/lend/lend.ts +63 -0
  623. package/src/resources/vektor/lend/lend_.ts +57 -0
  624. package/src/resources/vektor/lend/markets.ts +205 -0
  625. package/src/resources/vektor/lend/positions.ts +229 -0
  626. package/src/resources/vektor/lend/set-collateral.ts +51 -0
  627. package/src/resources/vektor/lend/withdraw.ts +57 -0
  628. package/src/resources/vektor/lend.ts +3 -0
  629. package/src/resources/vektor/lock/index.ts +5 -0
  630. package/src/resources/vektor/lock/lock.ts +29 -0
  631. package/src/resources/vektor/lock/markets.ts +52 -0
  632. package/src/resources/vektor/lock/positions.ts +58 -0
  633. package/src/resources/vektor/lock.ts +3 -0
  634. package/src/resources/vektor/lp/deposit-quote.ts +147 -0
  635. package/src/resources/vektor/lp/index.ts +27 -0
  636. package/src/resources/vektor/lp/lp.ts +65 -0
  637. package/src/resources/vektor/lp/pools.ts +205 -0
  638. package/src/resources/vektor/lp/positions.ts +249 -0
  639. package/src/resources/vektor/lp/withdraw-quote.ts +90 -0
  640. package/src/resources/vektor/lp.ts +3 -0
  641. package/src/resources/vektor/move.ts +57 -0
  642. package/src/resources/vektor/prices.ts +102 -0
  643. package/src/resources/vektor/registry/assets.ts +51 -0
  644. package/src/resources/vektor/registry/blockchains.ts +50 -0
  645. package/src/resources/vektor/registry/borrow-markets.ts +62 -0
  646. package/src/resources/vektor/registry/errors.ts +38 -0
  647. package/src/resources/vektor/registry/index.ts +10 -0
  648. package/src/resources/vektor/registry/lend-markets.ts +62 -0
  649. package/src/resources/vektor/registry/lp-pools.ts +57 -0
  650. package/src/resources/vektor/registry/registry.ts +79 -0
  651. package/src/resources/vektor/registry/venues.ts +46 -0
  652. package/src/resources/vektor/registry.ts +3 -0
  653. package/src/resources/vektor/sell/index.ts +5 -0
  654. package/src/resources/vektor/sell/quotes.ts +69 -0
  655. package/src/resources/vektor/sell/sell.ts +25 -0
  656. package/src/resources/vektor/sell/sell_.ts +68 -0
  657. package/src/resources/vektor/sell.ts +3 -0
  658. package/src/resources/vektor/vektor.ts +3751 -0
  659. package/src/resources/vektor/vote/index.ts +5 -0
  660. package/src/resources/vektor/vote/markets.ts +57 -0
  661. package/src/resources/vektor/vote/rewards.ts +63 -0
  662. package/src/resources/vektor/vote/vote.ts +29 -0
  663. package/src/resources/vektor/vote.ts +3 -0
  664. package/src/resources/vektor/wrap/index.ts +5 -0
  665. package/src/resources/vektor/wrap/unwrap.ts +45 -0
  666. package/src/resources/vektor/wrap/wrap.ts +21 -0
  667. package/src/resources/vektor/wrap/wrap_.ts +45 -0
  668. package/src/resources/vektor/wrap.ts +3 -0
  669. package/src/resources/vektor.ts +3 -0
  670. package/src/version.ts +1 -1
  671. package/version.d.mts +1 -1
  672. package/version.d.mts.map +1 -1
  673. package/version.d.ts +1 -1
  674. package/version.d.ts.map +1 -1
  675. package/version.js +1 -1
  676. package/version.js.map +1 -1
  677. package/version.mjs +1 -1
  678. package/version.mjs.map +1 -1
@@ -0,0 +1,1519 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../core/resource';
4
+ import * as VektorAPI from '../vektor';
5
+ import { APIPromise } from '../../../core/api-promise';
6
+ import { buildHeaders } from '../../../internal/headers';
7
+ import { RequestOptions } from '../../../internal/request-options';
8
+ import { path } from '../../../internal/utils/path';
9
+
10
+ export class Steps extends APIResource {
11
+ /**
12
+ * Get a step of an execution
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const step = await client.vektor.executions.steps.get(
17
+ * 'step_id',
18
+ * { execution_id: 'execution_id' },
19
+ * );
20
+ * ```
21
+ */
22
+ get(stepID: string, params: StepGetParams, options?: RequestOptions): APIPromise<StepGetResponse> {
23
+ const { execution_id } = params;
24
+ return this._client.get(path`/v1/vektor/executions/${execution_id}/steps/${stepID}`, options);
25
+ }
26
+
27
+ /**
28
+ * Sign an EVM transaction step
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * await client.vektor.executions.steps.sign('step_id', {
33
+ * execution_id: 'execution_id',
34
+ * signed_payload: '0x123456789abcdef',
35
+ * });
36
+ * ```
37
+ */
38
+ sign(stepID: string, params: StepSignParams, options?: RequestOptions): APIPromise<void> {
39
+ const { execution_id, ...body } = params;
40
+ return this._client.post(path`/v1/vektor/executions/${execution_id}/steps/${stepID}/sign`, {
41
+ body,
42
+ ...options,
43
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
44
+ });
45
+ }
46
+ }
47
+
48
+ /**
49
+ * An execution step
50
+ */
51
+ export interface StepGetResponse {
52
+ /**
53
+ * An execution step ID, represented as a TypeID with `execution_step` prefix
54
+ */
55
+ id: VektorAPI.ExecutionStepID;
56
+
57
+ /**
58
+ * ISO8601 Timestamp
59
+ */
60
+ created_at: VektorAPI.Timestamp;
61
+
62
+ /**
63
+ * The definition of an execution step
64
+ */
65
+ definition:
66
+ | StepGetResponse.ExecutionEVMTransactionApprove
67
+ | StepGetResponse.ExecutionEVMTransactionBorrow
68
+ | StepGetResponse.ExecutionEVMTransactionBuy
69
+ | StepGetResponse.ExecutionEVMTransactionLend
70
+ | StepGetResponse.ExecutionEVMTransactionLendSetCollateral
71
+ | StepGetResponse.ExecutionEVMTransactionLendWithdraw
72
+ | StepGetResponse.ExecutionEVMTransactionMove
73
+ | StepGetResponse.ExecutionEVMTransactionPermission
74
+ | StepGetResponse.ExecutionEVMTransactionUnwrap
75
+ | StepGetResponse.ExecutionEVMTransactionWrap
76
+ | StepGetResponse.ExecutionEVMTransactionSell;
77
+
78
+ index: number;
79
+
80
+ /**
81
+ * The type of an execution step
82
+ */
83
+ type:
84
+ | 'evm_transaction_approve'
85
+ | 'evm_transaction_borrow'
86
+ | 'evm_transaction_buy'
87
+ | 'evm_transaction_lend'
88
+ | 'evm_transaction_lend_set_collateral'
89
+ | 'evm_transaction_lend_withdraw'
90
+ | 'evm_transaction_move'
91
+ | 'evm_transaction_permission'
92
+ | 'evm_transaction_wrap'
93
+ | 'evm_transaction_unwrap'
94
+ | 'evm_transaction_sell';
95
+
96
+ /**
97
+ * ISO8601 Timestamp
98
+ */
99
+ updated_at: VektorAPI.Timestamp;
100
+ }
101
+
102
+ export namespace StepGetResponse {
103
+ /**
104
+ * An approval of an asset
105
+ */
106
+ export interface ExecutionEVMTransactionApprove {
107
+ /**
108
+ * An arbitrary precision decimal represented as a string
109
+ */
110
+ amount: VektorAPI.Decimal;
111
+
112
+ /**
113
+ * On-chain asset (aka token)
114
+ */
115
+ asset: VektorAPI.Asset;
116
+
117
+ block_number: number | null;
118
+
119
+ /**
120
+ * ISO8601 Timestamp
121
+ */
122
+ broadcasted_at: string | null;
123
+
124
+ confirmation_target: number;
125
+
126
+ /**
127
+ * ISO8601 Timestamp
128
+ */
129
+ confirmed_at: string | null;
130
+
131
+ /**
132
+ * ISO8601 Timestamp
133
+ */
134
+ created_at: VektorAPI.Timestamp;
135
+
136
+ /**
137
+ * A hex string starting with 0x
138
+ */
139
+ data: string | null;
140
+
141
+ /**
142
+ * An arbitrary precision decimal represented as a string
143
+ */
144
+ effective_gas_price: string | null;
145
+
146
+ /**
147
+ * An error
148
+ */
149
+ error: ExecutionEVMTransactionApprove.Error | null;
150
+
151
+ /**
152
+ * ISO8601 Timestamp
153
+ */
154
+ errored_at: string | null;
155
+
156
+ /**
157
+ * An arbitrary precision decimal represented as a string
158
+ */
159
+ gas_used: string | null;
160
+
161
+ /**
162
+ * A transaction hash
163
+ */
164
+ hash: string | null;
165
+
166
+ /**
167
+ * The payload of an EIP-1559 transaction
168
+ */
169
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
170
+
171
+ /**
172
+ * ISO8601 Timestamp
173
+ */
174
+ signed_at: string | null;
175
+
176
+ /**
177
+ * An EVM address
178
+ */
179
+ spender: VektorAPI.Account;
180
+
181
+ /**
182
+ * The state of an EVM transaction
183
+ */
184
+ state: VektorAPI.ExecutionEVMTransactionState;
185
+
186
+ /**
187
+ * The state of an EVM transaction
188
+ */
189
+ target_state: VektorAPI.ExecutionEVMTransactionState;
190
+
191
+ /**
192
+ * An EVM address
193
+ */
194
+ to: string | null;
195
+
196
+ /**
197
+ * The type of approval
198
+ */
199
+ type: 'spend_erc20' | 'borrow_erc20' | 'spend_erc721' | 'spend_erc721_collection';
200
+
201
+ /**
202
+ * ISO8601 Timestamp
203
+ */
204
+ updated_at: VektorAPI.Timestamp;
205
+
206
+ /**
207
+ * An arbitrary precision decimal represented as a string
208
+ */
209
+ value: string | null;
210
+ }
211
+
212
+ export namespace ExecutionEVMTransactionApprove {
213
+ /**
214
+ * An error
215
+ */
216
+ export interface Error {
217
+ /**
218
+ * Error message
219
+ */
220
+ message: string;
221
+
222
+ /**
223
+ * Error parameters
224
+ */
225
+ params: { [key: string]: unknown };
226
+
227
+ /**
228
+ * Error type
229
+ */
230
+ type: string;
231
+ }
232
+ }
233
+
234
+ /**
235
+ * Borrowing an asset
236
+ */
237
+ export interface ExecutionEVMTransactionBorrow {
238
+ /**
239
+ * An arbitrary precision decimal represented as a string
240
+ */
241
+ amount: VektorAPI.Decimal;
242
+
243
+ /**
244
+ * On-chain asset (aka token)
245
+ */
246
+ asset: VektorAPI.Asset;
247
+
248
+ block_number: number | null;
249
+
250
+ /**
251
+ * ISO8601 Timestamp
252
+ */
253
+ broadcasted_at: string | null;
254
+
255
+ confirmation_target: number;
256
+
257
+ /**
258
+ * ISO8601 Timestamp
259
+ */
260
+ confirmed_at: string | null;
261
+
262
+ /**
263
+ * ISO8601 Timestamp
264
+ */
265
+ created_at: VektorAPI.Timestamp;
266
+
267
+ /**
268
+ * A hex string starting with 0x
269
+ */
270
+ data: string | null;
271
+
272
+ /**
273
+ * An arbitrary precision decimal represented as a string
274
+ */
275
+ effective_gas_price: string | null;
276
+
277
+ /**
278
+ * An error
279
+ */
280
+ error: ExecutionEVMTransactionBorrow.Error | null;
281
+
282
+ /**
283
+ * ISO8601 Timestamp
284
+ */
285
+ errored_at: string | null;
286
+
287
+ /**
288
+ * An arbitrary precision decimal represented as a string
289
+ */
290
+ gas_used: string | null;
291
+
292
+ /**
293
+ * A transaction hash
294
+ */
295
+ hash: string | null;
296
+
297
+ /**
298
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
299
+ * prefix
300
+ */
301
+ lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
302
+
303
+ /**
304
+ * The payload of an EIP-1559 transaction
305
+ */
306
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
307
+
308
+ /**
309
+ * ISO8601 Timestamp
310
+ */
311
+ signed_at: string | null;
312
+
313
+ /**
314
+ * The state of an EVM transaction
315
+ */
316
+ state: VektorAPI.ExecutionEVMTransactionState;
317
+
318
+ /**
319
+ * The state of an EVM transaction
320
+ */
321
+ target_state: VektorAPI.ExecutionEVMTransactionState;
322
+
323
+ /**
324
+ * An EVM address
325
+ */
326
+ to: string | null;
327
+
328
+ /**
329
+ * ISO8601 Timestamp
330
+ */
331
+ updated_at: VektorAPI.Timestamp;
332
+
333
+ /**
334
+ * An arbitrary precision decimal represented as a string
335
+ */
336
+ value: string | null;
337
+
338
+ /**
339
+ * A venue symbol
340
+ */
341
+ venue_symbol: VektorAPI.VenueSymbol;
342
+ }
343
+
344
+ export namespace ExecutionEVMTransactionBorrow {
345
+ /**
346
+ * An error
347
+ */
348
+ export interface Error {
349
+ /**
350
+ * Error message
351
+ */
352
+ message: string;
353
+
354
+ /**
355
+ * Error parameters
356
+ */
357
+ params: { [key: string]: unknown };
358
+
359
+ /**
360
+ * Error type
361
+ */
362
+ type: string;
363
+ }
364
+ }
365
+
366
+ /**
367
+ * Buying an asset with another asset
368
+ */
369
+ export interface ExecutionEVMTransactionBuy {
370
+ /**
371
+ * An EVM address
372
+ */
373
+ approval_target: VektorAPI.Account;
374
+
375
+ block_number: number | null;
376
+
377
+ /**
378
+ * ISO8601 Timestamp
379
+ */
380
+ broadcasted_at: string | null;
381
+
382
+ confirmation_target: number;
383
+
384
+ /**
385
+ * ISO8601 Timestamp
386
+ */
387
+ confirmed_at: string | null;
388
+
389
+ /**
390
+ * ISO8601 Timestamp
391
+ */
392
+ created_at: VektorAPI.Timestamp;
393
+
394
+ /**
395
+ * A hex string starting with 0x
396
+ */
397
+ data: string | null;
398
+
399
+ /**
400
+ * An arbitrary precision decimal represented as a string
401
+ */
402
+ effective_gas_price: string | null;
403
+
404
+ /**
405
+ * An error
406
+ */
407
+ error: ExecutionEVMTransactionBuy.Error | null;
408
+
409
+ /**
410
+ * ISO8601 Timestamp
411
+ */
412
+ errored_at: string | null;
413
+
414
+ /**
415
+ * An arbitrary precision decimal represented as a string
416
+ */
417
+ gas_used: string | null;
418
+
419
+ /**
420
+ * A transaction hash
421
+ */
422
+ hash: string | null;
423
+
424
+ /**
425
+ * An arbitrary precision decimal represented as a string
426
+ */
427
+ max_spend_amount: VektorAPI.Decimal;
428
+
429
+ /**
430
+ * The payload of an EIP-1559 transaction
431
+ */
432
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
433
+
434
+ /**
435
+ * A buy quote
436
+ */
437
+ quote: VektorAPI.BuyQuote;
438
+
439
+ /**
440
+ * ISO8601 Timestamp
441
+ */
442
+ signed_at: string | null;
443
+
444
+ /**
445
+ * An arbitrary precision decimal represented as a string
446
+ */
447
+ slippage: VektorAPI.Decimal;
448
+
449
+ /**
450
+ * The state of an EVM transaction
451
+ */
452
+ state: VektorAPI.ExecutionEVMTransactionState;
453
+
454
+ /**
455
+ * The state of an EVM transaction
456
+ */
457
+ target_state: VektorAPI.ExecutionEVMTransactionState;
458
+
459
+ /**
460
+ * An EVM address
461
+ */
462
+ to: string | null;
463
+
464
+ /**
465
+ * ISO8601 Timestamp
466
+ */
467
+ updated_at: VektorAPI.Timestamp;
468
+
469
+ /**
470
+ * An arbitrary precision decimal represented as a string
471
+ */
472
+ value: string | null;
473
+ }
474
+
475
+ export namespace ExecutionEVMTransactionBuy {
476
+ /**
477
+ * An error
478
+ */
479
+ export interface Error {
480
+ /**
481
+ * Error message
482
+ */
483
+ message: string;
484
+
485
+ /**
486
+ * Error parameters
487
+ */
488
+ params: { [key: string]: unknown };
489
+
490
+ /**
491
+ * Error type
492
+ */
493
+ type: string;
494
+ }
495
+ }
496
+
497
+ /**
498
+ * Lending an asset
499
+ */
500
+ export interface ExecutionEVMTransactionLend {
501
+ /**
502
+ * An arbitrary precision decimal represented as a string
503
+ */
504
+ amount: VektorAPI.Decimal;
505
+
506
+ /**
507
+ * On-chain asset (aka token)
508
+ */
509
+ asset: VektorAPI.Asset;
510
+
511
+ block_number: number | null;
512
+
513
+ /**
514
+ * ISO8601 Timestamp
515
+ */
516
+ broadcasted_at: string | null;
517
+
518
+ confirmation_target: number;
519
+
520
+ /**
521
+ * ISO8601 Timestamp
522
+ */
523
+ confirmed_at: string | null;
524
+
525
+ /**
526
+ * ISO8601 Timestamp
527
+ */
528
+ created_at: VektorAPI.Timestamp;
529
+
530
+ /**
531
+ * A hex string starting with 0x
532
+ */
533
+ data: string | null;
534
+
535
+ /**
536
+ * An arbitrary precision decimal represented as a string
537
+ */
538
+ effective_gas_price: string | null;
539
+
540
+ /**
541
+ * An error
542
+ */
543
+ error: ExecutionEVMTransactionLend.Error | null;
544
+
545
+ /**
546
+ * ISO8601 Timestamp
547
+ */
548
+ errored_at: string | null;
549
+
550
+ /**
551
+ * An arbitrary precision decimal represented as a string
552
+ */
553
+ gas_used: string | null;
554
+
555
+ /**
556
+ * A transaction hash
557
+ */
558
+ hash: string | null;
559
+
560
+ /**
561
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
562
+ * prefix
563
+ */
564
+ lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
565
+
566
+ /**
567
+ * The payload of an EIP-1559 transaction
568
+ */
569
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
570
+
571
+ /**
572
+ * ISO8601 Timestamp
573
+ */
574
+ signed_at: string | null;
575
+
576
+ /**
577
+ * The state of an EVM transaction
578
+ */
579
+ state: VektorAPI.ExecutionEVMTransactionState;
580
+
581
+ /**
582
+ * The state of an EVM transaction
583
+ */
584
+ target_state: VektorAPI.ExecutionEVMTransactionState;
585
+
586
+ /**
587
+ * An EVM address
588
+ */
589
+ to: string | null;
590
+
591
+ /**
592
+ * ISO8601 Timestamp
593
+ */
594
+ updated_at: VektorAPI.Timestamp;
595
+
596
+ /**
597
+ * An arbitrary precision decimal represented as a string
598
+ */
599
+ value: string | null;
600
+
601
+ /**
602
+ * A venue symbol
603
+ */
604
+ venue_symbol: VektorAPI.VenueSymbol;
605
+ }
606
+
607
+ export namespace ExecutionEVMTransactionLend {
608
+ /**
609
+ * An error
610
+ */
611
+ export interface Error {
612
+ /**
613
+ * Error message
614
+ */
615
+ message: string;
616
+
617
+ /**
618
+ * Error parameters
619
+ */
620
+ params: { [key: string]: unknown };
621
+
622
+ /**
623
+ * Error type
624
+ */
625
+ type: string;
626
+ }
627
+ }
628
+
629
+ /**
630
+ * Setting/unsetting a position as collateral
631
+ */
632
+ export interface ExecutionEVMTransactionLendSetCollateral {
633
+ block_number: number | null;
634
+
635
+ /**
636
+ * ISO8601 Timestamp
637
+ */
638
+ broadcasted_at: string | null;
639
+
640
+ confirmation_target: number;
641
+
642
+ /**
643
+ * ISO8601 Timestamp
644
+ */
645
+ confirmed_at: string | null;
646
+
647
+ /**
648
+ * ISO8601 Timestamp
649
+ */
650
+ created_at: VektorAPI.Timestamp;
651
+
652
+ /**
653
+ * A hex string starting with 0x
654
+ */
655
+ data: string | null;
656
+
657
+ /**
658
+ * An arbitrary precision decimal represented as a string
659
+ */
660
+ effective_gas_price: string | null;
661
+
662
+ /**
663
+ * An error
664
+ */
665
+ error: ExecutionEVMTransactionLendSetCollateral.Error | null;
666
+
667
+ /**
668
+ * ISO8601 Timestamp
669
+ */
670
+ errored_at: string | null;
671
+
672
+ /**
673
+ * An arbitrary precision decimal represented as a string
674
+ */
675
+ gas_used: string | null;
676
+
677
+ /**
678
+ * A transaction hash
679
+ */
680
+ hash: string | null;
681
+
682
+ /**
683
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
684
+ * prefix
685
+ */
686
+ lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
687
+
688
+ /**
689
+ * The payload of an EIP-1559 transaction
690
+ */
691
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
692
+
693
+ /**
694
+ * ISO8601 Timestamp
695
+ */
696
+ signed_at: string | null;
697
+
698
+ /**
699
+ * The state of an EVM transaction
700
+ */
701
+ state: VektorAPI.ExecutionEVMTransactionState;
702
+
703
+ status: boolean;
704
+
705
+ /**
706
+ * The state of an EVM transaction
707
+ */
708
+ target_state: VektorAPI.ExecutionEVMTransactionState;
709
+
710
+ /**
711
+ * An EVM address
712
+ */
713
+ to: string | null;
714
+
715
+ /**
716
+ * ISO8601 Timestamp
717
+ */
718
+ updated_at: VektorAPI.Timestamp;
719
+
720
+ /**
721
+ * An arbitrary precision decimal represented as a string
722
+ */
723
+ value: string | null;
724
+ }
725
+
726
+ export namespace ExecutionEVMTransactionLendSetCollateral {
727
+ /**
728
+ * An error
729
+ */
730
+ export interface Error {
731
+ /**
732
+ * Error message
733
+ */
734
+ message: string;
735
+
736
+ /**
737
+ * Error parameters
738
+ */
739
+ params: { [key: string]: unknown };
740
+
741
+ /**
742
+ * Error type
743
+ */
744
+ type: string;
745
+ }
746
+ }
747
+
748
+ /**
749
+ * Withdrawing an asset
750
+ */
751
+ export interface ExecutionEVMTransactionLendWithdraw {
752
+ /**
753
+ * An arbitrary precision decimal represented as a string
754
+ */
755
+ amount: string | null;
756
+
757
+ /**
758
+ * On-chain asset (aka token)
759
+ */
760
+ asset: VektorAPI.Asset;
761
+
762
+ block_number: number | null;
763
+
764
+ /**
765
+ * ISO8601 Timestamp
766
+ */
767
+ broadcasted_at: string | null;
768
+
769
+ confirmation_target: number;
770
+
771
+ /**
772
+ * ISO8601 Timestamp
773
+ */
774
+ confirmed_at: string | null;
775
+
776
+ /**
777
+ * ISO8601 Timestamp
778
+ */
779
+ created_at: VektorAPI.Timestamp;
780
+
781
+ /**
782
+ * A hex string starting with 0x
783
+ */
784
+ data: string | null;
785
+
786
+ /**
787
+ * An arbitrary precision decimal represented as a string
788
+ */
789
+ effective_gas_price: string | null;
790
+
791
+ /**
792
+ * An error
793
+ */
794
+ error: ExecutionEVMTransactionLendWithdraw.Error | null;
795
+
796
+ /**
797
+ * ISO8601 Timestamp
798
+ */
799
+ errored_at: string | null;
800
+
801
+ /**
802
+ * An arbitrary precision decimal represented as a string
803
+ */
804
+ gas_used: string | null;
805
+
806
+ /**
807
+ * A transaction hash
808
+ */
809
+ hash: string | null;
810
+
811
+ /**
812
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
813
+ * prefix
814
+ */
815
+ lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
816
+
817
+ /**
818
+ * The payload of an EIP-1559 transaction
819
+ */
820
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
821
+
822
+ /**
823
+ * ISO8601 Timestamp
824
+ */
825
+ signed_at: string | null;
826
+
827
+ /**
828
+ * The state of an EVM transaction
829
+ */
830
+ state: VektorAPI.ExecutionEVMTransactionState;
831
+
832
+ /**
833
+ * The state of an EVM transaction
834
+ */
835
+ target_state: VektorAPI.ExecutionEVMTransactionState;
836
+
837
+ /**
838
+ * An EVM address
839
+ */
840
+ to: string | null;
841
+
842
+ /**
843
+ * ISO8601 Timestamp
844
+ */
845
+ updated_at: VektorAPI.Timestamp;
846
+
847
+ /**
848
+ * An arbitrary precision decimal represented as a string
849
+ */
850
+ value: string | null;
851
+ }
852
+
853
+ export namespace ExecutionEVMTransactionLendWithdraw {
854
+ /**
855
+ * An error
856
+ */
857
+ export interface Error {
858
+ /**
859
+ * Error message
860
+ */
861
+ message: string;
862
+
863
+ /**
864
+ * Error parameters
865
+ */
866
+ params: { [key: string]: unknown };
867
+
868
+ /**
869
+ * Error type
870
+ */
871
+ type: string;
872
+ }
873
+ }
874
+
875
+ /**
876
+ * A move of assets from one account to another
877
+ */
878
+ export interface ExecutionEVMTransactionMove {
879
+ /**
880
+ * An arbitrary precision decimal represented as a string
881
+ */
882
+ amount: VektorAPI.Decimal;
883
+
884
+ /**
885
+ * On-chain asset (aka token)
886
+ */
887
+ asset: VektorAPI.Asset;
888
+
889
+ block_number: number | null;
890
+
891
+ /**
892
+ * ISO8601 Timestamp
893
+ */
894
+ broadcasted_at: string | null;
895
+
896
+ confirmation_target: number;
897
+
898
+ /**
899
+ * ISO8601 Timestamp
900
+ */
901
+ confirmed_at: string | null;
902
+
903
+ /**
904
+ * ISO8601 Timestamp
905
+ */
906
+ created_at: VektorAPI.Timestamp;
907
+
908
+ /**
909
+ * A hex string starting with 0x
910
+ */
911
+ data: string | null;
912
+
913
+ /**
914
+ * An arbitrary precision decimal represented as a string
915
+ */
916
+ effective_gas_price: string | null;
917
+
918
+ /**
919
+ * An error
920
+ */
921
+ error: ExecutionEVMTransactionMove.Error | null;
922
+
923
+ /**
924
+ * ISO8601 Timestamp
925
+ */
926
+ errored_at: string | null;
927
+
928
+ /**
929
+ * An arbitrary precision decimal represented as a string
930
+ */
931
+ gas_used: string | null;
932
+
933
+ /**
934
+ * A transaction hash
935
+ */
936
+ hash: string | null;
937
+
938
+ /**
939
+ * The payload of an EIP-1559 transaction
940
+ */
941
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
942
+
943
+ /**
944
+ * ISO8601 Timestamp
945
+ */
946
+ signed_at: string | null;
947
+
948
+ /**
949
+ * The state of an EVM transaction
950
+ */
951
+ state: VektorAPI.ExecutionEVMTransactionState;
952
+
953
+ /**
954
+ * The state of an EVM transaction
955
+ */
956
+ target_state: VektorAPI.ExecutionEVMTransactionState;
957
+
958
+ /**
959
+ * An EVM address
960
+ */
961
+ to: VektorAPI.Account | null;
962
+
963
+ /**
964
+ * ISO8601 Timestamp
965
+ */
966
+ updated_at: VektorAPI.Timestamp;
967
+
968
+ /**
969
+ * An arbitrary precision decimal represented as a string
970
+ */
971
+ value: string | null;
972
+ }
973
+
974
+ export namespace ExecutionEVMTransactionMove {
975
+ /**
976
+ * An error
977
+ */
978
+ export interface Error {
979
+ /**
980
+ * Error message
981
+ */
982
+ message: string;
983
+
984
+ /**
985
+ * Error parameters
986
+ */
987
+ params: { [key: string]: unknown };
988
+
989
+ /**
990
+ * Error type
991
+ */
992
+ type: string;
993
+ }
994
+ }
995
+
996
+ /**
997
+ * A permission to a contract
998
+ */
999
+ export interface ExecutionEVMTransactionPermission {
1000
+ block_number: number | null;
1001
+
1002
+ /**
1003
+ * ISO8601 Timestamp
1004
+ */
1005
+ broadcasted_at: string | null;
1006
+
1007
+ confirmation_target: number;
1008
+
1009
+ /**
1010
+ * ISO8601 Timestamp
1011
+ */
1012
+ confirmed_at: string | null;
1013
+
1014
+ /**
1015
+ * An EVM address
1016
+ */
1017
+ contract_address: VektorAPI.AddressEVM;
1018
+
1019
+ /**
1020
+ * ISO8601 Timestamp
1021
+ */
1022
+ created_at: VektorAPI.Timestamp;
1023
+
1024
+ /**
1025
+ * A hex string starting with 0x
1026
+ */
1027
+ data: string | null;
1028
+
1029
+ /**
1030
+ * An arbitrary precision decimal represented as a string
1031
+ */
1032
+ effective_gas_price: string | null;
1033
+
1034
+ /**
1035
+ * An error
1036
+ */
1037
+ error: ExecutionEVMTransactionPermission.Error | null;
1038
+
1039
+ /**
1040
+ * ISO8601 Timestamp
1041
+ */
1042
+ errored_at: string | null;
1043
+
1044
+ /**
1045
+ * An arbitrary precision decimal represented as a string
1046
+ */
1047
+ gas_used: string | null;
1048
+
1049
+ /**
1050
+ * A transaction hash
1051
+ */
1052
+ hash: string | null;
1053
+
1054
+ /**
1055
+ * A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
1056
+ * prefix
1057
+ */
1058
+ lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
1059
+
1060
+ /**
1061
+ * The payload of an EIP-1559 transaction
1062
+ */
1063
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1064
+
1065
+ permission: boolean;
1066
+
1067
+ /**
1068
+ * ISO8601 Timestamp
1069
+ */
1070
+ signed_at: string | null;
1071
+
1072
+ /**
1073
+ * An EVM address
1074
+ */
1075
+ spender: VektorAPI.Account;
1076
+
1077
+ /**
1078
+ * The state of an EVM transaction
1079
+ */
1080
+ state: VektorAPI.ExecutionEVMTransactionState;
1081
+
1082
+ /**
1083
+ * The state of an EVM transaction
1084
+ */
1085
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1086
+
1087
+ /**
1088
+ * An EVM address
1089
+ */
1090
+ to: string | null;
1091
+
1092
+ /**
1093
+ * The type of a permission
1094
+ */
1095
+ type: 'compound_v3_comet';
1096
+
1097
+ /**
1098
+ * ISO8601 Timestamp
1099
+ */
1100
+ updated_at: VektorAPI.Timestamp;
1101
+
1102
+ /**
1103
+ * An arbitrary precision decimal represented as a string
1104
+ */
1105
+ value: string | null;
1106
+ }
1107
+
1108
+ export namespace ExecutionEVMTransactionPermission {
1109
+ /**
1110
+ * An error
1111
+ */
1112
+ export interface Error {
1113
+ /**
1114
+ * Error message
1115
+ */
1116
+ message: string;
1117
+
1118
+ /**
1119
+ * Error parameters
1120
+ */
1121
+ params: { [key: string]: unknown };
1122
+
1123
+ /**
1124
+ * Error type
1125
+ */
1126
+ type: string;
1127
+ }
1128
+ }
1129
+
1130
+ /**
1131
+ * An unwrap of the wrapped native asset
1132
+ */
1133
+ export interface ExecutionEVMTransactionUnwrap {
1134
+ /**
1135
+ * An arbitrary precision decimal represented as a string
1136
+ */
1137
+ amount: VektorAPI.Decimal;
1138
+
1139
+ block_number: number | null;
1140
+
1141
+ /**
1142
+ * ISO8601 Timestamp
1143
+ */
1144
+ broadcasted_at: string | null;
1145
+
1146
+ confirmation_target: number;
1147
+
1148
+ /**
1149
+ * ISO8601 Timestamp
1150
+ */
1151
+ confirmed_at: string | null;
1152
+
1153
+ /**
1154
+ * ISO8601 Timestamp
1155
+ */
1156
+ created_at: VektorAPI.Timestamp;
1157
+
1158
+ /**
1159
+ * A hex string starting with 0x
1160
+ */
1161
+ data: string | null;
1162
+
1163
+ /**
1164
+ * An arbitrary precision decimal represented as a string
1165
+ */
1166
+ effective_gas_price: string | null;
1167
+
1168
+ /**
1169
+ * An error
1170
+ */
1171
+ error: ExecutionEVMTransactionUnwrap.Error | null;
1172
+
1173
+ /**
1174
+ * ISO8601 Timestamp
1175
+ */
1176
+ errored_at: string | null;
1177
+
1178
+ /**
1179
+ * An arbitrary precision decimal represented as a string
1180
+ */
1181
+ gas_used: string | null;
1182
+
1183
+ /**
1184
+ * A transaction hash
1185
+ */
1186
+ hash: string | null;
1187
+
1188
+ /**
1189
+ * The payload of an EIP-1559 transaction
1190
+ */
1191
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1192
+
1193
+ /**
1194
+ * ISO8601 Timestamp
1195
+ */
1196
+ signed_at: string | null;
1197
+
1198
+ /**
1199
+ * The state of an EVM transaction
1200
+ */
1201
+ state: VektorAPI.ExecutionEVMTransactionState;
1202
+
1203
+ /**
1204
+ * The state of an EVM transaction
1205
+ */
1206
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1207
+
1208
+ /**
1209
+ * An EVM address
1210
+ */
1211
+ to: string | null;
1212
+
1213
+ /**
1214
+ * ISO8601 Timestamp
1215
+ */
1216
+ updated_at: VektorAPI.Timestamp;
1217
+
1218
+ /**
1219
+ * An arbitrary precision decimal represented as a string
1220
+ */
1221
+ value: string | null;
1222
+ }
1223
+
1224
+ export namespace ExecutionEVMTransactionUnwrap {
1225
+ /**
1226
+ * An error
1227
+ */
1228
+ export interface Error {
1229
+ /**
1230
+ * Error message
1231
+ */
1232
+ message: string;
1233
+
1234
+ /**
1235
+ * Error parameters
1236
+ */
1237
+ params: { [key: string]: unknown };
1238
+
1239
+ /**
1240
+ * Error type
1241
+ */
1242
+ type: string;
1243
+ }
1244
+ }
1245
+
1246
+ /**
1247
+ * A wrap of the native asset
1248
+ */
1249
+ export interface ExecutionEVMTransactionWrap {
1250
+ /**
1251
+ * An arbitrary precision decimal represented as a string
1252
+ */
1253
+ amount: VektorAPI.Decimal;
1254
+
1255
+ block_number: number | null;
1256
+
1257
+ /**
1258
+ * ISO8601 Timestamp
1259
+ */
1260
+ broadcasted_at: string | null;
1261
+
1262
+ confirmation_target: number;
1263
+
1264
+ /**
1265
+ * ISO8601 Timestamp
1266
+ */
1267
+ confirmed_at: string | null;
1268
+
1269
+ /**
1270
+ * ISO8601 Timestamp
1271
+ */
1272
+ created_at: VektorAPI.Timestamp;
1273
+
1274
+ /**
1275
+ * A hex string starting with 0x
1276
+ */
1277
+ data: string | null;
1278
+
1279
+ /**
1280
+ * An arbitrary precision decimal represented as a string
1281
+ */
1282
+ effective_gas_price: string | null;
1283
+
1284
+ /**
1285
+ * An error
1286
+ */
1287
+ error: ExecutionEVMTransactionWrap.Error | null;
1288
+
1289
+ /**
1290
+ * ISO8601 Timestamp
1291
+ */
1292
+ errored_at: string | null;
1293
+
1294
+ /**
1295
+ * An arbitrary precision decimal represented as a string
1296
+ */
1297
+ gas_used: string | null;
1298
+
1299
+ /**
1300
+ * A transaction hash
1301
+ */
1302
+ hash: string | null;
1303
+
1304
+ /**
1305
+ * The payload of an EIP-1559 transaction
1306
+ */
1307
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1308
+
1309
+ /**
1310
+ * ISO8601 Timestamp
1311
+ */
1312
+ signed_at: string | null;
1313
+
1314
+ /**
1315
+ * The state of an EVM transaction
1316
+ */
1317
+ state: VektorAPI.ExecutionEVMTransactionState;
1318
+
1319
+ /**
1320
+ * The state of an EVM transaction
1321
+ */
1322
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1323
+
1324
+ /**
1325
+ * An EVM address
1326
+ */
1327
+ to: string | null;
1328
+
1329
+ /**
1330
+ * ISO8601 Timestamp
1331
+ */
1332
+ updated_at: VektorAPI.Timestamp;
1333
+
1334
+ /**
1335
+ * An arbitrary precision decimal represented as a string
1336
+ */
1337
+ value: string | null;
1338
+ }
1339
+
1340
+ export namespace ExecutionEVMTransactionWrap {
1341
+ /**
1342
+ * An error
1343
+ */
1344
+ export interface Error {
1345
+ /**
1346
+ * Error message
1347
+ */
1348
+ message: string;
1349
+
1350
+ /**
1351
+ * Error parameters
1352
+ */
1353
+ params: { [key: string]: unknown };
1354
+
1355
+ /**
1356
+ * Error type
1357
+ */
1358
+ type: string;
1359
+ }
1360
+ }
1361
+
1362
+ /**
1363
+ * Selling an asset for another asset
1364
+ */
1365
+ export interface ExecutionEVMTransactionSell {
1366
+ /**
1367
+ * An EVM address
1368
+ */
1369
+ approval_target: VektorAPI.Account;
1370
+
1371
+ block_number: number | null;
1372
+
1373
+ /**
1374
+ * ISO8601 Timestamp
1375
+ */
1376
+ broadcasted_at: string | null;
1377
+
1378
+ confirmation_target: number;
1379
+
1380
+ /**
1381
+ * ISO8601 Timestamp
1382
+ */
1383
+ confirmed_at: string | null;
1384
+
1385
+ /**
1386
+ * ISO8601 Timestamp
1387
+ */
1388
+ created_at: VektorAPI.Timestamp;
1389
+
1390
+ /**
1391
+ * A hex string starting with 0x
1392
+ */
1393
+ data: string | null;
1394
+
1395
+ /**
1396
+ * An arbitrary precision decimal represented as a string
1397
+ */
1398
+ effective_gas_price: string | null;
1399
+
1400
+ /**
1401
+ * An error
1402
+ */
1403
+ error: ExecutionEVMTransactionSell.Error | null;
1404
+
1405
+ /**
1406
+ * ISO8601 Timestamp
1407
+ */
1408
+ errored_at: string | null;
1409
+
1410
+ /**
1411
+ * An arbitrary precision decimal represented as a string
1412
+ */
1413
+ gas_used: string | null;
1414
+
1415
+ /**
1416
+ * A transaction hash
1417
+ */
1418
+ hash: string | null;
1419
+
1420
+ /**
1421
+ * An arbitrary precision decimal represented as a string
1422
+ */
1423
+ min_receive_amount: VektorAPI.Decimal;
1424
+
1425
+ /**
1426
+ * The payload of an EIP-1559 transaction
1427
+ */
1428
+ payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
1429
+
1430
+ /**
1431
+ * A sell quote
1432
+ */
1433
+ quote: VektorAPI.SellQuote;
1434
+
1435
+ /**
1436
+ * ISO8601 Timestamp
1437
+ */
1438
+ signed_at: string | null;
1439
+
1440
+ /**
1441
+ * An arbitrary precision decimal represented as a string
1442
+ */
1443
+ slippage: VektorAPI.Decimal;
1444
+
1445
+ /**
1446
+ * The state of an EVM transaction
1447
+ */
1448
+ state: VektorAPI.ExecutionEVMTransactionState;
1449
+
1450
+ /**
1451
+ * The state of an EVM transaction
1452
+ */
1453
+ target_state: VektorAPI.ExecutionEVMTransactionState;
1454
+
1455
+ /**
1456
+ * An EVM address
1457
+ */
1458
+ to: string | null;
1459
+
1460
+ /**
1461
+ * ISO8601 Timestamp
1462
+ */
1463
+ updated_at: VektorAPI.Timestamp;
1464
+
1465
+ /**
1466
+ * An arbitrary precision decimal represented as a string
1467
+ */
1468
+ value: string | null;
1469
+ }
1470
+
1471
+ export namespace ExecutionEVMTransactionSell {
1472
+ /**
1473
+ * An error
1474
+ */
1475
+ export interface Error {
1476
+ /**
1477
+ * Error message
1478
+ */
1479
+ message: string;
1480
+
1481
+ /**
1482
+ * Error parameters
1483
+ */
1484
+ params: { [key: string]: unknown };
1485
+
1486
+ /**
1487
+ * Error type
1488
+ */
1489
+ type: string;
1490
+ }
1491
+ }
1492
+ }
1493
+
1494
+ export interface StepGetParams {
1495
+ /**
1496
+ * Execution ID
1497
+ */
1498
+ execution_id: string;
1499
+ }
1500
+
1501
+ export interface StepSignParams {
1502
+ /**
1503
+ * Path param: Execution ID
1504
+ */
1505
+ execution_id: string;
1506
+
1507
+ /**
1508
+ * Body param: A hex string starting with 0x
1509
+ */
1510
+ signed_payload: VektorAPI.HexString;
1511
+ }
1512
+
1513
+ export declare namespace Steps {
1514
+ export {
1515
+ type StepGetResponse as StepGetResponse,
1516
+ type StepGetParams as StepGetParams,
1517
+ type StepSignParams as StepSignParams,
1518
+ };
1519
+ }