@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
@@ -113,27 +113,6 @@ declare const eden: {
113
113
  };
114
114
  }>>;
115
115
  };
116
- prices: {
117
- get: (options: {
118
- fetch?: RequestInit | undefined;
119
- headers?: Record<string, unknown> | undefined;
120
- query: {};
121
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
122
- 200: {
123
- rate: number;
124
- token: string;
125
- }[];
126
- 422: {
127
- type: "validation";
128
- on: string;
129
- summary?: string | undefined;
130
- message?: string | undefined;
131
- found?: unknown;
132
- property?: string | undefined;
133
- expected?: string | undefined;
134
- };
135
- }>>;
136
- };
137
116
  tokens: {
138
117
  get: (options: {
139
118
  fetch?: RequestInit | undefined;
@@ -184,10 +163,6 @@ declare const eden: {
184
163
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
185
164
  200: {
186
165
  tokens: TokenList;
187
- prices: {
188
- rate: number;
189
- token: string;
190
- }[];
191
166
  };
192
167
  422: {
193
168
  type: "validation";
@@ -2466,7 +2441,7 @@ declare const eden: {
2466
2441
  url: string;
2467
2442
  chainId: number;
2468
2443
  }[] | undefined;
2469
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2444
+ lastClaimsOnchainFetchTimestamp: string | null;
2470
2445
  };
2471
2446
  rewardTokenId?: string | undefined;
2472
2447
  rewardToken: {
@@ -2501,7 +2476,7 @@ declare const eden: {
2501
2476
  url: string;
2502
2477
  chainId: number;
2503
2478
  }[] | undefined;
2504
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2479
+ lastClaimsOnchainFetchTimestamp: string | null;
2505
2480
  } | undefined;
2506
2481
  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;
2507
2482
  campaignStatus: {
@@ -2615,7 +2590,7 @@ declare const eden: {
2615
2590
  url: string;
2616
2591
  chainId: number;
2617
2592
  }[] | undefined;
2618
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2593
+ lastClaimsOnchainFetchTimestamp: string | null;
2619
2594
  };
2620
2595
  childCampaignIds?: string[] | undefined;
2621
2596
  computeChainId: number;
@@ -2668,7 +2643,7 @@ declare const eden: {
2668
2643
  url: string;
2669
2644
  chainId: number;
2670
2645
  }[] | undefined;
2671
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2646
+ lastClaimsOnchainFetchTimestamp: string | null;
2672
2647
  } | undefined;
2673
2648
  distributionChainId: number;
2674
2649
  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;
@@ -2796,7 +2771,7 @@ declare const eden: {
2796
2771
  url: string;
2797
2772
  chainId: number;
2798
2773
  }[] | undefined;
2799
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2774
+ lastClaimsOnchainFetchTimestamp: string | null;
2800
2775
  };
2801
2776
  protocol: {
2802
2777
  id: string;
@@ -3007,7 +2982,7 @@ declare const eden: {
3007
2982
  url: string;
3008
2983
  chainId: number;
3009
2984
  }[] | undefined;
3010
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
2985
+ lastClaimsOnchainFetchTimestamp: string | null;
3011
2986
  };
3012
2987
  activePrograms: {
3013
2988
  id: string;
@@ -3142,7 +3117,7 @@ declare const eden: {
3142
3117
  url: string;
3143
3118
  chainId: number;
3144
3119
  }[] | undefined;
3145
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3120
+ lastClaimsOnchainFetchTimestamp: string | null;
3146
3121
  };
3147
3122
  rewardTokenId?: string | undefined;
3148
3123
  rewardToken: {
@@ -3177,7 +3152,7 @@ declare const eden: {
3177
3152
  url: string;
3178
3153
  chainId: number;
3179
3154
  }[] | undefined;
3180
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3155
+ lastClaimsOnchainFetchTimestamp: string | null;
3181
3156
  } | undefined;
3182
3157
  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;
3183
3158
  campaignStatus: {
@@ -3301,7 +3276,7 @@ declare const eden: {
3301
3276
  url: string;
3302
3277
  chainId: number;
3303
3278
  }[] | undefined;
3304
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3279
+ lastClaimsOnchainFetchTimestamp: string | null;
3305
3280
  };
3306
3281
  activePrograms: {
3307
3282
  id: string;
@@ -3436,7 +3411,7 @@ declare const eden: {
3436
3411
  url: string;
3437
3412
  chainId: number;
3438
3413
  }[] | undefined;
3439
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3414
+ lastClaimsOnchainFetchTimestamp: string | null;
3440
3415
  };
3441
3416
  rewardTokenId?: string | undefined;
3442
3417
  rewardToken: {
@@ -3471,7 +3446,7 @@ declare const eden: {
3471
3446
  url: string;
3472
3447
  chainId: number;
3473
3448
  }[] | undefined;
3474
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3449
+ lastClaimsOnchainFetchTimestamp: string | null;
3475
3450
  } | undefined;
3476
3451
  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;
3477
3452
  campaignStatus: {
@@ -3595,7 +3570,7 @@ declare const eden: {
3595
3570
  url: string;
3596
3571
  chainId: number;
3597
3572
  }[] | undefined;
3598
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3573
+ lastClaimsOnchainFetchTimestamp: string | null;
3599
3574
  };
3600
3575
  activePrograms: {
3601
3576
  id: string;
@@ -3730,7 +3705,7 @@ declare const eden: {
3730
3705
  url: string;
3731
3706
  chainId: number;
3732
3707
  }[] | undefined;
3733
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3708
+ lastClaimsOnchainFetchTimestamp: string | null;
3734
3709
  };
3735
3710
  rewardTokenId?: string | undefined;
3736
3711
  rewardToken: {
@@ -3765,7 +3740,7 @@ declare const eden: {
3765
3740
  url: string;
3766
3741
  chainId: number;
3767
3742
  }[] | undefined;
3768
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3743
+ lastClaimsOnchainFetchTimestamp: string | null;
3769
3744
  } | undefined;
3770
3745
  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;
3771
3746
  campaignStatus: {
@@ -3908,6 +3883,7 @@ declare const eden: {
3908
3883
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
3909
3884
  point?: boolean | undefined;
3910
3885
  opportunityId?: string | undefined;
3886
+ opportunityIds?: string[] | undefined;
3911
3887
  status?: string | undefined;
3912
3888
  startTimestamp?: string | undefined;
3913
3889
  endTimestamp?: string | undefined;
@@ -3953,7 +3929,7 @@ declare const eden: {
3953
3929
  url: string;
3954
3930
  chainId: number;
3955
3931
  }[] | undefined;
3956
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3932
+ lastClaimsOnchainFetchTimestamp: string | null;
3957
3933
  };
3958
3934
  rewardTokenId?: string | undefined;
3959
3935
  rewardToken: {
@@ -3988,7 +3964,7 @@ declare const eden: {
3988
3964
  url: string;
3989
3965
  chainId: number;
3990
3966
  }[] | undefined;
3991
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
3967
+ lastClaimsOnchainFetchTimestamp: string | null;
3992
3968
  } | undefined;
3993
3969
  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;
3994
3970
  campaignStatus: {
@@ -4102,7 +4078,7 @@ declare const eden: {
4102
4078
  url: string;
4103
4079
  chainId: number;
4104
4080
  }[] | undefined;
4105
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
4081
+ lastClaimsOnchainFetchTimestamp: string | null;
4106
4082
  };
4107
4083
  childCampaignIds?: string[] | undefined;
4108
4084
  computeChainId: number;
@@ -4155,7 +4131,7 @@ declare const eden: {
4155
4131
  url: string;
4156
4132
  chainId: number;
4157
4133
  }[] | undefined;
4158
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
4134
+ lastClaimsOnchainFetchTimestamp: string | null;
4159
4135
  } | undefined;
4160
4136
  distributionChainId: number;
4161
4137
  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;
@@ -4231,6 +4207,7 @@ declare const eden: {
4231
4207
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
4232
4208
  point?: boolean | undefined;
4233
4209
  opportunityId?: string | undefined;
4210
+ opportunityIds?: string[] | undefined;
4234
4211
  status?: string | undefined;
4235
4212
  startTimestamp?: string | undefined;
4236
4213
  endTimestamp?: string | undefined;
@@ -4412,6 +4389,7 @@ declare const eden: {
4412
4389
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
4413
4390
  point?: boolean | undefined;
4414
4391
  opportunityId?: string | undefined;
4392
+ opportunityIds?: string[] | undefined;
4415
4393
  status?: string | undefined;
4416
4394
  startTimestamp?: string | undefined;
4417
4395
  endTimestamp?: string | undefined;
@@ -4466,6 +4444,7 @@ declare const eden: {
4466
4444
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
4467
4445
  point?: boolean | undefined;
4468
4446
  opportunityId?: string | undefined;
4447
+ opportunityIds?: string[] | undefined;
4469
4448
  status?: string | undefined;
4470
4449
  startTimestamp?: string | undefined;
4471
4450
  endTimestamp?: string | undefined;
@@ -4523,6 +4502,7 @@ declare const eden: {
4523
4502
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
4524
4503
  point?: boolean | undefined;
4525
4504
  opportunityId?: string | undefined;
4505
+ opportunityIds?: string[] | undefined;
4526
4506
  status?: string | undefined;
4527
4507
  startTimestamp?: string | undefined;
4528
4508
  endTimestamp?: string | undefined;
@@ -4580,6 +4560,7 @@ declare const eden: {
4580
4560
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
4581
4561
  point?: boolean | undefined;
4582
4562
  opportunityId?: string | undefined;
4563
+ opportunityIds?: string[] | undefined;
4583
4564
  status?: string | undefined;
4584
4565
  startTimestamp?: string | undefined;
4585
4566
  endTimestamp?: string | undefined;
@@ -6346,7 +6327,7 @@ declare const eden: {
6346
6327
  url: string;
6347
6328
  chainId: number;
6348
6329
  }[] | undefined;
6349
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
6330
+ lastClaimsOnchainFetchTimestamp: string | null;
6350
6331
  };
6351
6332
  protocol: {
6352
6333
  id: string;
@@ -6519,7 +6500,7 @@ declare const eden: {
6519
6500
  url: string;
6520
6501
  chainId: number;
6521
6502
  }[] | undefined;
6522
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
6503
+ lastClaimsOnchainFetchTimestamp: string | null;
6523
6504
  };
6524
6505
  protocol: {
6525
6506
  id: string;
@@ -7193,7 +7174,7 @@ declare const eden: {
7193
7174
  url: string;
7194
7175
  chainId: number;
7195
7176
  }[] | undefined;
7196
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
7177
+ lastClaimsOnchainFetchTimestamp: string | null;
7197
7178
  };
7198
7179
  activePrograms: {
7199
7180
  id: string;
@@ -7376,7 +7357,7 @@ declare const eden: {
7376
7357
  url: string;
7377
7358
  chainId: number;
7378
7359
  }[] | undefined;
7379
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
7360
+ lastClaimsOnchainFetchTimestamp: string | null;
7380
7361
  };
7381
7362
  activePrograms: {
7382
7363
  id: string;
@@ -7493,7 +7474,7 @@ declare const eden: {
7493
7474
  url: string;
7494
7475
  chainId: number;
7495
7476
  }[] | undefined;
7496
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
7477
+ lastClaimsOnchainFetchTimestamp: string | null;
7497
7478
  } | undefined;
7498
7479
  protocol?: {
7499
7480
  id: string;
@@ -7509,7 +7490,8 @@ declare const eden: {
7509
7490
  opportunityBannerLight: string | null;
7510
7491
  opportunityBannerDark: string | null;
7511
7492
  } | undefined;
7512
- relationType: "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
7493
+ relationType: "ASSET" | "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
7494
+ assetType?: "BTC" | "ETH" | "STABLECOIN" | undefined;
7513
7495
  amount?: string | undefined;
7514
7496
  maxApr?: number | undefined;
7515
7497
  campaignsCount?: number | undefined;
@@ -7558,6 +7540,7 @@ declare const eden: {
7558
7540
  campaignsCount: number | null;
7559
7541
  maxApr: number | null;
7560
7542
  relationType: import("@package/databases").CarouselType;
7543
+ assetType: import("@package/databases").CarouselAsset | null;
7561
7544
  programId: string | null;
7562
7545
  opportunityId: string | null;
7563
7546
  chainId: number | null;
@@ -7594,6 +7577,7 @@ declare const eden: {
7594
7577
  campaignsCount: number | null;
7595
7578
  maxApr: number | null;
7596
7579
  relationType: import("@package/databases").CarouselType;
7580
+ assetType: import("@package/databases").CarouselAsset | null;
7597
7581
  programId: string | null;
7598
7582
  opportunityId: string | null;
7599
7583
  chainId: number | null;
@@ -7834,6 +7818,7 @@ declare const eden: {
7834
7818
  campaignsCount: number | null;
7835
7819
  maxApr: number | null;
7836
7820
  relationType: import("@package/databases").CarouselType;
7821
+ assetType: import("@package/databases").CarouselAsset | null;
7837
7822
  programId: string | null;
7838
7823
  opportunityId: string | null;
7839
7824
  chainId: number | null;
@@ -7939,7 +7924,7 @@ declare const eden: {
7939
7924
  url: string;
7940
7925
  chainId: number;
7941
7926
  }[] | undefined;
7942
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
7927
+ lastClaimsOnchainFetchTimestamp: string | null;
7943
7928
  };
7944
7929
  activePrograms: {
7945
7930
  id: string;
@@ -8122,7 +8107,7 @@ declare const eden: {
8122
8107
  url: string;
8123
8108
  chainId: number;
8124
8109
  }[] | undefined;
8125
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
8110
+ lastClaimsOnchainFetchTimestamp: string | null;
8126
8111
  };
8127
8112
  activePrograms: {
8128
8113
  id: string;
@@ -8239,7 +8224,7 @@ declare const eden: {
8239
8224
  url: string;
8240
8225
  chainId: number;
8241
8226
  }[] | undefined;
8242
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
8227
+ lastClaimsOnchainFetchTimestamp: string | null;
8243
8228
  } | undefined;
8244
8229
  protocol?: {
8245
8230
  id: string;
@@ -8255,7 +8240,8 @@ declare const eden: {
8255
8240
  opportunityBannerLight: string | null;
8256
8241
  opportunityBannerDark: string | null;
8257
8242
  } | undefined;
8258
- relationType: "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
8243
+ relationType: "ASSET" | "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
8244
+ assetType?: "BTC" | "ETH" | "STABLECOIN" | undefined;
8259
8245
  amount?: string | undefined;
8260
8246
  maxApr?: number | undefined;
8261
8247
  campaignsCount?: number | undefined;
@@ -8284,6 +8270,20 @@ declare const eden: {
8284
8270
  maxApr?: number | undefined;
8285
8271
  amount?: string | undefined;
8286
8272
  campaignsCount?: number | undefined;
8273
+ } | {
8274
+ relationType: "ASSET";
8275
+ relationId: "BTC" | "ETH" | "STABLECOIN";
8276
+ backgroundDarkColor: string;
8277
+ backgroundLightColor: string;
8278
+ name?: string | undefined;
8279
+ description?: string | undefined;
8280
+ logoUrls?: string[] | undefined;
8281
+ redirectUrl?: string | undefined;
8282
+ rank?: number | undefined;
8283
+ featured?: boolean | undefined;
8284
+ maxApr?: number | undefined;
8285
+ amount?: string | undefined;
8286
+ campaignsCount?: number | undefined;
8287
8287
  } | {
8288
8288
  name: string;
8289
8289
  description: string;
@@ -8523,6 +8523,7 @@ declare const eden: {
8523
8523
  campaignsCount: number | null;
8524
8524
  maxApr: number | null;
8525
8525
  relationType: import("@package/databases").CarouselType;
8526
+ assetType: import("@package/databases").CarouselAsset | null;
8526
8527
  programId: string | null;
8527
8528
  opportunityId: string | null;
8528
8529
  chainId: number | null;
@@ -8553,6 +8554,20 @@ declare const eden: {
8553
8554
  maxApr?: number | undefined;
8554
8555
  amount?: string | undefined;
8555
8556
  campaignsCount?: number | undefined;
8557
+ } | {
8558
+ relationType: "ASSET";
8559
+ relationId: "BTC" | "ETH" | "STABLECOIN";
8560
+ backgroundDarkColor: string;
8561
+ backgroundLightColor: string;
8562
+ name?: string | undefined;
8563
+ description?: string | undefined;
8564
+ logoUrls?: string[] | undefined;
8565
+ redirectUrl?: string | undefined;
8566
+ rank?: number | undefined;
8567
+ featured?: boolean | undefined;
8568
+ maxApr?: number | undefined;
8569
+ amount?: string | undefined;
8570
+ campaignsCount?: number | undefined;
8556
8571
  } | {
8557
8572
  name: string;
8558
8573
  description: string;
@@ -8651,7 +8666,7 @@ declare const eden: {
8651
8666
  url: string;
8652
8667
  chainId: number;
8653
8668
  }[] | undefined;
8654
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
8669
+ lastClaimsOnchainFetchTimestamp: string | null;
8655
8670
  };
8656
8671
  activePrograms: {
8657
8672
  id: string;
@@ -8834,7 +8849,7 @@ declare const eden: {
8834
8849
  url: string;
8835
8850
  chainId: number;
8836
8851
  }[] | undefined;
8837
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
8852
+ lastClaimsOnchainFetchTimestamp: string | null;
8838
8853
  };
8839
8854
  activePrograms: {
8840
8855
  id: string;
@@ -8951,7 +8966,7 @@ declare const eden: {
8951
8966
  url: string;
8952
8967
  chainId: number;
8953
8968
  }[] | undefined;
8954
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
8969
+ lastClaimsOnchainFetchTimestamp: string | null;
8955
8970
  } | undefined;
8956
8971
  protocol?: {
8957
8972
  id: string;
@@ -8967,7 +8982,8 @@ declare const eden: {
8967
8982
  opportunityBannerLight: string | null;
8968
8983
  opportunityBannerDark: string | null;
8969
8984
  } | undefined;
8970
- relationType: "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
8985
+ relationType: "ASSET" | "CHAIN" | "CUSTOM" | "OPPORTUNITY" | "PROGRAM" | "PROTOCOL";
8986
+ assetType?: "BTC" | "ETH" | "STABLECOIN" | undefined;
8971
8987
  amount?: string | undefined;
8972
8988
  maxApr?: number | undefined;
8973
8989
  campaignsCount?: number | undefined;
@@ -9008,6 +9024,7 @@ declare const eden: {
9008
9024
  campaignsCount: number | null;
9009
9025
  maxApr: number | null;
9010
9026
  relationType: import("@package/databases").CarouselType;
9027
+ assetType: import("@package/databases").CarouselAsset | null;
9011
9028
  programId: string | null;
9012
9029
  opportunityId: string | null;
9013
9030
  chainId: number | null;
@@ -9044,7 +9061,7 @@ declare const eden: {
9044
9061
  url: string;
9045
9062
  chainId: number;
9046
9063
  }[] | undefined;
9047
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
9064
+ lastClaimsOnchainFetchTimestamp: string | null;
9048
9065
  };
9049
9066
  422: {
9050
9067
  type: "validation";
@@ -9079,7 +9096,7 @@ declare const eden: {
9079
9096
  url: string;
9080
9097
  chainId: number;
9081
9098
  }[] | undefined;
9082
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
9099
+ lastClaimsOnchainFetchTimestamp: string | null;
9083
9100
  };
9084
9101
  422: {
9085
9102
  type: "validation";
@@ -9111,7 +9128,7 @@ declare const eden: {
9111
9128
  url: string;
9112
9129
  chainId: number;
9113
9130
  }[] | undefined;
9114
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
9131
+ lastClaimsOnchainFetchTimestamp: string | null;
9115
9132
  }[];
9116
9133
  422: {
9117
9134
  type: "validation";
@@ -9147,7 +9164,7 @@ declare const eden: {
9147
9164
  url: string;
9148
9165
  chainId: number;
9149
9166
  }[] | undefined;
9150
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
9167
+ lastClaimsOnchainFetchTimestamp: string | null;
9151
9168
  };
9152
9169
  422: {
9153
9170
  type: "validation";
@@ -9376,7 +9393,7 @@ declare const eden: {
9376
9393
  symbolCurrency1: string;
9377
9394
  tickSpacing: number;
9378
9395
  } & {
9379
- 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;
9396
+ 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;
9380
9397
  }) | ({
9381
9398
  chainId: number;
9382
9399
  currency0: string;
@@ -9422,7 +9439,7 @@ declare const eden: {
9422
9439
  symbolCurrency1: string;
9423
9440
  tickSpacing: number;
9424
9441
  } & {
9425
- 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;
9442
+ 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;
9426
9443
  }) | ({
9427
9444
  chainId: number;
9428
9445
  currency0: string;
@@ -9475,7 +9492,7 @@ declare const eden: {
9475
9492
  symbolCurrency1: string;
9476
9493
  tickSpacing: number;
9477
9494
  } & {
9478
- 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;
9495
+ 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;
9479
9496
  }) | ({
9480
9497
  chainId: number;
9481
9498
  currency0: string;
@@ -9521,7 +9538,7 @@ declare const eden: {
9521
9538
  symbolCurrency1: string;
9522
9539
  tickSpacing: number;
9523
9540
  } & {
9524
- 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;
9541
+ 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;
9525
9542
  }) | ({
9526
9543
  chainId: number;
9527
9544
  currency0: string;
@@ -10667,7 +10684,7 @@ declare const eden: {
10667
10684
  url: string;
10668
10685
  chainId: number;
10669
10686
  }[] | undefined;
10670
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
10687
+ lastClaimsOnchainFetchTimestamp: string | null;
10671
10688
  };
10672
10689
  activePrograms: {
10673
10690
  id: string;
@@ -10802,7 +10819,7 @@ declare const eden: {
10802
10819
  url: string;
10803
10820
  chainId: number;
10804
10821
  }[] | undefined;
10805
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
10822
+ lastClaimsOnchainFetchTimestamp: string | null;
10806
10823
  };
10807
10824
  rewardTokenId?: string | undefined;
10808
10825
  rewardToken: {
@@ -10837,7 +10854,7 @@ declare const eden: {
10837
10854
  url: string;
10838
10855
  chainId: number;
10839
10856
  }[] | undefined;
10840
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
10857
+ lastClaimsOnchainFetchTimestamp: string | null;
10841
10858
  } | undefined;
10842
10859
  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;
10843
10860
  campaignStatus: {
@@ -12124,7 +12141,25 @@ declare const eden: {
12124
12141
  endDate: string;
12125
12142
  };
12126
12143
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12127
- 200: import("../modules/v4/historical/historical.model").HistoricalDiffResult;
12144
+ 200: {
12145
+ startRoot: {
12146
+ root: string;
12147
+ timestamp: string;
12148
+ };
12149
+ endRoot: {
12150
+ root: string;
12151
+ timestamp: string;
12152
+ };
12153
+ breakdowns: {
12154
+ campaignId: string;
12155
+ recipient: string;
12156
+ reason: string;
12157
+ rewardToken: string;
12158
+ startAmount: string;
12159
+ endAmount: string;
12160
+ diff: string;
12161
+ }[];
12162
+ };
12128
12163
  422: {
12129
12164
  type: "validation";
12130
12165
  on: string;
@@ -12150,7 +12185,25 @@ declare const eden: {
12150
12185
  endDate: string;
12151
12186
  };
12152
12187
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12153
- 200: import("../modules/v4/historical/historical.model").HistoricalDiffResult;
12188
+ 200: {
12189
+ startRoot: {
12190
+ root: string;
12191
+ timestamp: string;
12192
+ };
12193
+ endRoot: {
12194
+ root: string;
12195
+ timestamp: string;
12196
+ };
12197
+ breakdowns: {
12198
+ campaignId: string;
12199
+ recipient: string;
12200
+ reason: string;
12201
+ rewardToken: string;
12202
+ startAmount: string;
12203
+ endAmount: string;
12204
+ diff: string;
12205
+ }[];
12206
+ };
12154
12207
  422: {
12155
12208
  type: "validation";
12156
12209
  on: string;
@@ -12414,9 +12467,10 @@ declare const eden: {
12414
12467
  }) => {
12415
12468
  get: (options: {
12416
12469
  fetch?: RequestInit | undefined;
12417
- headers: Partial<{
12418
- authorization: string;
12419
- }>;
12470
+ headers: {
12471
+ authorization?: string | undefined;
12472
+ "x-api-key"?: string | undefined;
12473
+ };
12420
12474
  query?: Record<string, unknown> | undefined;
12421
12475
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12422
12476
  200: {
@@ -12437,9 +12491,10 @@ declare const eden: {
12437
12491
  }>>;
12438
12492
  delete: (body: unknown, options: {
12439
12493
  fetch?: RequestInit | undefined;
12440
- headers: Partial<{
12441
- authorization: string;
12442
- }>;
12494
+ headers: {
12495
+ authorization?: string | undefined;
12496
+ "x-api-key"?: string | undefined;
12497
+ };
12443
12498
  query?: Record<string, unknown> | undefined;
12444
12499
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12445
12500
  200: {
@@ -12458,9 +12513,10 @@ declare const eden: {
12458
12513
  }) & {
12459
12514
  get: (options: {
12460
12515
  fetch?: RequestInit | undefined;
12461
- headers: Partial<{
12462
- authorization: string;
12463
- }>;
12516
+ headers: {
12517
+ authorization?: string | undefined;
12518
+ "x-api-key"?: string | undefined;
12519
+ };
12464
12520
  query: {
12465
12521
  page?: number | undefined;
12466
12522
  pageSize?: number | undefined;
@@ -12493,9 +12549,10 @@ declare const eden: {
12493
12549
  value: string;
12494
12550
  }, options: {
12495
12551
  fetch?: RequestInit | undefined;
12496
- headers: Partial<{
12497
- authorization: string;
12498
- }>;
12552
+ headers: {
12553
+ authorization?: string | undefined;
12554
+ "x-api-key"?: string | undefined;
12555
+ };
12499
12556
  query?: Record<string, unknown> | undefined;
12500
12557
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12501
12558
  200: {
@@ -12522,9 +12579,10 @@ declare const eden: {
12522
12579
  }[];
12523
12580
  }, options: {
12524
12581
  fetch?: RequestInit | undefined;
12525
- headers: Partial<{
12526
- authorization: string;
12527
- }>;
12582
+ headers: {
12583
+ authorization?: string | undefined;
12584
+ "x-api-key"?: string | undefined;
12585
+ };
12528
12586
  query?: Record<string, unknown> | undefined;
12529
12587
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12530
12588
  200: {
@@ -13027,7 +13085,7 @@ declare const eden: {
13027
13085
  url: string;
13028
13086
  chainId: number;
13029
13087
  }[] | undefined;
13030
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
13088
+ lastClaimsOnchainFetchTimestamp: string | null;
13031
13089
  };
13032
13090
  activePrograms: {
13033
13091
  id: string;
@@ -13162,7 +13220,7 @@ declare const eden: {
13162
13220
  url: string;
13163
13221
  chainId: number;
13164
13222
  }[] | undefined;
13165
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
13223
+ lastClaimsOnchainFetchTimestamp: string | null;
13166
13224
  };
13167
13225
  rewardTokenId?: string | undefined;
13168
13226
  rewardToken: {
@@ -13197,7 +13255,7 @@ declare const eden: {
13197
13255
  url: string;
13198
13256
  chainId: number;
13199
13257
  }[] | undefined;
13200
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
13258
+ lastClaimsOnchainFetchTimestamp: string | null;
13201
13259
  } | undefined;
13202
13260
  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;
13203
13261
  campaignStatus: {
@@ -13320,7 +13378,7 @@ declare const eden: {
13320
13378
  url: string;
13321
13379
  chainId: number;
13322
13380
  }[] | undefined;
13323
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
13381
+ lastClaimsOnchainFetchTimestamp: string | null;
13324
13382
  };
13325
13383
  activePrograms: {
13326
13384
  id: string;
@@ -13455,7 +13513,7 @@ declare const eden: {
13455
13513
  url: string;
13456
13514
  chainId: number;
13457
13515
  }[] | undefined;
13458
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
13516
+ lastClaimsOnchainFetchTimestamp: string | null;
13459
13517
  };
13460
13518
  rewardTokenId?: string | undefined;
13461
13519
  rewardToken: {
@@ -13490,7 +13548,7 @@ declare const eden: {
13490
13548
  url: string;
13491
13549
  chainId: number;
13492
13550
  }[] | undefined;
13493
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
13551
+ lastClaimsOnchainFetchTimestamp: string | null;
13494
13552
  } | undefined;
13495
13553
  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;
13496
13554
  campaignStatus: {
@@ -13979,7 +14037,7 @@ declare const eden: {
13979
14037
  url: string;
13980
14038
  chainId: number;
13981
14039
  }[] | undefined;
13982
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14040
+ lastClaimsOnchainFetchTimestamp: string | null;
13983
14041
  };
13984
14042
  activePrograms: {
13985
14043
  id: string;
@@ -14114,7 +14172,7 @@ declare const eden: {
14114
14172
  url: string;
14115
14173
  chainId: number;
14116
14174
  }[] | undefined;
14117
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14175
+ lastClaimsOnchainFetchTimestamp: string | null;
14118
14176
  };
14119
14177
  rewardTokenId?: string | undefined;
14120
14178
  rewardToken: {
@@ -14149,7 +14207,7 @@ declare const eden: {
14149
14207
  url: string;
14150
14208
  chainId: number;
14151
14209
  }[] | undefined;
14152
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14210
+ lastClaimsOnchainFetchTimestamp: string | null;
14153
14211
  } | undefined;
14154
14212
  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;
14155
14213
  campaignStatus: {
@@ -14846,7 +14904,7 @@ declare const eden: {
14846
14904
  url: string;
14847
14905
  chainId: number;
14848
14906
  }[] | undefined;
14849
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
14907
+ lastClaimsOnchainFetchTimestamp: string | null;
14850
14908
  };
14851
14909
  activePrograms: {
14852
14910
  id: string;
@@ -14981,7 +15039,7 @@ declare const eden: {
14981
15039
  url: string;
14982
15040
  chainId: number;
14983
15041
  }[] | undefined;
14984
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15042
+ lastClaimsOnchainFetchTimestamp: string | null;
14985
15043
  };
14986
15044
  rewardTokenId?: string | undefined;
14987
15045
  rewardToken: {
@@ -15016,7 +15074,7 @@ declare const eden: {
15016
15074
  url: string;
15017
15075
  chainId: number;
15018
15076
  }[] | undefined;
15019
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15077
+ lastClaimsOnchainFetchTimestamp: string | null;
15020
15078
  } | undefined;
15021
15079
  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;
15022
15080
  campaignStatus: {
@@ -15139,7 +15197,7 @@ declare const eden: {
15139
15197
  url: string;
15140
15198
  chainId: number;
15141
15199
  }[] | undefined;
15142
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15200
+ lastClaimsOnchainFetchTimestamp: string | null;
15143
15201
  };
15144
15202
  activePrograms: {
15145
15203
  id: string;
@@ -15274,7 +15332,7 @@ declare const eden: {
15274
15332
  url: string;
15275
15333
  chainId: number;
15276
15334
  }[] | undefined;
15277
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15335
+ lastClaimsOnchainFetchTimestamp: string | null;
15278
15336
  };
15279
15337
  rewardTokenId?: string | undefined;
15280
15338
  rewardToken: {
@@ -15309,7 +15367,7 @@ declare const eden: {
15309
15367
  url: string;
15310
15368
  chainId: number;
15311
15369
  }[] | undefined;
15312
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15370
+ lastClaimsOnchainFetchTimestamp: string | null;
15313
15371
  } | undefined;
15314
15372
  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;
15315
15373
  campaignStatus: {
@@ -15807,6 +15865,7 @@ declare const eden: {
15807
15865
  tokenTypes?: ("POINT" | "PRETGE" | "TOKEN")[] | undefined;
15808
15866
  point?: boolean | undefined;
15809
15867
  opportunityId?: string | undefined;
15868
+ opportunityIds?: string[] | undefined;
15810
15869
  status?: string | undefined;
15811
15870
  startTimestamp?: string | undefined;
15812
15871
  endTimestamp?: string | undefined;
@@ -15891,7 +15950,7 @@ declare const eden: {
15891
15950
  url: string;
15892
15951
  chainId: number;
15893
15952
  }[] | undefined;
15894
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
15953
+ lastClaimsOnchainFetchTimestamp: string | null;
15895
15954
  };
15896
15955
  activePrograms: {
15897
15956
  id: string;
@@ -16026,7 +16085,7 @@ declare const eden: {
16026
16085
  url: string;
16027
16086
  chainId: number;
16028
16087
  }[] | undefined;
16029
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
16088
+ lastClaimsOnchainFetchTimestamp: string | null;
16030
16089
  };
16031
16090
  rewardTokenId?: string | undefined;
16032
16091
  rewardToken: {
@@ -16061,7 +16120,7 @@ declare const eden: {
16061
16120
  url: string;
16062
16121
  chainId: number;
16063
16122
  }[] | undefined;
16064
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
16123
+ lastClaimsOnchainFetchTimestamp: string | null;
16065
16124
  } | undefined;
16066
16125
  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;
16067
16126
  campaignStatus: {
@@ -17682,7 +17741,7 @@ declare const eden: {
17682
17741
  url: string;
17683
17742
  chainId: number;
17684
17743
  }[] | undefined;
17685
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
17744
+ lastClaimsOnchainFetchTimestamp: string | null;
17686
17745
  };
17687
17746
  activePrograms: {
17688
17747
  id: string;
@@ -17890,7 +17949,7 @@ declare const eden: {
17890
17949
  url: string;
17891
17950
  chainId: number;
17892
17951
  }[] | undefined;
17893
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
17952
+ lastClaimsOnchainFetchTimestamp: string | null;
17894
17953
  };
17895
17954
  activePrograms: {
17896
17955
  id: string;
@@ -18095,7 +18154,7 @@ declare const eden: {
18095
18154
  url: string;
18096
18155
  chainId: number;
18097
18156
  }[] | undefined;
18098
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
18157
+ lastClaimsOnchainFetchTimestamp: string | null;
18099
18158
  };
18100
18159
  activePrograms: {
18101
18160
  id: string;
@@ -18302,7 +18361,7 @@ declare const eden: {
18302
18361
  url: string;
18303
18362
  chainId: number;
18304
18363
  }[] | undefined;
18305
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
18364
+ lastClaimsOnchainFetchTimestamp: string | null;
18306
18365
  };
18307
18366
  activePrograms: {
18308
18367
  id: string;
@@ -21391,7 +21450,7 @@ declare const eden: {
21391
21450
  url: string;
21392
21451
  chainId: number;
21393
21452
  }[] | undefined;
21394
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
21453
+ lastClaimsOnchainFetchTimestamp: string | null;
21395
21454
  };
21396
21455
  activePrograms: {
21397
21456
  id: string;
@@ -21617,7 +21676,7 @@ declare const eden: {
21617
21676
  url: string;
21618
21677
  chainId: number;
21619
21678
  }[] | undefined;
21620
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
21679
+ lastClaimsOnchainFetchTimestamp: string | null;
21621
21680
  };
21622
21681
  activePrograms: {
21623
21682
  id: string;
@@ -21907,7 +21966,7 @@ declare const eden: {
21907
21966
  url: string;
21908
21967
  chainId: number;
21909
21968
  }[] | undefined;
21910
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
21969
+ lastClaimsOnchainFetchTimestamp: string | null;
21911
21970
  };
21912
21971
  rewards: {
21913
21972
  root: string;
@@ -21976,7 +22035,7 @@ declare const eden: {
21976
22035
  url: string;
21977
22036
  chainId: number;
21978
22037
  }[] | undefined;
21979
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
22038
+ lastClaimsOnchainFetchTimestamp: string | null;
21980
22039
  };
21981
22040
  rewards: {
21982
22041
  root: string;
@@ -22322,7 +22381,7 @@ declare const eden: {
22322
22381
  url: string;
22323
22382
  chainId: number;
22324
22383
  }[] | undefined;
22325
- lastClaimsOnchainFetchTimestamp?: string | null | undefined;
22384
+ lastClaimsOnchainFetchTimestamp: string | null;
22326
22385
  };
22327
22386
  activePrograms: {
22328
22387
  id: string;
@@ -22456,6 +22515,34 @@ declare const eden: {
22456
22515
  };
22457
22516
  }>>;
22458
22517
  };
22518
+ stats: {
22519
+ get: (options: {
22520
+ fetch?: RequestInit | undefined;
22521
+ headers?: Record<string, unknown> | undefined;
22522
+ query: {
22523
+ chains?: string[] | undefined;
22524
+ tokens?: string[] | undefined;
22525
+ protocols?: string[] | undefined;
22526
+ isTest?: boolean | undefined;
22527
+ isPreTGE?: boolean | undefined;
22528
+ };
22529
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
22530
+ 200: {
22531
+ totalEarnedUSD: string;
22532
+ pendingUSD: string;
22533
+ claimableUSD: string;
22534
+ };
22535
+ 422: {
22536
+ type: "validation";
22537
+ on: string;
22538
+ summary?: string | undefined;
22539
+ message?: string | undefined;
22540
+ found?: unknown;
22541
+ property?: string | undefined;
22542
+ expected?: string | undefined;
22543
+ };
22544
+ }>>;
22545
+ };
22459
22546
  };
22460
22547
  tags: {
22461
22548
  patch: (body: {