@merkl/api 0.10.111 → 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: {
@@ -164,7 +164,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
164
164
  query: unknown;
165
165
  headers: unknown;
166
166
  response: {
167
- 200: {
167
+ 200: ({
168
168
  aprRecord: {
169
169
  cumulated: number;
170
170
  timestamp: bigint;
@@ -234,7 +234,44 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
234
234
  tvl: number;
235
235
  apr: number;
236
236
  dailyRewards: number;
237
- } | null | undefined;
237
+ } & {
238
+ campaigns: ({
239
+ params: any;
240
+ chain: {
241
+ id: number;
242
+ name: string;
243
+ icon: string;
244
+ };
245
+ rewardToken: {
246
+ id: string;
247
+ name: string | null;
248
+ chainId: number;
249
+ address: string;
250
+ decimals: number;
251
+ symbol: string;
252
+ icon: string;
253
+ verified: boolean;
254
+ price: number | null;
255
+ };
256
+ distributionChain: {
257
+ id: number;
258
+ name: string;
259
+ icon: string;
260
+ } | undefined;
261
+ id: string;
262
+ computeChainId: number;
263
+ distributionChainId: number;
264
+ campaignId: string;
265
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
266
+ subType: number | null;
267
+ rewardTokenId: string;
268
+ amount: string;
269
+ opportunityId: string;
270
+ startTimestamp: bigint;
271
+ endTimestamp: bigint;
272
+ creatorAddress: string;
273
+ } | null)[];
274
+ }) | null | undefined;
238
275
  };
239
276
  };
240
277
  };
@@ -739,9 +776,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
739
776
  params: Record<never, string>;
740
777
  query: {
741
778
  items?: number | undefined;
779
+ chainId?: number | undefined;
742
780
  page?: number | undefined;
743
- chainId: number;
744
- campaignId: string;
781
+ campaignId?: string | undefined;
745
782
  };
746
783
  headers: unknown;
747
784
  response: {
@@ -758,9 +795,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
758
795
  params: Record<never, string>;
759
796
  query: {
760
797
  items?: number | undefined;
798
+ chainId?: number | undefined;
761
799
  page?: number | undefined;
762
- chainId: number;
763
- campaignId: string;
800
+ campaignId?: string | undefined;
764
801
  };
765
802
  headers: unknown;
766
803
  response: {
@@ -169,7 +169,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
169
169
  query: unknown;
170
170
  headers: unknown;
171
171
  response: {
172
- 200: {
172
+ 200: ({
173
173
  aprRecord: {
174
174
  cumulated: number;
175
175
  timestamp: bigint;
@@ -239,7 +239,44 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
239
239
  tvl: number;
240
240
  apr: number;
241
241
  dailyRewards: number;
242
- } | null | undefined;
242
+ } & {
243
+ campaigns: ({
244
+ params: any;
245
+ chain: {
246
+ id: number;
247
+ name: string;
248
+ icon: string;
249
+ };
250
+ rewardToken: {
251
+ id: string;
252
+ name: string | null;
253
+ chainId: number;
254
+ address: string;
255
+ decimals: number;
256
+ symbol: string;
257
+ icon: string;
258
+ verified: boolean;
259
+ price: number | null;
260
+ };
261
+ distributionChain: {
262
+ id: number;
263
+ name: string;
264
+ icon: string;
265
+ } | undefined;
266
+ id: string;
267
+ computeChainId: number;
268
+ distributionChainId: number;
269
+ campaignId: string;
270
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
271
+ subType: number | null;
272
+ rewardTokenId: string;
273
+ amount: string;
274
+ opportunityId: string;
275
+ startTimestamp: bigint;
276
+ endTimestamp: bigint;
277
+ creatorAddress: string;
278
+ } | null)[];
279
+ }) | null | undefined;
243
280
  };
244
281
  };
245
282
  };
@@ -744,9 +781,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
744
781
  params: Record<never, string>;
745
782
  query: {
746
783
  items?: number | undefined;
784
+ chainId?: number | undefined;
747
785
  page?: number | undefined;
748
- chainId: number;
749
- campaignId: string;
786
+ campaignId?: string | undefined;
750
787
  };
751
788
  headers: unknown;
752
789
  response: {
@@ -763,9 +800,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
763
800
  params: Record<never, string>;
764
801
  query: {
765
802
  items?: number | undefined;
803
+ chainId?: number | undefined;
766
804
  page?: number | undefined;
767
- chainId: number;
768
- campaignId: string;
805
+ campaignId?: string | undefined;
769
806
  };
770
807
  headers: unknown;
771
808
  response: {
@@ -187,7 +187,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
187
187
  query: unknown;
188
188
  headers: unknown;
189
189
  response: {
190
- 200: {
190
+ 200: ({
191
191
  aprRecord: {
192
192
  cumulated: number;
193
193
  timestamp: bigint;
@@ -257,7 +257,44 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
257
257
  tvl: number;
258
258
  apr: number;
259
259
  dailyRewards: number;
260
- } | null | undefined;
260
+ } & {
261
+ campaigns: ({
262
+ params: any;
263
+ chain: {
264
+ id: number;
265
+ name: string;
266
+ icon: string;
267
+ };
268
+ rewardToken: {
269
+ id: string;
270
+ name: string | null;
271
+ chainId: number;
272
+ address: string;
273
+ decimals: number;
274
+ symbol: string;
275
+ icon: string;
276
+ verified: boolean;
277
+ price: number | null;
278
+ };
279
+ distributionChain: {
280
+ id: number;
281
+ name: string;
282
+ icon: string;
283
+ } | undefined;
284
+ id: string;
285
+ computeChainId: number;
286
+ distributionChainId: number;
287
+ campaignId: string;
288
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
289
+ subType: number | null;
290
+ rewardTokenId: string;
291
+ amount: string;
292
+ opportunityId: string;
293
+ startTimestamp: bigint;
294
+ endTimestamp: bigint;
295
+ creatorAddress: string;
296
+ } | null)[];
297
+ }) | null | undefined;
261
298
  };
262
299
  };
263
300
  };
@@ -762,9 +799,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
762
799
  params: Record<never, string>;
763
800
  query: {
764
801
  items?: number | undefined;
802
+ chainId?: number | undefined;
765
803
  page?: number | undefined;
766
- chainId: number;
767
- campaignId: string;
804
+ campaignId?: string | undefined;
768
805
  };
769
806
  headers: unknown;
770
807
  response: {
@@ -781,9 +818,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
781
818
  params: Record<never, string>;
782
819
  query: {
783
820
  items?: number | undefined;
821
+ chainId?: number | undefined;
784
822
  page?: number | undefined;
785
- chainId: number;
786
- campaignId: string;
823
+ campaignId?: string | undefined;
787
824
  };
788
825
  headers: unknown;
789
826
  response: {
@@ -188,7 +188,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
188
188
  query: unknown;
189
189
  headers: unknown;
190
190
  response: {
191
- 200: {
191
+ 200: ({
192
192
  aprRecord: {
193
193
  cumulated: number;
194
194
  timestamp: bigint;
@@ -258,7 +258,44 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
258
258
  tvl: number;
259
259
  apr: number;
260
260
  dailyRewards: number;
261
- } | null | undefined;
261
+ } & {
262
+ campaigns: ({
263
+ params: any;
264
+ chain: {
265
+ id: number;
266
+ name: string;
267
+ icon: string;
268
+ };
269
+ rewardToken: {
270
+ id: string;
271
+ name: string | null;
272
+ chainId: number;
273
+ address: string;
274
+ decimals: number;
275
+ symbol: string;
276
+ icon: string;
277
+ verified: boolean;
278
+ price: number | null;
279
+ };
280
+ distributionChain: {
281
+ id: number;
282
+ name: string;
283
+ icon: string;
284
+ } | undefined;
285
+ id: string;
286
+ computeChainId: number;
287
+ distributionChainId: number;
288
+ campaignId: string;
289
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
290
+ subType: number | null;
291
+ rewardTokenId: string;
292
+ amount: string;
293
+ opportunityId: string;
294
+ startTimestamp: bigint;
295
+ endTimestamp: bigint;
296
+ creatorAddress: string;
297
+ } | null)[];
298
+ }) | null | undefined;
262
299
  };
263
300
  };
264
301
  };
@@ -763,9 +800,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
763
800
  params: Record<never, string>;
764
801
  query: {
765
802
  items?: number | undefined;
803
+ chainId?: number | undefined;
766
804
  page?: number | undefined;
767
- chainId: number;
768
- campaignId: string;
805
+ campaignId?: string | undefined;
769
806
  };
770
807
  headers: unknown;
771
808
  response: {
@@ -782,9 +819,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
782
819
  params: Record<never, string>;
783
820
  query: {
784
821
  items?: number | undefined;
822
+ chainId?: number | undefined;
785
823
  page?: number | undefined;
786
- chainId: number;
787
- campaignId: string;
824
+ campaignId?: string | undefined;
788
825
  };
789
826
  headers: unknown;
790
827
  response: {
@@ -170,7 +170,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
170
170
  query: unknown;
171
171
  headers: unknown;
172
172
  response: {
173
- 200: {
173
+ 200: ({
174
174
  aprRecord: {
175
175
  cumulated: number;
176
176
  timestamp: bigint;
@@ -240,7 +240,44 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
240
240
  tvl: number;
241
241
  apr: number;
242
242
  dailyRewards: number;
243
- } | null | undefined;
243
+ } & {
244
+ campaigns: ({
245
+ params: any;
246
+ chain: {
247
+ id: number;
248
+ name: string;
249
+ icon: string;
250
+ };
251
+ rewardToken: {
252
+ id: string;
253
+ name: string | null;
254
+ chainId: number;
255
+ address: string;
256
+ decimals: number;
257
+ symbol: string;
258
+ icon: string;
259
+ verified: boolean;
260
+ price: number | null;
261
+ };
262
+ distributionChain: {
263
+ id: number;
264
+ name: string;
265
+ icon: string;
266
+ } | undefined;
267
+ id: string;
268
+ computeChainId: number;
269
+ distributionChainId: number;
270
+ campaignId: string;
271
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
272
+ subType: number | null;
273
+ rewardTokenId: string;
274
+ amount: string;
275
+ opportunityId: string;
276
+ startTimestamp: bigint;
277
+ endTimestamp: bigint;
278
+ creatorAddress: string;
279
+ } | null)[];
280
+ }) | null | undefined;
244
281
  };
245
282
  };
246
283
  };
@@ -745,9 +782,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
745
782
  params: Record<never, string>;
746
783
  query: {
747
784
  items?: number | undefined;
785
+ chainId?: number | undefined;
748
786
  page?: number | undefined;
749
- chainId: number;
750
- campaignId: string;
787
+ campaignId?: string | undefined;
751
788
  };
752
789
  headers: unknown;
753
790
  response: {
@@ -764,9 +801,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
764
801
  params: Record<never, string>;
765
802
  query: {
766
803
  items?: number | undefined;
804
+ chainId?: number | undefined;
767
805
  page?: number | undefined;
768
- chainId: number;
769
- campaignId: string;
806
+ campaignId?: string | undefined;
770
807
  };
771
808
  headers: unknown;
772
809
  response: {
@@ -171,7 +171,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
171
171
  query: unknown;
172
172
  headers: unknown;
173
173
  response: {
174
- 200: {
174
+ 200: ({
175
175
  aprRecord: {
176
176
  cumulated: number;
177
177
  timestamp: bigint;
@@ -241,7 +241,44 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
241
241
  tvl: number;
242
242
  apr: number;
243
243
  dailyRewards: number;
244
- } | null | undefined;
244
+ } & {
245
+ campaigns: ({
246
+ params: any;
247
+ chain: {
248
+ id: number;
249
+ name: string;
250
+ icon: string;
251
+ };
252
+ rewardToken: {
253
+ id: string;
254
+ name: string | null;
255
+ chainId: number;
256
+ address: string;
257
+ decimals: number;
258
+ symbol: string;
259
+ icon: string;
260
+ verified: boolean;
261
+ price: number | null;
262
+ };
263
+ distributionChain: {
264
+ id: number;
265
+ name: string;
266
+ icon: string;
267
+ } | undefined;
268
+ id: string;
269
+ computeChainId: number;
270
+ distributionChainId: number;
271
+ campaignId: string;
272
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
273
+ subType: number | null;
274
+ rewardTokenId: string;
275
+ amount: string;
276
+ opportunityId: string;
277
+ startTimestamp: bigint;
278
+ endTimestamp: bigint;
279
+ creatorAddress: string;
280
+ } | null)[];
281
+ }) | null | undefined;
245
282
  };
246
283
  };
247
284
  };
@@ -746,9 +783,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
746
783
  params: Record<never, string>;
747
784
  query: {
748
785
  items?: number | undefined;
786
+ chainId?: number | undefined;
749
787
  page?: number | undefined;
750
- chainId: number;
751
- campaignId: string;
788
+ campaignId?: string | undefined;
752
789
  };
753
790
  headers: unknown;
754
791
  response: {
@@ -765,9 +802,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
765
802
  params: Record<never, string>;
766
803
  query: {
767
804
  items?: number | undefined;
805
+ chainId?: number | undefined;
768
806
  page?: number | undefined;
769
- chainId: number;
770
- campaignId: string;
807
+ campaignId?: string | undefined;
771
808
  };
772
809
  headers: unknown;
773
810
  response: {
@@ -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: {