@merkl/api 1.19.27 → 1.20.12

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 (197) hide show
  1. package/dist/src/cache/declaration.d.ts +0 -5
  2. package/dist/src/cache/declaration.js.map +1 -1
  3. package/dist/src/constants.d.ts +2 -0
  4. package/dist/src/constants.js.map +1 -1
  5. package/dist/src/eden/index.d.ts +383 -113
  6. package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +64 -19
  7. package/dist/src/engine/implementations/Erc20/subTypes/implementations/bunni/metadata.js.map +1 -1
  8. package/dist/src/engine/implementations/Erc20/subTypes/implementations/bunni/tvl.js.map +1 -1
  9. package/dist/src/engine/implementations/Erc20/subTypes/implementations/euler/metadata.js.map +1 -1
  10. package/dist/src/engine/implementations/Erc20/subTypes/implementations/eulerEarn/metadata.js.map +1 -1
  11. package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +1 -1
  12. package/dist/src/engine/implementations/EulerBorrowFromCollateral/metadata.js.map +1 -1
  13. package/dist/src/engine/implementations/EulerMultiBorrowFromCollateral/metadata.d.ts +25 -0
  14. package/dist/src/engine/implementations/EulerMultiBorrowFromCollateral/metadata.js.map +1 -0
  15. package/dist/src/engine/implementations/MerklCredit/metadata.d.ts +15 -0
  16. package/dist/src/engine/implementations/MerklCredit/metadata.js.map +1 -0
  17. package/dist/src/engine/implementations/MultiLog/metadata.js.map +1 -1
  18. package/dist/src/engine/implementations/pancakeSwapInfinity/metadata.d.ts +19 -0
  19. package/dist/src/engine/implementations/pancakeSwapInfinity/metadata.js.map +1 -0
  20. package/dist/src/engine/metadata/factory.js.map +1 -1
  21. package/dist/src/engine/tvl/factory.js.map +1 -1
  22. package/dist/src/guards/CampaignAccess.guard.d.ts +18 -16
  23. package/dist/src/guards/CampaignAccess.guard.js.map +1 -1
  24. package/dist/src/guards/{KeyStoreAuth.guard.d.ts → KeyValueStoreAuth.guard.d.ts} +4 -4
  25. package/dist/src/guards/KeyValueStoreAuth.guard.js.map +1 -0
  26. package/dist/src/index.d.ts +457 -116
  27. package/dist/src/index.js.map +1 -1
  28. package/dist/src/jobs/claim-etl/config.d.ts +2 -2
  29. package/dist/src/jobs/claim-etl/config.js.map +1 -1
  30. package/dist/src/jobs/claim-etl/load.js.map +1 -1
  31. package/dist/src/jobs/claim-etl/types.d.ts +1 -1
  32. package/dist/src/jobs/deposit-credit-etl/config.d.ts +13 -0
  33. package/dist/src/jobs/deposit-credit-etl/config.js.map +1 -0
  34. package/dist/src/jobs/deposit-credit-etl/index.d.ts +16 -0
  35. package/dist/src/jobs/deposit-credit-etl/index.js.map +1 -0
  36. package/dist/src/jobs/deposit-credit-etl/load.d.ts +13 -0
  37. package/dist/src/jobs/deposit-credit-etl/load.js.map +1 -0
  38. package/dist/src/jobs/deposit-credit-etl/types.d.ts +11 -0
  39. package/dist/src/jobs/deposit-credit-etl/types.js.map +1 -0
  40. package/dist/src/jobs/prices.js.map +1 -1
  41. package/dist/src/jobs/refresh-materialized-views.js.map +1 -1
  42. package/dist/src/jobs/sync-campaigns-to-hubspot.js.map +1 -1
  43. package/dist/src/modules/graphql/context.d.ts +14 -0
  44. package/dist/src/modules/graphql/context.js.map +1 -0
  45. package/dist/src/modules/graphql/errors.d.ts +7 -0
  46. package/dist/src/modules/graphql/errors.js.map +1 -0
  47. package/dist/src/modules/graphql/guards.d.ts +26 -0
  48. package/dist/src/modules/graphql/guards.js.map +1 -0
  49. package/dist/src/modules/graphql/resolvers.d.ts +593 -0
  50. package/dist/src/modules/graphql/resolvers.js.map +1 -0
  51. package/dist/src/modules/graphql/router.d.ts +87 -0
  52. package/dist/src/modules/graphql/router.js.map +1 -0
  53. package/dist/src/modules/graphql/scalars.d.ts +3 -0
  54. package/dist/src/modules/graphql/scalars.js.map +1 -0
  55. package/dist/src/modules/graphql/schema.d.ts +2 -0
  56. package/dist/src/modules/graphql/schema.js.map +1 -0
  57. package/dist/src/modules/graphql/translator.d.ts +25 -0
  58. package/dist/src/modules/graphql/translator.js.map +1 -0
  59. package/dist/src/modules/graphql/yoga.d.ts +2 -0
  60. package/dist/src/modules/graphql/yoga.js.map +1 -0
  61. package/dist/src/modules/v4/authentication/authentication.service.js.map +1 -1
  62. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +26 -20
  63. package/dist/src/modules/v4/campaign/campaign.controller.js.map +1 -1
  64. package/dist/src/modules/v4/campaign/campaign.model.d.ts +3 -2
  65. package/dist/src/modules/v4/campaign/campaign.model.js.map +1 -1
  66. package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +44 -34
  67. package/dist/src/modules/v4/campaign/campaign.query-transformer.js.map +1 -1
  68. package/dist/src/modules/v4/campaign/campaign.service.d.ts +7 -5
  69. package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
  70. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.controller.d.ts +1 -1
  71. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.controller.js.map +1 -1
  72. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.repository.js.map +1 -1
  73. package/dist/src/modules/v4/carousel/carousel.controller.d.ts +48 -12
  74. package/dist/src/modules/v4/carousel/carousel.formatter.d.ts +8 -1
  75. package/dist/src/modules/v4/carousel/carousel.formatter.js.map +1 -1
  76. package/dist/src/modules/v4/carousel/carousel.repository.d.ts +6 -0
  77. package/dist/src/modules/v4/carousel/carousel.service.d.ts +19 -8
  78. package/dist/src/modules/v4/carousel/carousel.service.js.map +1 -1
  79. package/dist/src/modules/v4/chain/chain.controller.d.ts +4 -4
  80. package/dist/src/modules/v4/chain/chain.formatter.js.map +1 -1
  81. package/dist/src/modules/v4/chain/chain.model.d.ts +1 -1
  82. package/dist/src/modules/v4/chain/chain.repository.js.map +1 -1
  83. package/dist/src/modules/v4/clamm/clamm.controller.d.ts +2 -2
  84. package/dist/src/modules/v4/clamm/clamm.service.js.map +1 -1
  85. package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +29 -0
  86. package/dist/src/modules/v4/computedValue/computedValue.controller.js.map +1 -1
  87. package/dist/src/modules/v4/computedValue/computedValue.model.d.ts +5 -0
  88. package/dist/src/modules/v4/computedValue/computedValue.model.js.map +1 -1
  89. package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +2 -1
  90. package/dist/src/modules/v4/computedValue/computedValue.repository.js.map +1 -1
  91. package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +2 -1
  92. package/dist/src/modules/v4/computedValue/computedValue.service.js.map +1 -1
  93. package/dist/src/modules/v4/creator/creator.controller.d.ts +3 -3
  94. package/dist/src/modules/v4/credit/credit.controller.d.ts +97 -0
  95. package/dist/src/modules/v4/credit/credit.controller.js.map +1 -1
  96. package/dist/src/modules/v4/credit/credit.model.d.ts +4 -0
  97. package/dist/src/modules/v4/credit/credit.model.js.map +1 -1
  98. package/dist/src/modules/v4/credit/credit.repository.d.ts +21 -1
  99. package/dist/src/modules/v4/credit/credit.repository.js.map +1 -1
  100. package/dist/src/modules/v4/credit/credit.service.d.ts +20 -1
  101. package/dist/src/modules/v4/credit/credit.service.js.map +1 -1
  102. package/dist/src/modules/v4/historical/historical.controller.d.ts +38 -2
  103. package/dist/src/modules/v4/historical/historical.controller.js.map +1 -1
  104. package/dist/src/modules/v4/historical/historical.model.d.ts +28 -0
  105. package/dist/src/modules/v4/historical/historical.model.js.map +1 -1
  106. package/dist/src/modules/v4/historical/historical.service.js.map +1 -1
  107. package/dist/src/modules/v4/indexingRange/indexingRange.model.js.map +1 -1
  108. package/dist/src/modules/v4/indexingRange/indexingRange.service.js.map +1 -1
  109. package/dist/src/modules/v4/jobWatermark/jobWatermark.constants.d.ts +2 -1
  110. package/dist/src/modules/v4/jobWatermark/jobWatermark.constants.js.map +1 -1
  111. package/dist/src/modules/v4/{keyStore/keyStore.controller.d.ts → keyValueStore/keyValueStore.controller.d.ts} +21 -16
  112. package/dist/src/modules/v4/keyValueStore/keyValueStore.controller.js.map +1 -0
  113. package/dist/src/modules/v4/keyValueStore/keyValueStore.formatter.d.ts +27 -0
  114. package/dist/src/modules/v4/keyValueStore/keyValueStore.formatter.js.map +1 -0
  115. package/dist/src/modules/v4/keyValueStore/keyValueStore.model.js.map +1 -0
  116. package/dist/src/modules/v4/{keyStore/keyStore.repository.d.ts → keyValueStore/keyValueStore.repository.d.ts} +1 -1
  117. package/dist/src/modules/v4/keyValueStore/keyValueStore.repository.js.map +1 -0
  118. package/dist/src/modules/v4/{keyStore/keyStore.service.d.ts → keyValueStore/keyValueStore.service.d.ts} +1 -1
  119. package/dist/src/modules/v4/keyValueStore/keyValueStore.service.js.map +1 -0
  120. package/dist/src/modules/v4/leaf/latestCompute.repository.d.ts +24 -0
  121. package/dist/src/modules/v4/leaf/latestCompute.repository.js.map +1 -0
  122. package/dist/src/modules/v4/leaf/leaf.model.d.ts +0 -95
  123. package/dist/src/modules/v4/leaf/leaf.repository.d.ts +104 -0
  124. package/dist/src/modules/v4/leaf/leaf.repository.js.map +1 -1
  125. package/dist/src/modules/v4/leaf/leaf.service.d.ts +36 -0
  126. package/dist/src/modules/v4/leaf/leaf.service.js.map +1 -1
  127. package/dist/src/modules/v4/leaf/leafTemp.repository.d.ts +12 -0
  128. package/dist/src/modules/v4/leaf/leafTemp.repository.js.map +1 -1
  129. package/dist/src/modules/v4/leaf/leafView.repository.d.ts +0 -12
  130. package/dist/src/modules/v4/leaf/leafView.repository.js.map +1 -1
  131. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +19 -18
  132. package/dist/src/modules/v4/opportunity/opportunity.controller.js.map +1 -1
  133. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -3
  134. package/dist/src/modules/v4/opportunity/opportunity.formatter.js.map +1 -1
  135. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +8 -8
  136. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +236 -43
  137. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.js.map +1 -1
  138. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +488 -7
  139. package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
  140. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +18 -18
  141. package/dist/src/modules/v4/opportunity/opportunity.service.js.map +1 -1
  142. package/dist/src/modules/v4/priceSource/priceFetchers/implementations/coinGeckoService.d.ts +1 -0
  143. package/dist/src/modules/v4/priceSource/priceFetchers/implementations/coinGeckoService.js.map +1 -1
  144. package/dist/src/modules/v4/program/program.controller.d.ts +4 -4
  145. package/dist/src/modules/v4/program/program.service.d.ts +4 -4
  146. package/dist/src/modules/v4/reward/reward.service.d.ts +7 -291
  147. package/dist/src/modules/v4/reward/reward.service.js.map +1 -1
  148. package/dist/src/modules/v4/router.d.ts +414 -86
  149. package/dist/src/modules/v4/router.js.map +1 -1
  150. package/dist/src/modules/v4/slack/slack.service.js.map +1 -1
  151. package/dist/src/modules/v4/token/token.service.d.ts +0 -8
  152. package/dist/src/modules/v4/token/token.service.js.map +1 -1
  153. package/dist/src/modules/v4/transaction/transaction.service.d.ts +1037 -535
  154. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +2 -2
  155. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +1 -1
  156. package/dist/src/modules/v4/user/user.controller.d.ts +121 -3
  157. package/dist/src/modules/v4/user/user.controller.js.map +1 -1
  158. package/dist/src/modules/v4/user/user.model.d.ts +77 -1
  159. package/dist/src/modules/v4/user/user.model.js.map +1 -1
  160. package/dist/src/modules/v4/user/user.service.d.ts +64 -1
  161. package/dist/src/modules/v4/user/user.service.js.map +1 -1
  162. package/dist/src/plugins/errorHandler.d.ts +15 -0
  163. package/dist/src/plugins/errorHandler.js.map +1 -1
  164. package/dist/src/routes/v1/router.d.ts +0 -26
  165. package/dist/src/routes/v1/router.js.map +1 -1
  166. package/dist/src/routes/v3/app.d.ts +0 -8
  167. package/dist/src/routes/v3/app.js.map +1 -1
  168. package/dist/src/routes/v3/router.d.ts +0 -4
  169. package/dist/src/scripts/backfill-leafbreakdown-opportunities.js.map +1 -1
  170. package/dist/src/utils/eulerVerified.d.ts +8 -0
  171. package/dist/src/utils/eulerVerified.js.map +1 -0
  172. package/dist/src/utils/getAPR.d.ts +803 -552
  173. package/dist/src/utils/parseDistributionType.d.ts +264 -13
  174. package/dist/src/utils/safeEngineQuery.d.ts +14 -0
  175. package/dist/src/utils/safeEngineQuery.js.map +1 -0
  176. package/dist/tsconfig.tsbuildinfo +1 -1
  177. package/package.json +1 -1
  178. package/dist/src/guards/KeyStoreAuth.guard.js.map +0 -1
  179. package/dist/src/modules/v4/keyStore/keyStore.controller.js.map +0 -1
  180. package/dist/src/modules/v4/keyStore/keyStore.model.js.map +0 -1
  181. package/dist/src/modules/v4/keyStore/keyStore.repository.js.map +0 -1
  182. package/dist/src/modules/v4/keyStore/keyStore.service.js.map +0 -1
  183. package/dist/src/routes/v1/prices.d.ts +0 -85
  184. package/dist/src/routes/v1/prices.js.map +0 -1
  185. package/dist/src/utils/pricer.d.ts +0 -57
  186. package/dist/src/utils/pricer.js.map +0 -1
  187. package/dist/src/utils/prices/chainlinkRead.d.ts +0 -4
  188. package/dist/src/utils/prices/chainlinkRead.js.map +0 -1
  189. package/dist/src/utils/prices/curveVirtualPrice.d.ts +0 -4
  190. package/dist/src/utils/prices/curveVirtualPrice.js.map +0 -1
  191. package/dist/src/utils/prices/getDQUICK.d.ts +0 -4
  192. package/dist/src/utils/prices/getDQUICK.js.map +0 -1
  193. package/dist/src/utils/prices/priceService.d.ts +0 -13
  194. package/dist/src/utils/prices/priceService.js.map +0 -1
  195. package/dist/src/utils/prices/uniV2Price.d.ts +0 -4
  196. package/dist/src/utils/prices/uniV2Price.js.map +0 -1
  197. /package/dist/src/modules/v4/{keyStore/keyStore.model.d.ts → keyValueStore/keyValueStore.model.d.ts} +0 -0
@@ -1740,7 +1740,7 @@ declare const app: Elysia<"", {
1740
1740
  url: string;
1741
1741
  chainId: number;
1742
1742
  }[] | undefined;
1743
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
1743
+ lastClaimsOnchainFetchTimestamp: string | null;
1744
1744
  };
1745
1745
  protocol: {
1746
1746
  id: string;
@@ -1866,7 +1866,7 @@ declare const app: Elysia<"", {
1866
1866
  url: string;
1867
1867
  chainId: number;
1868
1868
  }[] | undefined;
1869
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
1869
+ lastClaimsOnchainFetchTimestamp: string | null;
1870
1870
  };
1871
1871
  rewardTokenId?: string | undefined;
1872
1872
  rewardToken: {
@@ -1901,7 +1901,7 @@ declare const app: Elysia<"", {
1901
1901
  url: string;
1902
1902
  chainId: number;
1903
1903
  }[] | undefined;
1904
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
1904
+ lastClaimsOnchainFetchTimestamp: string | null;
1905
1905
  } | undefined;
1906
1906
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
1907
1907
  campaignStatus: {
@@ -2015,7 +2015,7 @@ declare const app: Elysia<"", {
2015
2015
  url: string;
2016
2016
  chainId: number;
2017
2017
  }[] | undefined;
2018
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2018
+ lastClaimsOnchainFetchTimestamp: string | null;
2019
2019
  };
2020
2020
  childCampaignIds?: string[] | undefined;
2021
2021
  computeChainId: number;
@@ -2068,7 +2068,7 @@ declare const app: Elysia<"", {
2068
2068
  url: string;
2069
2069
  chainId: number;
2070
2070
  }[] | undefined;
2071
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2071
+ lastClaimsOnchainFetchTimestamp: string | null;
2072
2072
  } | undefined;
2073
2073
  distributionChainId: number;
2074
2074
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
@@ -2336,7 +2336,7 @@ declare const app: Elysia<"", {
2336
2336
  url: string;
2337
2337
  chainId: number;
2338
2338
  }[] | undefined;
2339
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2339
+ lastClaimsOnchainFetchTimestamp: string | null;
2340
2340
  };
2341
2341
  activePrograms: {
2342
2342
  id: string;
@@ -2471,7 +2471,7 @@ declare const app: Elysia<"", {
2471
2471
  url: string;
2472
2472
  chainId: number;
2473
2473
  }[] | undefined;
2474
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2474
+ lastClaimsOnchainFetchTimestamp: string | null;
2475
2475
  };
2476
2476
  rewardTokenId?: string | undefined;
2477
2477
  rewardToken: {
@@ -2506,7 +2506,7 @@ declare const app: Elysia<"", {
2506
2506
  url: string;
2507
2507
  chainId: number;
2508
2508
  }[] | undefined;
2509
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2509
+ lastClaimsOnchainFetchTimestamp: string | null;
2510
2510
  } | undefined;
2511
2511
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
2512
2512
  campaignStatus: {
@@ -2630,7 +2630,7 @@ declare const app: Elysia<"", {
2630
2630
  url: string;
2631
2631
  chainId: number;
2632
2632
  }[] | undefined;
2633
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2633
+ lastClaimsOnchainFetchTimestamp: string | null;
2634
2634
  };
2635
2635
  activePrograms: {
2636
2636
  id: string;
@@ -2765,7 +2765,7 @@ declare const app: Elysia<"", {
2765
2765
  url: string;
2766
2766
  chainId: number;
2767
2767
  }[] | undefined;
2768
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2768
+ lastClaimsOnchainFetchTimestamp: string | null;
2769
2769
  };
2770
2770
  rewardTokenId?: string | undefined;
2771
2771
  rewardToken: {
@@ -2800,7 +2800,7 @@ declare const app: Elysia<"", {
2800
2800
  url: string;
2801
2801
  chainId: number;
2802
2802
  }[] | undefined;
2803
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2803
+ lastClaimsOnchainFetchTimestamp: string | null;
2804
2804
  } | undefined;
2805
2805
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
2806
2806
  campaignStatus: {
@@ -2924,7 +2924,7 @@ declare const app: Elysia<"", {
2924
2924
  url: string;
2925
2925
  chainId: number;
2926
2926
  }[] | undefined;
2927
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2927
+ lastClaimsOnchainFetchTimestamp: string | null;
2928
2928
  };
2929
2929
  activePrograms: {
2930
2930
  id: string;
@@ -3059,7 +3059,7 @@ declare const app: Elysia<"", {
3059
3059
  url: string;
3060
3060
  chainId: number;
3061
3061
  }[] | undefined;
3062
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3062
+ lastClaimsOnchainFetchTimestamp: string | null;
3063
3063
  };
3064
3064
  rewardTokenId?: string | undefined;
3065
3065
  rewardToken: {
@@ -3094,7 +3094,7 @@ declare const app: Elysia<"", {
3094
3094
  url: string;
3095
3095
  chainId: number;
3096
3096
  }[] | undefined;
3097
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3097
+ lastClaimsOnchainFetchTimestamp: string | null;
3098
3098
  } | undefined;
3099
3099
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
3100
3100
  campaignStatus: {
@@ -3346,6 +3346,7 @@ declare const app: Elysia<"", {
3346
3346
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
3347
3347
  point?: boolean | undefined;
3348
3348
  opportunityId?: string | undefined;
3349
+ opportunityIds?: string[] | undefined;
3349
3350
  status?: string | undefined;
3350
3351
  startTimestamp?: string | undefined;
3351
3352
  endTimestamp?: string | undefined;
@@ -3392,7 +3393,7 @@ declare const app: Elysia<"", {
3392
3393
  url: string;
3393
3394
  chainId: number;
3394
3395
  }[] | undefined;
3395
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3396
+ lastClaimsOnchainFetchTimestamp: string | null;
3396
3397
  };
3397
3398
  rewardTokenId?: string | undefined;
3398
3399
  rewardToken: {
@@ -3427,7 +3428,7 @@ declare const app: Elysia<"", {
3427
3428
  url: string;
3428
3429
  chainId: number;
3429
3430
  }[] | undefined;
3430
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3431
+ lastClaimsOnchainFetchTimestamp: string | null;
3431
3432
  } | undefined;
3432
3433
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
3433
3434
  campaignStatus: {
@@ -3541,7 +3542,7 @@ declare const app: Elysia<"", {
3541
3542
  url: string;
3542
3543
  chainId: number;
3543
3544
  }[] | undefined;
3544
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3545
+ lastClaimsOnchainFetchTimestamp: string | null;
3545
3546
  };
3546
3547
  childCampaignIds?: string[] | undefined;
3547
3548
  computeChainId: number;
@@ -3594,7 +3595,7 @@ declare const app: Elysia<"", {
3594
3595
  url: string;
3595
3596
  chainId: number;
3596
3597
  }[] | undefined;
3597
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3598
+ lastClaimsOnchainFetchTimestamp: string | null;
3598
3599
  } | undefined;
3599
3600
  distributionChainId: number;
3600
3601
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
@@ -3674,6 +3675,7 @@ declare const app: Elysia<"", {
3674
3675
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
3675
3676
  point?: boolean | undefined;
3676
3677
  opportunityId?: string | undefined;
3678
+ opportunityIds?: string[] | undefined;
3677
3679
  status?: string | undefined;
3678
3680
  startTimestamp?: string | undefined;
3679
3681
  endTimestamp?: string | undefined;
@@ -3732,6 +3734,7 @@ declare const app: Elysia<"", {
3732
3734
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
3733
3735
  point?: boolean | undefined;
3734
3736
  opportunityId?: string | undefined;
3737
+ opportunityIds?: string[] | undefined;
3735
3738
  status?: string | undefined;
3736
3739
  startTimestamp?: string | undefined;
3737
3740
  endTimestamp?: string | undefined;
@@ -3816,6 +3819,7 @@ declare const app: Elysia<"", {
3816
3819
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
3817
3820
  point?: boolean | undefined;
3818
3821
  opportunityId?: string | undefined;
3822
+ opportunityIds?: string[] | undefined;
3819
3823
  status?: string | undefined;
3820
3824
  startTimestamp?: string | undefined;
3821
3825
  endTimestamp?: string | undefined;
@@ -3880,6 +3884,7 @@ declare const app: Elysia<"", {
3880
3884
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
3881
3885
  point?: boolean | undefined;
3882
3886
  opportunityId?: string | undefined;
3887
+ opportunityIds?: string[] | undefined;
3883
3888
  status?: string | undefined;
3884
3889
  startTimestamp?: string | undefined;
3885
3890
  endTimestamp?: string | undefined;
@@ -3944,6 +3949,7 @@ declare const app: Elysia<"", {
3944
3949
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
3945
3950
  point?: boolean | undefined;
3946
3951
  opportunityId?: string | undefined;
3952
+ opportunityIds?: string[] | undefined;
3947
3953
  status?: string | undefined;
3948
3954
  startTimestamp?: string | undefined;
3949
3955
  endTimestamp?: string | undefined;
@@ -4051,7 +4057,7 @@ declare const app: Elysia<"", {
4051
4057
  url: string;
4052
4058
  chainId: number;
4053
4059
  }[] | undefined;
4054
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
4060
+ lastClaimsOnchainFetchTimestamp: string | null;
4055
4061
  };
4056
4062
  protocol: {
4057
4063
  id: string;
@@ -4246,7 +4252,7 @@ declare const app: Elysia<"", {
4246
4252
  url: string;
4247
4253
  chainId: number;
4248
4254
  }[] | undefined;
4249
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
4255
+ lastClaimsOnchainFetchTimestamp: string | null;
4250
4256
  };
4251
4257
  protocol: {
4252
4258
  id: string;
@@ -7156,7 +7162,7 @@ declare const app: Elysia<"", {
7156
7162
  post: {
7157
7163
  body: {
7158
7164
  cost: number;
7159
- runKey?: string | undefined;
7165
+ runKey: string;
7160
7166
  };
7161
7167
  params: {
7162
7168
  chainId: number;
@@ -7277,7 +7283,7 @@ declare const app: Elysia<"", {
7277
7283
  url: string;
7278
7284
  chainId: number;
7279
7285
  }[] | undefined;
7280
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
7286
+ lastClaimsOnchainFetchTimestamp: string | null;
7281
7287
  };
7282
7288
  activePrograms: {
7283
7289
  id: string;
@@ -7460,7 +7466,7 @@ declare const app: Elysia<"", {
7460
7466
  url: string;
7461
7467
  chainId: number;
7462
7468
  }[] | undefined;
7463
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
7469
+ lastClaimsOnchainFetchTimestamp: string | null;
7464
7470
  };
7465
7471
  activePrograms: {
7466
7472
  id: string;
@@ -7577,7 +7583,7 @@ declare const app: Elysia<"", {
7577
7583
  url: string;
7578
7584
  chainId: number;
7579
7585
  }[] | undefined;
7580
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
7586
+ lastClaimsOnchainFetchTimestamp: string | null;
7581
7587
  } | undefined;
7582
7588
  protocol?: {
7583
7589
  id: string;
@@ -7593,7 +7599,8 @@ declare const app: Elysia<"", {
7593
7599
  opportunityBannerLight: string | null;
7594
7600
  opportunityBannerDark: string | null;
7595
7601
  } | undefined;
7596
- relationType: "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
7602
+ relationType: "ASSET" | "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
7603
+ assetType?: "BTC" | "ETH" | "STABLECOIN" | undefined;
7597
7604
  amount?: string | undefined;
7598
7605
  maxApr?: number | undefined;
7599
7606
  campaignsCount?: number | undefined;
@@ -7701,7 +7708,7 @@ declare const app: Elysia<"", {
7701
7708
  url: string;
7702
7709
  chainId: number;
7703
7710
  }[] | undefined;
7704
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
7711
+ lastClaimsOnchainFetchTimestamp: string | null;
7705
7712
  };
7706
7713
  activePrograms: {
7707
7714
  id: string;
@@ -7884,7 +7891,7 @@ declare const app: Elysia<"", {
7884
7891
  url: string;
7885
7892
  chainId: number;
7886
7893
  }[] | undefined;
7887
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
7894
+ lastClaimsOnchainFetchTimestamp: string | null;
7888
7895
  };
7889
7896
  activePrograms: {
7890
7897
  id: string;
@@ -8001,7 +8008,7 @@ declare const app: Elysia<"", {
8001
8008
  url: string;
8002
8009
  chainId: number;
8003
8010
  }[] | undefined;
8004
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
8011
+ lastClaimsOnchainFetchTimestamp: string | null;
8005
8012
  } | undefined;
8006
8013
  protocol?: {
8007
8014
  id: string;
@@ -8017,7 +8024,8 @@ declare const app: Elysia<"", {
8017
8024
  opportunityBannerLight: string | null;
8018
8025
  opportunityBannerDark: string | null;
8019
8026
  } | undefined;
8020
- relationType: "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
8027
+ relationType: "ASSET" | "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
8028
+ assetType?: "BTC" | "ETH" | "STABLECOIN" | undefined;
8021
8029
  amount?: string | undefined;
8022
8030
  maxApr?: number | undefined;
8023
8031
  campaignsCount?: number | undefined;
@@ -8266,6 +8274,7 @@ declare const app: Elysia<"", {
8266
8274
  campaignsCount: number | null;
8267
8275
  maxApr: number | null;
8268
8276
  relationType: import("@package/databases").CarouselType;
8277
+ assetType: import("@package/databases").CarouselAsset | null;
8269
8278
  programId: string | null;
8270
8279
  opportunityId: string | null;
8271
8280
  chainId: number | null;
@@ -8303,6 +8312,20 @@ declare const app: Elysia<"", {
8303
8312
  maxApr?: number | undefined;
8304
8313
  amount?: string | undefined;
8305
8314
  campaignsCount?: number | undefined;
8315
+ } | {
8316
+ relationType: "ASSET";
8317
+ relationId: "BTC" | "ETH" | "STABLECOIN";
8318
+ backgroundDarkColor: string;
8319
+ backgroundLightColor: string;
8320
+ name?: string | undefined;
8321
+ description?: string | undefined;
8322
+ logoUrls?: string[] | undefined;
8323
+ redirectUrl?: string | undefined;
8324
+ rank?: number | undefined;
8325
+ featured?: boolean | undefined;
8326
+ maxApr?: number | undefined;
8327
+ amount?: string | undefined;
8328
+ campaignsCount?: number | undefined;
8306
8329
  } | {
8307
8330
  name: string;
8308
8331
  description: string;
@@ -8401,7 +8424,7 @@ declare const app: Elysia<"", {
8401
8424
  url: string;
8402
8425
  chainId: number;
8403
8426
  }[] | undefined;
8404
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
8427
+ lastClaimsOnchainFetchTimestamp: string | null;
8405
8428
  };
8406
8429
  activePrograms: {
8407
8430
  id: string;
@@ -8584,7 +8607,7 @@ declare const app: Elysia<"", {
8584
8607
  url: string;
8585
8608
  chainId: number;
8586
8609
  }[] | undefined;
8587
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
8610
+ lastClaimsOnchainFetchTimestamp: string | null;
8588
8611
  };
8589
8612
  activePrograms: {
8590
8613
  id: string;
@@ -8701,7 +8724,7 @@ declare const app: Elysia<"", {
8701
8724
  url: string;
8702
8725
  chainId: number;
8703
8726
  }[] | undefined;
8704
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
8727
+ lastClaimsOnchainFetchTimestamp: string | null;
8705
8728
  } | undefined;
8706
8729
  protocol?: {
8707
8730
  id: string;
@@ -8717,7 +8740,8 @@ declare const app: Elysia<"", {
8717
8740
  opportunityBannerLight: string | null;
8718
8741
  opportunityBannerDark: string | null;
8719
8742
  } | undefined;
8720
- relationType: "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
8743
+ relationType: "ASSET" | "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
8744
+ assetType?: "BTC" | "ETH" | "STABLECOIN" | undefined;
8721
8745
  amount?: string | undefined;
8722
8746
  maxApr?: number | undefined;
8723
8747
  campaignsCount?: number | undefined;
@@ -8752,6 +8776,20 @@ declare const app: Elysia<"", {
8752
8776
  maxApr?: number | undefined;
8753
8777
  amount?: string | undefined;
8754
8778
  campaignsCount?: number | undefined;
8779
+ } | {
8780
+ relationType: "ASSET";
8781
+ relationId: "BTC" | "ETH" | "STABLECOIN";
8782
+ backgroundDarkColor: string;
8783
+ backgroundLightColor: string;
8784
+ name?: string | undefined;
8785
+ description?: string | undefined;
8786
+ logoUrls?: string[] | undefined;
8787
+ redirectUrl?: string | undefined;
8788
+ rank?: number | undefined;
8789
+ featured?: boolean | undefined;
8790
+ maxApr?: number | undefined;
8791
+ amount?: string | undefined;
8792
+ campaignsCount?: number | undefined;
8755
8793
  } | {
8756
8794
  name: string;
8757
8795
  description: string;
@@ -8991,6 +9029,7 @@ declare const app: Elysia<"", {
8991
9029
  campaignsCount: number | null;
8992
9030
  maxApr: number | null;
8993
9031
  relationType: import("@package/databases").CarouselType;
9032
+ assetType: import("@package/databases").CarouselAsset | null;
8994
9033
  programId: string | null;
8995
9034
  opportunityId: string | null;
8996
9035
  chainId: number | null;
@@ -9036,6 +9075,7 @@ declare const app: Elysia<"", {
9036
9075
  campaignsCount: number | null;
9037
9076
  maxApr: number | null;
9038
9077
  relationType: import("@package/databases").CarouselType;
9078
+ assetType: import("@package/databases").CarouselAsset | null;
9039
9079
  programId: string | null;
9040
9080
  opportunityId: string | null;
9041
9081
  chainId: number | null;
@@ -9094,6 +9134,7 @@ declare const app: Elysia<"", {
9094
9134
  campaignsCount: number | null;
9095
9135
  maxApr: number | null;
9096
9136
  relationType: import("@package/databases").CarouselType;
9137
+ assetType: import("@package/databases").CarouselAsset | null;
9097
9138
  programId: string | null;
9098
9139
  opportunityId: string | null;
9099
9140
  chainId: number | null;
@@ -9139,6 +9180,7 @@ declare const app: Elysia<"", {
9139
9180
  campaignsCount: number | null;
9140
9181
  maxApr: number | null;
9141
9182
  relationType: import("@package/databases").CarouselType;
9183
+ assetType: import("@package/databases").CarouselAsset | null;
9142
9184
  programId: string | null;
9143
9185
  opportunityId: string | null;
9144
9186
  chainId: number | null;
@@ -9179,7 +9221,7 @@ declare const app: Elysia<"", {
9179
9221
  url: string;
9180
9222
  chainId: number;
9181
9223
  }[] | undefined;
9182
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
9224
+ lastClaimsOnchainFetchTimestamp: string | null;
9183
9225
  }[];
9184
9226
  422: {
9185
9227
  type: "validation";
@@ -9215,7 +9257,7 @@ declare const app: Elysia<"", {
9215
9257
  url: string;
9216
9258
  chainId: number;
9217
9259
  }[] | undefined;
9218
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
9260
+ lastClaimsOnchainFetchTimestamp: string | null;
9219
9261
  };
9220
9262
  422: {
9221
9263
  type: "validation";
@@ -9285,7 +9327,7 @@ declare const app: Elysia<"", {
9285
9327
  url: string;
9286
9328
  chainId: number;
9287
9329
  }[] | undefined;
9288
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
9330
+ lastClaimsOnchainFetchTimestamp: string | null;
9289
9331
  };
9290
9332
  422: {
9291
9333
  type: "validation";
@@ -9327,7 +9369,7 @@ declare const app: Elysia<"", {
9327
9369
  url: string;
9328
9370
  chainId: number;
9329
9371
  }[] | undefined;
9330
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
9372
+ lastClaimsOnchainFetchTimestamp: string | null;
9331
9373
  };
9332
9374
  422: {
9333
9375
  type: "validation";
@@ -9571,7 +9613,7 @@ declare const app: Elysia<"", {
9571
9613
  symbolCurrency1: string;
9572
9614
  tickSpacing: number;
9573
9615
  } & {
9574
- protocol: import("@package/resources/enums").ProtocolType.AERODROME | import("@package/resources/enums").ProtocolType.AERODROME_GAUGE_CAP | import("@package/resources/enums").ProtocolType.ARTHSWAP | import("@package/resources/enums").ProtocolType.BASE_SWAP | import("@package/resources/enums").ProtocolType.CAMELOT | import("@package/resources/enums").ProtocolType.CAPRICORN | import("@package/resources/enums").ProtocolType.FENIX | import("@package/resources/enums").ProtocolType.FLOWSWAP | import("@package/resources/enums").ProtocolType.FLUX | import("@package/resources/enums").ProtocolType.FLUXION | import("@package/resources/enums").ProtocolType.HYBRA | import("@package/resources/enums").ProtocolType.HYDREX | import("@package/resources/enums").ProtocolType.HYPERSWAP | import("@package/resources/enums").ProtocolType.IONEX | import("@package/resources/enums").ProtocolType.IZUMI | import("@package/resources/enums").ProtocolType.JAINE | import("@package/resources/enums").ProtocolType.KATANA | import("@package/resources/enums").ProtocolType.KATANA_ALGEBRA | import("@package/resources/enums").ProtocolType.KITTEN_SWAP | import("@package/resources/enums").ProtocolType.KYO | import("@package/resources/enums").ProtocolType.MONDAY_TRADE | import("@package/resources/enums").ProtocolType.NEPTUNE | import("@package/resources/enums").ProtocolType.NINEMM | import("@package/resources/enums").ProtocolType.PANCAKESWAP | import("@package/resources/enums").ProtocolType.PHARAOH | import("@package/resources/enums").ProtocolType.QUICKSWAP | import("@package/resources/enums").ProtocolType.QUICKSWAP_ALGEBRA | import("@package/resources/enums").ProtocolType.QUICKSWAP_ALGEBRA_12 | import("@package/resources/enums").ProtocolType.RAMSES | import("@package/resources/enums").ProtocolType.RETRO | import("@package/resources/enums").ProtocolType.ROOSTER | import("@package/resources/enums").ProtocolType.SATSUMA | import("@package/resources/enums").ProtocolType.PROJECT_X | import("@package/resources/enums").ProtocolType.SNAP | import("@package/resources/enums").ProtocolType.SONEX | import("@package/resources/enums").ProtocolType.SPOOKYSWAP_V3 | import("@package/resources/enums").ProtocolType.SUSHI_SWAP | import("@package/resources/enums").ProtocolType.SWAP_X | import("@package/resources/enums").ProtocolType.SYNC_SWAP | import("@package/resources/enums").ProtocolType.UNISWAPV3 | import("@package/resources/enums").ProtocolType.UNISWAPV4 | import("@package/resources/enums").ProtocolType.VELODROME | import("@package/resources/enums").ProtocolType.VOLTAGE | import("@package/resources/enums").ProtocolType.WOODSWAP | import("@package/resources/enums").ProtocolType.XSWAP | import("@package/resources/enums").ProtocolType.ZERO | import("@package/resources/enums").ProtocolType.GLIQUID | import("@package/resources/enums").ProtocolType.TIGRIS | import("@package/resources/enums").ProtocolType.ZIA;
9616
+ protocol: import("@package/resources/enums").ProtocolType.AERODROME | import("@package/resources/enums").ProtocolType.AERODROME_GAUGE_CAP | import("@package/resources/enums").ProtocolType.ARTHSWAP | import("@package/resources/enums").ProtocolType.BASE_SWAP | import("@package/resources/enums").ProtocolType.CAMELOT | import("@package/resources/enums").ProtocolType.CAPRICORN | import("@package/resources/enums").ProtocolType.FENIX | import("@package/resources/enums").ProtocolType.FLOWSWAP | import("@package/resources/enums").ProtocolType.FLUX | import("@package/resources/enums").ProtocolType.FLUXION | import("@package/resources/enums").ProtocolType.HYBRA | import("@package/resources/enums").ProtocolType.HYDREX | import("@package/resources/enums").ProtocolType.HYPERSWAP | import("@package/resources/enums").ProtocolType.IONEX | import("@package/resources/enums").ProtocolType.IZUMI | import("@package/resources/enums").ProtocolType.JAINE | import("@package/resources/enums").ProtocolType.KATANA | import("@package/resources/enums").ProtocolType.KATANA_ALGEBRA | import("@package/resources/enums").ProtocolType.KITTEN_SWAP | import("@package/resources/enums").ProtocolType.KYO | import("@package/resources/enums").ProtocolType.MONDAY_TRADE | import("@package/resources/enums").ProtocolType.NEPTUNE | import("@package/resources/enums").ProtocolType.NINEMM | import("@package/resources/enums").ProtocolType.PANCAKESWAP | import("@package/resources/enums").ProtocolType.PANCAKESWAP_INFINITY | import("@package/resources/enums").ProtocolType.PHARAOH | import("@package/resources/enums").ProtocolType.QUICKSWAP | import("@package/resources/enums").ProtocolType.QUICKSWAP_ALGEBRA | import("@package/resources/enums").ProtocolType.QUICKSWAP_ALGEBRA_12 | import("@package/resources/enums").ProtocolType.RAMSES | import("@package/resources/enums").ProtocolType.RETRO | import("@package/resources/enums").ProtocolType.ROOSTER | import("@package/resources/enums").ProtocolType.SATSUMA | import("@package/resources/enums").ProtocolType.PROJECT_X | import("@package/resources/enums").ProtocolType.SNAP | import("@package/resources/enums").ProtocolType.SONEX | import("@package/resources/enums").ProtocolType.SPOOKYSWAP_V3 | import("@package/resources/enums").ProtocolType.SUSHI_SWAP | import("@package/resources/enums").ProtocolType.SWAP_X | import("@package/resources/enums").ProtocolType.SYNC_SWAP | import("@package/resources/enums").ProtocolType.UNISWAPV3 | import("@package/resources/enums").ProtocolType.UNISWAPV4 | import("@package/resources/enums").ProtocolType.VELODROME | import("@package/resources/enums").ProtocolType.VOLTAGE | import("@package/resources/enums").ProtocolType.WOODSWAP | import("@package/resources/enums").ProtocolType.XSWAP | import("@package/resources/enums").ProtocolType.ZERO | import("@package/resources/enums").ProtocolType.GLIQUID | import("@package/resources/enums").ProtocolType.TIGRIS | import("@package/resources/enums").ProtocolType.ZIA;
9575
9617
  }) | ({
9576
9618
  chainId: number;
9577
9619
  currency0: string;
@@ -9633,7 +9675,7 @@ declare const app: Elysia<"", {
9633
9675
  symbolCurrency1: string;
9634
9676
  tickSpacing: number;
9635
9677
  } & {
9636
- protocol: import("@package/resources/enums").ProtocolType.AERODROME | import("@package/resources/enums").ProtocolType.AERODROME_GAUGE_CAP | import("@package/resources/enums").ProtocolType.ARTHSWAP | import("@package/resources/enums").ProtocolType.BASE_SWAP | import("@package/resources/enums").ProtocolType.CAMELOT | import("@package/resources/enums").ProtocolType.CAPRICORN | import("@package/resources/enums").ProtocolType.FENIX | import("@package/resources/enums").ProtocolType.FLOWSWAP | import("@package/resources/enums").ProtocolType.FLUX | import("@package/resources/enums").ProtocolType.FLUXION | import("@package/resources/enums").ProtocolType.HYBRA | import("@package/resources/enums").ProtocolType.HYDREX | import("@package/resources/enums").ProtocolType.HYPERSWAP | import("@package/resources/enums").ProtocolType.IONEX | import("@package/resources/enums").ProtocolType.IZUMI | import("@package/resources/enums").ProtocolType.JAINE | import("@package/resources/enums").ProtocolType.KATANA | import("@package/resources/enums").ProtocolType.KATANA_ALGEBRA | import("@package/resources/enums").ProtocolType.KITTEN_SWAP | import("@package/resources/enums").ProtocolType.KYO | import("@package/resources/enums").ProtocolType.MONDAY_TRADE | import("@package/resources/enums").ProtocolType.NEPTUNE | import("@package/resources/enums").ProtocolType.NINEMM | import("@package/resources/enums").ProtocolType.PANCAKESWAP | import("@package/resources/enums").ProtocolType.PHARAOH | import("@package/resources/enums").ProtocolType.QUICKSWAP | import("@package/resources/enums").ProtocolType.QUICKSWAP_ALGEBRA | import("@package/resources/enums").ProtocolType.QUICKSWAP_ALGEBRA_12 | import("@package/resources/enums").ProtocolType.RAMSES | import("@package/resources/enums").ProtocolType.RETRO | import("@package/resources/enums").ProtocolType.ROOSTER | import("@package/resources/enums").ProtocolType.SATSUMA | import("@package/resources/enums").ProtocolType.PROJECT_X | import("@package/resources/enums").ProtocolType.SNAP | import("@package/resources/enums").ProtocolType.SONEX | import("@package/resources/enums").ProtocolType.SPOOKYSWAP_V3 | import("@package/resources/enums").ProtocolType.SUSHI_SWAP | import("@package/resources/enums").ProtocolType.SWAP_X | import("@package/resources/enums").ProtocolType.SYNC_SWAP | import("@package/resources/enums").ProtocolType.UNISWAPV3 | import("@package/resources/enums").ProtocolType.UNISWAPV4 | import("@package/resources/enums").ProtocolType.VELODROME | import("@package/resources/enums").ProtocolType.VOLTAGE | import("@package/resources/enums").ProtocolType.WOODSWAP | import("@package/resources/enums").ProtocolType.XSWAP | import("@package/resources/enums").ProtocolType.ZERO | import("@package/resources/enums").ProtocolType.GLIQUID | import("@package/resources/enums").ProtocolType.TIGRIS | import("@package/resources/enums").ProtocolType.ZIA;
9678
+ protocol: import("@package/resources/enums").ProtocolType.AERODROME | import("@package/resources/enums").ProtocolType.AERODROME_GAUGE_CAP | import("@package/resources/enums").ProtocolType.ARTHSWAP | import("@package/resources/enums").ProtocolType.BASE_SWAP | import("@package/resources/enums").ProtocolType.CAMELOT | import("@package/resources/enums").ProtocolType.CAPRICORN | import("@package/resources/enums").ProtocolType.FENIX | import("@package/resources/enums").ProtocolType.FLOWSWAP | import("@package/resources/enums").ProtocolType.FLUX | import("@package/resources/enums").ProtocolType.FLUXION | import("@package/resources/enums").ProtocolType.HYBRA | import("@package/resources/enums").ProtocolType.HYDREX | import("@package/resources/enums").ProtocolType.HYPERSWAP | import("@package/resources/enums").ProtocolType.IONEX | import("@package/resources/enums").ProtocolType.IZUMI | import("@package/resources/enums").ProtocolType.JAINE | import("@package/resources/enums").ProtocolType.KATANA | import("@package/resources/enums").ProtocolType.KATANA_ALGEBRA | import("@package/resources/enums").ProtocolType.KITTEN_SWAP | import("@package/resources/enums").ProtocolType.KYO | import("@package/resources/enums").ProtocolType.MONDAY_TRADE | import("@package/resources/enums").ProtocolType.NEPTUNE | import("@package/resources/enums").ProtocolType.NINEMM | import("@package/resources/enums").ProtocolType.PANCAKESWAP | import("@package/resources/enums").ProtocolType.PANCAKESWAP_INFINITY | import("@package/resources/enums").ProtocolType.PHARAOH | import("@package/resources/enums").ProtocolType.QUICKSWAP | import("@package/resources/enums").ProtocolType.QUICKSWAP_ALGEBRA | import("@package/resources/enums").ProtocolType.QUICKSWAP_ALGEBRA_12 | import("@package/resources/enums").ProtocolType.RAMSES | import("@package/resources/enums").ProtocolType.RETRO | import("@package/resources/enums").ProtocolType.ROOSTER | import("@package/resources/enums").ProtocolType.SATSUMA | import("@package/resources/enums").ProtocolType.PROJECT_X | import("@package/resources/enums").ProtocolType.SNAP | import("@package/resources/enums").ProtocolType.SONEX | import("@package/resources/enums").ProtocolType.SPOOKYSWAP_V3 | import("@package/resources/enums").ProtocolType.SUSHI_SWAP | import("@package/resources/enums").ProtocolType.SWAP_X | import("@package/resources/enums").ProtocolType.SYNC_SWAP | import("@package/resources/enums").ProtocolType.UNISWAPV3 | import("@package/resources/enums").ProtocolType.UNISWAPV4 | import("@package/resources/enums").ProtocolType.VELODROME | import("@package/resources/enums").ProtocolType.VOLTAGE | import("@package/resources/enums").ProtocolType.WOODSWAP | import("@package/resources/enums").ProtocolType.XSWAP | import("@package/resources/enums").ProtocolType.ZERO | import("@package/resources/enums").ProtocolType.GLIQUID | import("@package/resources/enums").ProtocolType.TIGRIS | import("@package/resources/enums").ProtocolType.ZIA;
9637
9679
  }) | ({
9638
9680
  chainId: number;
9639
9681
  currency0: string;
@@ -9954,6 +9996,35 @@ declare const app: Elysia<"", {
9954
9996
  };
9955
9997
  };
9956
9998
  };
9999
+ } & {
10000
+ value: {
10001
+ engine: {
10002
+ apr: {
10003
+ post: {
10004
+ body: {
10005
+ campaignId: string;
10006
+ apr: number;
10007
+ };
10008
+ params: {};
10009
+ query: unknown;
10010
+ headers: {
10011
+ authorization: string;
10012
+ };
10013
+ response: {
10014
+ 422: {
10015
+ type: "validation";
10016
+ on: string;
10017
+ summary?: string | undefined;
10018
+ message?: string | undefined;
10019
+ found?: unknown;
10020
+ property?: string | undefined;
10021
+ expected?: string | undefined;
10022
+ };
10023
+ };
10024
+ };
10025
+ };
10026
+ };
10027
+ };
9957
10028
  } & {
9958
10029
  value: {
9959
10030
  engine: {
@@ -11020,9 +11091,10 @@ declare const app: Elysia<"", {
11020
11091
  key: string;
11021
11092
  };
11022
11093
  query: unknown;
11023
- headers: Partial<{
11024
- authorization: string;
11025
- }>;
11094
+ headers: {
11095
+ authorization?: string | undefined;
11096
+ "x-api-key"?: string | undefined;
11097
+ };
11026
11098
  response: {
11027
11099
  200: {
11028
11100
  address: string;
@@ -11060,9 +11132,10 @@ declare const app: Elysia<"", {
11060
11132
  key: string;
11061
11133
  };
11062
11134
  query: unknown;
11063
- headers: Partial<{
11064
- authorization: string;
11065
- }>;
11135
+ headers: {
11136
+ authorization?: string | undefined;
11137
+ "x-api-key"?: string | undefined;
11138
+ };
11066
11139
  response: {
11067
11140
  200: {
11068
11141
  success: boolean;
@@ -11097,9 +11170,10 @@ declare const app: Elysia<"", {
11097
11170
  pageSize?: number | undefined;
11098
11171
  value?: string | undefined;
11099
11172
  };
11100
- headers: Partial<{
11101
- authorization: string;
11102
- }>;
11173
+ headers: {
11174
+ authorization?: string | undefined;
11175
+ "x-api-key"?: string | undefined;
11176
+ };
11103
11177
  response: {
11104
11178
  200: {
11105
11179
  entries: {
@@ -11138,9 +11212,10 @@ declare const app: Elysia<"", {
11138
11212
  address: string;
11139
11213
  };
11140
11214
  query: unknown;
11141
- headers: Partial<{
11142
- authorization: string;
11143
- }>;
11215
+ headers: {
11216
+ authorization?: string | undefined;
11217
+ "x-api-key"?: string | undefined;
11218
+ };
11144
11219
  response: {
11145
11220
  200: {
11146
11221
  address: string;
@@ -11175,9 +11250,10 @@ declare const app: Elysia<"", {
11175
11250
  address: string;
11176
11251
  };
11177
11252
  query: unknown;
11178
- headers: Partial<{
11179
- authorization: string;
11180
- }>;
11253
+ headers: {
11254
+ authorization?: string | undefined;
11255
+ "x-api-key"?: string | undefined;
11256
+ };
11181
11257
  response: {
11182
11258
  200: {
11183
11259
  success: boolean;
@@ -11678,7 +11754,7 @@ declare const app: Elysia<"", {
11678
11754
  url: string;
11679
11755
  chainId: number;
11680
11756
  }[] | undefined;
11681
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
11757
+ lastClaimsOnchainFetchTimestamp: string | null;
11682
11758
  };
11683
11759
  activePrograms: {
11684
11760
  id: string;
@@ -11813,7 +11889,7 @@ declare const app: Elysia<"", {
11813
11889
  url: string;
11814
11890
  chainId: number;
11815
11891
  }[] | undefined;
11816
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
11892
+ lastClaimsOnchainFetchTimestamp: string | null;
11817
11893
  };
11818
11894
  rewardTokenId?: string | undefined;
11819
11895
  rewardToken: {
@@ -11848,7 +11924,7 @@ declare const app: Elysia<"", {
11848
11924
  url: string;
11849
11925
  chainId: number;
11850
11926
  }[] | undefined;
11851
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
11927
+ lastClaimsOnchainFetchTimestamp: string | null;
11852
11928
  } | undefined;
11853
11929
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
11854
11930
  campaignStatus: {
@@ -12274,6 +12350,103 @@ declare const app: Elysia<"", {
12274
12350
  };
12275
12351
  };
12276
12352
  };
12353
+ } & {
12354
+ credits: {
12355
+ ":creatorId": {
12356
+ operations: {
12357
+ count: {
12358
+ get: {
12359
+ body: unknown;
12360
+ params: {
12361
+ creatorId: string;
12362
+ };
12363
+ query: {
12364
+ type?: "ADD" | "SUBTRACT" | undefined;
12365
+ };
12366
+ headers: unknown;
12367
+ response: {
12368
+ 200: number;
12369
+ 422: {
12370
+ type: "validation";
12371
+ on: string;
12372
+ summary?: string | undefined;
12373
+ message?: string | undefined;
12374
+ found?: unknown;
12375
+ property?: string | undefined;
12376
+ expected?: string | undefined;
12377
+ };
12378
+ };
12379
+ };
12380
+ };
12381
+ };
12382
+ };
12383
+ };
12384
+ } & {
12385
+ credits: {
12386
+ ":creatorId": {
12387
+ operations: {
12388
+ aggregate: {
12389
+ get: {
12390
+ body: unknown;
12391
+ params: {
12392
+ creatorId: string;
12393
+ };
12394
+ query: {
12395
+ type?: "ADD" | "SUBTRACT" | undefined;
12396
+ };
12397
+ headers: unknown;
12398
+ response: {
12399
+ 200: number;
12400
+ 422: {
12401
+ type: "validation";
12402
+ on: string;
12403
+ summary?: string | undefined;
12404
+ message?: string | undefined;
12405
+ found?: unknown;
12406
+ property?: string | undefined;
12407
+ expected?: string | undefined;
12408
+ };
12409
+ };
12410
+ };
12411
+ };
12412
+ };
12413
+ };
12414
+ };
12415
+ } & {
12416
+ credits: {
12417
+ ":creatorId": {
12418
+ operations: {
12419
+ breakdowns: {
12420
+ get: {
12421
+ body: unknown;
12422
+ params: {
12423
+ creatorId: string;
12424
+ };
12425
+ query: {
12426
+ type?: "ADD" | "SUBTRACT" | undefined;
12427
+ };
12428
+ headers: unknown;
12429
+ response: {
12430
+ 200: {
12431
+ category: string;
12432
+ total: number;
12433
+ count: number;
12434
+ }[];
12435
+ 422: {
12436
+ type: "validation";
12437
+ on: string;
12438
+ summary?: string | undefined;
12439
+ message?: string | undefined;
12440
+ found?: unknown;
12441
+ property?: string | undefined;
12442
+ expected?: string | undefined;
12443
+ };
12444
+ };
12445
+ };
12446
+ };
12447
+ };
12448
+ };
12449
+ };
12277
12450
  } & {
12278
12451
  credits: {
12279
12452
  post: {
@@ -13154,7 +13327,25 @@ declare const app: Elysia<"", {
13154
13327
  authorization: string;
13155
13328
  };
13156
13329
  response: {
13157
- 200: import("./modules/v4/historical/historical.model").HistoricalDiffResult;
13330
+ 200: {
13331
+ startRoot: {
13332
+ root: string;
13333
+ timestamp: string;
13334
+ };
13335
+ endRoot: {
13336
+ root: string;
13337
+ timestamp: string;
13338
+ };
13339
+ breakdowns: {
13340
+ campaignId: string;
13341
+ recipient: string;
13342
+ reason: string;
13343
+ rewardToken: string;
13344
+ startAmount: string;
13345
+ endAmount: string;
13346
+ diff: string;
13347
+ }[];
13348
+ };
13158
13349
  422: {
13159
13350
  type: "validation";
13160
13351
  on: string;
@@ -13187,7 +13378,25 @@ declare const app: Elysia<"", {
13187
13378
  authorization: string;
13188
13379
  };
13189
13380
  response: {
13190
- 200: import("./modules/v4/historical/historical.model").HistoricalDiffResult;
13381
+ 200: {
13382
+ startRoot: {
13383
+ root: string;
13384
+ timestamp: string;
13385
+ };
13386
+ endRoot: {
13387
+ root: string;
13388
+ timestamp: string;
13389
+ };
13390
+ breakdowns: {
13391
+ campaignId: string;
13392
+ recipient: string;
13393
+ reason: string;
13394
+ rewardToken: string;
13395
+ startAmount: string;
13396
+ endAmount: string;
13397
+ diff: string;
13398
+ }[];
13399
+ };
13191
13400
  422: {
13192
13401
  type: "validation";
13193
13402
  on: string;
@@ -14030,6 +14239,7 @@ declare const app: Elysia<"", {
14030
14239
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
14031
14240
  point?: boolean | undefined;
14032
14241
  opportunityId?: string | undefined;
14242
+ opportunityIds?: string[] | undefined;
14033
14243
  status?: string | undefined;
14034
14244
  startTimestamp?: string | undefined;
14035
14245
  endTimestamp?: string | undefined;
@@ -14115,7 +14325,7 @@ declare const app: Elysia<"", {
14115
14325
  url: string;
14116
14326
  chainId: number;
14117
14327
  }[] | undefined;
14118
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14328
+ lastClaimsOnchainFetchTimestamp: string | null;
14119
14329
  };
14120
14330
  activePrograms: {
14121
14331
  id: string;
@@ -14250,7 +14460,7 @@ declare const app: Elysia<"", {
14250
14460
  url: string;
14251
14461
  chainId: number;
14252
14462
  }[] | undefined;
14253
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14463
+ lastClaimsOnchainFetchTimestamp: string | null;
14254
14464
  };
14255
14465
  rewardTokenId?: string | undefined;
14256
14466
  rewardToken: {
@@ -14285,7 +14495,7 @@ declare const app: Elysia<"", {
14285
14495
  url: string;
14286
14496
  chainId: number;
14287
14497
  }[] | undefined;
14288
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14498
+ lastClaimsOnchainFetchTimestamp: string | null;
14289
14499
  } | undefined;
14290
14500
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
14291
14501
  campaignStatus: {
@@ -14451,7 +14661,7 @@ declare const app: Elysia<"", {
14451
14661
  url: string;
14452
14662
  chainId: number;
14453
14663
  }[] | undefined;
14454
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14664
+ lastClaimsOnchainFetchTimestamp: string | null;
14455
14665
  };
14456
14666
  activePrograms: {
14457
14667
  id: string;
@@ -14586,7 +14796,7 @@ declare const app: Elysia<"", {
14586
14796
  url: string;
14587
14797
  chainId: number;
14588
14798
  }[] | undefined;
14589
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14799
+ lastClaimsOnchainFetchTimestamp: string | null;
14590
14800
  };
14591
14801
  rewardTokenId?: string | undefined;
14592
14802
  rewardToken: {
@@ -14621,7 +14831,7 @@ declare const app: Elysia<"", {
14621
14831
  url: string;
14622
14832
  chainId: number;
14623
14833
  }[] | undefined;
14624
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14834
+ lastClaimsOnchainFetchTimestamp: string | null;
14625
14835
  } | undefined;
14626
14836
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
14627
14837
  campaignStatus: {
@@ -14744,7 +14954,7 @@ declare const app: Elysia<"", {
14744
14954
  url: string;
14745
14955
  chainId: number;
14746
14956
  }[] | undefined;
14747
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14957
+ lastClaimsOnchainFetchTimestamp: string | null;
14748
14958
  };
14749
14959
  activePrograms: {
14750
14960
  id: string;
@@ -14879,7 +15089,7 @@ declare const app: Elysia<"", {
14879
15089
  url: string;
14880
15090
  chainId: number;
14881
15091
  }[] | undefined;
14882
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15092
+ lastClaimsOnchainFetchTimestamp: string | null;
14883
15093
  };
14884
15094
  rewardTokenId?: string | undefined;
14885
15095
  rewardToken: {
@@ -14914,7 +15124,7 @@ declare const app: Elysia<"", {
14914
15124
  url: string;
14915
15125
  chainId: number;
14916
15126
  }[] | undefined;
14917
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15127
+ lastClaimsOnchainFetchTimestamp: string | null;
14918
15128
  } | undefined;
14919
15129
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
14920
15130
  campaignStatus: {
@@ -15081,7 +15291,7 @@ declare const app: Elysia<"", {
15081
15291
  url: string;
15082
15292
  chainId: number;
15083
15293
  }[] | undefined;
15084
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15294
+ lastClaimsOnchainFetchTimestamp: string | null;
15085
15295
  };
15086
15296
  activePrograms: {
15087
15297
  id: string;
@@ -15216,7 +15426,7 @@ declare const app: Elysia<"", {
15216
15426
  url: string;
15217
15427
  chainId: number;
15218
15428
  }[] | undefined;
15219
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15429
+ lastClaimsOnchainFetchTimestamp: string | null;
15220
15430
  };
15221
15431
  rewardTokenId?: string | undefined;
15222
15432
  rewardToken: {
@@ -15251,7 +15461,7 @@ declare const app: Elysia<"", {
15251
15461
  url: string;
15252
15462
  chainId: number;
15253
15463
  }[] | undefined;
15254
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15464
+ lastClaimsOnchainFetchTimestamp: string | null;
15255
15465
  } | undefined;
15256
15466
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
15257
15467
  campaignStatus: {
@@ -15515,7 +15725,7 @@ declare const app: Elysia<"", {
15515
15725
  url: string;
15516
15726
  chainId: number;
15517
15727
  }[] | undefined;
15518
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15728
+ lastClaimsOnchainFetchTimestamp: string | null;
15519
15729
  };
15520
15730
  activePrograms: {
15521
15731
  id: string;
@@ -15650,7 +15860,7 @@ declare const app: Elysia<"", {
15650
15860
  url: string;
15651
15861
  chainId: number;
15652
15862
  }[] | undefined;
15653
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15863
+ lastClaimsOnchainFetchTimestamp: string | null;
15654
15864
  };
15655
15865
  rewardTokenId?: string | undefined;
15656
15866
  rewardToken: {
@@ -15685,7 +15895,7 @@ declare const app: Elysia<"", {
15685
15895
  url: string;
15686
15896
  chainId: number;
15687
15897
  }[] | undefined;
15688
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15898
+ lastClaimsOnchainFetchTimestamp: string | null;
15689
15899
  } | undefined;
15690
15900
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
15691
15901
  campaignStatus: {
@@ -15808,7 +16018,7 @@ declare const app: Elysia<"", {
15808
16018
  url: string;
15809
16019
  chainId: number;
15810
16020
  }[] | undefined;
15811
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
16021
+ lastClaimsOnchainFetchTimestamp: string | null;
15812
16022
  };
15813
16023
  activePrograms: {
15814
16024
  id: string;
@@ -15943,7 +16153,7 @@ declare const app: Elysia<"", {
15943
16153
  url: string;
15944
16154
  chainId: number;
15945
16155
  }[] | undefined;
15946
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
16156
+ lastClaimsOnchainFetchTimestamp: string | null;
15947
16157
  };
15948
16158
  rewardTokenId?: string | undefined;
15949
16159
  rewardToken: {
@@ -15978,7 +16188,7 @@ declare const app: Elysia<"", {
15978
16188
  url: string;
15979
16189
  chainId: number;
15980
16190
  }[] | undefined;
15981
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
16191
+ lastClaimsOnchainFetchTimestamp: string | null;
15982
16192
  } | undefined;
15983
16193
  distributionType?: "AAVE_NET_APR" | "AAVE_V4_NET_APR" | "DUTCH_AUCTION" | "ERC4626_APR" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
15984
16194
  campaignStatus: {
@@ -18909,7 +19119,7 @@ declare const app: Elysia<"", {
18909
19119
  url: string;
18910
19120
  chainId: number;
18911
19121
  }[] | undefined;
18912
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
19122
+ lastClaimsOnchainFetchTimestamp: string | null;
18913
19123
  };
18914
19124
  activePrograms: {
18915
19125
  id: string;
@@ -19116,7 +19326,7 @@ declare const app: Elysia<"", {
19116
19326
  url: string;
19117
19327
  chainId: number;
19118
19328
  }[] | undefined;
19119
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
19329
+ lastClaimsOnchainFetchTimestamp: string | null;
19120
19330
  };
19121
19331
  activePrograms: {
19122
19332
  id: string;
@@ -19357,7 +19567,7 @@ declare const app: Elysia<"", {
19357
19567
  url: string;
19358
19568
  chainId: number;
19359
19569
  }[] | undefined;
19360
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
19570
+ lastClaimsOnchainFetchTimestamp: string | null;
19361
19571
  };
19362
19572
  activePrograms: {
19363
19573
  id: string;
@@ -19573,7 +19783,7 @@ declare const app: Elysia<"", {
19573
19783
  url: string;
19574
19784
  chainId: number;
19575
19785
  }[] | undefined;
19576
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
19786
+ lastClaimsOnchainFetchTimestamp: string | null;
19577
19787
  };
19578
19788
  activePrograms: {
19579
19789
  id: string;
@@ -21933,7 +22143,7 @@ declare const app: Elysia<"", {
21933
22143
  url: string;
21934
22144
  chainId: number;
21935
22145
  }[] | undefined;
21936
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
22146
+ lastClaimsOnchainFetchTimestamp: string | null;
21937
22147
  };
21938
22148
  activePrograms: {
21939
22149
  id: string;
@@ -22166,7 +22376,7 @@ declare const app: Elysia<"", {
22166
22376
  url: string;
22167
22377
  chainId: number;
22168
22378
  }[] | undefined;
22169
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
22379
+ lastClaimsOnchainFetchTimestamp: string | null;
22170
22380
  };
22171
22381
  activePrograms: {
22172
22382
  id: string;
@@ -23407,7 +23617,7 @@ declare const app: Elysia<"", {
23407
23617
  url: string;
23408
23618
  chainId: number;
23409
23619
  }[] | undefined;
23410
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
23620
+ lastClaimsOnchainFetchTimestamp: string | null;
23411
23621
  };
23412
23622
  rewards: {
23413
23623
  root: string;
@@ -23599,6 +23809,124 @@ declare const app: Elysia<"", {
23599
23809
  };
23600
23810
  };
23601
23811
  };
23812
+ } & {
23813
+ users: {
23814
+ ":address": {
23815
+ rewards: {
23816
+ stats: {
23817
+ get: {
23818
+ body: unknown;
23819
+ params: {
23820
+ address: string;
23821
+ };
23822
+ query: {
23823
+ chains?: string[] | undefined;
23824
+ tokens?: string[] | undefined;
23825
+ protocols?: string[] | undefined;
23826
+ isTest?: boolean | undefined;
23827
+ isPreTGE?: boolean | undefined;
23828
+ };
23829
+ headers: unknown;
23830
+ response: {
23831
+ 200: {
23832
+ totalEarnedUSD: string;
23833
+ pendingUSD: string;
23834
+ claimableUSD: string;
23835
+ };
23836
+ 422: {
23837
+ type: "validation";
23838
+ on: string;
23839
+ summary?: string | undefined;
23840
+ message?: string | undefined;
23841
+ found?: unknown;
23842
+ property?: string | undefined;
23843
+ expected?: string | undefined;
23844
+ };
23845
+ };
23846
+ };
23847
+ };
23848
+ };
23849
+ };
23850
+ };
23851
+ } & {
23852
+ users: {
23853
+ ":address": {
23854
+ rewards: {
23855
+ summary: {
23856
+ get: {
23857
+ body: unknown;
23858
+ params: {
23859
+ address: string;
23860
+ };
23861
+ query: {
23862
+ chains?: string[] | undefined;
23863
+ tokens?: string[] | undefined;
23864
+ protocols?: string[] | undefined;
23865
+ isTest?: boolean | undefined;
23866
+ isPreTGE?: boolean | undefined;
23867
+ reloadChainId?: number | undefined;
23868
+ };
23869
+ headers: unknown;
23870
+ response: {
23871
+ 200: {
23872
+ chain: {
23873
+ id: number;
23874
+ name: string;
23875
+ icon: string;
23876
+ liveCampaigns: number;
23877
+ endOfDisputePeriod: number;
23878
+ explorers?: {
23879
+ type: "BLOCKSCOUT" | "ETHERSCAN" | "SOLSCAN";
23880
+ url: string;
23881
+ chainId: number;
23882
+ }[] | undefined;
23883
+ lastClaimsOnchainFetchTimestamp: string | null;
23884
+ };
23885
+ amountUSD: string;
23886
+ claimedUSD: string;
23887
+ pendingUSD: string;
23888
+ rewards: {
23889
+ token: {
23890
+ id: string;
23891
+ name: string | null;
23892
+ chainId: number;
23893
+ address: string;
23894
+ decimals: number;
23895
+ symbol: string;
23896
+ icon: string;
23897
+ verified: boolean;
23898
+ isNative: boolean;
23899
+ isTest: boolean;
23900
+ type: "POINT" | "PRETGE" | "TOKEN";
23901
+ price?: number | null | undefined;
23902
+ updatedAt?: number | null | undefined;
23903
+ priceSource?: string | null | undefined;
23904
+ displaySymbol?: string | undefined;
23905
+ underlyingTokenId?: string | undefined;
23906
+ priceAlertDismissedAt?: number | undefined;
23907
+ priceAlertCount?: number | undefined;
23908
+ };
23909
+ amount: string;
23910
+ claimed: string;
23911
+ pending: string;
23912
+ proofs: string[];
23913
+ }[];
23914
+ }[];
23915
+ 422: {
23916
+ type: "validation";
23917
+ on: string;
23918
+ summary?: string | undefined;
23919
+ message?: string | undefined;
23920
+ found?: unknown;
23921
+ property?: string | undefined;
23922
+ expected?: string | undefined;
23923
+ };
23924
+ };
23925
+ };
23926
+ };
23927
+ };
23928
+ };
23929
+ };
23602
23930
  } & {
23603
23931
  users: {
23604
23932
  get: {
@@ -23686,7 +24014,7 @@ declare const app: Elysia<"", {
23686
24014
  url: string;
23687
24015
  chainId: number;
23688
24016
  }[] | undefined;
23689
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
24017
+ lastClaimsOnchainFetchTimestamp: string | null;
23690
24018
  };
23691
24019
  rewards: {
23692
24020
  root: string;
@@ -24032,7 +24360,7 @@ declare const app: Elysia<"", {
24032
24360
  url: string;
24033
24361
  chainId: number;
24034
24362
  }[] | undefined;
24035
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
24363
+ lastClaimsOnchainFetchTimestamp: string | null;
24036
24364
  };
24037
24365
  activePrograms: {
24038
24366
  id: string;
@@ -24372,6 +24700,49 @@ declare const app: Elysia<"", {
24372
24700
  };
24373
24701
  };
24374
24702
  };
24703
+ } & {
24704
+ graphql: {};
24705
+ } & {
24706
+ graphql: {
24707
+ v1: {
24708
+ [x: string]: {
24709
+ body: unknown;
24710
+ params: {};
24711
+ query: unknown;
24712
+ headers: unknown;
24713
+ response: {
24714
+ 200: Response;
24715
+ };
24716
+ };
24717
+ };
24718
+ };
24719
+ } & {
24720
+ graphql: {
24721
+ v1: {
24722
+ "*": {
24723
+ [x: string]: {
24724
+ body: unknown;
24725
+ params: {
24726
+ "*": string;
24727
+ } & {};
24728
+ query: unknown;
24729
+ headers: unknown;
24730
+ response: {
24731
+ 200: Response;
24732
+ 422: {
24733
+ type: "validation";
24734
+ on: string;
24735
+ summary?: string | undefined;
24736
+ message?: string | undefined;
24737
+ found?: unknown;
24738
+ property?: string | undefined;
24739
+ expected?: string | undefined;
24740
+ };
24741
+ };
24742
+ };
24743
+ };
24744
+ };
24745
+ };
24375
24746
  } & {
24376
24747
  get: {
24377
24748
  body: unknown;
@@ -24490,32 +24861,6 @@ declare const app: Elysia<"", {
24490
24861
  };
24491
24862
  };
24492
24863
  };
24493
- } & {
24494
- v1: {
24495
- prices: {
24496
- get: {
24497
- body: unknown;
24498
- params: {};
24499
- query: {};
24500
- headers: unknown;
24501
- response: {
24502
- 200: {
24503
- rate: number;
24504
- token: string;
24505
- }[];
24506
- 422: {
24507
- type: "validation";
24508
- on: string;
24509
- summary?: string | undefined;
24510
- message?: string | undefined;
24511
- found?: unknown;
24512
- property?: string | undefined;
24513
- expected?: string | undefined;
24514
- };
24515
- };
24516
- };
24517
- };
24518
- };
24519
24864
  } & {
24520
24865
  v1: {
24521
24866
  tokens: {
@@ -24575,10 +24920,6 @@ declare const app: Elysia<"", {
24575
24920
  response: {
24576
24921
  200: {
24577
24922
  tokens: TokenList;
24578
- prices: {
24579
- rate: number;
24580
- token: string;
24581
- }[];
24582
24923
  };
24583
24924
  422: {
24584
24925
  type: "validation";