@merkl/api 1.0.94 → 1.0.96
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 +122 -10
- package/dist/src/index.d.ts +61 -5
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +14 -0
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +10 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +58 -45
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +44 -0
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +6 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +28 -4
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +36 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +15 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +23 -2
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +1 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +3 -2
- package/dist/src/modules/v4/programPayload/programPayload.service.d.ts +1 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +10 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +13 -0
- package/dist/src/modules/v4/router.d.ts +61 -5
- package/dist/src/modules/v4/token/token.controller.d.ts +11 -1
- package/dist/src/modules/v4/token/token.model.d.ts +19 -2
- package/dist/src/modules/v4/token/token.repository.d.ts +5 -0
- package/dist/src/modules/v4/token/token.service.d.ts +15 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -81,6 +81,11 @@ export declare const OpportunityResourceDto: import("@sinclair/typebox").TObject
|
|
81
81
|
isPreTGE: import("@sinclair/typebox").TBoolean;
|
82
82
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
83
83
|
symbol: import("@sinclair/typebox").TString;
|
84
|
+
type: import("@sinclair/typebox").TEnum<{
|
85
|
+
readonly TOKEN: "TOKEN";
|
86
|
+
readonly PRETGE: "PRETGE";
|
87
|
+
readonly POINT: "POINT";
|
88
|
+
}>;
|
84
89
|
}>>;
|
85
90
|
chain: import("@sinclair/typebox").TObject<{
|
86
91
|
id: import("@sinclair/typebox").TNumber;
|
@@ -147,6 +152,11 @@ export declare const OpportunityResourceDto: import("@sinclair/typebox").TObject
|
|
147
152
|
isPreTGE: import("@sinclair/typebox").TBoolean;
|
148
153
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
149
154
|
symbol: import("@sinclair/typebox").TString;
|
155
|
+
type: import("@sinclair/typebox").TEnum<{
|
156
|
+
readonly TOKEN: "TOKEN";
|
157
|
+
readonly PRETGE: "PRETGE";
|
158
|
+
readonly POINT: "POINT";
|
159
|
+
}>;
|
150
160
|
}>;
|
151
161
|
amount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
152
162
|
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
@@ -188,6 +198,11 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
188
198
|
isPreTGE: import("@sinclair/typebox").TBoolean;
|
189
199
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
190
200
|
symbol: import("@sinclair/typebox").TString;
|
201
|
+
type: import("@sinclair/typebox").TEnum<{
|
202
|
+
readonly TOKEN: "TOKEN";
|
203
|
+
readonly PRETGE: "PRETGE";
|
204
|
+
readonly POINT: "POINT";
|
205
|
+
}>;
|
191
206
|
}>>;
|
192
207
|
tvl: import("@sinclair/typebox").TNumber;
|
193
208
|
description: import("@sinclair/typebox").TString;
|
@@ -286,6 +301,11 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
286
301
|
isPreTGE: import("@sinclair/typebox").TBoolean;
|
287
302
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
288
303
|
symbol: import("@sinclair/typebox").TString;
|
304
|
+
type: import("@sinclair/typebox").TEnum<{
|
305
|
+
readonly TOKEN: "TOKEN";
|
306
|
+
readonly PRETGE: "PRETGE";
|
307
|
+
readonly POINT: "POINT";
|
308
|
+
}>;
|
289
309
|
}>;
|
290
310
|
amount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
291
311
|
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
@@ -342,6 +362,11 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
342
362
|
isPreTGE: import("@sinclair/typebox").TBoolean;
|
343
363
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
344
364
|
symbol: import("@sinclair/typebox").TString;
|
365
|
+
type: import("@sinclair/typebox").TEnum<{
|
366
|
+
readonly TOKEN: "TOKEN";
|
367
|
+
readonly PRETGE: "PRETGE";
|
368
|
+
readonly POINT: "POINT";
|
369
|
+
}>;
|
345
370
|
}>;
|
346
371
|
distributionChain: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
347
372
|
id: import("@sinclair/typebox").TNumber;
|
@@ -391,11 +416,16 @@ export declare const GetOpportunitiesQueryDto: import("@sinclair/typebox").TObje
|
|
391
416
|
campaignId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
392
417
|
chainId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRegExp>;
|
393
418
|
action: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
419
|
+
tokenTypes: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TEnum<{
|
420
|
+
readonly TOKEN: "TOKEN";
|
421
|
+
readonly PRETGE: "PRETGE";
|
422
|
+
readonly POINT: "POINT";
|
423
|
+
}>>>;
|
424
|
+
point: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
394
425
|
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
395
426
|
creatorAddress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
396
427
|
tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
397
428
|
test: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
398
|
-
point: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
399
429
|
minimumTvl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
400
430
|
maximumTvl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
401
431
|
minimumApr: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
@@ -415,6 +445,11 @@ export declare const GetOpportunitiesQueryDto: import("@sinclair/typebox").TObje
|
|
415
445
|
export declare const FindOpportunityDto: import("@sinclair/typebox").TObject<{
|
416
446
|
test: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
417
447
|
point: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
448
|
+
tokenTypes: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TEnum<{
|
449
|
+
readonly TOKEN: "TOKEN";
|
450
|
+
readonly PRETGE: "PRETGE";
|
451
|
+
readonly POINT: "POINT";
|
452
|
+
}>>>;
|
418
453
|
campaigns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
419
454
|
excludeSubCampaigns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
420
455
|
}>;
|
@@ -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,6 +19,7 @@ export declare abstract class OpportunityRepository {
|
|
18
19
|
address: string;
|
19
20
|
id: string;
|
20
21
|
chainId: number;
|
22
|
+
type: TokenType;
|
21
23
|
icon: string;
|
22
24
|
isNative: boolean;
|
23
25
|
isPoint: boolean;
|
@@ -69,6 +71,7 @@ export declare abstract class OpportunityRepository {
|
|
69
71
|
address: string;
|
70
72
|
id: string;
|
71
73
|
chainId: number;
|
74
|
+
type: TokenType;
|
72
75
|
icon: string;
|
73
76
|
isNative: boolean;
|
74
77
|
isPoint: boolean;
|
@@ -106,6 +109,7 @@ export declare abstract class OpportunityRepository {
|
|
106
109
|
address: string;
|
107
110
|
id: string;
|
108
111
|
chainId: number;
|
112
|
+
type: TokenType;
|
109
113
|
icon: string;
|
110
114
|
isNative: boolean;
|
111
115
|
isPoint: boolean;
|
@@ -178,6 +182,7 @@ export declare abstract class OpportunityRepository {
|
|
178
182
|
address: string;
|
179
183
|
id: string;
|
180
184
|
chainId: number;
|
185
|
+
type: TokenType;
|
181
186
|
icon: string;
|
182
187
|
isNative: boolean;
|
183
188
|
isPoint: boolean;
|
@@ -254,6 +259,7 @@ export declare abstract class OpportunityRepository {
|
|
254
259
|
address: string;
|
255
260
|
id: string;
|
256
261
|
chainId: number;
|
262
|
+
type: TokenType;
|
257
263
|
icon: string;
|
258
264
|
isNative: boolean;
|
259
265
|
isPoint: boolean;
|
@@ -326,6 +332,7 @@ export declare abstract class OpportunityRepository {
|
|
326
332
|
address: string;
|
327
333
|
id: string;
|
328
334
|
chainId: number;
|
335
|
+
type: TokenType;
|
329
336
|
icon: string;
|
330
337
|
isNative: boolean;
|
331
338
|
isPoint: boolean;
|
@@ -422,6 +429,7 @@ export declare abstract class OpportunityRepository {
|
|
422
429
|
address: string;
|
423
430
|
id: string;
|
424
431
|
chainId: number;
|
432
|
+
type: TokenType;
|
425
433
|
icon: string;
|
426
434
|
isNative: boolean;
|
427
435
|
isPoint: boolean;
|
@@ -459,6 +467,7 @@ export declare abstract class OpportunityRepository {
|
|
459
467
|
address: string;
|
460
468
|
id: string;
|
461
469
|
chainId: number;
|
470
|
+
type: TokenType;
|
462
471
|
icon: string;
|
463
472
|
isNative: boolean;
|
464
473
|
isPoint: boolean;
|
@@ -531,6 +540,7 @@ export declare abstract class OpportunityRepository {
|
|
531
540
|
address: string;
|
532
541
|
id: string;
|
533
542
|
chainId: number;
|
543
|
+
type: TokenType;
|
534
544
|
icon: string;
|
535
545
|
isNative: boolean;
|
536
546
|
isPoint: boolean;
|
@@ -614,6 +624,7 @@ export declare abstract class OpportunityRepository {
|
|
614
624
|
address: string;
|
615
625
|
id: string;
|
616
626
|
chainId: number;
|
627
|
+
type: TokenType;
|
617
628
|
icon: string;
|
618
629
|
isNative: boolean;
|
619
630
|
isPoint: boolean;
|
@@ -686,6 +697,7 @@ export declare abstract class OpportunityRepository {
|
|
686
697
|
address: string;
|
687
698
|
id: string;
|
688
699
|
chainId: number;
|
700
|
+
type: TokenType;
|
689
701
|
icon: string;
|
690
702
|
isNative: boolean;
|
691
703
|
isPoint: boolean;
|
@@ -787,6 +799,7 @@ export declare abstract class OpportunityRepository {
|
|
787
799
|
address: string;
|
788
800
|
id: string;
|
789
801
|
chainId: number;
|
802
|
+
type: TokenType;
|
790
803
|
icon: string;
|
791
804
|
isNative: boolean;
|
792
805
|
isPoint: boolean;
|
@@ -824,6 +837,7 @@ export declare abstract class OpportunityRepository {
|
|
824
837
|
address: string;
|
825
838
|
id: string;
|
826
839
|
chainId: number;
|
840
|
+
type: TokenType;
|
827
841
|
icon: string;
|
828
842
|
isNative: boolean;
|
829
843
|
isPoint: boolean;
|
@@ -896,6 +910,7 @@ export declare abstract class OpportunityRepository {
|
|
896
910
|
address: string;
|
897
911
|
id: string;
|
898
912
|
chainId: number;
|
913
|
+
type: TokenType;
|
899
914
|
icon: string;
|
900
915
|
isNative: boolean;
|
901
916
|
isPoint: boolean;
|
@@ -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: {
|
@@ -55,6 +63,7 @@ export declare abstract class OpportunityService {
|
|
55
63
|
address: string;
|
56
64
|
id: string;
|
57
65
|
chainId: number;
|
66
|
+
type: import("@package/databases").TokenType;
|
58
67
|
icon: string;
|
59
68
|
isNative: boolean;
|
60
69
|
isPoint: boolean;
|
@@ -81,6 +90,7 @@ export declare abstract class OpportunityService {
|
|
81
90
|
address: string;
|
82
91
|
id: string;
|
83
92
|
chainId: number;
|
93
|
+
type: import("@package/databases").TokenType;
|
84
94
|
icon: string;
|
85
95
|
isNative: boolean;
|
86
96
|
isPoint: boolean;
|
@@ -137,6 +147,7 @@ export declare abstract class OpportunityService {
|
|
137
147
|
address: string;
|
138
148
|
id: string;
|
139
149
|
chainId: number;
|
150
|
+
type: import("@package/databases").TokenType;
|
140
151
|
icon: string;
|
141
152
|
isNative: boolean;
|
142
153
|
isPoint: boolean;
|
@@ -163,6 +174,7 @@ export declare abstract class OpportunityService {
|
|
163
174
|
address: string;
|
164
175
|
id: string;
|
165
176
|
chainId: number;
|
177
|
+
type: import("@package/databases").TokenType;
|
166
178
|
icon: string;
|
167
179
|
isNative: boolean;
|
168
180
|
isPoint: boolean;
|
@@ -218,6 +230,7 @@ export declare abstract class OpportunityService {
|
|
218
230
|
address: string;
|
219
231
|
id: string;
|
220
232
|
chainId: number;
|
233
|
+
type: import("@package/databases").TokenType;
|
221
234
|
icon: string;
|
222
235
|
isNative: boolean;
|
223
236
|
isPoint: boolean;
|
@@ -244,6 +257,7 @@ export declare abstract class OpportunityService {
|
|
244
257
|
address: string;
|
245
258
|
id: string;
|
246
259
|
chainId: number;
|
260
|
+
type: import("@package/databases").TokenType;
|
247
261
|
icon: string;
|
248
262
|
isNative: boolean;
|
249
263
|
isPoint: boolean;
|
@@ -305,7 +319,7 @@ export declare abstract class OpportunityService {
|
|
305
319
|
breakdowns: {
|
306
320
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
307
321
|
value: number;
|
308
|
-
type: "
|
322
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
309
323
|
identifier: string;
|
310
324
|
}[];
|
311
325
|
} | undefined;
|
@@ -333,6 +347,7 @@ export declare abstract class OpportunityService {
|
|
333
347
|
address: string;
|
334
348
|
id: string;
|
335
349
|
chainId: number;
|
350
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
336
351
|
icon: string;
|
337
352
|
isNative: boolean;
|
338
353
|
isPoint: boolean;
|
@@ -355,6 +370,7 @@ export declare abstract class OpportunityService {
|
|
355
370
|
address: string;
|
356
371
|
id: string;
|
357
372
|
chainId: number;
|
373
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
358
374
|
icon: string;
|
359
375
|
isNative: boolean;
|
360
376
|
isPoint: boolean;
|
@@ -402,6 +418,7 @@ export declare abstract class OpportunityService {
|
|
402
418
|
address: string;
|
403
419
|
id: string;
|
404
420
|
chainId: number;
|
421
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
405
422
|
icon: string;
|
406
423
|
isNative: boolean;
|
407
424
|
isPoint: boolean;
|
@@ -497,6 +514,7 @@ export declare abstract class OpportunityService {
|
|
497
514
|
address: string;
|
498
515
|
id: string;
|
499
516
|
chainId: number;
|
517
|
+
type: import("@package/databases").TokenType;
|
500
518
|
icon: string;
|
501
519
|
isNative: boolean;
|
502
520
|
isPoint: boolean;
|
@@ -518,6 +536,7 @@ export declare abstract class OpportunityService {
|
|
518
536
|
address: string;
|
519
537
|
id: string;
|
520
538
|
chainId: number;
|
539
|
+
type: import("@package/databases").TokenType;
|
521
540
|
icon: string;
|
522
541
|
isNative: boolean;
|
523
542
|
isPoint: boolean;
|
@@ -607,6 +626,7 @@ export declare abstract class OpportunityService {
|
|
607
626
|
address: string;
|
608
627
|
id: string;
|
609
628
|
chainId: number;
|
629
|
+
type: import("@package/databases").TokenType;
|
610
630
|
icon: string;
|
611
631
|
isNative: boolean;
|
612
632
|
isPoint: boolean;
|
@@ -628,6 +648,7 @@ export declare abstract class OpportunityService {
|
|
628
648
|
address: string;
|
629
649
|
id: string;
|
630
650
|
chainId: number;
|
651
|
+
type: import("@package/databases").TokenType;
|
631
652
|
icon: string;
|
632
653
|
isNative: boolean;
|
633
654
|
isPoint: boolean;
|
@@ -1034,6 +1034,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
|
|
1034
1034
|
address: string;
|
1035
1035
|
id: string;
|
1036
1036
|
chainId: number;
|
1037
|
+
type: import("@package/databases").TokenType;
|
1037
1038
|
icon: string;
|
1038
1039
|
isNative: boolean;
|
1039
1040
|
isPoint: boolean;
|
@@ -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",
|
@@ -56,6 +56,11 @@ export declare const DailyRewardsBreakdownRecordResourceDto: import("@sinclair/t
|
|
56
56
|
isPreTGE: import("@sinclair/typebox").TBoolean;
|
57
57
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
58
58
|
symbol: import("@sinclair/typebox").TString;
|
59
|
+
type: import("@sinclair/typebox").TEnum<{
|
60
|
+
readonly TOKEN: "TOKEN";
|
61
|
+
readonly PRETGE: "PRETGE";
|
62
|
+
readonly POINT: "POINT";
|
63
|
+
}>;
|
59
64
|
}>;
|
60
65
|
amount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
61
66
|
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
@@ -86,6 +91,11 @@ export declare const DailyRewardsRecordResourceDto: import("@sinclair/typebox").
|
|
86
91
|
isPreTGE: import("@sinclair/typebox").TBoolean;
|
87
92
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
88
93
|
symbol: import("@sinclair/typebox").TString;
|
94
|
+
type: import("@sinclair/typebox").TEnum<{
|
95
|
+
readonly TOKEN: "TOKEN";
|
96
|
+
readonly PRETGE: "PRETGE";
|
97
|
+
readonly POINT: "POINT";
|
98
|
+
}>;
|
89
99
|
}>;
|
90
100
|
amount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
91
101
|
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
@@ -13,6 +13,7 @@ export declare abstract class RewardRepository {
|
|
13
13
|
address: string;
|
14
14
|
id: string;
|
15
15
|
chainId: number;
|
16
|
+
type: import("@package/databases").TokenType;
|
16
17
|
icon: string;
|
17
18
|
isNative: boolean;
|
18
19
|
isPoint: boolean;
|
@@ -38,6 +39,7 @@ export declare abstract class RewardRepository {
|
|
38
39
|
address: string;
|
39
40
|
id: string;
|
40
41
|
chainId: number;
|
42
|
+
type: import("@package/databases").TokenType;
|
41
43
|
icon: string;
|
42
44
|
isNative: boolean;
|
43
45
|
isPoint: boolean;
|
@@ -56,6 +56,7 @@ export declare abstract class RewardService {
|
|
56
56
|
address: string;
|
57
57
|
id: string;
|
58
58
|
chainId: number;
|
59
|
+
type: import("@package/databases").TokenType;
|
59
60
|
icon: string;
|
60
61
|
isNative: boolean;
|
61
62
|
isPoint: boolean;
|
@@ -77,6 +78,7 @@ export declare abstract class RewardService {
|
|
77
78
|
address: string;
|
78
79
|
id: string;
|
79
80
|
chainId: number;
|
81
|
+
type: import("@package/databases").TokenType;
|
80
82
|
icon: string;
|
81
83
|
isNative: boolean;
|
82
84
|
isPoint: boolean;
|
@@ -144,6 +146,7 @@ export declare abstract class RewardService {
|
|
144
146
|
address: string;
|
145
147
|
id: string;
|
146
148
|
chainId: number;
|
149
|
+
type: import("@package/databases").TokenType;
|
147
150
|
icon: string;
|
148
151
|
isNative: boolean;
|
149
152
|
isPoint: boolean;
|
@@ -207,6 +210,7 @@ export declare abstract class RewardService {
|
|
207
210
|
address: string;
|
208
211
|
id: string;
|
209
212
|
chainId: number;
|
213
|
+
type: import("@package/databases").TokenType;
|
210
214
|
icon: string;
|
211
215
|
isNative: boolean;
|
212
216
|
isPoint: boolean;
|
@@ -232,6 +236,7 @@ export declare abstract class RewardService {
|
|
232
236
|
address: string;
|
233
237
|
id: string;
|
234
238
|
chainId: number;
|
239
|
+
type: import("@package/databases").TokenType;
|
235
240
|
icon: string;
|
236
241
|
isNative: boolean;
|
237
242
|
isPoint: boolean;
|
@@ -298,6 +303,7 @@ export declare abstract class RewardService {
|
|
298
303
|
address: string;
|
299
304
|
id: string;
|
300
305
|
chainId: number;
|
306
|
+
type: import("@package/databases").TokenType;
|
301
307
|
icon: string;
|
302
308
|
isNative: boolean;
|
303
309
|
isPoint: boolean;
|
@@ -323,6 +329,7 @@ export declare abstract class RewardService {
|
|
323
329
|
address: string;
|
324
330
|
id: string;
|
325
331
|
chainId: number;
|
332
|
+
type: import("@package/databases").TokenType;
|
326
333
|
icon: string;
|
327
334
|
isNative: boolean;
|
328
335
|
isPoint: boolean;
|
@@ -420,6 +427,7 @@ export declare abstract class RewardService {
|
|
420
427
|
address: string;
|
421
428
|
id: string;
|
422
429
|
chainId: number;
|
430
|
+
type: import("@package/databases").TokenType;
|
423
431
|
icon: string;
|
424
432
|
isNative: boolean;
|
425
433
|
isPoint: boolean;
|
@@ -445,6 +453,7 @@ export declare abstract class RewardService {
|
|
445
453
|
address: string;
|
446
454
|
id: string;
|
447
455
|
chainId: number;
|
456
|
+
type: import("@package/databases").TokenType;
|
448
457
|
icon: string;
|
449
458
|
isNative: boolean;
|
450
459
|
isPoint: boolean;
|
@@ -523,6 +532,7 @@ export declare abstract class RewardService {
|
|
523
532
|
address: string;
|
524
533
|
id: string;
|
525
534
|
chainId: number;
|
535
|
+
type: import("@package/databases").TokenType;
|
526
536
|
icon: string;
|
527
537
|
isNative: boolean;
|
528
538
|
isPoint: boolean;
|
@@ -548,6 +558,7 @@ export declare abstract class RewardService {
|
|
548
558
|
address: string;
|
549
559
|
id: string;
|
550
560
|
chainId: number;
|
561
|
+
type: import("@package/databases").TokenType;
|
551
562
|
icon: string;
|
552
563
|
isNative: boolean;
|
553
564
|
isPoint: boolean;
|
@@ -624,6 +635,7 @@ export declare abstract class RewardService {
|
|
624
635
|
address: string;
|
625
636
|
id: string;
|
626
637
|
chainId: number;
|
638
|
+
type: import("@package/databases").TokenType;
|
627
639
|
icon: string;
|
628
640
|
isNative: boolean;
|
629
641
|
isPoint: boolean;
|
@@ -649,6 +661,7 @@ export declare abstract class RewardService {
|
|
649
661
|
address: string;
|
650
662
|
id: string;
|
651
663
|
chainId: number;
|
664
|
+
type: import("@package/databases").TokenType;
|
652
665
|
icon: string;
|
653
666
|
isNative: boolean;
|
654
667
|
isPoint: boolean;
|