@merkl/api 1.19.27 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) 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.js.map +1 -1
  4. package/dist/src/eden/index.d.ts +199 -112
  5. package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +10 -0
  6. package/dist/src/engine/implementations/Erc20/subTypes/implementations/bunni/metadata.js.map +1 -1
  7. package/dist/src/engine/implementations/Erc20/subTypes/implementations/bunni/tvl.js.map +1 -1
  8. package/dist/src/engine/implementations/Erc20/subTypes/implementations/euler/metadata.js.map +1 -1
  9. package/dist/src/engine/implementations/Erc20/subTypes/implementations/eulerEarn/metadata.js.map +1 -1
  10. package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +1 -1
  11. package/dist/src/engine/implementations/EulerBorrowFromCollateral/metadata.js.map +1 -1
  12. package/dist/src/engine/implementations/MerklCredit/metadata.d.ts +15 -0
  13. package/dist/src/engine/implementations/MerklCredit/metadata.js.map +1 -0
  14. package/dist/src/engine/implementations/MultiLog/metadata.js.map +1 -1
  15. package/dist/src/engine/implementations/pancakeSwapInfinity/metadata.d.ts +19 -0
  16. package/dist/src/engine/implementations/pancakeSwapInfinity/metadata.js.map +1 -0
  17. package/dist/src/engine/metadata/factory.js.map +1 -1
  18. package/dist/src/engine/tvl/factory.js.map +1 -1
  19. package/dist/src/guards/CampaignAccess.guard.d.ts +18 -16
  20. package/dist/src/guards/CampaignAccess.guard.js.map +1 -1
  21. package/dist/src/index.d.ts +208 -115
  22. package/dist/src/index.js.map +1 -1
  23. package/dist/src/jobs/claim-etl/config.d.ts +2 -2
  24. package/dist/src/jobs/claim-etl/config.js.map +1 -1
  25. package/dist/src/jobs/claim-etl/load.js.map +1 -1
  26. package/dist/src/jobs/deposit-credit-etl/config.d.ts +13 -0
  27. package/dist/src/jobs/deposit-credit-etl/config.js.map +1 -0
  28. package/dist/src/jobs/deposit-credit-etl/index.d.ts +16 -0
  29. package/dist/src/jobs/deposit-credit-etl/index.js.map +1 -0
  30. package/dist/src/jobs/deposit-credit-etl/load.d.ts +13 -0
  31. package/dist/src/jobs/deposit-credit-etl/load.js.map +1 -0
  32. package/dist/src/jobs/deposit-credit-etl/types.d.ts +11 -0
  33. package/dist/src/jobs/deposit-credit-etl/types.js.map +1 -0
  34. package/dist/src/jobs/prices.js.map +1 -1
  35. package/dist/src/jobs/refresh-materialized-views.js.map +1 -1
  36. package/dist/src/modules/v4/authentication/authentication.service.js.map +1 -1
  37. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +26 -20
  38. package/dist/src/modules/v4/campaign/campaign.controller.js.map +1 -1
  39. package/dist/src/modules/v4/campaign/campaign.model.d.ts +3 -2
  40. package/dist/src/modules/v4/campaign/campaign.model.js.map +1 -1
  41. package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +21 -11
  42. package/dist/src/modules/v4/campaign/campaign.query-transformer.js.map +1 -1
  43. package/dist/src/modules/v4/campaign/campaign.service.d.ts +7 -5
  44. package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
  45. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.repository.js.map +1 -1
  46. package/dist/src/modules/v4/carousel/carousel.controller.d.ts +48 -12
  47. package/dist/src/modules/v4/carousel/carousel.formatter.d.ts +8 -1
  48. package/dist/src/modules/v4/carousel/carousel.formatter.js.map +1 -1
  49. package/dist/src/modules/v4/carousel/carousel.repository.d.ts +6 -0
  50. package/dist/src/modules/v4/carousel/carousel.service.d.ts +19 -8
  51. package/dist/src/modules/v4/carousel/carousel.service.js.map +1 -1
  52. package/dist/src/modules/v4/chain/chain.controller.d.ts +4 -4
  53. package/dist/src/modules/v4/chain/chain.formatter.js.map +1 -1
  54. package/dist/src/modules/v4/chain/chain.model.d.ts +1 -1
  55. package/dist/src/modules/v4/chain/chain.repository.js.map +1 -1
  56. package/dist/src/modules/v4/clamm/clamm.controller.d.ts +2 -2
  57. package/dist/src/modules/v4/clamm/clamm.service.js.map +1 -1
  58. package/dist/src/modules/v4/creator/creator.controller.d.ts +3 -3
  59. package/dist/src/modules/v4/historical/historical.controller.d.ts +38 -2
  60. package/dist/src/modules/v4/historical/historical.controller.js.map +1 -1
  61. package/dist/src/modules/v4/historical/historical.model.d.ts +28 -0
  62. package/dist/src/modules/v4/historical/historical.model.js.map +1 -1
  63. package/dist/src/modules/v4/indexingRange/indexingRange.model.js.map +1 -1
  64. package/dist/src/modules/v4/indexingRange/indexingRange.service.js.map +1 -1
  65. package/dist/src/modules/v4/jobWatermark/jobWatermark.constants.d.ts +2 -1
  66. package/dist/src/modules/v4/jobWatermark/jobWatermark.constants.js.map +1 -1
  67. package/dist/src/modules/v4/keyStore/keyStore.controller.d.ts +20 -15
  68. package/dist/src/modules/v4/keyStore/keyStore.controller.js.map +1 -1
  69. package/dist/src/modules/v4/leaf/latestCompute.repository.d.ts +24 -0
  70. package/dist/src/modules/v4/leaf/latestCompute.repository.js.map +1 -0
  71. package/dist/src/modules/v4/leaf/leaf.repository.d.ts +130 -0
  72. package/dist/src/modules/v4/leaf/leaf.repository.js.map +1 -1
  73. package/dist/src/modules/v4/leaf/leaf.service.d.ts +609 -0
  74. package/dist/src/modules/v4/leaf/leaf.service.js.map +1 -1
  75. package/dist/src/modules/v4/leaf/leafTemp.repository.d.ts +12 -0
  76. package/dist/src/modules/v4/leaf/leafTemp.repository.js.map +1 -1
  77. package/dist/src/modules/v4/leaf/leafView.repository.d.ts +15 -0
  78. package/dist/src/modules/v4/leaf/leafView.repository.js.map +1 -1
  79. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +19 -18
  80. package/dist/src/modules/v4/opportunity/opportunity.controller.js.map +1 -1
  81. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -3
  82. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +8 -8
  83. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +210 -17
  84. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.js.map +1 -1
  85. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +8 -7
  86. package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
  87. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +18 -18
  88. package/dist/src/modules/v4/opportunity/opportunity.service.js.map +1 -1
  89. package/dist/src/modules/v4/priceSource/priceFetchers/implementations/coinGeckoService.d.ts +1 -0
  90. package/dist/src/modules/v4/priceSource/priceFetchers/implementations/coinGeckoService.js.map +1 -1
  91. package/dist/src/modules/v4/program/program.controller.d.ts +4 -4
  92. package/dist/src/modules/v4/program/program.service.d.ts +4 -4
  93. package/dist/src/modules/v4/programPayload/subPayloads/ethena.d.ts +48 -48
  94. package/dist/src/modules/v4/reward/reward.service.d.ts +4 -4
  95. package/dist/src/modules/v4/router.d.ts +208 -85
  96. package/dist/src/modules/v4/token/token.service.d.ts +0 -8
  97. package/dist/src/modules/v4/token/token.service.js.map +1 -1
  98. package/dist/src/modules/v4/transaction/transaction.service.d.ts +64 -8
  99. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +2 -2
  100. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +1 -1
  101. package/dist/src/modules/v4/user/user.controller.d.ts +42 -3
  102. package/dist/src/modules/v4/user/user.controller.js.map +1 -1
  103. package/dist/src/modules/v4/user/user.model.d.ts +15 -1
  104. package/dist/src/modules/v4/user/user.model.js.map +1 -1
  105. package/dist/src/modules/v4/user/user.service.d.ts +13 -1
  106. package/dist/src/modules/v4/user/user.service.js.map +1 -1
  107. package/dist/src/routes/v1/router.d.ts +0 -26
  108. package/dist/src/routes/v1/router.js.map +1 -1
  109. package/dist/src/routes/v3/app.d.ts +0 -8
  110. package/dist/src/routes/v3/app.js.map +1 -1
  111. package/dist/src/routes/v3/router.d.ts +0 -4
  112. package/dist/src/scripts/backfill-leafbreakdown-opportunities.js.map +1 -1
  113. package/dist/src/utils/eulerVerified.d.ts +8 -0
  114. package/dist/src/utils/eulerVerified.js.map +1 -0
  115. package/dist/src/utils/getAPR.d.ts +32 -4
  116. package/dist/src/utils/parseDistributionType.d.ts +32 -4
  117. package/dist/tsconfig.tsbuildinfo +1 -1
  118. package/package.json +1 -1
  119. package/dist/src/routes/v1/prices.d.ts +0 -85
  120. package/dist/src/routes/v1/prices.js.map +0 -1
  121. package/dist/src/utils/pricer.d.ts +0 -57
  122. package/dist/src/utils/pricer.js.map +0 -1
  123. package/dist/src/utils/prices/chainlinkRead.d.ts +0 -4
  124. package/dist/src/utils/prices/chainlinkRead.js.map +0 -1
  125. package/dist/src/utils/prices/curveVirtualPrice.d.ts +0 -4
  126. package/dist/src/utils/prices/curveVirtualPrice.js.map +0 -1
  127. package/dist/src/utils/prices/getDQUICK.d.ts +0 -4
  128. package/dist/src/utils/prices/getDQUICK.js.map +0 -1
  129. package/dist/src/utils/prices/priceService.d.ts +0 -13
  130. package/dist/src/utils/prices/priceService.js.map +0 -1
  131. package/dist/src/utils/prices/uniV2Price.d.ts +0 -4
  132. package/dist/src/utils/prices/uniV2Price.js.map +0 -1
@@ -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;
@@ -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;
@@ -11020,9 +11062,10 @@ declare const app: Elysia<"", {
11020
11062
  key: string;
11021
11063
  };
11022
11064
  query: unknown;
11023
- headers: Partial<{
11024
- authorization: string;
11025
- }>;
11065
+ headers: {
11066
+ authorization?: string | undefined;
11067
+ "x-api-key"?: string | undefined;
11068
+ };
11026
11069
  response: {
11027
11070
  200: {
11028
11071
  address: string;
@@ -11060,9 +11103,10 @@ declare const app: Elysia<"", {
11060
11103
  key: string;
11061
11104
  };
11062
11105
  query: unknown;
11063
- headers: Partial<{
11064
- authorization: string;
11065
- }>;
11106
+ headers: {
11107
+ authorization?: string | undefined;
11108
+ "x-api-key"?: string | undefined;
11109
+ };
11066
11110
  response: {
11067
11111
  200: {
11068
11112
  success: boolean;
@@ -11097,9 +11141,10 @@ declare const app: Elysia<"", {
11097
11141
  pageSize?: number | undefined;
11098
11142
  value?: string | undefined;
11099
11143
  };
11100
- headers: Partial<{
11101
- authorization: string;
11102
- }>;
11144
+ headers: {
11145
+ authorization?: string | undefined;
11146
+ "x-api-key"?: string | undefined;
11147
+ };
11103
11148
  response: {
11104
11149
  200: {
11105
11150
  entries: {
@@ -11138,9 +11183,10 @@ declare const app: Elysia<"", {
11138
11183
  address: string;
11139
11184
  };
11140
11185
  query: unknown;
11141
- headers: Partial<{
11142
- authorization: string;
11143
- }>;
11186
+ headers: {
11187
+ authorization?: string | undefined;
11188
+ "x-api-key"?: string | undefined;
11189
+ };
11144
11190
  response: {
11145
11191
  200: {
11146
11192
  address: string;
@@ -11175,9 +11221,10 @@ declare const app: Elysia<"", {
11175
11221
  address: string;
11176
11222
  };
11177
11223
  query: unknown;
11178
- headers: Partial<{
11179
- authorization: string;
11180
- }>;
11224
+ headers: {
11225
+ authorization?: string | undefined;
11226
+ "x-api-key"?: string | undefined;
11227
+ };
11181
11228
  response: {
11182
11229
  200: {
11183
11230
  success: boolean;
@@ -11678,7 +11725,7 @@ declare const app: Elysia<"", {
11678
11725
  url: string;
11679
11726
  chainId: number;
11680
11727
  }[] | undefined;
11681
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
11728
+ lastClaimsOnchainFetchTimestamp: string | null;
11682
11729
  };
11683
11730
  activePrograms: {
11684
11731
  id: string;
@@ -11813,7 +11860,7 @@ declare const app: Elysia<"", {
11813
11860
  url: string;
11814
11861
  chainId: number;
11815
11862
  }[] | undefined;
11816
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
11863
+ lastClaimsOnchainFetchTimestamp: string | null;
11817
11864
  };
11818
11865
  rewardTokenId?: string | undefined;
11819
11866
  rewardToken: {
@@ -11848,7 +11895,7 @@ declare const app: Elysia<"", {
11848
11895
  url: string;
11849
11896
  chainId: number;
11850
11897
  }[] | undefined;
11851
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
11898
+ lastClaimsOnchainFetchTimestamp: string | null;
11852
11899
  } | undefined;
11853
11900
  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
11901
  campaignStatus: {
@@ -13154,7 +13201,25 @@ declare const app: Elysia<"", {
13154
13201
  authorization: string;
13155
13202
  };
13156
13203
  response: {
13157
- 200: import("./modules/v4/historical/historical.model").HistoricalDiffResult;
13204
+ 200: {
13205
+ startRoot: {
13206
+ root: string;
13207
+ timestamp: string;
13208
+ };
13209
+ endRoot: {
13210
+ root: string;
13211
+ timestamp: string;
13212
+ };
13213
+ breakdowns: {
13214
+ campaignId: string;
13215
+ recipient: string;
13216
+ reason: string;
13217
+ rewardToken: string;
13218
+ startAmount: string;
13219
+ endAmount: string;
13220
+ diff: string;
13221
+ }[];
13222
+ };
13158
13223
  422: {
13159
13224
  type: "validation";
13160
13225
  on: string;
@@ -13187,7 +13252,25 @@ declare const app: Elysia<"", {
13187
13252
  authorization: string;
13188
13253
  };
13189
13254
  response: {
13190
- 200: import("./modules/v4/historical/historical.model").HistoricalDiffResult;
13255
+ 200: {
13256
+ startRoot: {
13257
+ root: string;
13258
+ timestamp: string;
13259
+ };
13260
+ endRoot: {
13261
+ root: string;
13262
+ timestamp: string;
13263
+ };
13264
+ breakdowns: {
13265
+ campaignId: string;
13266
+ recipient: string;
13267
+ reason: string;
13268
+ rewardToken: string;
13269
+ startAmount: string;
13270
+ endAmount: string;
13271
+ diff: string;
13272
+ }[];
13273
+ };
13191
13274
  422: {
13192
13275
  type: "validation";
13193
13276
  on: string;
@@ -14030,6 +14113,7 @@ declare const app: Elysia<"", {
14030
14113
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
14031
14114
  point?: boolean | undefined;
14032
14115
  opportunityId?: string | undefined;
14116
+ opportunityIds?: string[] | undefined;
14033
14117
  status?: string | undefined;
14034
14118
  startTimestamp?: string | undefined;
14035
14119
  endTimestamp?: string | undefined;
@@ -14115,7 +14199,7 @@ declare const app: Elysia<"", {
14115
14199
  url: string;
14116
14200
  chainId: number;
14117
14201
  }[] | undefined;
14118
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14202
+ lastClaimsOnchainFetchTimestamp: string | null;
14119
14203
  };
14120
14204
  activePrograms: {
14121
14205
  id: string;
@@ -14250,7 +14334,7 @@ declare const app: Elysia<"", {
14250
14334
  url: string;
14251
14335
  chainId: number;
14252
14336
  }[] | undefined;
14253
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14337
+ lastClaimsOnchainFetchTimestamp: string | null;
14254
14338
  };
14255
14339
  rewardTokenId?: string | undefined;
14256
14340
  rewardToken: {
@@ -14285,7 +14369,7 @@ declare const app: Elysia<"", {
14285
14369
  url: string;
14286
14370
  chainId: number;
14287
14371
  }[] | undefined;
14288
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14372
+ lastClaimsOnchainFetchTimestamp: string | null;
14289
14373
  } | undefined;
14290
14374
  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
14375
  campaignStatus: {
@@ -14451,7 +14535,7 @@ declare const app: Elysia<"", {
14451
14535
  url: string;
14452
14536
  chainId: number;
14453
14537
  }[] | undefined;
14454
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14538
+ lastClaimsOnchainFetchTimestamp: string | null;
14455
14539
  };
14456
14540
  activePrograms: {
14457
14541
  id: string;
@@ -14586,7 +14670,7 @@ declare const app: Elysia<"", {
14586
14670
  url: string;
14587
14671
  chainId: number;
14588
14672
  }[] | undefined;
14589
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14673
+ lastClaimsOnchainFetchTimestamp: string | null;
14590
14674
  };
14591
14675
  rewardTokenId?: string | undefined;
14592
14676
  rewardToken: {
@@ -14621,7 +14705,7 @@ declare const app: Elysia<"", {
14621
14705
  url: string;
14622
14706
  chainId: number;
14623
14707
  }[] | undefined;
14624
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14708
+ lastClaimsOnchainFetchTimestamp: string | null;
14625
14709
  } | undefined;
14626
14710
  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
14711
  campaignStatus: {
@@ -14744,7 +14828,7 @@ declare const app: Elysia<"", {
14744
14828
  url: string;
14745
14829
  chainId: number;
14746
14830
  }[] | undefined;
14747
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14831
+ lastClaimsOnchainFetchTimestamp: string | null;
14748
14832
  };
14749
14833
  activePrograms: {
14750
14834
  id: string;
@@ -14879,7 +14963,7 @@ declare const app: Elysia<"", {
14879
14963
  url: string;
14880
14964
  chainId: number;
14881
14965
  }[] | undefined;
14882
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14966
+ lastClaimsOnchainFetchTimestamp: string | null;
14883
14967
  };
14884
14968
  rewardTokenId?: string | undefined;
14885
14969
  rewardToken: {
@@ -14914,7 +14998,7 @@ declare const app: Elysia<"", {
14914
14998
  url: string;
14915
14999
  chainId: number;
14916
15000
  }[] | undefined;
14917
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15001
+ lastClaimsOnchainFetchTimestamp: string | null;
14918
15002
  } | undefined;
14919
15003
  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
15004
  campaignStatus: {
@@ -15081,7 +15165,7 @@ declare const app: Elysia<"", {
15081
15165
  url: string;
15082
15166
  chainId: number;
15083
15167
  }[] | undefined;
15084
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15168
+ lastClaimsOnchainFetchTimestamp: string | null;
15085
15169
  };
15086
15170
  activePrograms: {
15087
15171
  id: string;
@@ -15216,7 +15300,7 @@ declare const app: Elysia<"", {
15216
15300
  url: string;
15217
15301
  chainId: number;
15218
15302
  }[] | undefined;
15219
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15303
+ lastClaimsOnchainFetchTimestamp: string | null;
15220
15304
  };
15221
15305
  rewardTokenId?: string | undefined;
15222
15306
  rewardToken: {
@@ -15251,7 +15335,7 @@ declare const app: Elysia<"", {
15251
15335
  url: string;
15252
15336
  chainId: number;
15253
15337
  }[] | undefined;
15254
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15338
+ lastClaimsOnchainFetchTimestamp: string | null;
15255
15339
  } | undefined;
15256
15340
  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
15341
  campaignStatus: {
@@ -15515,7 +15599,7 @@ declare const app: Elysia<"", {
15515
15599
  url: string;
15516
15600
  chainId: number;
15517
15601
  }[] | undefined;
15518
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15602
+ lastClaimsOnchainFetchTimestamp: string | null;
15519
15603
  };
15520
15604
  activePrograms: {
15521
15605
  id: string;
@@ -15650,7 +15734,7 @@ declare const app: Elysia<"", {
15650
15734
  url: string;
15651
15735
  chainId: number;
15652
15736
  }[] | undefined;
15653
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15737
+ lastClaimsOnchainFetchTimestamp: string | null;
15654
15738
  };
15655
15739
  rewardTokenId?: string | undefined;
15656
15740
  rewardToken: {
@@ -15685,7 +15769,7 @@ declare const app: Elysia<"", {
15685
15769
  url: string;
15686
15770
  chainId: number;
15687
15771
  }[] | undefined;
15688
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15772
+ lastClaimsOnchainFetchTimestamp: string | null;
15689
15773
  } | undefined;
15690
15774
  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
15775
  campaignStatus: {
@@ -15808,7 +15892,7 @@ declare const app: Elysia<"", {
15808
15892
  url: string;
15809
15893
  chainId: number;
15810
15894
  }[] | undefined;
15811
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15895
+ lastClaimsOnchainFetchTimestamp: string | null;
15812
15896
  };
15813
15897
  activePrograms: {
15814
15898
  id: string;
@@ -15943,7 +16027,7 @@ declare const app: Elysia<"", {
15943
16027
  url: string;
15944
16028
  chainId: number;
15945
16029
  }[] | undefined;
15946
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
16030
+ lastClaimsOnchainFetchTimestamp: string | null;
15947
16031
  };
15948
16032
  rewardTokenId?: string | undefined;
15949
16033
  rewardToken: {
@@ -15978,7 +16062,7 @@ declare const app: Elysia<"", {
15978
16062
  url: string;
15979
16063
  chainId: number;
15980
16064
  }[] | undefined;
15981
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
16065
+ lastClaimsOnchainFetchTimestamp: string | null;
15982
16066
  } | undefined;
15983
16067
  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
16068
  campaignStatus: {
@@ -18909,7 +18993,7 @@ declare const app: Elysia<"", {
18909
18993
  url: string;
18910
18994
  chainId: number;
18911
18995
  }[] | undefined;
18912
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
18996
+ lastClaimsOnchainFetchTimestamp: string | null;
18913
18997
  };
18914
18998
  activePrograms: {
18915
18999
  id: string;
@@ -19116,7 +19200,7 @@ declare const app: Elysia<"", {
19116
19200
  url: string;
19117
19201
  chainId: number;
19118
19202
  }[] | undefined;
19119
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
19203
+ lastClaimsOnchainFetchTimestamp: string | null;
19120
19204
  };
19121
19205
  activePrograms: {
19122
19206
  id: string;
@@ -19357,7 +19441,7 @@ declare const app: Elysia<"", {
19357
19441
  url: string;
19358
19442
  chainId: number;
19359
19443
  }[] | undefined;
19360
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
19444
+ lastClaimsOnchainFetchTimestamp: string | null;
19361
19445
  };
19362
19446
  activePrograms: {
19363
19447
  id: string;
@@ -19573,7 +19657,7 @@ declare const app: Elysia<"", {
19573
19657
  url: string;
19574
19658
  chainId: number;
19575
19659
  }[] | undefined;
19576
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
19660
+ lastClaimsOnchainFetchTimestamp: string | null;
19577
19661
  };
19578
19662
  activePrograms: {
19579
19663
  id: string;
@@ -21933,7 +22017,7 @@ declare const app: Elysia<"", {
21933
22017
  url: string;
21934
22018
  chainId: number;
21935
22019
  }[] | undefined;
21936
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
22020
+ lastClaimsOnchainFetchTimestamp: string | null;
21937
22021
  };
21938
22022
  activePrograms: {
21939
22023
  id: string;
@@ -22166,7 +22250,7 @@ declare const app: Elysia<"", {
22166
22250
  url: string;
22167
22251
  chainId: number;
22168
22252
  }[] | undefined;
22169
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
22253
+ lastClaimsOnchainFetchTimestamp: string | null;
22170
22254
  };
22171
22255
  activePrograms: {
22172
22256
  id: string;
@@ -23407,7 +23491,7 @@ declare const app: Elysia<"", {
23407
23491
  url: string;
23408
23492
  chainId: number;
23409
23493
  }[] | undefined;
23410
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
23494
+ lastClaimsOnchainFetchTimestamp: string | null;
23411
23495
  };
23412
23496
  rewards: {
23413
23497
  root: string;
@@ -23599,6 +23683,45 @@ declare const app: Elysia<"", {
23599
23683
  };
23600
23684
  };
23601
23685
  };
23686
+ } & {
23687
+ users: {
23688
+ ":address": {
23689
+ rewards: {
23690
+ stats: {
23691
+ get: {
23692
+ body: unknown;
23693
+ params: {
23694
+ address: string;
23695
+ };
23696
+ query: {
23697
+ chains?: string[] | undefined;
23698
+ tokens?: string[] | undefined;
23699
+ protocols?: string[] | undefined;
23700
+ isTest?: boolean | undefined;
23701
+ isPreTGE?: boolean | undefined;
23702
+ };
23703
+ headers: unknown;
23704
+ response: {
23705
+ 200: {
23706
+ totalEarnedUSD: string;
23707
+ pendingUSD: string;
23708
+ claimableUSD: string;
23709
+ };
23710
+ 422: {
23711
+ type: "validation";
23712
+ on: string;
23713
+ summary?: string | undefined;
23714
+ message?: string | undefined;
23715
+ found?: unknown;
23716
+ property?: string | undefined;
23717
+ expected?: string | undefined;
23718
+ };
23719
+ };
23720
+ };
23721
+ };
23722
+ };
23723
+ };
23724
+ };
23602
23725
  } & {
23603
23726
  users: {
23604
23727
  get: {
@@ -23686,7 +23809,7 @@ declare const app: Elysia<"", {
23686
23809
  url: string;
23687
23810
  chainId: number;
23688
23811
  }[] | undefined;
23689
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
23812
+ lastClaimsOnchainFetchTimestamp: string | null;
23690
23813
  };
23691
23814
  rewards: {
23692
23815
  root: string;
@@ -24032,7 +24155,7 @@ declare const app: Elysia<"", {
24032
24155
  url: string;
24033
24156
  chainId: number;
24034
24157
  }[] | undefined;
24035
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
24158
+ lastClaimsOnchainFetchTimestamp: string | null;
24036
24159
  };
24037
24160
  activePrograms: {
24038
24161
  id: string;
@@ -24490,32 +24613,6 @@ declare const app: Elysia<"", {
24490
24613
  };
24491
24614
  };
24492
24615
  };
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
24616
  } & {
24520
24617
  v1: {
24521
24618
  tokens: {
@@ -24575,10 +24672,6 @@ declare const app: Elysia<"", {
24575
24672
  response: {
24576
24673
  200: {
24577
24674
  tokens: TokenList;
24578
- prices: {
24579
- rate: number;
24580
- token: string;
24581
- }[];
24582
24675
  };
24583
24676
  422: {
24584
24677
  type: "validation";