@merkl/api 0.10.110 → 0.10.112

Sign up to get free protection for your applications and to get access to all the features.
@@ -173,7 +173,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
173
173
  query: unknown;
174
174
  headers: unknown;
175
175
  response: {
176
- 200: {
176
+ 200: ({
177
177
  aprRecord: {
178
178
  cumulated: number;
179
179
  timestamp: bigint;
@@ -243,7 +243,44 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
243
243
  tvl: number;
244
244
  apr: number;
245
245
  dailyRewards: number;
246
- } | null | undefined;
246
+ } & {
247
+ campaigns: ({
248
+ params: any;
249
+ chain: {
250
+ id: number;
251
+ name: string;
252
+ icon: string;
253
+ };
254
+ rewardToken: {
255
+ id: string;
256
+ name: string | null;
257
+ chainId: number;
258
+ address: string;
259
+ decimals: number;
260
+ symbol: string;
261
+ icon: string;
262
+ verified: boolean;
263
+ price: number | null;
264
+ };
265
+ distributionChain: {
266
+ id: number;
267
+ name: string;
268
+ icon: string;
269
+ } | undefined;
270
+ id: string;
271
+ computeChainId: number;
272
+ distributionChainId: number;
273
+ campaignId: string;
274
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
275
+ subType: number | null;
276
+ rewardTokenId: string;
277
+ amount: string;
278
+ opportunityId: string;
279
+ startTimestamp: bigint;
280
+ endTimestamp: bigint;
281
+ creatorAddress: string;
282
+ } | null)[];
283
+ }) | null | undefined;
247
284
  };
248
285
  };
249
286
  };
@@ -748,9 +785,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
748
785
  params: Record<never, string>;
749
786
  query: {
750
787
  items?: number | undefined;
788
+ chainId?: number | undefined;
751
789
  page?: number | undefined;
752
- chainId: number;
753
- campaignId: string;
790
+ campaignId?: string | undefined;
754
791
  };
755
792
  headers: unknown;
756
793
  response: {
@@ -767,9 +804,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
767
804
  params: Record<never, string>;
768
805
  query: {
769
806
  items?: number | undefined;
807
+ chainId?: number | undefined;
770
808
  page?: number | undefined;
771
- chainId: number;
772
- campaignId: string;
809
+ campaignId?: string | undefined;
773
810
  };
774
811
  headers: unknown;
775
812
  response: {