@gauntlet-xyz/sdk 2.5.0 → 3.0.1

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 (346) hide show
  1. package/README.md +89 -6
  2. package/dist/api/activity.d.ts +1 -1
  3. package/dist/api/activity.d.ts.map +1 -1
  4. package/dist/api/caip.d.ts +1 -1
  5. package/dist/api/caip.d.ts.map +1 -1
  6. package/dist/api/client.d.ts +43 -5
  7. package/dist/api/client.d.ts.map +1 -1
  8. package/dist/api/errors.d.ts +1 -1
  9. package/dist/api/errors.d.ts.map +1 -1
  10. package/dist/api/generated.d.ts +570 -7
  11. package/dist/api/generated.d.ts.map +1 -1
  12. package/dist/api/index.d.ts +13 -13
  13. package/dist/api/index.d.ts.map +1 -1
  14. package/dist/api/index.js +48 -8
  15. package/dist/api/index.js.map +7 -1
  16. package/dist/api/positionHistory.d.ts +1 -1
  17. package/dist/api/positionHistory.d.ts.map +1 -1
  18. package/dist/attribution/index.d.ts +3 -3
  19. package/dist/attribution/index.d.ts.map +1 -1
  20. package/dist/chunk-7TA2OJUK.js +4364 -0
  21. package/dist/chunk-7TA2OJUK.js.map +7 -0
  22. package/dist/chunk-HC2BS7MK.js +439 -0
  23. package/dist/chunk-HC2BS7MK.js.map +7 -0
  24. package/dist/chunk-S2TTA45N.js +2009 -0
  25. package/dist/chunk-S2TTA45N.js.map +7 -0
  26. package/dist/chunk-STIV2CC4.js +57 -0
  27. package/dist/chunk-STIV2CC4.js.map +7 -0
  28. package/dist/chunk-SU6JAKIA.js +283 -0
  29. package/dist/chunk-SU6JAKIA.js.map +7 -0
  30. package/dist/cjs/api/activity.d.ts +70 -0
  31. package/dist/cjs/api/activity.d.ts.map +1 -0
  32. package/dist/cjs/api/activity.js +136 -0
  33. package/dist/cjs/api/activity.js.map +7 -0
  34. package/dist/cjs/api/caip.d.ts +29 -0
  35. package/dist/cjs/api/caip.d.ts.map +1 -0
  36. package/dist/cjs/api/caip.js +59 -0
  37. package/dist/cjs/api/caip.js.map +7 -0
  38. package/dist/cjs/api/client.d.ts +173 -0
  39. package/dist/cjs/api/client.d.ts.map +1 -0
  40. package/dist/cjs/api/client.js +171 -0
  41. package/dist/cjs/api/client.js.map +7 -0
  42. package/dist/cjs/api/decimal.d.ts +21 -0
  43. package/dist/cjs/api/decimal.d.ts.map +1 -0
  44. package/dist/cjs/api/decimal.js +60 -0
  45. package/dist/cjs/api/decimal.js.map +7 -0
  46. package/dist/cjs/api/errors.d.ts +32 -0
  47. package/dist/cjs/api/errors.d.ts.map +1 -0
  48. package/dist/cjs/api/errors.js +80 -0
  49. package/dist/cjs/api/errors.js.map +7 -0
  50. package/dist/cjs/api/generated.d.ts +2068 -0
  51. package/dist/cjs/api/generated.d.ts.map +1 -0
  52. package/dist/cjs/api/generated.js +17 -0
  53. package/dist/cjs/api/generated.js.map +7 -0
  54. package/dist/cjs/api/http.d.ts +16 -0
  55. package/dist/cjs/api/http.d.ts.map +1 -0
  56. package/dist/cjs/api/http.js +64 -0
  57. package/dist/cjs/api/http.js.map +7 -0
  58. package/dist/cjs/api/index.d.ts +14 -0
  59. package/dist/cjs/api/index.d.ts.map +1 -0
  60. package/dist/cjs/api/index.js +73 -0
  61. package/dist/cjs/api/index.js.map +7 -0
  62. package/dist/cjs/api/positionHistory.d.ts +44 -0
  63. package/dist/cjs/api/positionHistory.d.ts.map +1 -0
  64. package/dist/cjs/api/positionHistory.js +131 -0
  65. package/dist/cjs/api/positionHistory.js.map +7 -0
  66. package/dist/cjs/attribution/erc8021.d.ts +9 -0
  67. package/dist/cjs/attribution/erc8021.d.ts.map +1 -0
  68. package/dist/cjs/attribution/erc8021.js +37 -0
  69. package/dist/cjs/attribution/erc8021.js.map +7 -0
  70. package/dist/cjs/attribution/index.d.ts +25 -0
  71. package/dist/cjs/attribution/index.d.ts.map +1 -0
  72. package/dist/cjs/attribution/index.js +68 -0
  73. package/dist/cjs/attribution/index.js.map +7 -0
  74. package/dist/cjs/client.d.ts +72 -0
  75. package/dist/cjs/client.d.ts.map +1 -0
  76. package/dist/cjs/client.js +80 -0
  77. package/dist/cjs/client.js.map +7 -0
  78. package/dist/cjs/constants.d.ts +16 -0
  79. package/dist/cjs/constants.d.ts.map +1 -0
  80. package/dist/cjs/constants.js +83 -0
  81. package/dist/cjs/constants.js.map +7 -0
  82. package/dist/cjs/errors.d.ts +85 -0
  83. package/dist/cjs/errors.d.ts.map +1 -0
  84. package/dist/cjs/errors.js +210 -0
  85. package/dist/cjs/errors.js.map +7 -0
  86. package/dist/cjs/evm/abis/erc20.d.ts +41 -0
  87. package/dist/cjs/evm/abis/erc20.d.ts.map +1 -0
  88. package/dist/cjs/evm/abis/erc20.js +57 -0
  89. package/dist/cjs/evm/abis/erc20.js.map +7 -0
  90. package/dist/cjs/evm/abis/erc4626.d.ts +105 -0
  91. package/dist/cjs/evm/abis/erc4626.d.ts.map +1 -0
  92. package/dist/cjs/evm/abis/erc4626.js +97 -0
  93. package/dist/cjs/evm/abis/erc4626.js.map +7 -0
  94. package/dist/cjs/evm/abis/multiDepositorVault.d.ts +1048 -0
  95. package/dist/cjs/evm/abis/multiDepositorVault.d.ts.map +1 -0
  96. package/dist/cjs/evm/abis/multiDepositorVault.js +614 -0
  97. package/dist/cjs/evm/abis/multiDepositorVault.js.map +7 -0
  98. package/dist/cjs/evm/abis/priceAndFeeCalculator.d.ts +910 -0
  99. package/dist/cjs/evm/abis/priceAndFeeCalculator.d.ts.map +1 -0
  100. package/dist/cjs/evm/abis/priceAndFeeCalculator.js +517 -0
  101. package/dist/cjs/evm/abis/priceAndFeeCalculator.js.map +7 -0
  102. package/dist/cjs/evm/abis/priceAndFeeCalculatorV2.d.ts +277 -0
  103. package/dist/cjs/evm/abis/priceAndFeeCalculatorV2.d.ts.map +1 -0
  104. package/dist/cjs/evm/abis/priceAndFeeCalculatorV2.js +166 -0
  105. package/dist/cjs/evm/abis/priceAndFeeCalculatorV2.js.map +7 -0
  106. package/dist/cjs/evm/abis/provisioner.d.ts +4984 -0
  107. package/dist/cjs/evm/abis/provisioner.d.ts.map +1 -0
  108. package/dist/cjs/evm/abis/provisioner.js +2785 -0
  109. package/dist/cjs/evm/abis/provisioner.js.map +7 -0
  110. package/dist/cjs/evm/abis/provisionerV2.d.ts +740 -0
  111. package/dist/cjs/evm/abis/provisionerV2.d.ts.map +1 -0
  112. package/dist/cjs/evm/abis/provisionerV2.js +320 -0
  113. package/dist/cjs/evm/abis/provisionerV2.js.map +7 -0
  114. package/dist/cjs/evm/adapters/aera.d.ts +6 -0
  115. package/dist/cjs/evm/adapters/aera.d.ts.map +1 -0
  116. package/dist/cjs/evm/adapters/aera.js +491 -0
  117. package/dist/cjs/evm/adapters/aera.js.map +7 -0
  118. package/dist/cjs/evm/adapters/index.d.ts +3 -0
  119. package/dist/cjs/evm/adapters/index.d.ts.map +1 -0
  120. package/dist/cjs/evm/adapters/index.js +41 -0
  121. package/dist/cjs/evm/adapters/index.js.map +7 -0
  122. package/dist/cjs/evm/adapters/morpho.d.ts +3 -0
  123. package/dist/cjs/evm/adapters/morpho.d.ts.map +1 -0
  124. package/dist/cjs/evm/adapters/morpho.js +103 -0
  125. package/dist/cjs/evm/adapters/morpho.js.map +7 -0
  126. package/dist/cjs/evm/adapters/types.d.ts +84 -0
  127. package/dist/cjs/evm/adapters/types.d.ts.map +1 -0
  128. package/dist/cjs/evm/adapters/types.js +17 -0
  129. package/dist/cjs/evm/adapters/types.js.map +7 -0
  130. package/dist/cjs/evm/aeraContracts/priceAndFeeCalculator.d.ts +46 -0
  131. package/dist/cjs/evm/aeraContracts/priceAndFeeCalculator.d.ts.map +1 -0
  132. package/dist/cjs/evm/aeraContracts/priceAndFeeCalculator.js +223 -0
  133. package/dist/cjs/evm/aeraContracts/priceAndFeeCalculator.js.map +7 -0
  134. package/dist/cjs/evm/aeraContracts/readOptions.d.ts +8 -0
  135. package/dist/cjs/evm/aeraContracts/readOptions.d.ts.map +1 -0
  136. package/dist/cjs/evm/aeraContracts/readOptions.js +31 -0
  137. package/dist/cjs/evm/aeraContracts/readOptions.js.map +7 -0
  138. package/dist/cjs/evm/aeraContracts/v1.d.ts +2317 -0
  139. package/dist/cjs/evm/aeraContracts/v1.d.ts.map +1 -0
  140. package/dist/cjs/evm/aeraContracts/v1.js +120 -0
  141. package/dist/cjs/evm/aeraContracts/v1.js.map +7 -0
  142. package/dist/cjs/evm/aeraContracts/v2.d.ts +4538 -0
  143. package/dist/cjs/evm/aeraContracts/v2.d.ts.map +1 -0
  144. package/dist/cjs/evm/aeraContracts/v2.js +449 -0
  145. package/dist/cjs/evm/aeraContracts/v2.js.map +7 -0
  146. package/dist/cjs/evm/aeraContracts.d.ts +33 -0
  147. package/dist/cjs/evm/aeraContracts.d.ts.map +1 -0
  148. package/dist/cjs/evm/aeraContracts.js +224 -0
  149. package/dist/cjs/evm/aeraContracts.js.map +7 -0
  150. package/dist/cjs/evm/deposit.d.ts +50 -0
  151. package/dist/cjs/evm/deposit.d.ts.map +1 -0
  152. package/dist/cjs/evm/deposit.js +112 -0
  153. package/dist/cjs/evm/deposit.js.map +7 -0
  154. package/dist/cjs/evm/depositQuote.d.ts +32 -0
  155. package/dist/cjs/evm/depositQuote.d.ts.map +1 -0
  156. package/dist/cjs/evm/depositQuote.js +96 -0
  157. package/dist/cjs/evm/depositQuote.js.map +7 -0
  158. package/dist/cjs/evm/depositReceiverApproval.d.ts +17 -0
  159. package/dist/cjs/evm/depositReceiverApproval.d.ts.map +1 -0
  160. package/dist/cjs/evm/depositReceiverApproval.js +66 -0
  161. package/dist/cjs/evm/depositReceiverApproval.js.map +7 -0
  162. package/dist/cjs/evm/index.d.ts +28 -0
  163. package/dist/cjs/evm/index.d.ts.map +1 -0
  164. package/dist/cjs/evm/index.js +116 -0
  165. package/dist/cjs/evm/index.js.map +7 -0
  166. package/dist/cjs/evm/operationMode.d.ts +9 -0
  167. package/dist/cjs/evm/operationMode.d.ts.map +1 -0
  168. package/dist/cjs/evm/operationMode.js +65 -0
  169. package/dist/cjs/evm/operationMode.js.map +7 -0
  170. package/dist/cjs/evm/tokenModes.d.ts +22 -0
  171. package/dist/cjs/evm/tokenModes.d.ts.map +1 -0
  172. package/dist/cjs/evm/tokenModes.js +47 -0
  173. package/dist/cjs/evm/tokenModes.js.map +7 -0
  174. package/dist/cjs/evm/types.d.ts +34 -0
  175. package/dist/cjs/evm/types.d.ts.map +1 -0
  176. package/dist/cjs/evm/types.js +32 -0
  177. package/dist/cjs/evm/types.js.map +7 -0
  178. package/dist/cjs/evm/userCurrentBalance.d.ts +55 -0
  179. package/dist/cjs/evm/userCurrentBalance.d.ts.map +1 -0
  180. package/dist/cjs/evm/userCurrentBalance.js +225 -0
  181. package/dist/cjs/evm/userCurrentBalance.js.map +7 -0
  182. package/dist/cjs/evm/vaults.d.ts +44 -0
  183. package/dist/cjs/evm/vaults.d.ts.map +1 -0
  184. package/dist/cjs/evm/vaults.js +78 -0
  185. package/dist/cjs/evm/vaults.js.map +7 -0
  186. package/dist/cjs/evm/withdraw.d.ts +73 -0
  187. package/dist/cjs/evm/withdraw.d.ts.map +1 -0
  188. package/dist/cjs/evm/withdraw.js +161 -0
  189. package/dist/cjs/evm/withdraw.js.map +7 -0
  190. package/dist/cjs/evm/withdrawQuote.d.ts +135 -0
  191. package/dist/cjs/evm/withdrawQuote.d.ts.map +1 -0
  192. package/dist/cjs/evm/withdrawQuote.js +256 -0
  193. package/dist/cjs/evm/withdrawQuote.js.map +7 -0
  194. package/dist/cjs/index.d.ts +31 -0
  195. package/dist/cjs/index.d.ts.map +1 -0
  196. package/dist/cjs/index.js +128 -0
  197. package/dist/cjs/index.js.map +7 -0
  198. package/dist/cjs/package.json +1 -0
  199. package/dist/cjs/privy/index.d.ts +52 -0
  200. package/dist/cjs/privy/index.d.ts.map +1 -0
  201. package/dist/cjs/privy/index.js +57 -0
  202. package/dist/cjs/privy/index.js.map +7 -0
  203. package/dist/client.d.ts +4 -2
  204. package/dist/client.d.ts.map +1 -1
  205. package/dist/constants.d.ts.map +1 -1
  206. package/dist/errors.d.ts +4 -1
  207. package/dist/errors.d.ts.map +1 -1
  208. package/dist/evm/adapters/aera.d.ts +1 -1
  209. package/dist/evm/adapters/aera.d.ts.map +1 -1
  210. package/dist/evm/adapters/index.d.ts +1 -1
  211. package/dist/evm/adapters/index.d.ts.map +1 -1
  212. package/dist/evm/adapters/morpho.d.ts +1 -1
  213. package/dist/evm/adapters/morpho.d.ts.map +1 -1
  214. package/dist/evm/adapters/types.d.ts +5 -3
  215. package/dist/evm/adapters/types.d.ts.map +1 -1
  216. package/dist/evm/aeraContracts/priceAndFeeCalculator.d.ts +1 -1
  217. package/dist/evm/aeraContracts/priceAndFeeCalculator.d.ts.map +1 -1
  218. package/dist/evm/aeraContracts/v1.d.ts +2 -2
  219. package/dist/evm/aeraContracts/v1.d.ts.map +1 -1
  220. package/dist/evm/aeraContracts/v2.d.ts +25 -4
  221. package/dist/evm/aeraContracts/v2.d.ts.map +1 -1
  222. package/dist/evm/aeraContracts.d.ts +2 -2
  223. package/dist/evm/aeraContracts.d.ts.map +1 -1
  224. package/dist/evm/deposit.d.ts +4 -2
  225. package/dist/evm/deposit.d.ts.map +1 -1
  226. package/dist/evm/depositQuote.d.ts +32 -0
  227. package/dist/evm/depositQuote.d.ts.map +1 -0
  228. package/dist/evm/depositReceiverApproval.d.ts +2 -2
  229. package/dist/evm/depositReceiverApproval.d.ts.map +1 -1
  230. package/dist/evm/index.d.ts +27 -25
  231. package/dist/evm/index.d.ts.map +1 -1
  232. package/dist/evm/index.js +88 -12
  233. package/dist/evm/index.js.map +7 -1
  234. package/dist/evm/tokenModes.d.ts +2 -2
  235. package/dist/evm/tokenModes.d.ts.map +1 -1
  236. package/dist/evm/userCurrentBalance.d.ts +6 -2
  237. package/dist/evm/userCurrentBalance.d.ts.map +1 -1
  238. package/dist/evm/vaults.d.ts +2 -9
  239. package/dist/evm/vaults.d.ts.map +1 -1
  240. package/dist/evm/withdraw.d.ts +3 -3
  241. package/dist/evm/withdraw.d.ts.map +1 -1
  242. package/dist/evm/withdrawQuote.d.ts +14 -6
  243. package/dist/evm/withdrawQuote.d.ts.map +1 -1
  244. package/dist/index.d.ts +30 -28
  245. package/dist/index.d.ts.map +1 -1
  246. package/dist/index.js +139 -14
  247. package/dist/index.js.map +7 -1
  248. package/dist/manifest/vaults.json +1958 -0
  249. package/dist/privy/index.d.ts +1 -1
  250. package/dist/privy/index.d.ts.map +1 -1
  251. package/dist/privy/index.js +39 -48
  252. package/dist/privy/index.js.map +7 -1
  253. package/manifest/vaults.json +22 -395
  254. package/package.json +43 -9
  255. package/src/api/client.ts +69 -5
  256. package/src/api/generated.ts +570 -7
  257. package/src/api/index.ts +8 -0
  258. package/src/client.ts +4 -1
  259. package/src/constants.ts +2 -0
  260. package/src/errors.ts +7 -0
  261. package/src/evm/adapters/aera.ts +14 -11
  262. package/src/evm/adapters/types.ts +2 -0
  263. package/src/evm/aeraContracts/v2.ts +124 -16
  264. package/src/evm/deposit.ts +19 -7
  265. package/src/evm/depositQuote.ts +137 -0
  266. package/src/evm/index.ts +10 -1
  267. package/src/evm/userCurrentBalance.ts +12 -1
  268. package/src/evm/vaults.ts +0 -7
  269. package/src/evm/withdrawQuote.ts +125 -51
  270. package/src/index.ts +11 -2
  271. package/dist/api/activity.js +0 -154
  272. package/dist/api/activity.js.map +0 -1
  273. package/dist/api/caip.js +0 -38
  274. package/dist/api/caip.js.map +0 -1
  275. package/dist/api/client.js +0 -119
  276. package/dist/api/client.js.map +0 -1
  277. package/dist/api/decimal.js +0 -44
  278. package/dist/api/decimal.js.map +0 -1
  279. package/dist/api/errors.js +0 -41
  280. package/dist/api/errors.js.map +0 -1
  281. package/dist/api/generated.js +0 -6
  282. package/dist/api/generated.js.map +0 -1
  283. package/dist/api/http.js +0 -39
  284. package/dist/api/http.js.map +0 -1
  285. package/dist/api/positionHistory.js +0 -126
  286. package/dist/api/positionHistory.js.map +0 -1
  287. package/dist/attribution/erc8021.js +0 -17
  288. package/dist/attribution/erc8021.js.map +0 -1
  289. package/dist/attribution/index.js +0 -45
  290. package/dist/attribution/index.js.map +0 -1
  291. package/dist/client.js +0 -72
  292. package/dist/client.js.map +0 -1
  293. package/dist/constants.js +0 -28
  294. package/dist/constants.js.map +0 -1
  295. package/dist/errors.js +0 -134
  296. package/dist/errors.js.map +0 -1
  297. package/dist/evm/abis/erc20.js +0 -30
  298. package/dist/evm/abis/erc20.js.map +0 -1
  299. package/dist/evm/abis/erc4626.js +0 -70
  300. package/dist/evm/abis/erc4626.js.map +0 -1
  301. package/dist/evm/abis/multiDepositorVault.js +0 -587
  302. package/dist/evm/abis/multiDepositorVault.js.map +0 -1
  303. package/dist/evm/abis/priceAndFeeCalculator.js +0 -490
  304. package/dist/evm/abis/priceAndFeeCalculator.js.map +0 -1
  305. package/dist/evm/abis/priceAndFeeCalculatorV2.js +0 -141
  306. package/dist/evm/abis/priceAndFeeCalculatorV2.js.map +0 -1
  307. package/dist/evm/abis/provisioner.js +0 -2768
  308. package/dist/evm/abis/provisioner.js.map +0 -1
  309. package/dist/evm/abis/provisionerV2.js +0 -295
  310. package/dist/evm/abis/provisionerV2.js.map +0 -1
  311. package/dist/evm/adapters/aera.js +0 -280
  312. package/dist/evm/adapters/aera.js.map +0 -1
  313. package/dist/evm/adapters/index.js +0 -14
  314. package/dist/evm/adapters/index.js.map +0 -1
  315. package/dist/evm/adapters/morpho.js +0 -79
  316. package/dist/evm/adapters/morpho.js.map +0 -1
  317. package/dist/evm/adapters/types.js +0 -2
  318. package/dist/evm/adapters/types.js.map +0 -1
  319. package/dist/evm/aeraContracts/priceAndFeeCalculator.js +0 -174
  320. package/dist/evm/aeraContracts/priceAndFeeCalculator.js.map +0 -1
  321. package/dist/evm/aeraContracts/readOptions.js +0 -4
  322. package/dist/evm/aeraContracts/readOptions.js.map +0 -1
  323. package/dist/evm/aeraContracts/v1.js +0 -59
  324. package/dist/evm/aeraContracts/v1.js.map +0 -1
  325. package/dist/evm/aeraContracts/v2.js +0 -273
  326. package/dist/evm/aeraContracts/v2.js.map +0 -1
  327. package/dist/evm/aeraContracts.js +0 -195
  328. package/dist/evm/aeraContracts.js.map +0 -1
  329. package/dist/evm/deposit.js +0 -109
  330. package/dist/evm/deposit.js.map +0 -1
  331. package/dist/evm/depositReceiverApproval.js +0 -32
  332. package/dist/evm/depositReceiverApproval.js.map +0 -1
  333. package/dist/evm/operationMode.js +0 -41
  334. package/dist/evm/operationMode.js.map +0 -1
  335. package/dist/evm/tokenModes.js +0 -34
  336. package/dist/evm/tokenModes.js.map +0 -1
  337. package/dist/evm/types.js +0 -5
  338. package/dist/evm/types.js.map +0 -1
  339. package/dist/evm/userCurrentBalance.js +0 -211
  340. package/dist/evm/userCurrentBalance.js.map +0 -1
  341. package/dist/evm/vaults.js +0 -75
  342. package/dist/evm/vaults.js.map +0 -1
  343. package/dist/evm/withdraw.js +0 -177
  344. package/dist/evm/withdraw.js.map +0 -1
  345. package/dist/evm/withdrawQuote.js +0 -164
  346. package/dist/evm/withdrawQuote.js.map +0 -1
@@ -112,7 +112,7 @@ export interface paths {
112
112
  };
113
113
  /**
114
114
  * Get live aggregate TVL
115
- * @description Returns live aggregate Gauntlet TVL composed from indexed Gaia vault data and configured external TVL sources. Source totals are always returned; pass `?include_breakdown=true` for chain and external-source explainability rows.
115
+ * @description Returns live aggregate Gauntlet TVL composed from indexed Gaia vault data and configured external TVL sources. `totals` always carries three coarse tranches: `vault_curation` (indexed non-Aera vaults, Symbiotic and Solana), `aera_v2` and `aera` (Aera V3). The `vault_curation` row spans several protocols. The Aera generations are separate product lines, not part of `vault_curation`. Pass `?mode=chain` for one `breakdown` row per chain, `?mode=protocol` for rows that map to Aera, Morpho V1, Morpho V2, Lista, Kamino and curated Symbiotic TVL, or `?mode=strategy` for one row per curated strategy from the admin registry, with indexed vaults no strategy claims under `uncategorized`. Protocol mode combines Aera V2 and V3 as `aera` and names the Solana source `kamino`. Symbiotic reads onchain `activeStake()`. Other modes keep these sources separate. The rows always sum to the headline total. Without `mode` no `breakdown` is returned.
116
116
  */
117
117
  get: operations["get_tvl"];
118
118
  put?: never;
@@ -123,6 +123,30 @@ export interface paths {
123
123
  patch?: never;
124
124
  trace?: never;
125
125
  };
126
+ "/v1/tvl/timeseries": {
127
+ parameters: {
128
+ query?: never;
129
+ header?: never;
130
+ path?: never;
131
+ cookie?: never;
132
+ };
133
+ /**
134
+ * Get the daily aggregate TVL timeseries
135
+ * @description Returns a fixed trailing 3-month daily series of aggregate Gauntlet TVL. Without `mode` each point's `sources` carry the same three coarse tranches the live `/v1/tvl` totals report: `vault_curation` (indexed non-Aera vaults, Symbiotic and Solana), `aera_v2` and `aera` (Aera V3). Pass `?mode=strategy` for a per-point `sources` breakdown with one entry per curated strategy (`prime_lending`, `balanced_lending`, `frontier_lending`, …), or `?mode=chain` for one entry per chain, or `?mode=protocol` for one entry per tracked vault protocol; indexed vaults that no curated strategy claims roll up under `uncategorized`. Protocol mode combines Aera V2 and V3 as `aera` and names the Solana source `kamino`. Other modes keep `aera` (Aera V3), `aera_v2`, `solana` and `symbiotic` as separate rows. The last three come from the `tvl_history` table. The hourly TVL job writes them. Symbiotic history starts with the first recorded snapshot. The rest is derived at read time from indexed Envio vault history plus historical USD pricing. Every point carries the same source ids in the same order, and they sum to that point's total, which does not depend on `mode`. A day with no data for a source contributes 0 to that day's total rather than carrying the last known value forward.
136
+ *
137
+ * Served from a cached snapshot that is refreshed off the request path, so no caller pays for a recompute. `meta.data_as_of` is set when the snapshot is past its refresh window and a refresh is running behind the response; it is absent when the series is current.
138
+ *
139
+ * A numeraire token with no USD price for part of the window is named in `meta.partial_errors`, and the balances it backs are excluded from the totals on those days. `TOKEN_PRICE_UNAVAILABLE` is a gap that should close, so it is retried on the next read; `TOKEN_PRICE_UNAVAILABLE_ACCEPTED` is one that cannot, with the reason in its message. Both mean the totals are short by that token; only the first is worth alerting on.
140
+ */
141
+ get: operations["get_tvl_timeseries"];
142
+ put?: never;
143
+ post?: never;
144
+ delete?: never;
145
+ options?: never;
146
+ head?: never;
147
+ patch?: never;
148
+ trace?: never;
149
+ };
126
150
  "/v1/users/{wallet_address}/activity": {
127
151
  parameters: {
128
152
  query?: never;
@@ -255,6 +279,26 @@ export interface paths {
255
279
  patch?: never;
256
280
  trace?: never;
257
281
  };
282
+ "/v1/vaults/{vault_id}/allocations": {
283
+ parameters: {
284
+ query?: never;
285
+ header?: never;
286
+ path?: never;
287
+ cookie?: never;
288
+ };
289
+ /**
290
+ * Get current vault allocations
291
+ * @description Returns current allocations through a Gaia-owned, source-independent contract. Aera API is the initial source, but its metric-group schema is normalized into flat allocation values with discriminated targets. Use `/{vault_id}` or `/{vault_id}/timeseries` for vault-level metrics.
292
+ */
293
+ get: operations["get_vault_allocations"];
294
+ put?: never;
295
+ post?: never;
296
+ delete?: never;
297
+ options?: never;
298
+ head?: never;
299
+ patch?: never;
300
+ trace?: never;
301
+ };
258
302
  "/v1/vaults/{vault_id}/definition": {
259
303
  parameters: {
260
304
  query?: never;
@@ -315,10 +359,106 @@ export interface paths {
315
359
  patch?: never;
316
360
  trace?: never;
317
361
  };
362
+ "/v1/vaults/slug/{slug}": {
363
+ parameters: {
364
+ query?: never;
365
+ header?: never;
366
+ path?: never;
367
+ cookie?: never;
368
+ };
369
+ /**
370
+ * Get vault deployments by slug
371
+ * @description Returns every indexed deployment associated with one exact Admin vault slug. The lookup serves visible and hidden enabled vaults without making hidden vaults enumerable; disabled and unknown slugs return 404. Each item has the same shape as an item from `GET /v1/vaults`.
372
+ */
373
+ get: operations["get_vaults_by_slug"];
374
+ put?: never;
375
+ post?: never;
376
+ delete?: never;
377
+ options?: never;
378
+ head?: never;
379
+ patch?: never;
380
+ trace?: never;
381
+ };
382
+ "/v1/vaults/slug/{slug}/primary/timeseries": {
383
+ parameters: {
384
+ query?: never;
385
+ header?: never;
386
+ path?: never;
387
+ cookie?: never;
388
+ };
389
+ /**
390
+ * Get primary deployment timeseries by vault slug
391
+ * @description Returns historical metric data for the Admin-selected primary deployment of an enabled logical vault. `meta.resolved_vault_id` identifies the concrete deployment. The response and query parameters are otherwise identical to `/{vault_id}/timeseries`; use this route when callers know the stable public vault slug but should not depend on its current chain or address.
392
+ */
393
+ get: operations["get_primary_vault_timeseries_by_slug"];
394
+ put?: never;
395
+ post?: never;
396
+ delete?: never;
397
+ options?: never;
398
+ head?: never;
399
+ patch?: never;
400
+ trace?: never;
401
+ };
402
+ "/v1/vaults/slug/{slug}/timeseries": {
403
+ parameters: {
404
+ query?: never;
405
+ header?: never;
406
+ path?: never;
407
+ cookie?: never;
408
+ };
409
+ /**
410
+ * Get vault history by slug
411
+ * @description Returns USD TVL and outstanding share supply summed across every currently linked deployment of an enabled logical vault, including hidden vaults. Uses UTC-aligned snapshots and timestamp pagination. A deployment contributes zero before its indexed creation time; after creation, missing snapshots or USD prices produce null TVL, never a partial sum. Does not carry values forward. Missing supply or a missing snapshot after deployment creation produces null total_supply, independent of USD price availability. APY and unit_price come from the Admin-selected primary deployment at the same timestamp, identified by meta.resolved_vault_id. Missing primary snapshots yield null primary metrics; APY respects Admin visibility. TVL is USD-only because deployment numeraires may differ; native TVL remains available on the primary/per-deployment endpoints. This is a sum of deployment TVLs, not the legacy asset-position valuation. Unknown or disabled slugs return 404; incomplete deployment metadata returns 503.
412
+ */
413
+ get: operations["get_vault_timeseries_by_slug"];
414
+ put?: never;
415
+ post?: never;
416
+ delete?: never;
417
+ options?: never;
418
+ head?: never;
419
+ patch?: never;
420
+ trace?: never;
421
+ };
318
422
  }
319
423
  export type webhooks = Record<string, never>;
320
424
  export interface components {
321
425
  schemas: {
426
+ Allocation: {
427
+ /**
428
+ * Format: double
429
+ * @description Fraction of the parent vault allocated to this target (1.0 = 100%).
430
+ */
431
+ allocation?: number | null;
432
+ /** Format: double */
433
+ amount?: number | null;
434
+ /** Format: double */
435
+ amount_usd?: number | null;
436
+ /** @description Source-independent category used by consumers to select allocation sections. */
437
+ category: string;
438
+ target: components["schemas"]["AllocationTarget"];
439
+ };
440
+ AllocationFlow: {
441
+ kind: components["schemas"]["AllocationFlowKind"];
442
+ target_vault_address: string;
443
+ };
444
+ /** @enum {string} */
445
+ AllocationFlowKind: "pending_deposit" | "pending_redemption";
446
+ AllocationProtocol: {
447
+ id: string;
448
+ name: string;
449
+ };
450
+ AllocationTarget: {
451
+ address: string;
452
+ /** Format: int64 */
453
+ chain_id: number;
454
+ flow?: null | components["schemas"]["AllocationFlow"];
455
+ /** @enum {string} */
456
+ kind: "asset";
457
+ name?: string | null;
458
+ protocol?: null | components["schemas"]["AllocationProtocol"];
459
+ strategy_type: string;
460
+ symbol: string;
461
+ };
322
462
  /**
323
463
  * @description Decimal-string metric paired across native (numeraire-token) and USD.
324
464
  * `native` is always present; `usd` is JSON null when pricing is unavailable.
@@ -375,7 +515,8 @@ export interface components {
375
515
  /**
376
516
  * Format: double
377
517
  * @description Highest 7-day APY across the vault's deployments, fraction
378
- * (0.0573 = 5.73%). `null` while every window is warming up.
518
+ * (0.0573 = 5.73%). `null` while every window is warming up or APY
519
+ * display is disabled for this vault.
379
520
  */
380
521
  apy_7d_max?: number | null;
381
522
  /**
@@ -515,6 +656,20 @@ export interface components {
515
656
  /** Format: double */
516
657
  usd: number;
517
658
  };
659
+ /**
660
+ * @description Deployment-local metrics. Null when the primary has no snapshot at this
661
+ * timestamp; APY also respects the Admin visibility setting.
662
+ */
663
+ PrimaryVaultTimeseriesMetrics: {
664
+ /** Format: double */
665
+ apy_7d?: number | null;
666
+ /** Format: double */
667
+ apy_30d?: number | null;
668
+ /** Format: double */
669
+ apy_90d?: number | null;
670
+ /** @description Numeraire-token units per share on the primary deployment. */
671
+ unit_price?: string | null;
672
+ };
518
673
  /**
519
674
  * @description JSON-number ratio paired across native (in-kind) and USD denominations.
520
675
  * Null when event history is unavailable or cannot support ROI replay.
@@ -530,7 +685,8 @@ export interface components {
530
685
  * Format: double
531
686
  * @description Highest 7-day APY across the strategy's vaults ("APY Up To"),
532
687
  * fraction (0.0953 = 9.53%). `null` while every vault's window is
533
- * still warming up.
688
+ * still warming up. Vaults with APY display disabled do not
689
+ * contribute to this aggregate.
534
690
  */
535
691
  apy_7d_max?: number | null;
536
692
  /**
@@ -611,6 +767,12 @@ export interface components {
611
767
  /** Format: date-time */
612
768
  refreshed_at: string;
613
769
  request_id: string;
770
+ /**
771
+ * @description Primary deployment selected for deployment-local metrics by a slug
772
+ * route. The aggregate slug route still sums TVL and supply across deployments.
773
+ * Omitted when the deployment is already identified in the request path.
774
+ */
775
+ resolved_vault_id?: string | null;
614
776
  /**
615
777
  * Format: date-time
616
778
  * @description Window bounds the response covers (echoes the request when set).
@@ -641,6 +803,12 @@ export interface components {
641
803
  /** Format: date-time */
642
804
  updated_at: string;
643
805
  };
806
+ /**
807
+ * @description Which partition of indexed vault TVL the caller asked for. Absent
808
+ * from a request means the headline figures only, with no breakdown.
809
+ * @enum {string}
810
+ */
811
+ TvlBreakdownMode: "chain" | "strategy" | "protocol";
644
812
  TvlResponse: {
645
813
  data: components["schemas"]["TvlSummary"];
646
814
  meta: components["schemas"]["BasicMeta"];
@@ -652,6 +820,33 @@ export interface components {
652
820
  /** Format: date-time */
653
821
  updated_at: string;
654
822
  };
823
+ TvlTimeseriesPoint: {
824
+ /**
825
+ * @description The day's breakdown. `?mode=` picks how it is partitioned; the
826
+ * total above never depends on that choice.
827
+ */
828
+ sources: components["schemas"]["TvlTimeseriesSourceAmount"][];
829
+ /** Format: date-time */
830
+ timestamp: string;
831
+ tvl: components["schemas"]["TvlAmount"];
832
+ };
833
+ TvlTimeseriesResponse: {
834
+ data: components["schemas"]["TvlTimeseriesPoint"][];
835
+ meta: components["schemas"]["WindowMeta"];
836
+ };
837
+ /**
838
+ * @description One series of the day's breakdown. `id` is a curated strategy id
839
+ * (`prime_lending`, `balanced_lending`, `frontier_lending`, …) in
840
+ * `mode=strategy`, an admin chain slug (`ethereum`, `base`, …) in
841
+ * `mode=chain`, or one of the reserved ids `aera`, `aera_v2`,
842
+ * `solana`, `uncategorized`. Every point carries the same ids in the
843
+ * same order, and they sum to the point's `tvl`.
844
+ */
845
+ TvlTimeseriesSourceAmount: {
846
+ id: string;
847
+ label: string;
848
+ tvl: components["schemas"]["TvlAmount"];
849
+ };
655
850
  TvlTotal: {
656
851
  id: string;
657
852
  label: string;
@@ -805,6 +1000,16 @@ export interface components {
805
1000
  data: components["schemas"]["PositionTimeseriesPoint"][];
806
1001
  meta: components["schemas"]["TimeseriesMeta"];
807
1002
  };
1003
+ VaultAllocations: {
1004
+ allocations: components["schemas"]["Allocation"][];
1005
+ /** Format: date-time */
1006
+ as_of?: string | null;
1007
+ vault_id: string;
1008
+ };
1009
+ VaultAllocationsResponse: {
1010
+ data: components["schemas"]["VaultAllocations"];
1011
+ meta: components["schemas"]["BasicMeta"];
1012
+ };
808
1013
  VaultDetail: {
809
1014
  address: string;
810
1015
  /** Format: int64 */
@@ -814,6 +1019,12 @@ export interface components {
814
1019
  name: string;
815
1020
  numeraire_token: components["schemas"]["TokenRef"];
816
1021
  strategy?: null | components["schemas"]["StrategyRef"];
1022
+ /**
1023
+ * @description CAIP id of the vault that replaces this one on the same chain
1024
+ * (Morpho V1 to V2 today); `null` when there is no visible
1025
+ * successor. Consumers use it to point holders at the new vault.
1026
+ */
1027
+ successor_vault_id?: string | null;
817
1028
  symbol: string;
818
1029
  vault_id: string;
819
1030
  vault_type: string;
@@ -837,6 +1048,24 @@ export interface components {
837
1048
  /** @description Unique, curator-managed public route (`stgusda`). */
838
1049
  slug: string;
839
1050
  };
1051
+ VaultGroupTimeseriesPoint: components["schemas"]["PrimaryVaultTimeseriesMetrics"] & {
1052
+ /** Format: date-time */
1053
+ timestamp: string;
1054
+ /**
1055
+ * @description Outstanding shares summed across linked deployments. Null if an existing
1056
+ * deployment has a missing snapshot or supply; independent of USD pricing.
1057
+ */
1058
+ total_supply?: string | null;
1059
+ /**
1060
+ * @description Sum across all linked deployments. Null if an existing deployment
1061
+ * has a missing snapshot or USD price; never a partial sum.
1062
+ */
1063
+ tvl: components["schemas"]["CuratedTvl"];
1064
+ };
1065
+ VaultGroupTimeseriesResponse: {
1066
+ data: components["schemas"]["VaultGroupTimeseriesPoint"][];
1067
+ meta: components["schemas"]["TimeseriesMeta"];
1068
+ };
840
1069
  VaultListResponse: {
841
1070
  data: components["schemas"]["VaultDetail"][];
842
1071
  meta: components["schemas"]["ListMeta"];
@@ -871,6 +1100,39 @@ export interface components {
871
1100
  data: components["schemas"]["VaultTimeseriesPoint"][];
872
1101
  meta: components["schemas"]["TimeseriesMeta"];
873
1102
  };
1103
+ /**
1104
+ * @description Doc type for a windowed timeseries served as one fixed grid: every
1105
+ * point in the window, so there is no page cap and no cursor. Split
1106
+ * from [`TimeseriesMeta`], whose required `limit` those handlers leave
1107
+ * `None`. That would put a never-populated required field in the
1108
+ * generated SDK types.
1109
+ */
1110
+ WindowMeta: {
1111
+ /**
1112
+ * Format: int64
1113
+ * @description Number of points in this response.
1114
+ */
1115
+ count: number;
1116
+ /**
1117
+ * Format: date-time
1118
+ * @description When the served data was computed, on endpoints that serve a
1119
+ * cached snapshot past its refresh window while a refresh runs
1120
+ * behind the response. Absent means the data is current.
1121
+ */
1122
+ data_as_of?: string | null;
1123
+ /** Format: date-time */
1124
+ end: string;
1125
+ /** @description Item-scoped failures isolated from an aggregate response. */
1126
+ partial_errors?: components["schemas"]["PartialResponseError"][] | null;
1127
+ /** Format: date-time */
1128
+ refreshed_at: string;
1129
+ request_id: string;
1130
+ /**
1131
+ * Format: date-time
1132
+ * @description Window bounds the response covers.
1133
+ */
1134
+ start: string;
1135
+ };
874
1136
  };
875
1137
  responses: never;
876
1138
  parameters: never;
@@ -1036,10 +1298,8 @@ export interface operations {
1036
1298
  get_tvl: {
1037
1299
  parameters: {
1038
1300
  query?: {
1039
- /** @description Include chain and external-source TVL breakdown rows. */
1040
- include_breakdown?: boolean;
1041
- /** @description Deprecated alias for include_breakdown. */
1042
- include_sources?: boolean;
1301
+ /** @description Breakdown to return: `chain`, `protocol` or `strategy`. Omit for the headline figures only. */
1302
+ mode?: components["schemas"]["TvlBreakdownMode"];
1043
1303
  };
1044
1304
  header?: never;
1045
1305
  path?: never;
@@ -1076,6 +1336,47 @@ export interface operations {
1076
1336
  };
1077
1337
  };
1078
1338
  };
1339
+ get_tvl_timeseries: {
1340
+ parameters: {
1341
+ query?: {
1342
+ /** @description Per-point breakdown to return: `chain`, `protocol` or `strategy`. Omit for the daily total only. */
1343
+ mode?: components["schemas"]["TvlBreakdownMode"];
1344
+ };
1345
+ header?: never;
1346
+ path?: never;
1347
+ cookie?: never;
1348
+ };
1349
+ requestBody?: never;
1350
+ responses: {
1351
+ /** @description Daily aggregate TVL timeseries */
1352
+ 200: {
1353
+ headers: {
1354
+ [name: string]: unknown;
1355
+ };
1356
+ content: {
1357
+ "application/json": components["schemas"]["TvlTimeseriesResponse"];
1358
+ };
1359
+ };
1360
+ /** @description Missing or invalid auth */
1361
+ 401: {
1362
+ headers: {
1363
+ [name: string]: unknown;
1364
+ };
1365
+ content: {
1366
+ "application/json": components["schemas"]["ErrorResponse"];
1367
+ };
1368
+ };
1369
+ /** @description Data source unavailable */
1370
+ 503: {
1371
+ headers: {
1372
+ [name: string]: unknown;
1373
+ };
1374
+ content: {
1375
+ "application/json": components["schemas"]["ErrorResponse"];
1376
+ };
1377
+ };
1378
+ };
1379
+ };
1079
1380
  get_user_activity: {
1080
1381
  parameters: {
1081
1382
  query?: {
@@ -1361,6 +1662,74 @@ export interface operations {
1361
1662
  };
1362
1663
  };
1363
1664
  };
1665
+ get_vault_allocations: {
1666
+ parameters: {
1667
+ query?: never;
1668
+ header?: never;
1669
+ path: {
1670
+ /** @description Vault identifier (CAIP-10 `chainId:address`) */
1671
+ vault_id: string;
1672
+ };
1673
+ cookie?: never;
1674
+ };
1675
+ requestBody?: never;
1676
+ responses: {
1677
+ /** @description Current vault allocations */
1678
+ 200: {
1679
+ headers: {
1680
+ [name: string]: unknown;
1681
+ };
1682
+ content: {
1683
+ "application/json": components["schemas"]["VaultAllocationsResponse"];
1684
+ };
1685
+ };
1686
+ /** @description Missing or invalid auth */
1687
+ 401: {
1688
+ headers: {
1689
+ [name: string]: unknown;
1690
+ };
1691
+ content: {
1692
+ "application/json": components["schemas"]["ErrorResponse"];
1693
+ };
1694
+ };
1695
+ /** @description Vault not found */
1696
+ 404: {
1697
+ headers: {
1698
+ [name: string]: unknown;
1699
+ };
1700
+ content: {
1701
+ "application/json": components["schemas"]["ErrorResponse"];
1702
+ };
1703
+ };
1704
+ /** @description Invalid vault identifier or non-Aera vault */
1705
+ 422: {
1706
+ headers: {
1707
+ [name: string]: unknown;
1708
+ };
1709
+ content: {
1710
+ "application/json": components["schemas"]["ErrorResponse"];
1711
+ };
1712
+ };
1713
+ /** @description Allocation data source unavailable */
1714
+ 502: {
1715
+ headers: {
1716
+ [name: string]: unknown;
1717
+ };
1718
+ content: {
1719
+ "application/json": components["schemas"]["ErrorResponse"];
1720
+ };
1721
+ };
1722
+ /** @description Vault metadata source unavailable */
1723
+ 503: {
1724
+ headers: {
1725
+ [name: string]: unknown;
1726
+ };
1727
+ content: {
1728
+ "application/json": components["schemas"]["ErrorResponse"];
1729
+ };
1730
+ };
1731
+ };
1732
+ };
1364
1733
  get_vault_definition: {
1365
1734
  parameters: {
1366
1735
  query?: never;
@@ -1501,5 +1870,199 @@ export interface operations {
1501
1870
  };
1502
1871
  };
1503
1872
  };
1873
+ get_vaults_by_slug: {
1874
+ parameters: {
1875
+ query?: never;
1876
+ header?: never;
1877
+ path: {
1878
+ /** @description Admin-curated public vault slug */
1879
+ slug: string;
1880
+ };
1881
+ cookie?: never;
1882
+ };
1883
+ requestBody?: never;
1884
+ responses: {
1885
+ /** @description Deployments for the vault slug */
1886
+ 200: {
1887
+ headers: {
1888
+ [name: string]: unknown;
1889
+ };
1890
+ content: {
1891
+ "application/json": components["schemas"]["VaultListResponse"];
1892
+ };
1893
+ };
1894
+ /** @description Missing or invalid auth */
1895
+ 401: {
1896
+ headers: {
1897
+ [name: string]: unknown;
1898
+ };
1899
+ content: {
1900
+ "application/json": components["schemas"]["ErrorResponse"];
1901
+ };
1902
+ };
1903
+ /** @description Vault slug not found */
1904
+ 404: {
1905
+ headers: {
1906
+ [name: string]: unknown;
1907
+ };
1908
+ content: {
1909
+ "application/json": components["schemas"]["ErrorResponse"];
1910
+ };
1911
+ };
1912
+ /** @description Data source unavailable */
1913
+ 503: {
1914
+ headers: {
1915
+ [name: string]: unknown;
1916
+ };
1917
+ content: {
1918
+ "application/json": components["schemas"]["ErrorResponse"];
1919
+ };
1920
+ };
1921
+ };
1922
+ };
1923
+ get_primary_vault_timeseries_by_slug: {
1924
+ parameters: {
1925
+ query?: {
1926
+ /** @description Window end: ISO 8601 date or RFC 3339 timestamp. */
1927
+ end?: string;
1928
+ /** @description Sampling granularity: `day` (default), `hour`, `week`, or `month`. */
1929
+ granularity?: string;
1930
+ /** @description Page size (1–10000, default 1000). */
1931
+ limit?: number;
1932
+ /** @description Opaque cursor from previous `meta.next_cursor`. */
1933
+ next?: string;
1934
+ /** @description Sort direction: `asc` (default) or `desc`. */
1935
+ order?: string;
1936
+ /** @description Window start: ISO 8601 date or RFC 3339 timestamp. */
1937
+ start?: string;
1938
+ };
1939
+ header?: never;
1940
+ path: {
1941
+ /** @description Admin-curated public vault slug */
1942
+ slug: string;
1943
+ };
1944
+ cookie?: never;
1945
+ };
1946
+ requestBody?: never;
1947
+ responses: {
1948
+ /** @description Primary deployment timeseries data points */
1949
+ 200: {
1950
+ headers: {
1951
+ [name: string]: unknown;
1952
+ };
1953
+ content: {
1954
+ "application/json": components["schemas"]["VaultTimeseriesResponse"];
1955
+ };
1956
+ };
1957
+ /** @description Missing or invalid auth */
1958
+ 401: {
1959
+ headers: {
1960
+ [name: string]: unknown;
1961
+ };
1962
+ content: {
1963
+ "application/json": components["schemas"]["ErrorResponse"];
1964
+ };
1965
+ };
1966
+ /** @description Vault slug not found */
1967
+ 404: {
1968
+ headers: {
1969
+ [name: string]: unknown;
1970
+ };
1971
+ content: {
1972
+ "application/json": components["schemas"]["ErrorResponse"];
1973
+ };
1974
+ };
1975
+ /** @description Invalid parameters */
1976
+ 422: {
1977
+ headers: {
1978
+ [name: string]: unknown;
1979
+ };
1980
+ content: {
1981
+ "application/json": components["schemas"]["ErrorResponse"];
1982
+ };
1983
+ };
1984
+ /** @description Data source or vault curation unavailable */
1985
+ 503: {
1986
+ headers: {
1987
+ [name: string]: unknown;
1988
+ };
1989
+ content: {
1990
+ "application/json": components["schemas"]["ErrorResponse"];
1991
+ };
1992
+ };
1993
+ };
1994
+ };
1995
+ get_vault_timeseries_by_slug: {
1996
+ parameters: {
1997
+ query?: {
1998
+ /** @description Window end: ISO 8601 date or RFC 3339 timestamp. */
1999
+ end?: string;
2000
+ /** @description Sampling granularity: `day` (default), `hour`, `week`, or `month`. */
2001
+ granularity?: string;
2002
+ /** @description Page size (1–10000, default 1000). */
2003
+ limit?: number;
2004
+ /** @description Opaque cursor from previous `meta.next_cursor`. */
2005
+ next?: string;
2006
+ /** @description Sort direction: `asc` (default) or `desc`. */
2007
+ order?: string;
2008
+ /** @description Window start: ISO 8601 date or RFC 3339 timestamp. */
2009
+ start?: string;
2010
+ };
2011
+ header?: never;
2012
+ path: {
2013
+ /** @description Admin-curated public vault slug */
2014
+ slug: string;
2015
+ };
2016
+ cookie?: never;
2017
+ };
2018
+ requestBody?: never;
2019
+ responses: {
2020
+ /** @description Aggregate USD TVL and share supply with primary deployment metrics */
2021
+ 200: {
2022
+ headers: {
2023
+ [name: string]: unknown;
2024
+ };
2025
+ content: {
2026
+ "application/json": components["schemas"]["VaultGroupTimeseriesResponse"];
2027
+ };
2028
+ };
2029
+ /** @description Missing or invalid auth */
2030
+ 401: {
2031
+ headers: {
2032
+ [name: string]: unknown;
2033
+ };
2034
+ content: {
2035
+ "application/json": components["schemas"]["ErrorResponse"];
2036
+ };
2037
+ };
2038
+ /** @description Vault slug not found */
2039
+ 404: {
2040
+ headers: {
2041
+ [name: string]: unknown;
2042
+ };
2043
+ content: {
2044
+ "application/json": components["schemas"]["ErrorResponse"];
2045
+ };
2046
+ };
2047
+ /** @description Invalid parameters */
2048
+ 422: {
2049
+ headers: {
2050
+ [name: string]: unknown;
2051
+ };
2052
+ content: {
2053
+ "application/json": components["schemas"]["ErrorResponse"];
2054
+ };
2055
+ };
2056
+ /** @description Data source or vault curation unavailable */
2057
+ 503: {
2058
+ headers: {
2059
+ [name: string]: unknown;
2060
+ };
2061
+ content: {
2062
+ "application/json": components["schemas"]["ErrorResponse"];
2063
+ };
2064
+ };
2065
+ };
2066
+ };
1504
2067
  }
1505
2068
  //# sourceMappingURL=generated.d.ts.map