@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
@@ -113,7 +113,7 @@ export interface paths {
113
113
  };
114
114
  /**
115
115
  * Get live aggregate TVL
116
- * @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.
116
+ * @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.
117
117
  */
118
118
  get: operations["get_tvl"];
119
119
  put?: never;
@@ -124,6 +124,30 @@ export interface paths {
124
124
  patch?: never;
125
125
  trace?: never;
126
126
  };
127
+ "/v1/tvl/timeseries": {
128
+ parameters: {
129
+ query?: never;
130
+ header?: never;
131
+ path?: never;
132
+ cookie?: never;
133
+ };
134
+ /**
135
+ * Get the daily aggregate TVL timeseries
136
+ * @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.
137
+ *
138
+ * 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.
139
+ *
140
+ * 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.
141
+ */
142
+ get: operations["get_tvl_timeseries"];
143
+ put?: never;
144
+ post?: never;
145
+ delete?: never;
146
+ options?: never;
147
+ head?: never;
148
+ patch?: never;
149
+ trace?: never;
150
+ };
127
151
  "/v1/users/{wallet_address}/activity": {
128
152
  parameters: {
129
153
  query?: never;
@@ -256,6 +280,26 @@ export interface paths {
256
280
  patch?: never;
257
281
  trace?: never;
258
282
  };
283
+ "/v1/vaults/{vault_id}/allocations": {
284
+ parameters: {
285
+ query?: never;
286
+ header?: never;
287
+ path?: never;
288
+ cookie?: never;
289
+ };
290
+ /**
291
+ * Get current vault allocations
292
+ * @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.
293
+ */
294
+ get: operations["get_vault_allocations"];
295
+ put?: never;
296
+ post?: never;
297
+ delete?: never;
298
+ options?: never;
299
+ head?: never;
300
+ patch?: never;
301
+ trace?: never;
302
+ };
259
303
  "/v1/vaults/{vault_id}/definition": {
260
304
  parameters: {
261
305
  query?: never;
@@ -316,10 +360,106 @@ export interface paths {
316
360
  patch?: never;
317
361
  trace?: never;
318
362
  };
363
+ "/v1/vaults/slug/{slug}": {
364
+ parameters: {
365
+ query?: never;
366
+ header?: never;
367
+ path?: never;
368
+ cookie?: never;
369
+ };
370
+ /**
371
+ * Get vault deployments by slug
372
+ * @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`.
373
+ */
374
+ get: operations["get_vaults_by_slug"];
375
+ put?: never;
376
+ post?: never;
377
+ delete?: never;
378
+ options?: never;
379
+ head?: never;
380
+ patch?: never;
381
+ trace?: never;
382
+ };
383
+ "/v1/vaults/slug/{slug}/primary/timeseries": {
384
+ parameters: {
385
+ query?: never;
386
+ header?: never;
387
+ path?: never;
388
+ cookie?: never;
389
+ };
390
+ /**
391
+ * Get primary deployment timeseries by vault slug
392
+ * @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.
393
+ */
394
+ get: operations["get_primary_vault_timeseries_by_slug"];
395
+ put?: never;
396
+ post?: never;
397
+ delete?: never;
398
+ options?: never;
399
+ head?: never;
400
+ patch?: never;
401
+ trace?: never;
402
+ };
403
+ "/v1/vaults/slug/{slug}/timeseries": {
404
+ parameters: {
405
+ query?: never;
406
+ header?: never;
407
+ path?: never;
408
+ cookie?: never;
409
+ };
410
+ /**
411
+ * Get vault history by slug
412
+ * @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.
413
+ */
414
+ get: operations["get_vault_timeseries_by_slug"];
415
+ put?: never;
416
+ post?: never;
417
+ delete?: never;
418
+ options?: never;
419
+ head?: never;
420
+ patch?: never;
421
+ trace?: never;
422
+ };
319
423
  }
320
424
  export type webhooks = Record<string, never>;
321
425
  export interface components {
322
426
  schemas: {
427
+ Allocation: {
428
+ /**
429
+ * Format: double
430
+ * @description Fraction of the parent vault allocated to this target (1.0 = 100%).
431
+ */
432
+ allocation?: number | null;
433
+ /** Format: double */
434
+ amount?: number | null;
435
+ /** Format: double */
436
+ amount_usd?: number | null;
437
+ /** @description Source-independent category used by consumers to select allocation sections. */
438
+ category: string;
439
+ target: components["schemas"]["AllocationTarget"];
440
+ };
441
+ AllocationFlow: {
442
+ kind: components["schemas"]["AllocationFlowKind"];
443
+ target_vault_address: string;
444
+ };
445
+ /** @enum {string} */
446
+ AllocationFlowKind: "pending_deposit" | "pending_redemption";
447
+ AllocationProtocol: {
448
+ id: string;
449
+ name: string;
450
+ };
451
+ AllocationTarget: {
452
+ address: string;
453
+ /** Format: int64 */
454
+ chain_id: number;
455
+ flow?: null | components["schemas"]["AllocationFlow"];
456
+ /** @enum {string} */
457
+ kind: "asset";
458
+ name?: string | null;
459
+ protocol?: null | components["schemas"]["AllocationProtocol"];
460
+ strategy_type: string;
461
+ symbol: string;
462
+ };
323
463
  /**
324
464
  * @description Decimal-string metric paired across native (numeraire-token) and USD.
325
465
  * `native` is always present; `usd` is JSON null when pricing is unavailable.
@@ -376,7 +516,8 @@ export interface components {
376
516
  /**
377
517
  * Format: double
378
518
  * @description Highest 7-day APY across the vault's deployments, fraction
379
- * (0.0573 = 5.73%). `null` while every window is warming up.
519
+ * (0.0573 = 5.73%). `null` while every window is warming up or APY
520
+ * display is disabled for this vault.
380
521
  */
381
522
  apy_7d_max?: number | null;
382
523
  /**
@@ -516,6 +657,20 @@ export interface components {
516
657
  /** Format: double */
517
658
  usd: number;
518
659
  };
660
+ /**
661
+ * @description Deployment-local metrics. Null when the primary has no snapshot at this
662
+ * timestamp; APY also respects the Admin visibility setting.
663
+ */
664
+ PrimaryVaultTimeseriesMetrics: {
665
+ /** Format: double */
666
+ apy_7d?: number | null;
667
+ /** Format: double */
668
+ apy_30d?: number | null;
669
+ /** Format: double */
670
+ apy_90d?: number | null;
671
+ /** @description Numeraire-token units per share on the primary deployment. */
672
+ unit_price?: string | null;
673
+ };
519
674
  /**
520
675
  * @description JSON-number ratio paired across native (in-kind) and USD denominations.
521
676
  * Null when event history is unavailable or cannot support ROI replay.
@@ -531,7 +686,8 @@ export interface components {
531
686
  * Format: double
532
687
  * @description Highest 7-day APY across the strategy's vaults ("APY Up To"),
533
688
  * fraction (0.0953 = 9.53%). `null` while every vault's window is
534
- * still warming up.
689
+ * still warming up. Vaults with APY display disabled do not
690
+ * contribute to this aggregate.
535
691
  */
536
692
  apy_7d_max?: number | null;
537
693
  /**
@@ -612,6 +768,12 @@ export interface components {
612
768
  /** Format: date-time */
613
769
  refreshed_at: string;
614
770
  request_id: string;
771
+ /**
772
+ * @description Primary deployment selected for deployment-local metrics by a slug
773
+ * route. The aggregate slug route still sums TVL and supply across deployments.
774
+ * Omitted when the deployment is already identified in the request path.
775
+ */
776
+ resolved_vault_id?: string | null;
615
777
  /**
616
778
  * Format: date-time
617
779
  * @description Window bounds the response covers (echoes the request when set).
@@ -642,6 +804,12 @@ export interface components {
642
804
  /** Format: date-time */
643
805
  updated_at: string;
644
806
  };
807
+ /**
808
+ * @description Which partition of indexed vault TVL the caller asked for. Absent
809
+ * from a request means the headline figures only, with no breakdown.
810
+ * @enum {string}
811
+ */
812
+ TvlBreakdownMode: "chain" | "strategy" | "protocol";
645
813
  TvlResponse: {
646
814
  data: components["schemas"]["TvlSummary"];
647
815
  meta: components["schemas"]["BasicMeta"];
@@ -653,6 +821,33 @@ export interface components {
653
821
  /** Format: date-time */
654
822
  updated_at: string;
655
823
  };
824
+ TvlTimeseriesPoint: {
825
+ /**
826
+ * @description The day's breakdown. `?mode=` picks how it is partitioned; the
827
+ * total above never depends on that choice.
828
+ */
829
+ sources: components["schemas"]["TvlTimeseriesSourceAmount"][];
830
+ /** Format: date-time */
831
+ timestamp: string;
832
+ tvl: components["schemas"]["TvlAmount"];
833
+ };
834
+ TvlTimeseriesResponse: {
835
+ data: components["schemas"]["TvlTimeseriesPoint"][];
836
+ meta: components["schemas"]["WindowMeta"];
837
+ };
838
+ /**
839
+ * @description One series of the day's breakdown. `id` is a curated strategy id
840
+ * (`prime_lending`, `balanced_lending`, `frontier_lending`, …) in
841
+ * `mode=strategy`, an admin chain slug (`ethereum`, `base`, …) in
842
+ * `mode=chain`, or one of the reserved ids `aera`, `aera_v2`,
843
+ * `solana`, `uncategorized`. Every point carries the same ids in the
844
+ * same order, and they sum to the point's `tvl`.
845
+ */
846
+ TvlTimeseriesSourceAmount: {
847
+ id: string;
848
+ label: string;
849
+ tvl: components["schemas"]["TvlAmount"];
850
+ };
656
851
  TvlTotal: {
657
852
  id: string;
658
853
  label: string;
@@ -806,6 +1001,16 @@ export interface components {
806
1001
  data: components["schemas"]["PositionTimeseriesPoint"][];
807
1002
  meta: components["schemas"]["TimeseriesMeta"];
808
1003
  };
1004
+ VaultAllocations: {
1005
+ allocations: components["schemas"]["Allocation"][];
1006
+ /** Format: date-time */
1007
+ as_of?: string | null;
1008
+ vault_id: string;
1009
+ };
1010
+ VaultAllocationsResponse: {
1011
+ data: components["schemas"]["VaultAllocations"];
1012
+ meta: components["schemas"]["BasicMeta"];
1013
+ };
809
1014
  VaultDetail: {
810
1015
  address: string;
811
1016
  /** Format: int64 */
@@ -815,6 +1020,12 @@ export interface components {
815
1020
  name: string;
816
1021
  numeraire_token: components["schemas"]["TokenRef"];
817
1022
  strategy?: null | components["schemas"]["StrategyRef"];
1023
+ /**
1024
+ * @description CAIP id of the vault that replaces this one on the same chain
1025
+ * (Morpho V1 to V2 today); `null` when there is no visible
1026
+ * successor. Consumers use it to point holders at the new vault.
1027
+ */
1028
+ successor_vault_id?: string | null;
818
1029
  symbol: string;
819
1030
  vault_id: string;
820
1031
  vault_type: string;
@@ -838,6 +1049,24 @@ export interface components {
838
1049
  /** @description Unique, curator-managed public route (`stgusda`). */
839
1050
  slug: string;
840
1051
  };
1052
+ VaultGroupTimeseriesPoint: components["schemas"]["PrimaryVaultTimeseriesMetrics"] & {
1053
+ /** Format: date-time */
1054
+ timestamp: string;
1055
+ /**
1056
+ * @description Outstanding shares summed across linked deployments. Null if an existing
1057
+ * deployment has a missing snapshot or supply; independent of USD pricing.
1058
+ */
1059
+ total_supply?: string | null;
1060
+ /**
1061
+ * @description Sum across all linked deployments. Null if an existing deployment
1062
+ * has a missing snapshot or USD price; never a partial sum.
1063
+ */
1064
+ tvl: components["schemas"]["CuratedTvl"];
1065
+ };
1066
+ VaultGroupTimeseriesResponse: {
1067
+ data: components["schemas"]["VaultGroupTimeseriesPoint"][];
1068
+ meta: components["schemas"]["TimeseriesMeta"];
1069
+ };
841
1070
  VaultListResponse: {
842
1071
  data: components["schemas"]["VaultDetail"][];
843
1072
  meta: components["schemas"]["ListMeta"];
@@ -872,6 +1101,39 @@ export interface components {
872
1101
  data: components["schemas"]["VaultTimeseriesPoint"][];
873
1102
  meta: components["schemas"]["TimeseriesMeta"];
874
1103
  };
1104
+ /**
1105
+ * @description Doc type for a windowed timeseries served as one fixed grid: every
1106
+ * point in the window, so there is no page cap and no cursor. Split
1107
+ * from [`TimeseriesMeta`], whose required `limit` those handlers leave
1108
+ * `None`. That would put a never-populated required field in the
1109
+ * generated SDK types.
1110
+ */
1111
+ WindowMeta: {
1112
+ /**
1113
+ * Format: int64
1114
+ * @description Number of points in this response.
1115
+ */
1116
+ count: number;
1117
+ /**
1118
+ * Format: date-time
1119
+ * @description When the served data was computed, on endpoints that serve a
1120
+ * cached snapshot past its refresh window while a refresh runs
1121
+ * behind the response. Absent means the data is current.
1122
+ */
1123
+ data_as_of?: string | null;
1124
+ /** Format: date-time */
1125
+ end: string;
1126
+ /** @description Item-scoped failures isolated from an aggregate response. */
1127
+ partial_errors?: components["schemas"]["PartialResponseError"][] | null;
1128
+ /** Format: date-time */
1129
+ refreshed_at: string;
1130
+ request_id: string;
1131
+ /**
1132
+ * Format: date-time
1133
+ * @description Window bounds the response covers.
1134
+ */
1135
+ start: string;
1136
+ };
875
1137
  };
876
1138
  responses: never;
877
1139
  parameters: never;
@@ -1037,10 +1299,8 @@ export interface operations {
1037
1299
  get_tvl: {
1038
1300
  parameters: {
1039
1301
  query?: {
1040
- /** @description Include chain and external-source TVL breakdown rows. */
1041
- include_breakdown?: boolean;
1042
- /** @description Deprecated alias for include_breakdown. */
1043
- include_sources?: boolean;
1302
+ /** @description Breakdown to return: `chain`, `protocol` or `strategy`. Omit for the headline figures only. */
1303
+ mode?: components["schemas"]["TvlBreakdownMode"];
1044
1304
  };
1045
1305
  header?: never;
1046
1306
  path?: never;
@@ -1077,6 +1337,47 @@ export interface operations {
1077
1337
  };
1078
1338
  };
1079
1339
  };
1340
+ get_tvl_timeseries: {
1341
+ parameters: {
1342
+ query?: {
1343
+ /** @description Per-point breakdown to return: `chain`, `protocol` or `strategy`. Omit for the daily total only. */
1344
+ mode?: components["schemas"]["TvlBreakdownMode"];
1345
+ };
1346
+ header?: never;
1347
+ path?: never;
1348
+ cookie?: never;
1349
+ };
1350
+ requestBody?: never;
1351
+ responses: {
1352
+ /** @description Daily aggregate TVL timeseries */
1353
+ 200: {
1354
+ headers: {
1355
+ [name: string]: unknown;
1356
+ };
1357
+ content: {
1358
+ "application/json": components["schemas"]["TvlTimeseriesResponse"];
1359
+ };
1360
+ };
1361
+ /** @description Missing or invalid auth */
1362
+ 401: {
1363
+ headers: {
1364
+ [name: string]: unknown;
1365
+ };
1366
+ content: {
1367
+ "application/json": components["schemas"]["ErrorResponse"];
1368
+ };
1369
+ };
1370
+ /** @description Data source unavailable */
1371
+ 503: {
1372
+ headers: {
1373
+ [name: string]: unknown;
1374
+ };
1375
+ content: {
1376
+ "application/json": components["schemas"]["ErrorResponse"];
1377
+ };
1378
+ };
1379
+ };
1380
+ };
1080
1381
  get_user_activity: {
1081
1382
  parameters: {
1082
1383
  query?: {
@@ -1362,6 +1663,74 @@ export interface operations {
1362
1663
  };
1363
1664
  };
1364
1665
  };
1666
+ get_vault_allocations: {
1667
+ parameters: {
1668
+ query?: never;
1669
+ header?: never;
1670
+ path: {
1671
+ /** @description Vault identifier (CAIP-10 `chainId:address`) */
1672
+ vault_id: string;
1673
+ };
1674
+ cookie?: never;
1675
+ };
1676
+ requestBody?: never;
1677
+ responses: {
1678
+ /** @description Current vault allocations */
1679
+ 200: {
1680
+ headers: {
1681
+ [name: string]: unknown;
1682
+ };
1683
+ content: {
1684
+ "application/json": components["schemas"]["VaultAllocationsResponse"];
1685
+ };
1686
+ };
1687
+ /** @description Missing or invalid auth */
1688
+ 401: {
1689
+ headers: {
1690
+ [name: string]: unknown;
1691
+ };
1692
+ content: {
1693
+ "application/json": components["schemas"]["ErrorResponse"];
1694
+ };
1695
+ };
1696
+ /** @description Vault not found */
1697
+ 404: {
1698
+ headers: {
1699
+ [name: string]: unknown;
1700
+ };
1701
+ content: {
1702
+ "application/json": components["schemas"]["ErrorResponse"];
1703
+ };
1704
+ };
1705
+ /** @description Invalid vault identifier or non-Aera vault */
1706
+ 422: {
1707
+ headers: {
1708
+ [name: string]: unknown;
1709
+ };
1710
+ content: {
1711
+ "application/json": components["schemas"]["ErrorResponse"];
1712
+ };
1713
+ };
1714
+ /** @description Allocation data source unavailable */
1715
+ 502: {
1716
+ headers: {
1717
+ [name: string]: unknown;
1718
+ };
1719
+ content: {
1720
+ "application/json": components["schemas"]["ErrorResponse"];
1721
+ };
1722
+ };
1723
+ /** @description Vault metadata source unavailable */
1724
+ 503: {
1725
+ headers: {
1726
+ [name: string]: unknown;
1727
+ };
1728
+ content: {
1729
+ "application/json": components["schemas"]["ErrorResponse"];
1730
+ };
1731
+ };
1732
+ };
1733
+ };
1365
1734
  get_vault_definition: {
1366
1735
  parameters: {
1367
1736
  query?: never;
@@ -1502,4 +1871,198 @@ export interface operations {
1502
1871
  };
1503
1872
  };
1504
1873
  };
1874
+ get_vaults_by_slug: {
1875
+ parameters: {
1876
+ query?: never;
1877
+ header?: never;
1878
+ path: {
1879
+ /** @description Admin-curated public vault slug */
1880
+ slug: string;
1881
+ };
1882
+ cookie?: never;
1883
+ };
1884
+ requestBody?: never;
1885
+ responses: {
1886
+ /** @description Deployments for the vault slug */
1887
+ 200: {
1888
+ headers: {
1889
+ [name: string]: unknown;
1890
+ };
1891
+ content: {
1892
+ "application/json": components["schemas"]["VaultListResponse"];
1893
+ };
1894
+ };
1895
+ /** @description Missing or invalid auth */
1896
+ 401: {
1897
+ headers: {
1898
+ [name: string]: unknown;
1899
+ };
1900
+ content: {
1901
+ "application/json": components["schemas"]["ErrorResponse"];
1902
+ };
1903
+ };
1904
+ /** @description Vault slug not found */
1905
+ 404: {
1906
+ headers: {
1907
+ [name: string]: unknown;
1908
+ };
1909
+ content: {
1910
+ "application/json": components["schemas"]["ErrorResponse"];
1911
+ };
1912
+ };
1913
+ /** @description Data source unavailable */
1914
+ 503: {
1915
+ headers: {
1916
+ [name: string]: unknown;
1917
+ };
1918
+ content: {
1919
+ "application/json": components["schemas"]["ErrorResponse"];
1920
+ };
1921
+ };
1922
+ };
1923
+ };
1924
+ get_primary_vault_timeseries_by_slug: {
1925
+ parameters: {
1926
+ query?: {
1927
+ /** @description Window end: ISO 8601 date or RFC 3339 timestamp. */
1928
+ end?: string;
1929
+ /** @description Sampling granularity: `day` (default), `hour`, `week`, or `month`. */
1930
+ granularity?: string;
1931
+ /** @description Page size (1–10000, default 1000). */
1932
+ limit?: number;
1933
+ /** @description Opaque cursor from previous `meta.next_cursor`. */
1934
+ next?: string;
1935
+ /** @description Sort direction: `asc` (default) or `desc`. */
1936
+ order?: string;
1937
+ /** @description Window start: ISO 8601 date or RFC 3339 timestamp. */
1938
+ start?: string;
1939
+ };
1940
+ header?: never;
1941
+ path: {
1942
+ /** @description Admin-curated public vault slug */
1943
+ slug: string;
1944
+ };
1945
+ cookie?: never;
1946
+ };
1947
+ requestBody?: never;
1948
+ responses: {
1949
+ /** @description Primary deployment timeseries data points */
1950
+ 200: {
1951
+ headers: {
1952
+ [name: string]: unknown;
1953
+ };
1954
+ content: {
1955
+ "application/json": components["schemas"]["VaultTimeseriesResponse"];
1956
+ };
1957
+ };
1958
+ /** @description Missing or invalid auth */
1959
+ 401: {
1960
+ headers: {
1961
+ [name: string]: unknown;
1962
+ };
1963
+ content: {
1964
+ "application/json": components["schemas"]["ErrorResponse"];
1965
+ };
1966
+ };
1967
+ /** @description Vault slug not found */
1968
+ 404: {
1969
+ headers: {
1970
+ [name: string]: unknown;
1971
+ };
1972
+ content: {
1973
+ "application/json": components["schemas"]["ErrorResponse"];
1974
+ };
1975
+ };
1976
+ /** @description Invalid parameters */
1977
+ 422: {
1978
+ headers: {
1979
+ [name: string]: unknown;
1980
+ };
1981
+ content: {
1982
+ "application/json": components["schemas"]["ErrorResponse"];
1983
+ };
1984
+ };
1985
+ /** @description Data source or vault curation unavailable */
1986
+ 503: {
1987
+ headers: {
1988
+ [name: string]: unknown;
1989
+ };
1990
+ content: {
1991
+ "application/json": components["schemas"]["ErrorResponse"];
1992
+ };
1993
+ };
1994
+ };
1995
+ };
1996
+ get_vault_timeseries_by_slug: {
1997
+ parameters: {
1998
+ query?: {
1999
+ /** @description Window end: ISO 8601 date or RFC 3339 timestamp. */
2000
+ end?: string;
2001
+ /** @description Sampling granularity: `day` (default), `hour`, `week`, or `month`. */
2002
+ granularity?: string;
2003
+ /** @description Page size (1–10000, default 1000). */
2004
+ limit?: number;
2005
+ /** @description Opaque cursor from previous `meta.next_cursor`. */
2006
+ next?: string;
2007
+ /** @description Sort direction: `asc` (default) or `desc`. */
2008
+ order?: string;
2009
+ /** @description Window start: ISO 8601 date or RFC 3339 timestamp. */
2010
+ start?: string;
2011
+ };
2012
+ header?: never;
2013
+ path: {
2014
+ /** @description Admin-curated public vault slug */
2015
+ slug: string;
2016
+ };
2017
+ cookie?: never;
2018
+ };
2019
+ requestBody?: never;
2020
+ responses: {
2021
+ /** @description Aggregate USD TVL and share supply with primary deployment metrics */
2022
+ 200: {
2023
+ headers: {
2024
+ [name: string]: unknown;
2025
+ };
2026
+ content: {
2027
+ "application/json": components["schemas"]["VaultGroupTimeseriesResponse"];
2028
+ };
2029
+ };
2030
+ /** @description Missing or invalid auth */
2031
+ 401: {
2032
+ headers: {
2033
+ [name: string]: unknown;
2034
+ };
2035
+ content: {
2036
+ "application/json": components["schemas"]["ErrorResponse"];
2037
+ };
2038
+ };
2039
+ /** @description Vault slug not found */
2040
+ 404: {
2041
+ headers: {
2042
+ [name: string]: unknown;
2043
+ };
2044
+ content: {
2045
+ "application/json": components["schemas"]["ErrorResponse"];
2046
+ };
2047
+ };
2048
+ /** @description Invalid parameters */
2049
+ 422: {
2050
+ headers: {
2051
+ [name: string]: unknown;
2052
+ };
2053
+ content: {
2054
+ "application/json": components["schemas"]["ErrorResponse"];
2055
+ };
2056
+ };
2057
+ /** @description Data source or vault curation unavailable */
2058
+ 503: {
2059
+ headers: {
2060
+ [name: string]: unknown;
2061
+ };
2062
+ content: {
2063
+ "application/json": components["schemas"]["ErrorResponse"];
2064
+ };
2065
+ };
2066
+ };
2067
+ };
1505
2068
  }