@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.
- package/dist/src/eden/index.d.ts +129 -18
- package/dist/src/index.d.ts +43 -6
- package/dist/src/modules/v4/cache/cache.model.d.ts +13 -0
- package/dist/src/modules/v4/cache/cache.repository.d.ts +4 -0
- package/dist/src/modules/v4/cache/cache.service.d.ts +8 -0
- package/dist/src/modules/v4/cache/index.d.ts +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +39 -2
- package/dist/src/modules/v4/reward/reward.controller.d.ts +4 -4
- package/dist/src/modules/v4/reward/reward.model.d.ts +2 -2
- package/dist/src/modules/v4/router.d.ts +43 -6
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +43 -6
- package/dist/src/routes/v3/blacklist.d.ts +43 -6
- package/dist/src/routes/v3/campaigns.d.ts +43 -6
- package/dist/src/routes/v3/campaignsInfo.d.ts +43 -6
- package/dist/src/routes/v3/multiChainPositions.d.ts +43 -6
- package/dist/src/routes/v3/opportunity.d.ts +43 -6
- package/dist/src/routes/v3/positions.d.ts +43 -6
- package/dist/src/routes/v3/rewards.d.ts +43 -6
- package/dist/src/routes/v3/updates.d.ts +43 -6
- package/dist/src/routes/v3/userRewards.d.ts +43 -6
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -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
|
-
}
|
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
|
-
|
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
|
-
|
772
|
-
campaignId: string;
|
809
|
+
campaignId?: string | undefined;
|
773
810
|
};
|
774
811
|
headers: unknown;
|
775
812
|
response: {
|