@merkl/api 1.0.95 → 1.0.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/eden/index.d.ts +66 -150
- package/dist/src/index.d.ts +33 -75
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +12 -8
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +10 -2
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +53 -55
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +41 -6
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +0 -12
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +20 -28
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +0 -6
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +36 -11
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +15 -42
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +12 -27
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +0 -2
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +3 -2
- package/dist/src/modules/v4/programPayload/programPayload.service.d.ts +0 -2
- package/dist/src/modules/v4/reward/reward.model.d.ts +10 -4
- package/dist/src/modules/v4/reward/reward.repository.d.ts +0 -4
- package/dist/src/modules/v4/reward/reward.service.d.ts +0 -26
- package/dist/src/modules/v4/router.d.ts +33 -75
- package/dist/src/modules/v4/token/token.controller.d.ts +2 -21
- package/dist/src/modules/v4/token/token.model.d.ts +15 -5
- package/dist/src/modules/v4/token/token.repository.d.ts +0 -10
- package/dist/src/modules/v4/token/token.service.d.ts +0 -28
- package/dist/src/modules/v4/user/user.controller.d.ts +0 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -77,10 +77,13 @@ export declare const OpportunityResourceDto: import("@sinclair/typebox").TObject
|
|
77
77
|
verified: import("@sinclair/typebox").TBoolean;
|
78
78
|
isNative: import("@sinclair/typebox").TBoolean;
|
79
79
|
isTest: import("@sinclair/typebox").TBoolean;
|
80
|
-
isPoint: import("@sinclair/typebox").TBoolean;
|
81
|
-
isPreTGE: import("@sinclair/typebox").TBoolean;
|
82
80
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
83
81
|
symbol: import("@sinclair/typebox").TString;
|
82
|
+
type: import("@sinclair/typebox").TEnum<{
|
83
|
+
readonly TOKEN: "TOKEN";
|
84
|
+
readonly PRETGE: "PRETGE";
|
85
|
+
readonly POINT: "POINT";
|
86
|
+
}>;
|
84
87
|
}>>;
|
85
88
|
chain: import("@sinclair/typebox").TObject<{
|
86
89
|
id: import("@sinclair/typebox").TNumber;
|
@@ -143,10 +146,13 @@ export declare const OpportunityResourceDto: import("@sinclair/typebox").TObject
|
|
143
146
|
verified: import("@sinclair/typebox").TBoolean;
|
144
147
|
isNative: import("@sinclair/typebox").TBoolean;
|
145
148
|
isTest: import("@sinclair/typebox").TBoolean;
|
146
|
-
isPoint: import("@sinclair/typebox").TBoolean;
|
147
|
-
isPreTGE: import("@sinclair/typebox").TBoolean;
|
148
149
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
149
150
|
symbol: import("@sinclair/typebox").TString;
|
151
|
+
type: import("@sinclair/typebox").TEnum<{
|
152
|
+
readonly TOKEN: "TOKEN";
|
153
|
+
readonly PRETGE: "PRETGE";
|
154
|
+
readonly POINT: "POINT";
|
155
|
+
}>;
|
150
156
|
}>;
|
151
157
|
amount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
152
158
|
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
@@ -184,10 +190,13 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
184
190
|
verified: import("@sinclair/typebox").TBoolean;
|
185
191
|
isNative: import("@sinclair/typebox").TBoolean;
|
186
192
|
isTest: import("@sinclair/typebox").TBoolean;
|
187
|
-
isPoint: import("@sinclair/typebox").TBoolean;
|
188
|
-
isPreTGE: import("@sinclair/typebox").TBoolean;
|
189
193
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
190
194
|
symbol: import("@sinclair/typebox").TString;
|
195
|
+
type: import("@sinclair/typebox").TEnum<{
|
196
|
+
readonly TOKEN: "TOKEN";
|
197
|
+
readonly PRETGE: "PRETGE";
|
198
|
+
readonly POINT: "POINT";
|
199
|
+
}>;
|
191
200
|
}>>;
|
192
201
|
tvl: import("@sinclair/typebox").TNumber;
|
193
202
|
description: import("@sinclair/typebox").TString;
|
@@ -282,10 +291,13 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
282
291
|
verified: import("@sinclair/typebox").TBoolean;
|
283
292
|
isNative: import("@sinclair/typebox").TBoolean;
|
284
293
|
isTest: import("@sinclair/typebox").TBoolean;
|
285
|
-
isPoint: import("@sinclair/typebox").TBoolean;
|
286
|
-
isPreTGE: import("@sinclair/typebox").TBoolean;
|
287
294
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
288
295
|
symbol: import("@sinclair/typebox").TString;
|
296
|
+
type: import("@sinclair/typebox").TEnum<{
|
297
|
+
readonly TOKEN: "TOKEN";
|
298
|
+
readonly PRETGE: "PRETGE";
|
299
|
+
readonly POINT: "POINT";
|
300
|
+
}>;
|
289
301
|
}>;
|
290
302
|
amount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
291
303
|
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
@@ -338,10 +350,13 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
338
350
|
verified: import("@sinclair/typebox").TBoolean;
|
339
351
|
isNative: import("@sinclair/typebox").TBoolean;
|
340
352
|
isTest: import("@sinclair/typebox").TBoolean;
|
341
|
-
isPoint: import("@sinclair/typebox").TBoolean;
|
342
|
-
isPreTGE: import("@sinclair/typebox").TBoolean;
|
343
353
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
344
354
|
symbol: import("@sinclair/typebox").TString;
|
355
|
+
type: import("@sinclair/typebox").TEnum<{
|
356
|
+
readonly TOKEN: "TOKEN";
|
357
|
+
readonly PRETGE: "PRETGE";
|
358
|
+
readonly POINT: "POINT";
|
359
|
+
}>;
|
345
360
|
}>;
|
346
361
|
distributionChain: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
347
362
|
id: import("@sinclair/typebox").TNumber;
|
@@ -391,11 +406,16 @@ export declare const GetOpportunitiesQueryDto: import("@sinclair/typebox").TObje
|
|
391
406
|
campaignId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
392
407
|
chainId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRegExp>;
|
393
408
|
action: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
409
|
+
tokenTypes: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TEnum<{
|
410
|
+
readonly TOKEN: "TOKEN";
|
411
|
+
readonly PRETGE: "PRETGE";
|
412
|
+
readonly POINT: "POINT";
|
413
|
+
}>>>;
|
414
|
+
point: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
394
415
|
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
395
416
|
creatorAddress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
396
417
|
tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
397
418
|
test: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
398
|
-
point: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
399
419
|
minimumTvl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
400
420
|
maximumTvl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
401
421
|
minimumApr: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
@@ -415,6 +435,11 @@ export declare const GetOpportunitiesQueryDto: import("@sinclair/typebox").TObje
|
|
415
435
|
export declare const FindOpportunityDto: import("@sinclair/typebox").TObject<{
|
416
436
|
test: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
417
437
|
point: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
438
|
+
tokenTypes: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TEnum<{
|
439
|
+
readonly TOKEN: "TOKEN";
|
440
|
+
readonly PRETGE: "PRETGE";
|
441
|
+
readonly POINT: "POINT";
|
442
|
+
}>>>;
|
418
443
|
campaigns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
419
444
|
excludeSubCampaigns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
420
445
|
}>;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
+
import { type TokenType } from "@package/databases";
|
2
3
|
import { type Prisma, Status } from "@package/databases/api";
|
3
4
|
import type { AprRecord } from "../../../modules/v4/apr/apr.model";
|
4
5
|
import type { Campaign } from "../../../modules/v4/campaign/campaign.model";
|
@@ -18,11 +19,9 @@ export declare abstract class OpportunityRepository {
|
|
18
19
|
address: string;
|
19
20
|
id: string;
|
20
21
|
chainId: number;
|
21
|
-
type:
|
22
|
+
type: TokenType;
|
22
23
|
icon: string;
|
23
24
|
isNative: boolean;
|
24
|
-
isPoint: boolean;
|
25
|
-
isPreTGE: boolean;
|
26
25
|
isTest: boolean;
|
27
26
|
verified: boolean;
|
28
27
|
displaySymbol: string;
|
@@ -70,11 +69,9 @@ export declare abstract class OpportunityRepository {
|
|
70
69
|
address: string;
|
71
70
|
id: string;
|
72
71
|
chainId: number;
|
73
|
-
type:
|
72
|
+
type: TokenType;
|
74
73
|
icon: string;
|
75
74
|
isNative: boolean;
|
76
|
-
isPoint: boolean;
|
77
|
-
isPreTGE: boolean;
|
78
75
|
isTest: boolean;
|
79
76
|
verified: boolean;
|
80
77
|
displaySymbol: string;
|
@@ -108,11 +105,9 @@ export declare abstract class OpportunityRepository {
|
|
108
105
|
address: string;
|
109
106
|
id: string;
|
110
107
|
chainId: number;
|
111
|
-
type:
|
108
|
+
type: TokenType;
|
112
109
|
icon: string;
|
113
110
|
isNative: boolean;
|
114
|
-
isPoint: boolean;
|
115
|
-
isPreTGE: boolean;
|
116
111
|
isTest: boolean;
|
117
112
|
verified: boolean;
|
118
113
|
displaySymbol: string;
|
@@ -181,11 +176,9 @@ export declare abstract class OpportunityRepository {
|
|
181
176
|
address: string;
|
182
177
|
id: string;
|
183
178
|
chainId: number;
|
184
|
-
type:
|
179
|
+
type: TokenType;
|
185
180
|
icon: string;
|
186
181
|
isNative: boolean;
|
187
|
-
isPoint: boolean;
|
188
|
-
isPreTGE: boolean;
|
189
182
|
isTest: boolean;
|
190
183
|
verified: boolean;
|
191
184
|
displaySymbol: string;
|
@@ -258,11 +251,9 @@ export declare abstract class OpportunityRepository {
|
|
258
251
|
address: string;
|
259
252
|
id: string;
|
260
253
|
chainId: number;
|
261
|
-
type:
|
254
|
+
type: TokenType;
|
262
255
|
icon: string;
|
263
256
|
isNative: boolean;
|
264
|
-
isPoint: boolean;
|
265
|
-
isPreTGE: boolean;
|
266
257
|
isTest: boolean;
|
267
258
|
verified: boolean;
|
268
259
|
displaySymbol: string;
|
@@ -331,11 +322,9 @@ export declare abstract class OpportunityRepository {
|
|
331
322
|
address: string;
|
332
323
|
id: string;
|
333
324
|
chainId: number;
|
334
|
-
type:
|
325
|
+
type: TokenType;
|
335
326
|
icon: string;
|
336
327
|
isNative: boolean;
|
337
|
-
isPoint: boolean;
|
338
|
-
isPreTGE: boolean;
|
339
328
|
isTest: boolean;
|
340
329
|
verified: boolean;
|
341
330
|
displaySymbol: string;
|
@@ -428,11 +417,9 @@ export declare abstract class OpportunityRepository {
|
|
428
417
|
address: string;
|
429
418
|
id: string;
|
430
419
|
chainId: number;
|
431
|
-
type:
|
420
|
+
type: TokenType;
|
432
421
|
icon: string;
|
433
422
|
isNative: boolean;
|
434
|
-
isPoint: boolean;
|
435
|
-
isPreTGE: boolean;
|
436
423
|
isTest: boolean;
|
437
424
|
verified: boolean;
|
438
425
|
displaySymbol: string;
|
@@ -466,11 +453,9 @@ export declare abstract class OpportunityRepository {
|
|
466
453
|
address: string;
|
467
454
|
id: string;
|
468
455
|
chainId: number;
|
469
|
-
type:
|
456
|
+
type: TokenType;
|
470
457
|
icon: string;
|
471
458
|
isNative: boolean;
|
472
|
-
isPoint: boolean;
|
473
|
-
isPreTGE: boolean;
|
474
459
|
isTest: boolean;
|
475
460
|
verified: boolean;
|
476
461
|
displaySymbol: string;
|
@@ -539,11 +524,9 @@ export declare abstract class OpportunityRepository {
|
|
539
524
|
address: string;
|
540
525
|
id: string;
|
541
526
|
chainId: number;
|
542
|
-
type:
|
527
|
+
type: TokenType;
|
543
528
|
icon: string;
|
544
529
|
isNative: boolean;
|
545
|
-
isPoint: boolean;
|
546
|
-
isPreTGE: boolean;
|
547
530
|
isTest: boolean;
|
548
531
|
verified: boolean;
|
549
532
|
displaySymbol: string;
|
@@ -623,11 +606,9 @@ export declare abstract class OpportunityRepository {
|
|
623
606
|
address: string;
|
624
607
|
id: string;
|
625
608
|
chainId: number;
|
626
|
-
type:
|
609
|
+
type: TokenType;
|
627
610
|
icon: string;
|
628
611
|
isNative: boolean;
|
629
|
-
isPoint: boolean;
|
630
|
-
isPreTGE: boolean;
|
631
612
|
isTest: boolean;
|
632
613
|
verified: boolean;
|
633
614
|
displaySymbol: string;
|
@@ -696,11 +677,9 @@ export declare abstract class OpportunityRepository {
|
|
696
677
|
address: string;
|
697
678
|
id: string;
|
698
679
|
chainId: number;
|
699
|
-
type:
|
680
|
+
type: TokenType;
|
700
681
|
icon: string;
|
701
682
|
isNative: boolean;
|
702
|
-
isPoint: boolean;
|
703
|
-
isPreTGE: boolean;
|
704
683
|
isTest: boolean;
|
705
684
|
verified: boolean;
|
706
685
|
displaySymbol: string;
|
@@ -798,11 +777,9 @@ export declare abstract class OpportunityRepository {
|
|
798
777
|
address: string;
|
799
778
|
id: string;
|
800
779
|
chainId: number;
|
801
|
-
type:
|
780
|
+
type: TokenType;
|
802
781
|
icon: string;
|
803
782
|
isNative: boolean;
|
804
|
-
isPoint: boolean;
|
805
|
-
isPreTGE: boolean;
|
806
783
|
isTest: boolean;
|
807
784
|
verified: boolean;
|
808
785
|
displaySymbol: string;
|
@@ -836,11 +813,9 @@ export declare abstract class OpportunityRepository {
|
|
836
813
|
address: string;
|
837
814
|
id: string;
|
838
815
|
chainId: number;
|
839
|
-
type:
|
816
|
+
type: TokenType;
|
840
817
|
icon: string;
|
841
818
|
isNative: boolean;
|
842
|
-
isPoint: boolean;
|
843
|
-
isPreTGE: boolean;
|
844
819
|
isTest: boolean;
|
845
820
|
verified: boolean;
|
846
821
|
displaySymbol: string;
|
@@ -909,11 +884,9 @@ export declare abstract class OpportunityRepository {
|
|
909
884
|
address: string;
|
910
885
|
id: string;
|
911
886
|
chainId: number;
|
912
|
-
type:
|
887
|
+
type: TokenType;
|
913
888
|
icon: string;
|
914
889
|
isNative: boolean;
|
915
|
-
isPoint: boolean;
|
916
|
-
isPreTGE: boolean;
|
917
890
|
isTest: boolean;
|
918
891
|
verified: boolean;
|
919
892
|
displaySymbol: string;
|
@@ -1,10 +1,18 @@
|
|
1
1
|
import { type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import { type OpportunityAction, type OpportunityManualOverride, type Prisma } from "@package/databases/api";
|
2
|
+
import { type OpportunityAction, type OpportunityManualOverride, type Prisma, TokenType } from "@package/databases/api";
|
3
3
|
import type { CampaignWithParams, FindCampaignModel } from "../../../modules/v4/campaign/campaign.model";
|
4
4
|
import type { Protocol } from "../protocol/protocol.model";
|
5
5
|
import type { Token } from "../token/token.model";
|
6
6
|
import type { FindOpportunityModel, GetOpportunitiesQueryModel, Opportunity, OpportunityOverrideModel, OpportunityResourceModel, OpportunityUnique } from "./opportunity.model";
|
7
7
|
export declare abstract class OpportunityService {
|
8
|
+
static transformQueryToTestAndTokenTypes(query: {
|
9
|
+
tokenTypes?: TokenType[] | undefined;
|
10
|
+
point?: boolean | undefined;
|
11
|
+
test?: boolean | undefined;
|
12
|
+
}): {
|
13
|
+
tokenTypes: import("@package/databases").TokenType[] | undefined;
|
14
|
+
test: boolean;
|
15
|
+
};
|
8
16
|
static hashId(opportunity: OpportunityUnique): string;
|
9
17
|
static getAprBins(query: GetOpportunitiesQueryModel): Promise<{
|
10
18
|
data: {
|
@@ -58,8 +66,6 @@ export declare abstract class OpportunityService {
|
|
58
66
|
type: import("@package/databases").TokenType;
|
59
67
|
icon: string;
|
60
68
|
isNative: boolean;
|
61
|
-
isPoint: boolean;
|
62
|
-
isPreTGE: boolean;
|
63
69
|
isTest: boolean;
|
64
70
|
verified: boolean;
|
65
71
|
} & {
|
@@ -85,8 +91,6 @@ export declare abstract class OpportunityService {
|
|
85
91
|
type: import("@package/databases").TokenType;
|
86
92
|
icon: string;
|
87
93
|
isNative: boolean;
|
88
|
-
isPoint: boolean;
|
89
|
-
isPreTGE: boolean;
|
90
94
|
isTest: boolean;
|
91
95
|
verified: boolean;
|
92
96
|
displaySymbol: string;
|
@@ -142,8 +146,6 @@ export declare abstract class OpportunityService {
|
|
142
146
|
type: import("@package/databases").TokenType;
|
143
147
|
icon: string;
|
144
148
|
isNative: boolean;
|
145
|
-
isPoint: boolean;
|
146
|
-
isPreTGE: boolean;
|
147
149
|
isTest: boolean;
|
148
150
|
verified: boolean;
|
149
151
|
} & {
|
@@ -169,8 +171,6 @@ export declare abstract class OpportunityService {
|
|
169
171
|
type: import("@package/databases").TokenType;
|
170
172
|
icon: string;
|
171
173
|
isNative: boolean;
|
172
|
-
isPoint: boolean;
|
173
|
-
isPreTGE: boolean;
|
174
174
|
isTest: boolean;
|
175
175
|
verified: boolean;
|
176
176
|
displaySymbol: string;
|
@@ -225,8 +225,6 @@ export declare abstract class OpportunityService {
|
|
225
225
|
type: import("@package/databases").TokenType;
|
226
226
|
icon: string;
|
227
227
|
isNative: boolean;
|
228
|
-
isPoint: boolean;
|
229
|
-
isPreTGE: boolean;
|
230
228
|
isTest: boolean;
|
231
229
|
verified: boolean;
|
232
230
|
} & {
|
@@ -252,8 +250,6 @@ export declare abstract class OpportunityService {
|
|
252
250
|
type: import("@package/databases").TokenType;
|
253
251
|
icon: string;
|
254
252
|
isNative: boolean;
|
255
|
-
isPoint: boolean;
|
256
|
-
isPreTGE: boolean;
|
257
253
|
isTest: boolean;
|
258
254
|
verified: boolean;
|
259
255
|
displaySymbol: string;
|
@@ -339,10 +335,9 @@ export declare abstract class OpportunityService {
|
|
339
335
|
address: string;
|
340
336
|
id: string;
|
341
337
|
chainId: number;
|
338
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
342
339
|
icon: string;
|
343
340
|
isNative: boolean;
|
344
|
-
isPoint: boolean;
|
345
|
-
isPreTGE: boolean;
|
346
341
|
isTest: boolean;
|
347
342
|
verified: boolean;
|
348
343
|
};
|
@@ -361,10 +356,9 @@ export declare abstract class OpportunityService {
|
|
361
356
|
address: string;
|
362
357
|
id: string;
|
363
358
|
chainId: number;
|
359
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
364
360
|
icon: string;
|
365
361
|
isNative: boolean;
|
366
|
-
isPoint: boolean;
|
367
|
-
isPreTGE: boolean;
|
368
362
|
isTest: boolean;
|
369
363
|
verified: boolean;
|
370
364
|
}[];
|
@@ -408,10 +402,9 @@ export declare abstract class OpportunityService {
|
|
408
402
|
address: string;
|
409
403
|
id: string;
|
410
404
|
chainId: number;
|
405
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
411
406
|
icon: string;
|
412
407
|
isNative: boolean;
|
413
|
-
isPoint: boolean;
|
414
|
-
isPreTGE: boolean;
|
415
408
|
isTest: boolean;
|
416
409
|
verified: boolean;
|
417
410
|
};
|
@@ -506,8 +499,6 @@ export declare abstract class OpportunityService {
|
|
506
499
|
type: import("@package/databases").TokenType;
|
507
500
|
icon: string;
|
508
501
|
isNative: boolean;
|
509
|
-
isPoint: boolean;
|
510
|
-
isPreTGE: boolean;
|
511
502
|
isTest: boolean;
|
512
503
|
verified: boolean;
|
513
504
|
displaySymbol: string;
|
@@ -528,8 +519,6 @@ export declare abstract class OpportunityService {
|
|
528
519
|
type: import("@package/databases").TokenType;
|
529
520
|
icon: string;
|
530
521
|
isNative: boolean;
|
531
|
-
isPoint: boolean;
|
532
|
-
isPreTGE: boolean;
|
533
522
|
isTest: boolean;
|
534
523
|
verified: boolean;
|
535
524
|
} & {
|
@@ -618,8 +607,6 @@ export declare abstract class OpportunityService {
|
|
618
607
|
type: import("@package/databases").TokenType;
|
619
608
|
icon: string;
|
620
609
|
isNative: boolean;
|
621
|
-
isPoint: boolean;
|
622
|
-
isPreTGE: boolean;
|
623
610
|
isTest: boolean;
|
624
611
|
verified: boolean;
|
625
612
|
displaySymbol: string;
|
@@ -640,8 +627,6 @@ export declare abstract class OpportunityService {
|
|
640
627
|
type: import("@package/databases").TokenType;
|
641
628
|
icon: string;
|
642
629
|
isNative: boolean;
|
643
|
-
isPoint: boolean;
|
644
|
-
isPreTGE: boolean;
|
645
630
|
isTest: boolean;
|
646
631
|
verified: boolean;
|
647
632
|
} & {
|
@@ -1037,8 +1037,6 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
|
|
1037
1037
|
type: import("@package/databases").TokenType;
|
1038
1038
|
icon: string;
|
1039
1039
|
isNative: boolean;
|
1040
|
-
isPoint: boolean;
|
1041
|
-
isPreTGE: boolean;
|
1042
1040
|
isTest: boolean;
|
1043
1041
|
verified: boolean;
|
1044
1042
|
} & {
|
@@ -458,8 +458,9 @@ export declare enum pufferCampaigns {
|
|
458
458
|
pufETH_TermMax = "0xE8a7A6dD9218202996D9cF825426Ab283b3396eD",
|
459
459
|
pufETH_TermMax_Vault = "0xdC4d99aB6c69943b4E17431357AbC5b54B4C2F56",
|
460
460
|
pancakeswapv3_puffer_wbnb = "0xDA7630A141dBB6382DDb6409AeA7331da543B0Bb",
|
461
|
-
euler_pufETH_Supply = "Euler pufETH Supply Vault
|
462
|
-
euler_pufETH_Borrow = "Euler pufETH Borrow
|
461
|
+
euler_pufETH_Supply = "Euler pufETH Supply Vault 0x46BC453666BA11b4b08B0804E49A9D797546ee7D",
|
462
|
+
euler_pufETH_Borrow = "Euler pufETH Borrow 0x46BC453666BA11b4b08B0804E49A9D797546ee7D",
|
463
|
+
euler_wETH_Supply = "Euler wETH Supply 0xc2c4aBae84fbb5b7bAAB52301A924b1F986C66bd"
|
463
464
|
}
|
464
465
|
export declare enum zkSyncCampaigns {
|
465
466
|
Izumi_Finance_Zk_Weth = "Izumi Finance ZK/WETH 0xd62bc9f19bd94fde9c41df4b6eb6419ea6b8e25c",
|
@@ -52,10 +52,13 @@ export declare const DailyRewardsBreakdownRecordResourceDto: import("@sinclair/t
|
|
52
52
|
verified: import("@sinclair/typebox").TBoolean;
|
53
53
|
isNative: import("@sinclair/typebox").TBoolean;
|
54
54
|
isTest: import("@sinclair/typebox").TBoolean;
|
55
|
-
isPoint: import("@sinclair/typebox").TBoolean;
|
56
|
-
isPreTGE: import("@sinclair/typebox").TBoolean;
|
57
55
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
58
56
|
symbol: import("@sinclair/typebox").TString;
|
57
|
+
type: import("@sinclair/typebox").TEnum<{
|
58
|
+
readonly TOKEN: "TOKEN";
|
59
|
+
readonly PRETGE: "PRETGE";
|
60
|
+
readonly POINT: "POINT";
|
61
|
+
}>;
|
59
62
|
}>;
|
60
63
|
amount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
61
64
|
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
@@ -82,10 +85,13 @@ export declare const DailyRewardsRecordResourceDto: import("@sinclair/typebox").
|
|
82
85
|
verified: import("@sinclair/typebox").TBoolean;
|
83
86
|
isNative: import("@sinclair/typebox").TBoolean;
|
84
87
|
isTest: import("@sinclair/typebox").TBoolean;
|
85
|
-
isPoint: import("@sinclair/typebox").TBoolean;
|
86
|
-
isPreTGE: import("@sinclair/typebox").TBoolean;
|
87
88
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
88
89
|
symbol: import("@sinclair/typebox").TString;
|
90
|
+
type: import("@sinclair/typebox").TEnum<{
|
91
|
+
readonly TOKEN: "TOKEN";
|
92
|
+
readonly PRETGE: "PRETGE";
|
93
|
+
readonly POINT: "POINT";
|
94
|
+
}>;
|
89
95
|
}>;
|
90
96
|
amount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
91
97
|
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
@@ -16,8 +16,6 @@ export declare abstract class RewardRepository {
|
|
16
16
|
type: import("@package/databases").TokenType;
|
17
17
|
icon: string;
|
18
18
|
isNative: boolean;
|
19
|
-
isPoint: boolean;
|
20
|
-
isPreTGE: boolean;
|
21
19
|
isTest: boolean;
|
22
20
|
verified: boolean;
|
23
21
|
displaySymbol: string;
|
@@ -42,8 +40,6 @@ export declare abstract class RewardRepository {
|
|
42
40
|
type: import("@package/databases").TokenType;
|
43
41
|
icon: string;
|
44
42
|
isNative: boolean;
|
45
|
-
isPoint: boolean;
|
46
|
-
isPreTGE: boolean;
|
47
43
|
isTest: boolean;
|
48
44
|
verified: boolean;
|
49
45
|
displaySymbol: string;
|
@@ -59,8 +59,6 @@ export declare abstract class RewardService {
|
|
59
59
|
type: import("@package/databases").TokenType;
|
60
60
|
icon: string;
|
61
61
|
isNative: boolean;
|
62
|
-
isPoint: boolean;
|
63
|
-
isPreTGE: boolean;
|
64
62
|
isTest: boolean;
|
65
63
|
verified: boolean;
|
66
64
|
displaySymbol: string;
|
@@ -81,8 +79,6 @@ export declare abstract class RewardService {
|
|
81
79
|
type: import("@package/databases").TokenType;
|
82
80
|
icon: string;
|
83
81
|
isNative: boolean;
|
84
|
-
isPoint: boolean;
|
85
|
-
isPreTGE: boolean;
|
86
82
|
isTest: boolean;
|
87
83
|
verified: boolean;
|
88
84
|
} & {
|
@@ -149,8 +145,6 @@ export declare abstract class RewardService {
|
|
149
145
|
type: import("@package/databases").TokenType;
|
150
146
|
icon: string;
|
151
147
|
isNative: boolean;
|
152
|
-
isPoint: boolean;
|
153
|
-
isPreTGE: boolean;
|
154
148
|
isTest: boolean;
|
155
149
|
verified: boolean;
|
156
150
|
displaySymbol: string;
|
@@ -213,8 +207,6 @@ export declare abstract class RewardService {
|
|
213
207
|
type: import("@package/databases").TokenType;
|
214
208
|
icon: string;
|
215
209
|
isNative: boolean;
|
216
|
-
isPoint: boolean;
|
217
|
-
isPreTGE: boolean;
|
218
210
|
isTest: boolean;
|
219
211
|
verified: boolean;
|
220
212
|
displaySymbol: string;
|
@@ -239,8 +231,6 @@ export declare abstract class RewardService {
|
|
239
231
|
type: import("@package/databases").TokenType;
|
240
232
|
icon: string;
|
241
233
|
isNative: boolean;
|
242
|
-
isPoint: boolean;
|
243
|
-
isPreTGE: boolean;
|
244
234
|
isTest: boolean;
|
245
235
|
verified: boolean;
|
246
236
|
displaySymbol: string;
|
@@ -306,8 +296,6 @@ export declare abstract class RewardService {
|
|
306
296
|
type: import("@package/databases").TokenType;
|
307
297
|
icon: string;
|
308
298
|
isNative: boolean;
|
309
|
-
isPoint: boolean;
|
310
|
-
isPreTGE: boolean;
|
311
299
|
isTest: boolean;
|
312
300
|
verified: boolean;
|
313
301
|
displaySymbol: string;
|
@@ -332,8 +320,6 @@ export declare abstract class RewardService {
|
|
332
320
|
type: import("@package/databases").TokenType;
|
333
321
|
icon: string;
|
334
322
|
isNative: boolean;
|
335
|
-
isPoint: boolean;
|
336
|
-
isPreTGE: boolean;
|
337
323
|
isTest: boolean;
|
338
324
|
verified: boolean;
|
339
325
|
displaySymbol: string;
|
@@ -430,8 +416,6 @@ export declare abstract class RewardService {
|
|
430
416
|
type: import("@package/databases").TokenType;
|
431
417
|
icon: string;
|
432
418
|
isNative: boolean;
|
433
|
-
isPoint: boolean;
|
434
|
-
isPreTGE: boolean;
|
435
419
|
isTest: boolean;
|
436
420
|
verified: boolean;
|
437
421
|
displaySymbol: string;
|
@@ -456,8 +440,6 @@ export declare abstract class RewardService {
|
|
456
440
|
type: import("@package/databases").TokenType;
|
457
441
|
icon: string;
|
458
442
|
isNative: boolean;
|
459
|
-
isPoint: boolean;
|
460
|
-
isPreTGE: boolean;
|
461
443
|
isTest: boolean;
|
462
444
|
verified: boolean;
|
463
445
|
displaySymbol: string;
|
@@ -535,8 +517,6 @@ export declare abstract class RewardService {
|
|
535
517
|
type: import("@package/databases").TokenType;
|
536
518
|
icon: string;
|
537
519
|
isNative: boolean;
|
538
|
-
isPoint: boolean;
|
539
|
-
isPreTGE: boolean;
|
540
520
|
isTest: boolean;
|
541
521
|
verified: boolean;
|
542
522
|
displaySymbol: string;
|
@@ -561,8 +541,6 @@ export declare abstract class RewardService {
|
|
561
541
|
type: import("@package/databases").TokenType;
|
562
542
|
icon: string;
|
563
543
|
isNative: boolean;
|
564
|
-
isPoint: boolean;
|
565
|
-
isPreTGE: boolean;
|
566
544
|
isTest: boolean;
|
567
545
|
verified: boolean;
|
568
546
|
displaySymbol: string;
|
@@ -638,8 +616,6 @@ export declare abstract class RewardService {
|
|
638
616
|
type: import("@package/databases").TokenType;
|
639
617
|
icon: string;
|
640
618
|
isNative: boolean;
|
641
|
-
isPoint: boolean;
|
642
|
-
isPreTGE: boolean;
|
643
619
|
isTest: boolean;
|
644
620
|
verified: boolean;
|
645
621
|
displaySymbol: string;
|
@@ -664,8 +640,6 @@ export declare abstract class RewardService {
|
|
664
640
|
type: import("@package/databases").TokenType;
|
665
641
|
icon: string;
|
666
642
|
isNative: boolean;
|
667
|
-
isPoint: boolean;
|
668
|
-
isPreTGE: boolean;
|
669
643
|
isTest: boolean;
|
670
644
|
verified: boolean;
|
671
645
|
displaySymbol: string;
|