@merkl/api 0.10.259 → 0.10.261
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/eden/index.d.ts +61 -10
- package/dist/src/index.d.ts +19 -2
- package/dist/src/modules/v4/claims/claims.controller.d.ts +1 -1
- package/dist/src/modules/v4/claims/claims.service.d.ts +1 -1
- package/dist/src/modules/v4/claims/claims.service.js +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +18 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.js +5 -4
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +4 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.js +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +16 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.js +18 -4
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +63 -8
- package/dist/src/modules/v4/opportunity/opportunity.service.js +50 -50
- package/dist/src/modules/v4/router.d.ts +19 -2
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -215,6 +215,21 @@ export declare const v4: Elysia<"/v4", false, {
|
|
215
215
|
identifier: string;
|
216
216
|
chainId: number;
|
217
217
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
218
|
+
Campaigns: {
|
219
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
220
|
+
id: string;
|
221
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
222
|
+
subType: number | null;
|
223
|
+
startTimestamp: bigint;
|
224
|
+
endTimestamp: bigint;
|
225
|
+
computeChainId: number;
|
226
|
+
distributionChainId: number;
|
227
|
+
campaignId: string;
|
228
|
+
rewardTokenId: string;
|
229
|
+
amount: string;
|
230
|
+
opportunityId: string;
|
231
|
+
creatorAddress: string;
|
232
|
+
}[];
|
218
233
|
tvl: number;
|
219
234
|
apr: number;
|
220
235
|
dailyRewards: number;
|
@@ -260,7 +275,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
260
275
|
params: {
|
261
276
|
id: string;
|
262
277
|
};
|
263
|
-
query:
|
278
|
+
query: {
|
279
|
+
test?: boolean | undefined;
|
280
|
+
};
|
264
281
|
headers: unknown;
|
265
282
|
response: {
|
266
283
|
200: {
|
@@ -2551,7 +2568,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2551
2568
|
headers: unknown;
|
2552
2569
|
response: {
|
2553
2570
|
200: (import("./claims").ClaimModel & {
|
2554
|
-
token
|
2571
|
+
token?: import("./token").Token["model"];
|
2555
2572
|
})[];
|
2556
2573
|
};
|
2557
2574
|
};
|