@merkl/api 0.10.236 → 0.10.237
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/eden/index.d.ts +9 -3
- package/dist/src/index.d.ts +3 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +3 -1
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.js +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +4 -4
- package/dist/src/modules/v4/opportunity/opportunity.service.js +1 -0
- package/dist/src/modules/v4/router.d.ts +3 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -111,6 +111,7 @@ declare const eden: {
|
|
111
111
|
tags: string[];
|
112
112
|
icon: string;
|
113
113
|
} | null | undefined;
|
114
|
+
depositUrl?: string | undefined;
|
114
115
|
aprRecord?: {
|
115
116
|
timestamp: string | bigint;
|
116
117
|
cumulated: number;
|
@@ -211,6 +212,7 @@ declare const eden: {
|
|
211
212
|
tags: string[];
|
212
213
|
icon: string;
|
213
214
|
} | null | undefined;
|
215
|
+
depositUrl?: string | undefined;
|
214
216
|
aprRecord?: {
|
215
217
|
timestamp: string | bigint;
|
216
218
|
cumulated: number;
|
@@ -461,6 +463,7 @@ declare const eden: {
|
|
461
463
|
}[];
|
462
464
|
};
|
463
465
|
id: string;
|
466
|
+
depositUrl: string | undefined;
|
464
467
|
tokens: ({
|
465
468
|
symbol: string;
|
466
469
|
name: string | null;
|
@@ -494,7 +497,6 @@ declare const eden: {
|
|
494
497
|
identifier: string;
|
495
498
|
chainId: number;
|
496
499
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
497
|
-
depositUrl: string | null;
|
498
500
|
tvl: number;
|
499
501
|
apr: number;
|
500
502
|
dailyRewards: number;
|
@@ -2980,6 +2982,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2980
2982
|
}[];
|
2981
2983
|
};
|
2982
2984
|
id: string;
|
2985
|
+
depositUrl: string | undefined;
|
2983
2986
|
tokens: ({
|
2984
2987
|
symbol: string;
|
2985
2988
|
name: string | null;
|
@@ -3013,7 +3016,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3013
3016
|
identifier: string;
|
3014
3017
|
chainId: number;
|
3015
3018
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
3016
|
-
depositUrl: string | null;
|
3017
3019
|
tvl: number;
|
3018
3020
|
apr: number;
|
3019
3021
|
dailyRewards: number;
|
@@ -3070,6 +3072,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3070
3072
|
tags: string[];
|
3071
3073
|
icon: string;
|
3072
3074
|
} | null | undefined;
|
3075
|
+
depositUrl?: string | undefined;
|
3073
3076
|
aprRecord?: {
|
3074
3077
|
timestamp: string | bigint;
|
3075
3078
|
cumulated: number;
|
@@ -3179,6 +3182,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3179
3182
|
tags: string[];
|
3180
3183
|
icon: string;
|
3181
3184
|
} | null | undefined;
|
3185
|
+
depositUrl?: string | undefined;
|
3182
3186
|
aprRecord?: {
|
3183
3187
|
timestamp: string | bigint;
|
3184
3188
|
cumulated: number;
|
@@ -6291,6 +6295,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6291
6295
|
tags: string[];
|
6292
6296
|
icon: string;
|
6293
6297
|
} | null | undefined;
|
6298
|
+
depositUrl?: string | undefined;
|
6294
6299
|
aprRecord?: {
|
6295
6300
|
timestamp: string | bigint;
|
6296
6301
|
cumulated: number;
|
@@ -6391,6 +6396,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6391
6396
|
tags: string[];
|
6392
6397
|
icon: string;
|
6393
6398
|
} | null | undefined;
|
6399
|
+
depositUrl?: string | undefined;
|
6394
6400
|
aprRecord?: {
|
6395
6401
|
timestamp: string | bigint;
|
6396
6402
|
cumulated: number;
|
@@ -6641,6 +6647,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6641
6647
|
}[];
|
6642
6648
|
};
|
6643
6649
|
id: string;
|
6650
|
+
depositUrl: string | undefined;
|
6644
6651
|
tokens: ({
|
6645
6652
|
symbol: string;
|
6646
6653
|
name: string | null;
|
@@ -6674,7 +6681,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6674
6681
|
identifier: string;
|
6675
6682
|
chainId: number;
|
6676
6683
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
6677
|
-
depositUrl: string | null;
|
6678
6684
|
tvl: number;
|
6679
6685
|
apr: number;
|
6680
6686
|
dailyRewards: number;
|
package/dist/src/index.d.ts
CHANGED
@@ -244,6 +244,7 @@ declare const app: Elysia<"", false, {
|
|
244
244
|
}[];
|
245
245
|
};
|
246
246
|
id: string;
|
247
|
+
depositUrl: string | undefined;
|
247
248
|
tokens: ({
|
248
249
|
symbol: string;
|
249
250
|
name: string | null;
|
@@ -277,7 +278,6 @@ declare const app: Elysia<"", false, {
|
|
277
278
|
identifier: string;
|
278
279
|
chainId: number;
|
279
280
|
action: import("../database/api/.generated").$Enums.OpportunityAction;
|
280
|
-
depositUrl: string | null;
|
281
281
|
tvl: number;
|
282
282
|
apr: number;
|
283
283
|
dailyRewards: number;
|
@@ -334,6 +334,7 @@ declare const app: Elysia<"", false, {
|
|
334
334
|
tags: string[];
|
335
335
|
icon: string;
|
336
336
|
} | null | undefined;
|
337
|
+
depositUrl?: string | undefined;
|
337
338
|
aprRecord?: {
|
338
339
|
timestamp: string | bigint;
|
339
340
|
cumulated: number;
|
@@ -443,6 +444,7 @@ declare const app: Elysia<"", false, {
|
|
443
444
|
tags: string[];
|
444
445
|
icon: string;
|
445
446
|
} | null | undefined;
|
447
|
+
depositUrl?: string | undefined;
|
446
448
|
aprRecord?: {
|
447
449
|
timestamp: string | bigint;
|
448
450
|
cumulated: number;
|
@@ -113,6 +113,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
113
113
|
}[];
|
114
114
|
};
|
115
115
|
id: string;
|
116
|
+
depositUrl: string | undefined;
|
116
117
|
tokens: ({
|
117
118
|
symbol: string;
|
118
119
|
name: string | null;
|
@@ -146,7 +147,6 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
146
147
|
identifier: string;
|
147
148
|
chainId: number;
|
148
149
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
149
|
-
depositUrl: string | null;
|
150
150
|
tvl: number;
|
151
151
|
apr: number;
|
152
152
|
dailyRewards: number;
|
@@ -203,6 +203,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
203
203
|
tags: string[];
|
204
204
|
icon: string;
|
205
205
|
} | null | undefined;
|
206
|
+
depositUrl?: string | undefined;
|
206
207
|
aprRecord?: {
|
207
208
|
timestamp: string | bigint;
|
208
209
|
cumulated: number;
|
@@ -312,6 +313,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
312
313
|
tags: string[];
|
313
314
|
icon: string;
|
314
315
|
} | null | undefined;
|
316
|
+
depositUrl?: string | undefined;
|
315
317
|
aprRecord?: {
|
316
318
|
timestamp: string | bigint;
|
317
319
|
cumulated: number;
|
@@ -15,6 +15,7 @@ import type { OpportunityRepository } from "./opportunity.repository";
|
|
15
15
|
* @see {@link Resource}
|
16
16
|
*/
|
17
17
|
export type Opportunity = Resource<"Opportunity", "mainProtocolId", {
|
18
|
+
depositUrl?: string;
|
18
19
|
chain: Chain["model"];
|
19
20
|
tokens: Token["model"][];
|
20
21
|
protocol?: Protocol["model"];
|
@@ -48,6 +49,7 @@ export declare const OpportunityResourceDto: import("@sinclair/typebox").TObject
|
|
48
49
|
tvl: import("@sinclair/typebox").TNumber;
|
49
50
|
apr: import("@sinclair/typebox").TNumber;
|
50
51
|
dailyRewards: import("@sinclair/typebox").TNumber;
|
52
|
+
depositUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
51
53
|
tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
52
54
|
id: import("@sinclair/typebox").TString;
|
53
55
|
tokens: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
@@ -163,6 +165,7 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
163
165
|
}>;
|
164
166
|
chainId: import("@sinclair/typebox").TNumber;
|
165
167
|
action: import("@sinclair/typebox").TString;
|
168
|
+
depositUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
166
169
|
tvl: import("@sinclair/typebox").TNumber;
|
167
170
|
apr: import("@sinclair/typebox").TNumber;
|
168
171
|
dailyRewards: import("@sinclair/typebox").TNumber;
|
@@ -75,6 +75,7 @@ export declare abstract class OpportunityService {
|
|
75
75
|
}[];
|
76
76
|
};
|
77
77
|
id: string;
|
78
|
+
depositUrl: string | undefined;
|
78
79
|
tokens: ({
|
79
80
|
symbol: string;
|
80
81
|
name: string | null;
|
@@ -108,7 +109,6 @@ export declare abstract class OpportunityService {
|
|
108
109
|
identifier: string;
|
109
110
|
chainId: number;
|
110
111
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
111
|
-
depositUrl: string | null;
|
112
112
|
tvl: number;
|
113
113
|
apr: number;
|
114
114
|
dailyRewards: number;
|
@@ -163,6 +163,7 @@ export declare abstract class OpportunityService {
|
|
163
163
|
}[];
|
164
164
|
};
|
165
165
|
id: string;
|
166
|
+
depositUrl: string | undefined;
|
166
167
|
tokens: ({
|
167
168
|
symbol: string;
|
168
169
|
name: string | null;
|
@@ -196,7 +197,6 @@ export declare abstract class OpportunityService {
|
|
196
197
|
identifier: string;
|
197
198
|
chainId: number;
|
198
199
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
199
|
-
depositUrl: string | null;
|
200
200
|
tvl: number;
|
201
201
|
apr: number;
|
202
202
|
dailyRewards: number;
|
@@ -308,6 +308,7 @@ export declare abstract class OpportunityService {
|
|
308
308
|
}[];
|
309
309
|
};
|
310
310
|
id: string;
|
311
|
+
depositUrl: string | undefined;
|
311
312
|
tokens: ({
|
312
313
|
symbol: string;
|
313
314
|
name: string | null;
|
@@ -341,13 +342,13 @@ export declare abstract class OpportunityService {
|
|
341
342
|
identifier: string;
|
342
343
|
chainId: number;
|
343
344
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
344
|
-
depositUrl: string | null;
|
345
345
|
tvl: number;
|
346
346
|
apr: number;
|
347
347
|
dailyRewards: number;
|
348
348
|
};
|
349
349
|
static formatResponseBase(opportunity: LightOpportunityFromDB): {
|
350
350
|
id: string;
|
351
|
+
depositUrl: string | undefined;
|
351
352
|
tokens: ({
|
352
353
|
symbol: string;
|
353
354
|
name: string | null;
|
@@ -381,7 +382,6 @@ export declare abstract class OpportunityService {
|
|
381
382
|
identifier: string;
|
382
383
|
chainId: number;
|
383
384
|
action: import("../../../../database/api/.generated").$Enums.OpportunityAction;
|
384
|
-
depositUrl: string | null;
|
385
385
|
tvl: number;
|
386
386
|
apr: number;
|
387
387
|
dailyRewards: number;
|
@@ -122,6 +122,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
122
122
|
}[];
|
123
123
|
};
|
124
124
|
id: string;
|
125
|
+
depositUrl: string | undefined;
|
125
126
|
tokens: ({
|
126
127
|
symbol: string;
|
127
128
|
name: string | null;
|
@@ -155,7 +156,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
155
156
|
identifier: string;
|
156
157
|
chainId: number;
|
157
158
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
158
|
-
depositUrl: string | null;
|
159
159
|
tvl: number;
|
160
160
|
apr: number;
|
161
161
|
dailyRewards: number;
|
@@ -212,6 +212,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
212
212
|
tags: string[];
|
213
213
|
icon: string;
|
214
214
|
} | null | undefined;
|
215
|
+
depositUrl?: string | undefined;
|
215
216
|
aprRecord?: {
|
216
217
|
timestamp: string | bigint;
|
217
218
|
cumulated: number;
|
@@ -321,6 +322,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
321
322
|
tags: string[];
|
322
323
|
icon: string;
|
323
324
|
} | null | undefined;
|
325
|
+
depositUrl?: string | undefined;
|
324
326
|
aprRecord?: {
|
325
327
|
timestamp: string | bigint;
|
326
328
|
cumulated: number;
|