@merkl/api 1.1.47 → 1.1.49
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 +80 -38
- package/dist/src/index.d.ts +40 -19
- package/dist/src/modules/v4/apr/apr.model.d.ts +1 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +3 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +25 -8
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +18 -4
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +9 -3
- package/dist/src/modules/v4/chain/chain.controller.d.ts +1 -1
- package/dist/src/modules/v4/creator/creator.controller.d.ts +6 -2
- package/dist/src/modules/v4/creator/creator.repository.d.ts +3 -1
- package/dist/src/modules/v4/creator/creator.service.d.ts +6 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +7 -7
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +6 -3
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +73 -17
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +14 -8
- package/dist/src/modules/v4/payload/payload.controller.d.ts +13 -4
- package/dist/src/modules/v4/payload/payload.model.d.ts +9 -0
- package/dist/src/modules/v4/payload/payload.service.d.ts +4 -4
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +3 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +1 -1
- package/dist/src/modules/v4/reward/reward.service.d.ts +10 -7
- package/dist/src/modules/v4/router.d.ts +40 -19
- package/dist/src/modules/v4/user/user.controller.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -47,6 +47,14 @@ export declare abstract class CampaignService {
|
|
47
47
|
gt?: undefined;
|
48
48
|
} | undefined;
|
49
49
|
};
|
50
|
+
static getRecordInclusion(withOpportunity?: boolean): {
|
51
|
+
DistributionChain: true;
|
52
|
+
ComputeChain: true;
|
53
|
+
RewardToken: true;
|
54
|
+
CampaignStatus: true;
|
55
|
+
Creator: true;
|
56
|
+
Opportunity: boolean;
|
57
|
+
};
|
50
58
|
static splitIdOrThrow(chainAndCampaignId: `${number}-${string}` | string): CampaignUnique;
|
51
59
|
static getPastCampaigns(query?: FindCampaignWithStatusModel): Promise<({
|
52
60
|
Opportunity: {
|
@@ -60,16 +68,17 @@ export declare abstract class CampaignService {
|
|
60
68
|
action: import("@package/databases").OpportunityAction;
|
61
69
|
type: string;
|
62
70
|
depositUrl: string | null;
|
71
|
+
dailyRewards: number;
|
63
72
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
64
73
|
identifier: string;
|
65
74
|
howToSteps: string[];
|
66
75
|
explorerAddress: string | null;
|
67
76
|
mainProtocolId: string | null;
|
68
|
-
dailyRewards: number;
|
69
77
|
tags: string[];
|
70
78
|
lastCampaignCreatedAt: Date;
|
71
79
|
};
|
72
80
|
} & {
|
81
|
+
apr: number;
|
73
82
|
campaignId: string;
|
74
83
|
description: string | null;
|
75
84
|
id: string;
|
@@ -84,6 +93,7 @@ export declare abstract class CampaignService {
|
|
84
93
|
subType: number | null;
|
85
94
|
rewardTokenId: string;
|
86
95
|
opportunityId: string;
|
96
|
+
dailyRewards: number;
|
87
97
|
creatorAddress: string;
|
88
98
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
89
99
|
createdAt: Date;
|
@@ -102,16 +112,17 @@ export declare abstract class CampaignService {
|
|
102
112
|
action: import("@package/databases").OpportunityAction;
|
103
113
|
type: string;
|
104
114
|
depositUrl: string | null;
|
115
|
+
dailyRewards: number;
|
105
116
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
106
117
|
identifier: string;
|
107
118
|
howToSteps: string[];
|
108
119
|
explorerAddress: string | null;
|
109
120
|
mainProtocolId: string | null;
|
110
|
-
dailyRewards: number;
|
111
121
|
tags: string[];
|
112
122
|
lastCampaignCreatedAt: Date;
|
113
123
|
};
|
114
124
|
} & {
|
125
|
+
apr: number;
|
115
126
|
campaignId: string;
|
116
127
|
description: string | null;
|
117
128
|
id: string;
|
@@ -126,6 +137,7 @@ export declare abstract class CampaignService {
|
|
126
137
|
subType: number | null;
|
127
138
|
rewardTokenId: string;
|
128
139
|
opportunityId: string;
|
140
|
+
dailyRewards: number;
|
129
141
|
creatorAddress: string;
|
130
142
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
131
143
|
createdAt: Date;
|
@@ -144,12 +156,12 @@ export declare abstract class CampaignService {
|
|
144
156
|
action: import("@package/databases").OpportunityAction;
|
145
157
|
type: string;
|
146
158
|
depositUrl: string | null;
|
159
|
+
dailyRewards: number;
|
147
160
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
148
161
|
identifier: string;
|
149
162
|
howToSteps: string[];
|
150
163
|
explorerAddress: string | null;
|
151
164
|
mainProtocolId: string | null;
|
152
|
-
dailyRewards: number;
|
153
165
|
tags: string[];
|
154
166
|
lastCampaignCreatedAt: Date;
|
155
167
|
};
|
@@ -191,6 +203,7 @@ export declare abstract class CampaignService {
|
|
191
203
|
displaySymbol: string;
|
192
204
|
};
|
193
205
|
} & {
|
206
|
+
apr: number;
|
194
207
|
campaignId: string;
|
195
208
|
description: string | null;
|
196
209
|
id: string;
|
@@ -205,6 +218,7 @@ export declare abstract class CampaignService {
|
|
205
218
|
subType: number | null;
|
206
219
|
rewardTokenId: string;
|
207
220
|
opportunityId: string;
|
221
|
+
dailyRewards: number;
|
208
222
|
creatorAddress: string;
|
209
223
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
210
224
|
createdAt: Date;
|
@@ -278,12 +292,12 @@ export declare abstract class CampaignService {
|
|
278
292
|
action: import("@package/databases").OpportunityAction;
|
279
293
|
type: string;
|
280
294
|
depositUrl: string | null;
|
295
|
+
dailyRewards: number;
|
281
296
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
282
297
|
identifier: string;
|
283
298
|
howToSteps: string[];
|
284
299
|
explorerAddress: string | null;
|
285
300
|
mainProtocolId: string | null;
|
286
|
-
dailyRewards: number;
|
287
301
|
tags: string[];
|
288
302
|
lastCampaignCreatedAt: Date;
|
289
303
|
})>;
|
@@ -246,6 +246,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
246
246
|
};
|
247
247
|
response: {
|
248
248
|
200: {
|
249
|
+
apr?: number | undefined;
|
249
250
|
rewardToken: {
|
250
251
|
symbol: string;
|
251
252
|
name: string | null;
|
@@ -625,6 +626,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
625
626
|
subType: number | null;
|
626
627
|
rewardTokenId: string;
|
627
628
|
opportunityId: string;
|
629
|
+
dailyRewards?: number | undefined;
|
628
630
|
creatorAddress: string;
|
629
631
|
createdAt: string;
|
630
632
|
rootCampaignId?: string | undefined;
|
@@ -695,12 +697,12 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
695
697
|
action: import("@package/databases").OpportunityAction;
|
696
698
|
type: string;
|
697
699
|
depositUrl: string | null;
|
700
|
+
dailyRewards: number;
|
698
701
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
699
702
|
identifier: string;
|
700
703
|
howToSteps: string[];
|
701
704
|
explorerAddress: string | null;
|
702
705
|
mainProtocolId: string | null;
|
703
|
-
dailyRewards: number;
|
704
706
|
tags: string[];
|
705
707
|
lastCampaignCreatedAt: Date;
|
706
708
|
};
|
@@ -732,6 +734,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
732
734
|
};
|
733
735
|
response: {
|
734
736
|
200: {
|
737
|
+
apr?: number | undefined;
|
735
738
|
rewardToken: {
|
736
739
|
symbol: string;
|
737
740
|
name: string | null;
|
@@ -1111,6 +1114,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
1111
1114
|
subType: number | null;
|
1112
1115
|
rewardTokenId: string;
|
1113
1116
|
opportunityId: string;
|
1117
|
+
dailyRewards?: number | undefined;
|
1114
1118
|
creatorAddress: string;
|
1115
1119
|
createdAt: string;
|
1116
1120
|
rootCampaignId?: string | undefined;
|
@@ -1181,12 +1185,12 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
1181
1185
|
action: import("@package/databases").OpportunityAction;
|
1182
1186
|
type: string;
|
1183
1187
|
depositUrl: string | null;
|
1188
|
+
dailyRewards: number;
|
1184
1189
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1185
1190
|
identifier: string;
|
1186
1191
|
howToSteps: string[];
|
1187
1192
|
explorerAddress: string | null;
|
1188
1193
|
mainProtocolId: string | null;
|
1189
|
-
dailyRewards: number;
|
1190
1194
|
tags: string[];
|
1191
1195
|
lastCampaignCreatedAt: Date;
|
1192
1196
|
};
|
@@ -1219,6 +1223,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
1219
1223
|
};
|
1220
1224
|
response: {
|
1221
1225
|
200: {
|
1226
|
+
apr?: number | undefined;
|
1222
1227
|
rewardToken: {
|
1223
1228
|
symbol: string;
|
1224
1229
|
name: string | null;
|
@@ -1598,6 +1603,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
1598
1603
|
subType: number | null;
|
1599
1604
|
rewardTokenId: string;
|
1600
1605
|
opportunityId: string;
|
1606
|
+
dailyRewards?: number | undefined;
|
1601
1607
|
creatorAddress: string;
|
1602
1608
|
createdAt: string;
|
1603
1609
|
rootCampaignId?: string | undefined;
|
@@ -1668,12 +1674,12 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
1668
1674
|
action: import("@package/databases").OpportunityAction;
|
1669
1675
|
type: string;
|
1670
1676
|
depositUrl: string | null;
|
1677
|
+
dailyRewards: number;
|
1671
1678
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1672
1679
|
identifier: string;
|
1673
1680
|
howToSteps: string[];
|
1674
1681
|
explorerAddress: string | null;
|
1675
1682
|
mainProtocolId: string | null;
|
1676
|
-
dailyRewards: number;
|
1677
1683
|
tags: string[];
|
1678
1684
|
lastCampaignCreatedAt: Date;
|
1679
1685
|
};
|
@@ -118,8 +118,8 @@ export declare const ChainController: Elysia<"/chains", {
|
|
118
118
|
body: {
|
119
119
|
endOfDisputePeriod?: number | undefined;
|
120
120
|
icon?: string | undefined;
|
121
|
-
liveCampaigns?: number | undefined;
|
122
121
|
dailyRewards?: number | undefined;
|
122
|
+
liveCampaigns?: number | undefined;
|
123
123
|
};
|
124
124
|
params: {
|
125
125
|
chainId: number;
|
@@ -282,16 +282,17 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
282
282
|
action: import("@package/databases").OpportunityAction;
|
283
283
|
type: string;
|
284
284
|
depositUrl: string | null;
|
285
|
+
dailyRewards: number;
|
285
286
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
286
287
|
identifier: string;
|
287
288
|
howToSteps: string[];
|
288
289
|
explorerAddress: string | null;
|
289
290
|
mainProtocolId: string | null;
|
290
|
-
dailyRewards: number;
|
291
291
|
tags: string[];
|
292
292
|
lastCampaignCreatedAt: Date;
|
293
293
|
};
|
294
294
|
} & {
|
295
|
+
apr: number;
|
295
296
|
campaignId: string;
|
296
297
|
description: string | null;
|
297
298
|
id: string;
|
@@ -306,6 +307,7 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
306
307
|
subType: number | null;
|
307
308
|
rewardTokenId: string;
|
308
309
|
opportunityId: string;
|
310
|
+
dailyRewards: number;
|
309
311
|
creatorAddress: string;
|
310
312
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
311
313
|
createdAt: Date;
|
@@ -353,16 +355,17 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
353
355
|
action: import("@package/databases").OpportunityAction;
|
354
356
|
type: string;
|
355
357
|
depositUrl: string | null;
|
358
|
+
dailyRewards: number;
|
356
359
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
357
360
|
identifier: string;
|
358
361
|
howToSteps: string[];
|
359
362
|
explorerAddress: string | null;
|
360
363
|
mainProtocolId: string | null;
|
361
|
-
dailyRewards: number;
|
362
364
|
tags: string[];
|
363
365
|
lastCampaignCreatedAt: Date;
|
364
366
|
};
|
365
367
|
} & {
|
368
|
+
apr: number;
|
366
369
|
campaignId: string;
|
367
370
|
description: string | null;
|
368
371
|
id: string;
|
@@ -377,6 +380,7 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
377
380
|
subType: number | null;
|
378
381
|
rewardTokenId: string;
|
379
382
|
opportunityId: string;
|
383
|
+
dailyRewards: number;
|
380
384
|
creatorAddress: string;
|
381
385
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
382
386
|
createdAt: Date;
|
@@ -58,16 +58,17 @@ export declare abstract class CreatorRepository {
|
|
58
58
|
action: import("@package/databases").OpportunityAction;
|
59
59
|
type: string;
|
60
60
|
depositUrl: string | null;
|
61
|
+
dailyRewards: number;
|
61
62
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
62
63
|
identifier: string;
|
63
64
|
howToSteps: string[];
|
64
65
|
explorerAddress: string | null;
|
65
66
|
mainProtocolId: string | null;
|
66
|
-
dailyRewards: number;
|
67
67
|
tags: string[];
|
68
68
|
lastCampaignCreatedAt: Date;
|
69
69
|
};
|
70
70
|
} & {
|
71
|
+
apr: number;
|
71
72
|
campaignId: string;
|
72
73
|
description: string | null;
|
73
74
|
id: string;
|
@@ -82,6 +83,7 @@ export declare abstract class CreatorRepository {
|
|
82
83
|
subType: number | null;
|
83
84
|
rewardTokenId: string;
|
84
85
|
opportunityId: string;
|
86
|
+
dailyRewards: number;
|
85
87
|
creatorAddress: string;
|
86
88
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
87
89
|
createdAt: Date;
|
@@ -92,16 +92,17 @@ export declare abstract class CreatorService {
|
|
92
92
|
action: import("@package/databases").OpportunityAction;
|
93
93
|
type: string;
|
94
94
|
depositUrl: string | null;
|
95
|
+
dailyRewards: number;
|
95
96
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
96
97
|
identifier: string;
|
97
98
|
howToSteps: string[];
|
98
99
|
explorerAddress: string | null;
|
99
100
|
mainProtocolId: string | null;
|
100
|
-
dailyRewards: number;
|
101
101
|
tags: string[];
|
102
102
|
lastCampaignCreatedAt: Date;
|
103
103
|
};
|
104
104
|
} & {
|
105
|
+
apr: number;
|
105
106
|
campaignId: string;
|
106
107
|
description: string | null;
|
107
108
|
id: string;
|
@@ -116,6 +117,7 @@ export declare abstract class CreatorService {
|
|
116
117
|
subType: number | null;
|
117
118
|
rewardTokenId: string;
|
118
119
|
opportunityId: string;
|
120
|
+
dailyRewards: number;
|
119
121
|
creatorAddress: string;
|
120
122
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
121
123
|
createdAt: Date;
|
@@ -134,16 +136,17 @@ export declare abstract class CreatorService {
|
|
134
136
|
action: import("@package/databases").OpportunityAction;
|
135
137
|
type: string;
|
136
138
|
depositUrl: string | null;
|
139
|
+
dailyRewards: number;
|
137
140
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
138
141
|
identifier: string;
|
139
142
|
howToSteps: string[];
|
140
143
|
explorerAddress: string | null;
|
141
144
|
mainProtocolId: string | null;
|
142
|
-
dailyRewards: number;
|
143
145
|
tags: string[];
|
144
146
|
lastCampaignCreatedAt: Date;
|
145
147
|
};
|
146
148
|
} & {
|
149
|
+
apr: number;
|
147
150
|
campaignId: string;
|
148
151
|
description: string | null;
|
149
152
|
id: string;
|
@@ -158,6 +161,7 @@ export declare abstract class CreatorService {
|
|
158
161
|
subType: number | null;
|
159
162
|
rewardTokenId: string;
|
160
163
|
opportunityId: string;
|
164
|
+
dailyRewards: number;
|
161
165
|
creatorAddress: string;
|
162
166
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
163
167
|
createdAt: Date;
|
@@ -212,9 +212,9 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
212
212
|
icon: string;
|
213
213
|
liveCampaigns: number;
|
214
214
|
};
|
215
|
+
dailyRewards: number;
|
215
216
|
identifier: string;
|
216
217
|
howToSteps: string[];
|
217
|
-
dailyRewards: number;
|
218
218
|
tags: string[];
|
219
219
|
lastCampaignCreatedAt: number;
|
220
220
|
}[];
|
@@ -350,9 +350,9 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
350
350
|
icon: string;
|
351
351
|
liveCampaigns: number;
|
352
352
|
};
|
353
|
+
dailyRewards: number;
|
353
354
|
identifier: string;
|
354
355
|
howToSteps: string[];
|
355
|
-
dailyRewards: number;
|
356
356
|
tags: string[];
|
357
357
|
lastCampaignCreatedAt: number;
|
358
358
|
};
|
@@ -557,9 +557,9 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
557
557
|
icon: string;
|
558
558
|
liveCampaigns: number;
|
559
559
|
};
|
560
|
+
dailyRewards: number;
|
560
561
|
identifier: string;
|
561
562
|
howToSteps: string[];
|
562
|
-
dailyRewards: number;
|
563
563
|
tags: string[];
|
564
564
|
lastCampaignCreatedAt: number;
|
565
565
|
};
|
@@ -1139,12 +1139,12 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
1139
1139
|
action: import("@package/databases").OpportunityAction;
|
1140
1140
|
type: string;
|
1141
1141
|
depositUrl: string | null;
|
1142
|
+
dailyRewards: number;
|
1142
1143
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1143
1144
|
identifier: string;
|
1144
1145
|
howToSteps: string[];
|
1145
1146
|
explorerAddress: string | null;
|
1146
1147
|
mainProtocolId: string | null;
|
1147
|
-
dailyRewards: number;
|
1148
1148
|
tags: string[];
|
1149
1149
|
lastCampaignCreatedAt: Date;
|
1150
1150
|
};
|
@@ -1185,12 +1185,12 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
1185
1185
|
action: import("@package/databases").OpportunityAction;
|
1186
1186
|
type: string;
|
1187
1187
|
depositUrl: string | null;
|
1188
|
+
dailyRewards: number;
|
1188
1189
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1189
1190
|
identifier: string;
|
1190
1191
|
howToSteps: string[];
|
1191
1192
|
explorerAddress: string | null;
|
1192
1193
|
mainProtocolId: string | null;
|
1193
|
-
dailyRewards: number;
|
1194
1194
|
tags: string[];
|
1195
1195
|
lastCampaignCreatedAt: Date;
|
1196
1196
|
};
|
@@ -1238,12 +1238,12 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
1238
1238
|
action: import("@package/databases").OpportunityAction;
|
1239
1239
|
type: string;
|
1240
1240
|
depositUrl: string | null;
|
1241
|
+
dailyRewards: number;
|
1241
1242
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1242
1243
|
identifier: string;
|
1243
1244
|
howToSteps: string[];
|
1244
1245
|
explorerAddress: string | null;
|
1245
1246
|
mainProtocolId: string | null;
|
1246
|
-
dailyRewards: number;
|
1247
1247
|
tags: string[];
|
1248
1248
|
lastCampaignCreatedAt: Date;
|
1249
1249
|
};
|
@@ -1338,12 +1338,12 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
1338
1338
|
action: import("@package/databases").OpportunityAction;
|
1339
1339
|
type: string;
|
1340
1340
|
depositUrl: string | null;
|
1341
|
+
dailyRewards: number;
|
1341
1342
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1342
1343
|
identifier: string;
|
1343
1344
|
howToSteps: string[];
|
1344
1345
|
explorerAddress: string | null;
|
1345
1346
|
mainProtocolId: string | null;
|
1346
|
-
dailyRewards: number;
|
1347
1347
|
tags: string[];
|
1348
1348
|
lastCampaignCreatedAt: Date;
|
1349
1349
|
};
|
@@ -7,11 +7,13 @@ export declare abstract class OpportunityFormatter {
|
|
7
7
|
timestamp: bigint;
|
8
8
|
breakdowns: ({
|
9
9
|
value: number;
|
10
|
+
timestamp: bigint;
|
10
11
|
distributionType: import("@package/databases").DistributionType;
|
11
12
|
identifier: string;
|
12
13
|
type: "CAMPAIGN";
|
13
14
|
} | {
|
14
15
|
value: number;
|
16
|
+
timestamp: bigint;
|
15
17
|
identifier: string;
|
16
18
|
type: import("@package/databases").AprType;
|
17
19
|
})[];
|
@@ -33,6 +35,7 @@ export declare abstract class OpportunityFormatter {
|
|
33
35
|
breakdowns: {
|
34
36
|
campaignId: string;
|
35
37
|
id: string;
|
38
|
+
timestamp: bigint;
|
36
39
|
dailyRewardsRecordId: string;
|
37
40
|
token: {
|
38
41
|
symbol: string;
|
@@ -99,9 +102,9 @@ export declare abstract class OpportunityFormatter {
|
|
99
102
|
chainId: number;
|
100
103
|
action: import("@package/databases").OpportunityAction;
|
101
104
|
type: string;
|
105
|
+
dailyRewards: number;
|
102
106
|
identifier: string;
|
103
107
|
howToSteps: string[];
|
104
|
-
dailyRewards: number;
|
105
108
|
tags: string[];
|
106
109
|
};
|
107
110
|
static formatWithoutRecords(opportunity: OpportunityWithoutRecords): {
|
@@ -149,9 +152,9 @@ export declare abstract class OpportunityFormatter {
|
|
149
152
|
chainId: number;
|
150
153
|
action: import("@package/databases").OpportunityAction;
|
151
154
|
type: string;
|
155
|
+
dailyRewards: number;
|
152
156
|
identifier: string;
|
153
157
|
howToSteps: string[];
|
154
|
-
dailyRewards: number;
|
155
158
|
tags: string[];
|
156
159
|
};
|
157
160
|
static formatWithoutRecordsAndRelations(opportunity: OpportunityWithoutRecordsAndRelation): {
|
@@ -167,9 +170,9 @@ export declare abstract class OpportunityFormatter {
|
|
167
170
|
chainId: number;
|
168
171
|
action: import("@package/databases").OpportunityAction;
|
169
172
|
type: string;
|
173
|
+
dailyRewards: number;
|
170
174
|
identifier: string;
|
171
175
|
howToSteps: string[];
|
172
|
-
dailyRewards: number;
|
173
176
|
tags: string[];
|
174
177
|
};
|
175
178
|
}
|
@@ -281,10 +281,10 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
281
281
|
readonly MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT: "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT";
|
282
282
|
readonly MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT: "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT";
|
283
283
|
}>>;
|
284
|
+
dailyRewards: import("@sinclair/typebox").TNumber;
|
284
285
|
identifier: import("@sinclair/typebox").TString;
|
285
286
|
howToSteps: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
286
287
|
explorerAddress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
287
|
-
dailyRewards: import("@sinclair/typebox").TNumber;
|
288
288
|
tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
289
289
|
lastCampaignCreatedAt: import("@sinclair/typebox").TNumber;
|
290
290
|
tvlRecord: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|