@merkl/api 1.5.21 → 1.5.22
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 +6723 -6036
- package/dist/src/engine/nativeAPR/factory.d.ts +2 -0
- package/dist/src/engine/nativeAPR/factory.js.map +1 -0
- package/dist/src/engine/nativeAPR/implementations/clientEndpoint.d.ts +7 -0
- package/dist/src/engine/nativeAPR/implementations/clientEndpoint.js.map +1 -0
- package/dist/src/engine/nativeAPR/implementations/morphoSupplySingleToken.d.ts +6 -0
- package/dist/src/engine/nativeAPR/implementations/morphoSupplySingleToken.js.map +1 -0
- package/dist/src/index.d.ts +734 -106
- package/dist/src/index.js.map +1 -1
- package/dist/src/jobs/native-aprs.d.ts +1 -0
- package/dist/src/jobs/native-aprs.js.map +1 -0
- package/dist/src/modules/v4/apr/apr.controller.d.ts +115 -0
- package/dist/src/modules/v4/apr/apr.controller.js.map +1 -0
- package/dist/src/modules/v4/apr/apr.model.d.ts +84 -0
- package/dist/src/modules/v4/apr/apr.model.js.map +1 -1
- package/dist/src/modules/v4/apr/apr.repository.d.ts +4 -0
- package/dist/src/modules/v4/apr/apr.repository.js.map +1 -0
- package/dist/src/modules/v4/apr/apr.service.d.ts +15 -3
- package/dist/src/modules/v4/apr/apr.service.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +79 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +9 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +36 -0
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +88 -0
- package/dist/src/modules/v4/carousel/carousel.controller.d.ts +4 -0
- package/dist/src/modules/v4/carousel/carousel.repository.d.ts +6 -0
- package/dist/src/modules/v4/carousel/carousel.service.d.ts +6 -0
- package/dist/src/modules/v4/config/config.controller.d.ts +29 -0
- package/dist/src/modules/v4/config/config.controller.js.map +1 -1
- package/dist/src/modules/v4/config/config.model.d.ts +25 -0
- package/dist/src/modules/v4/config/config.model.js.map +1 -0
- package/dist/src/modules/v4/config/config.service.d.ts +243 -0
- package/dist/src/modules/v4/config/config.service.js.map +1 -0
- package/dist/src/modules/v4/creator/creator.controller.d.ts +27 -1
- package/dist/src/modules/v4/creator/creator.model.d.ts +29 -0
- package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -0
- package/dist/src/modules/v4/creator/creator.service.d.ts +2 -1
- package/dist/src/modules/v4/creator/creator.service.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +210 -0
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +30 -0
- package/dist/src/modules/v4/opportunity/opportunity.formatter.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +66 -3
- package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +178 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +171 -0
- package/dist/src/modules/v4/payload/payload.controller.d.ts +87 -0
- package/dist/src/modules/v4/payload/payload.service.d.ts +116 -0
- package/dist/src/modules/v4/program/program.repository.d.ts +4 -0
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +5233 -5233
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +41 -0
- package/dist/src/modules/v4/router.d.ts +734 -106
- package/dist/src/modules/v4/router.js.map +1 -1
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +58 -0
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +29 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +31 -0
- package/dist/src/scripts/exportOpportunities.js.map +1 -1
- package/dist/src/scripts/importOpportunities.js.map +1 -1
- package/package.json +1 -1
|
@@ -62,6 +62,7 @@ export declare abstract class OpportunityService {
|
|
|
62
62
|
mainProtocolId: string | null;
|
|
63
63
|
tvl: number;
|
|
64
64
|
apr: number;
|
|
65
|
+
nativeApr: number | null;
|
|
65
66
|
maxApr: number | null;
|
|
66
67
|
dailyRewards: number;
|
|
67
68
|
tags: string[];
|
|
@@ -197,6 +198,34 @@ export declare abstract class OpportunityService {
|
|
|
197
198
|
opportunityBannerLight: string | null;
|
|
198
199
|
opportunityBannerDark: string | null;
|
|
199
200
|
} | null;
|
|
201
|
+
NativeAprRecords: ({
|
|
202
|
+
RewardToken: {
|
|
203
|
+
id: string;
|
|
204
|
+
name: string | null;
|
|
205
|
+
chainId: number;
|
|
206
|
+
address: string;
|
|
207
|
+
decimals: number;
|
|
208
|
+
symbol: string;
|
|
209
|
+
displaySymbol: string;
|
|
210
|
+
icon: string;
|
|
211
|
+
verified: boolean;
|
|
212
|
+
isTest: boolean;
|
|
213
|
+
type: TokenType;
|
|
214
|
+
isNative: boolean;
|
|
215
|
+
price: number | null;
|
|
216
|
+
updatedAt: number | null;
|
|
217
|
+
priceSource: string | null;
|
|
218
|
+
} | null;
|
|
219
|
+
} & {
|
|
220
|
+
id: string;
|
|
221
|
+
title: string;
|
|
222
|
+
description: string | null;
|
|
223
|
+
timestamp: bigint;
|
|
224
|
+
value: number;
|
|
225
|
+
amount: bigint | null;
|
|
226
|
+
rewardTokenId: string | null;
|
|
227
|
+
opportunityId: string;
|
|
228
|
+
})[];
|
|
200
229
|
Protocols: {
|
|
201
230
|
id: string;
|
|
202
231
|
tags: string[];
|
|
@@ -252,6 +281,7 @@ export declare abstract class OpportunityService {
|
|
|
252
281
|
mainProtocolId: string | null;
|
|
253
282
|
tvl: number;
|
|
254
283
|
apr: number;
|
|
284
|
+
nativeApr: number | null;
|
|
255
285
|
maxApr: number | null;
|
|
256
286
|
dailyRewards: number;
|
|
257
287
|
tags: string[];
|
|
@@ -392,6 +422,34 @@ export declare abstract class OpportunityService {
|
|
|
392
422
|
opportunityBannerLight: string | null;
|
|
393
423
|
opportunityBannerDark: string | null;
|
|
394
424
|
} | null;
|
|
425
|
+
NativeAprRecords: ({
|
|
426
|
+
RewardToken: {
|
|
427
|
+
id: string;
|
|
428
|
+
name: string | null;
|
|
429
|
+
chainId: number;
|
|
430
|
+
address: string;
|
|
431
|
+
decimals: number;
|
|
432
|
+
symbol: string;
|
|
433
|
+
displaySymbol: string;
|
|
434
|
+
icon: string;
|
|
435
|
+
verified: boolean;
|
|
436
|
+
isTest: boolean;
|
|
437
|
+
type: TokenType;
|
|
438
|
+
isNative: boolean;
|
|
439
|
+
price: number | null;
|
|
440
|
+
updatedAt: number | null;
|
|
441
|
+
priceSource: string | null;
|
|
442
|
+
} | null;
|
|
443
|
+
} & {
|
|
444
|
+
id: string;
|
|
445
|
+
title: string;
|
|
446
|
+
description: string | null;
|
|
447
|
+
timestamp: bigint;
|
|
448
|
+
value: number;
|
|
449
|
+
amount: bigint | null;
|
|
450
|
+
rewardTokenId: string | null;
|
|
451
|
+
opportunityId: string;
|
|
452
|
+
})[];
|
|
395
453
|
Protocols: {
|
|
396
454
|
id: string;
|
|
397
455
|
tags: string[];
|
|
@@ -447,6 +505,7 @@ export declare abstract class OpportunityService {
|
|
|
447
505
|
mainProtocolId: string | null;
|
|
448
506
|
tvl: number;
|
|
449
507
|
apr: number;
|
|
508
|
+
nativeApr: number | null;
|
|
450
509
|
maxApr: number | null;
|
|
451
510
|
dailyRewards: number;
|
|
452
511
|
tags: string[];
|
|
@@ -586,6 +645,34 @@ export declare abstract class OpportunityService {
|
|
|
586
645
|
opportunityBannerLight: string | null;
|
|
587
646
|
opportunityBannerDark: string | null;
|
|
588
647
|
} | null;
|
|
648
|
+
NativeAprRecords: ({
|
|
649
|
+
RewardToken: {
|
|
650
|
+
id: string;
|
|
651
|
+
name: string | null;
|
|
652
|
+
chainId: number;
|
|
653
|
+
address: string;
|
|
654
|
+
decimals: number;
|
|
655
|
+
symbol: string;
|
|
656
|
+
displaySymbol: string;
|
|
657
|
+
icon: string;
|
|
658
|
+
verified: boolean;
|
|
659
|
+
isTest: boolean;
|
|
660
|
+
type: TokenType;
|
|
661
|
+
isNative: boolean;
|
|
662
|
+
price: number | null;
|
|
663
|
+
updatedAt: number | null;
|
|
664
|
+
priceSource: string | null;
|
|
665
|
+
} | null;
|
|
666
|
+
} & {
|
|
667
|
+
id: string;
|
|
668
|
+
title: string;
|
|
669
|
+
description: string | null;
|
|
670
|
+
timestamp: bigint;
|
|
671
|
+
value: number;
|
|
672
|
+
amount: bigint | null;
|
|
673
|
+
rewardTokenId: string | null;
|
|
674
|
+
opportunityId: string;
|
|
675
|
+
})[];
|
|
589
676
|
Protocols: {
|
|
590
677
|
id: string;
|
|
591
678
|
tags: string[];
|
|
@@ -641,6 +728,7 @@ export declare abstract class OpportunityService {
|
|
|
641
728
|
mainProtocolId: string | null;
|
|
642
729
|
tvl: number;
|
|
643
730
|
apr: number;
|
|
731
|
+
nativeApr: number | null;
|
|
644
732
|
maxApr: number | null;
|
|
645
733
|
dailyRewards: number;
|
|
646
734
|
tags: string[];
|
|
@@ -802,6 +890,31 @@ export declare abstract class OpportunityService {
|
|
|
802
890
|
liveCampaignsForCreator?: number | undefined;
|
|
803
891
|
maxApr: number | null;
|
|
804
892
|
name: string;
|
|
893
|
+
nativeApr?: number | undefined;
|
|
894
|
+
nativeAprRecord?: {
|
|
895
|
+
title: string;
|
|
896
|
+
description?: string | undefined;
|
|
897
|
+
value: number;
|
|
898
|
+
timestamp: string | bigint;
|
|
899
|
+
amount?: bigint | undefined;
|
|
900
|
+
rewardToken?: {
|
|
901
|
+
id: string;
|
|
902
|
+
name: string | null;
|
|
903
|
+
chainId: number;
|
|
904
|
+
address: string;
|
|
905
|
+
decimals: number;
|
|
906
|
+
icon: string;
|
|
907
|
+
verified: boolean;
|
|
908
|
+
isNative: boolean;
|
|
909
|
+
isTest: boolean;
|
|
910
|
+
price?: number | null | undefined;
|
|
911
|
+
updatedAt?: number | null | undefined;
|
|
912
|
+
priceSource?: string | null | undefined;
|
|
913
|
+
symbol: string;
|
|
914
|
+
type: "POINT" | "PRETGE" | "TOKEN";
|
|
915
|
+
displaySymbol?: string | undefined;
|
|
916
|
+
} | undefined;
|
|
917
|
+
} | undefined;
|
|
805
918
|
protocol?: {
|
|
806
919
|
id: string;
|
|
807
920
|
name: string;
|
|
@@ -912,6 +1025,32 @@ export declare abstract class OpportunityService {
|
|
|
912
1025
|
value: number;
|
|
913
1026
|
})[];
|
|
914
1027
|
};
|
|
1028
|
+
nativeAprRecord: {
|
|
1029
|
+
title: string;
|
|
1030
|
+
description: string | undefined;
|
|
1031
|
+
value: number;
|
|
1032
|
+
timestamp: bigint;
|
|
1033
|
+
amount: bigint | undefined;
|
|
1034
|
+
rewardToken: ({
|
|
1035
|
+
address: string;
|
|
1036
|
+
chainId: number;
|
|
1037
|
+
decimals: number;
|
|
1038
|
+
icon: string;
|
|
1039
|
+
id: string;
|
|
1040
|
+
isNative: boolean;
|
|
1041
|
+
isTest: boolean;
|
|
1042
|
+
name: string | null;
|
|
1043
|
+
symbol: string;
|
|
1044
|
+
type: TokenType;
|
|
1045
|
+
verified: boolean;
|
|
1046
|
+
} & {
|
|
1047
|
+
price?: number | null | undefined;
|
|
1048
|
+
updatedAt?: number | null | undefined;
|
|
1049
|
+
priceSource?: string | null | undefined;
|
|
1050
|
+
isTokenWrapper?: boolean | undefined;
|
|
1051
|
+
tokenWrapperAddress?: string | undefined;
|
|
1052
|
+
}) | undefined;
|
|
1053
|
+
};
|
|
915
1054
|
tvlRecord: {
|
|
916
1055
|
id: string;
|
|
917
1056
|
total: number;
|
|
@@ -1013,6 +1152,7 @@ export declare abstract class OpportunityService {
|
|
|
1013
1152
|
slug: string | null;
|
|
1014
1153
|
}[];
|
|
1015
1154
|
id: string;
|
|
1155
|
+
nativeApr: number | undefined;
|
|
1016
1156
|
depositUrl: string | undefined;
|
|
1017
1157
|
explorerAddress: string | undefined;
|
|
1018
1158
|
lastCampaignCreatedAt: number;
|
|
@@ -1063,6 +1203,7 @@ export declare abstract class OpportunityService {
|
|
|
1063
1203
|
slug: string | null;
|
|
1064
1204
|
}[];
|
|
1065
1205
|
id: string;
|
|
1206
|
+
nativeApr: number | undefined;
|
|
1066
1207
|
depositUrl: string | undefined;
|
|
1067
1208
|
explorerAddress: string | undefined;
|
|
1068
1209
|
lastCampaignCreatedAt: number;
|
|
@@ -1082,6 +1223,7 @@ export declare abstract class OpportunityService {
|
|
|
1082
1223
|
mainProtocolId: string | null;
|
|
1083
1224
|
tvl: number;
|
|
1084
1225
|
apr: number;
|
|
1226
|
+
nativeApr: number | null;
|
|
1085
1227
|
maxApr: number | null;
|
|
1086
1228
|
dailyRewards: number;
|
|
1087
1229
|
tags: string[];
|
|
@@ -1127,6 +1269,32 @@ export declare abstract class OpportunityService {
|
|
|
1127
1269
|
value: number;
|
|
1128
1270
|
})[];
|
|
1129
1271
|
};
|
|
1272
|
+
nativeAprRecord: {
|
|
1273
|
+
title: string;
|
|
1274
|
+
description: string | undefined;
|
|
1275
|
+
value: number;
|
|
1276
|
+
timestamp: bigint;
|
|
1277
|
+
amount: bigint | undefined;
|
|
1278
|
+
rewardToken: ({
|
|
1279
|
+
address: string;
|
|
1280
|
+
chainId: number;
|
|
1281
|
+
decimals: number;
|
|
1282
|
+
icon: string;
|
|
1283
|
+
id: string;
|
|
1284
|
+
isNative: boolean;
|
|
1285
|
+
isTest: boolean;
|
|
1286
|
+
name: string | null;
|
|
1287
|
+
symbol: string;
|
|
1288
|
+
type: TokenType;
|
|
1289
|
+
verified: boolean;
|
|
1290
|
+
} & {
|
|
1291
|
+
price?: number | null | undefined;
|
|
1292
|
+
updatedAt?: number | null | undefined;
|
|
1293
|
+
priceSource?: string | null | undefined;
|
|
1294
|
+
isTokenWrapper?: boolean | undefined;
|
|
1295
|
+
tokenWrapperAddress?: string | undefined;
|
|
1296
|
+
}) | undefined;
|
|
1297
|
+
};
|
|
1130
1298
|
tvlRecord: {
|
|
1131
1299
|
id: string;
|
|
1132
1300
|
total: number;
|
|
@@ -1228,6 +1396,7 @@ export declare abstract class OpportunityService {
|
|
|
1228
1396
|
slug: string | null;
|
|
1229
1397
|
}[];
|
|
1230
1398
|
id: string;
|
|
1399
|
+
nativeApr: number | undefined;
|
|
1231
1400
|
depositUrl: string | undefined;
|
|
1232
1401
|
explorerAddress: string | undefined;
|
|
1233
1402
|
lastCampaignCreatedAt: number;
|
|
@@ -1278,6 +1447,7 @@ export declare abstract class OpportunityService {
|
|
|
1278
1447
|
slug: string | null;
|
|
1279
1448
|
}[];
|
|
1280
1449
|
id: string;
|
|
1450
|
+
nativeApr: number | undefined;
|
|
1281
1451
|
depositUrl: string | undefined;
|
|
1282
1452
|
explorerAddress: string | undefined;
|
|
1283
1453
|
lastCampaignCreatedAt: number;
|
|
@@ -1306,6 +1476,7 @@ export declare abstract class OpportunityService {
|
|
|
1306
1476
|
mainProtocolId: string | null;
|
|
1307
1477
|
tvl: number;
|
|
1308
1478
|
apr: number;
|
|
1479
|
+
nativeApr: number | null;
|
|
1309
1480
|
maxApr: number | null;
|
|
1310
1481
|
dailyRewards: number;
|
|
1311
1482
|
tags: string[];
|
|
@@ -191,6 +191,34 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
|
191
191
|
opportunityBannerLight: string | null;
|
|
192
192
|
opportunityBannerDark: string | null;
|
|
193
193
|
} | null;
|
|
194
|
+
NativeAprRecords: ({
|
|
195
|
+
RewardToken: {
|
|
196
|
+
id: string;
|
|
197
|
+
name: string | null;
|
|
198
|
+
chainId: number;
|
|
199
|
+
address: string;
|
|
200
|
+
decimals: number;
|
|
201
|
+
symbol: string;
|
|
202
|
+
displaySymbol: string;
|
|
203
|
+
icon: string;
|
|
204
|
+
verified: boolean;
|
|
205
|
+
isTest: boolean;
|
|
206
|
+
type: import("@package/databases").TokenType;
|
|
207
|
+
isNative: boolean;
|
|
208
|
+
price: number | null;
|
|
209
|
+
updatedAt: number | null;
|
|
210
|
+
priceSource: string | null;
|
|
211
|
+
} | null;
|
|
212
|
+
} & {
|
|
213
|
+
id: string;
|
|
214
|
+
title: string;
|
|
215
|
+
description: string | null;
|
|
216
|
+
timestamp: bigint;
|
|
217
|
+
value: number;
|
|
218
|
+
amount: bigint | null;
|
|
219
|
+
rewardTokenId: string | null;
|
|
220
|
+
opportunityId: string;
|
|
221
|
+
})[];
|
|
194
222
|
Protocols: {
|
|
195
223
|
id: string;
|
|
196
224
|
tags: string[];
|
|
@@ -246,6 +274,7 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
|
246
274
|
mainProtocolId: string | null;
|
|
247
275
|
tvl: number;
|
|
248
276
|
apr: number;
|
|
277
|
+
nativeApr: number | null;
|
|
249
278
|
maxApr: number | null;
|
|
250
279
|
dailyRewards: number;
|
|
251
280
|
tags: string[];
|
|
@@ -434,6 +463,34 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
|
434
463
|
opportunityBannerLight: string | null;
|
|
435
464
|
opportunityBannerDark: string | null;
|
|
436
465
|
} | null;
|
|
466
|
+
NativeAprRecords: ({
|
|
467
|
+
RewardToken: {
|
|
468
|
+
id: string;
|
|
469
|
+
name: string | null;
|
|
470
|
+
chainId: number;
|
|
471
|
+
address: string;
|
|
472
|
+
decimals: number;
|
|
473
|
+
symbol: string;
|
|
474
|
+
displaySymbol: string;
|
|
475
|
+
icon: string;
|
|
476
|
+
verified: boolean;
|
|
477
|
+
isTest: boolean;
|
|
478
|
+
type: import("@package/databases").TokenType;
|
|
479
|
+
isNative: boolean;
|
|
480
|
+
price: number | null;
|
|
481
|
+
updatedAt: number | null;
|
|
482
|
+
priceSource: string | null;
|
|
483
|
+
} | null;
|
|
484
|
+
} & {
|
|
485
|
+
id: string;
|
|
486
|
+
title: string;
|
|
487
|
+
description: string | null;
|
|
488
|
+
timestamp: bigint;
|
|
489
|
+
value: number;
|
|
490
|
+
amount: bigint | null;
|
|
491
|
+
rewardTokenId: string | null;
|
|
492
|
+
opportunityId: string;
|
|
493
|
+
})[];
|
|
437
494
|
Protocols: {
|
|
438
495
|
id: string;
|
|
439
496
|
tags: string[];
|
|
@@ -489,6 +546,7 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
|
489
546
|
mainProtocolId: string | null;
|
|
490
547
|
tvl: number;
|
|
491
548
|
apr: number;
|
|
549
|
+
nativeApr: number | null;
|
|
492
550
|
maxApr: number | null;
|
|
493
551
|
dailyRewards: number;
|
|
494
552
|
tags: string[];
|
|
@@ -673,6 +731,34 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
|
673
731
|
opportunityBannerLight: string | null;
|
|
674
732
|
opportunityBannerDark: string | null;
|
|
675
733
|
} | null;
|
|
734
|
+
NativeAprRecords: ({
|
|
735
|
+
RewardToken: {
|
|
736
|
+
id: string;
|
|
737
|
+
name: string | null;
|
|
738
|
+
chainId: number;
|
|
739
|
+
address: string;
|
|
740
|
+
decimals: number;
|
|
741
|
+
symbol: string;
|
|
742
|
+
displaySymbol: string;
|
|
743
|
+
icon: string;
|
|
744
|
+
verified: boolean;
|
|
745
|
+
isTest: boolean;
|
|
746
|
+
type: import("@package/databases").TokenType;
|
|
747
|
+
isNative: boolean;
|
|
748
|
+
price: number | null;
|
|
749
|
+
updatedAt: number | null;
|
|
750
|
+
priceSource: string | null;
|
|
751
|
+
} | null;
|
|
752
|
+
} & {
|
|
753
|
+
id: string;
|
|
754
|
+
title: string;
|
|
755
|
+
description: string | null;
|
|
756
|
+
timestamp: bigint;
|
|
757
|
+
value: number;
|
|
758
|
+
amount: bigint | null;
|
|
759
|
+
rewardTokenId: string | null;
|
|
760
|
+
opportunityId: string;
|
|
761
|
+
})[];
|
|
676
762
|
Protocols: {
|
|
677
763
|
id: string;
|
|
678
764
|
tags: string[];
|
|
@@ -728,6 +814,7 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
|
728
814
|
mainProtocolId: string | null;
|
|
729
815
|
tvl: number;
|
|
730
816
|
apr: number;
|
|
817
|
+
nativeApr: number | null;
|
|
731
818
|
maxApr: number | null;
|
|
732
819
|
dailyRewards: number;
|
|
733
820
|
tags: string[];
|
|
@@ -148,6 +148,34 @@ export declare class PayloadService {
|
|
|
148
148
|
opportunityBannerLight: string | null;
|
|
149
149
|
opportunityBannerDark: string | null;
|
|
150
150
|
} | null;
|
|
151
|
+
NativeAprRecords: ({
|
|
152
|
+
RewardToken: {
|
|
153
|
+
id: string;
|
|
154
|
+
name: string | null;
|
|
155
|
+
chainId: number;
|
|
156
|
+
address: string;
|
|
157
|
+
decimals: number;
|
|
158
|
+
symbol: string;
|
|
159
|
+
displaySymbol: string;
|
|
160
|
+
icon: string;
|
|
161
|
+
verified: boolean;
|
|
162
|
+
isTest: boolean;
|
|
163
|
+
type: import("@package/databases").TokenType;
|
|
164
|
+
isNative: boolean;
|
|
165
|
+
price: number | null;
|
|
166
|
+
updatedAt: number | null;
|
|
167
|
+
priceSource: string | null;
|
|
168
|
+
} | null;
|
|
169
|
+
} & {
|
|
170
|
+
id: string;
|
|
171
|
+
title: string;
|
|
172
|
+
description: string | null;
|
|
173
|
+
timestamp: bigint;
|
|
174
|
+
value: number;
|
|
175
|
+
amount: bigint | null;
|
|
176
|
+
rewardTokenId: string | null;
|
|
177
|
+
opportunityId: string;
|
|
178
|
+
})[];
|
|
151
179
|
Protocols: {
|
|
152
180
|
id: string;
|
|
153
181
|
tags: string[];
|
|
@@ -203,6 +231,7 @@ export declare class PayloadService {
|
|
|
203
231
|
mainProtocolId: string | null;
|
|
204
232
|
tvl: number;
|
|
205
233
|
apr: number;
|
|
234
|
+
nativeApr: number | null;
|
|
206
235
|
maxApr: number | null;
|
|
207
236
|
dailyRewards: number;
|
|
208
237
|
tags: string[];
|
|
@@ -361,6 +390,34 @@ export declare class PayloadService {
|
|
|
361
390
|
opportunityBannerLight: string | null;
|
|
362
391
|
opportunityBannerDark: string | null;
|
|
363
392
|
} | null;
|
|
393
|
+
NativeAprRecords: ({
|
|
394
|
+
RewardToken: {
|
|
395
|
+
id: string;
|
|
396
|
+
name: string | null;
|
|
397
|
+
chainId: number;
|
|
398
|
+
address: string;
|
|
399
|
+
decimals: number;
|
|
400
|
+
symbol: string;
|
|
401
|
+
displaySymbol: string;
|
|
402
|
+
icon: string;
|
|
403
|
+
verified: boolean;
|
|
404
|
+
isTest: boolean;
|
|
405
|
+
type: import("@package/databases").TokenType;
|
|
406
|
+
isNative: boolean;
|
|
407
|
+
price: number | null;
|
|
408
|
+
updatedAt: number | null;
|
|
409
|
+
priceSource: string | null;
|
|
410
|
+
} | null;
|
|
411
|
+
} & {
|
|
412
|
+
id: string;
|
|
413
|
+
title: string;
|
|
414
|
+
description: string | null;
|
|
415
|
+
timestamp: bigint;
|
|
416
|
+
value: number;
|
|
417
|
+
amount: bigint | null;
|
|
418
|
+
rewardTokenId: string | null;
|
|
419
|
+
opportunityId: string;
|
|
420
|
+
})[];
|
|
364
421
|
Protocols: {
|
|
365
422
|
id: string;
|
|
366
423
|
tags: string[];
|
|
@@ -416,6 +473,7 @@ export declare class PayloadService {
|
|
|
416
473
|
mainProtocolId: string | null;
|
|
417
474
|
tvl: number;
|
|
418
475
|
apr: number;
|
|
476
|
+
nativeApr: number | null;
|
|
419
477
|
maxApr: number | null;
|
|
420
478
|
dailyRewards: number;
|
|
421
479
|
tags: string[];
|
|
@@ -571,6 +629,34 @@ export declare class PayloadService {
|
|
|
571
629
|
opportunityBannerLight: string | null;
|
|
572
630
|
opportunityBannerDark: string | null;
|
|
573
631
|
} | null;
|
|
632
|
+
NativeAprRecords: ({
|
|
633
|
+
RewardToken: {
|
|
634
|
+
id: string;
|
|
635
|
+
name: string | null;
|
|
636
|
+
chainId: number;
|
|
637
|
+
address: string;
|
|
638
|
+
decimals: number;
|
|
639
|
+
symbol: string;
|
|
640
|
+
displaySymbol: string;
|
|
641
|
+
icon: string;
|
|
642
|
+
verified: boolean;
|
|
643
|
+
isTest: boolean;
|
|
644
|
+
type: import("@package/databases").TokenType;
|
|
645
|
+
isNative: boolean;
|
|
646
|
+
price: number | null;
|
|
647
|
+
updatedAt: number | null;
|
|
648
|
+
priceSource: string | null;
|
|
649
|
+
} | null;
|
|
650
|
+
} & {
|
|
651
|
+
id: string;
|
|
652
|
+
title: string;
|
|
653
|
+
description: string | null;
|
|
654
|
+
timestamp: bigint;
|
|
655
|
+
value: number;
|
|
656
|
+
amount: bigint | null;
|
|
657
|
+
rewardTokenId: string | null;
|
|
658
|
+
opportunityId: string;
|
|
659
|
+
})[];
|
|
574
660
|
Protocols: {
|
|
575
661
|
id: string;
|
|
576
662
|
tags: string[];
|
|
@@ -626,6 +712,7 @@ export declare class PayloadService {
|
|
|
626
712
|
mainProtocolId: string | null;
|
|
627
713
|
tvl: number;
|
|
628
714
|
apr: number;
|
|
715
|
+
nativeApr: number | null;
|
|
629
716
|
maxApr: number | null;
|
|
630
717
|
dailyRewards: number;
|
|
631
718
|
tags: string[];
|
|
@@ -781,6 +868,34 @@ export declare class PayloadService {
|
|
|
781
868
|
opportunityBannerLight: string | null;
|
|
782
869
|
opportunityBannerDark: string | null;
|
|
783
870
|
} | null;
|
|
871
|
+
NativeAprRecords: ({
|
|
872
|
+
RewardToken: {
|
|
873
|
+
id: string;
|
|
874
|
+
name: string | null;
|
|
875
|
+
chainId: number;
|
|
876
|
+
address: string;
|
|
877
|
+
decimals: number;
|
|
878
|
+
symbol: string;
|
|
879
|
+
displaySymbol: string;
|
|
880
|
+
icon: string;
|
|
881
|
+
verified: boolean;
|
|
882
|
+
isTest: boolean;
|
|
883
|
+
type: import("@package/databases").TokenType;
|
|
884
|
+
isNative: boolean;
|
|
885
|
+
price: number | null;
|
|
886
|
+
updatedAt: number | null;
|
|
887
|
+
priceSource: string | null;
|
|
888
|
+
} | null;
|
|
889
|
+
} & {
|
|
890
|
+
id: string;
|
|
891
|
+
title: string;
|
|
892
|
+
description: string | null;
|
|
893
|
+
timestamp: bigint;
|
|
894
|
+
value: number;
|
|
895
|
+
amount: bigint | null;
|
|
896
|
+
rewardTokenId: string | null;
|
|
897
|
+
opportunityId: string;
|
|
898
|
+
})[];
|
|
784
899
|
Protocols: {
|
|
785
900
|
id: string;
|
|
786
901
|
tags: string[];
|
|
@@ -836,6 +951,7 @@ export declare class PayloadService {
|
|
|
836
951
|
mainProtocolId: string | null;
|
|
837
952
|
tvl: number;
|
|
838
953
|
apr: number;
|
|
954
|
+
nativeApr: number | null;
|
|
839
955
|
maxApr: number | null;
|
|
840
956
|
dailyRewards: number;
|
|
841
957
|
tags: string[];
|
|
@@ -81,6 +81,7 @@ export declare abstract class ProgramRepository {
|
|
|
81
81
|
mainProtocolId: string | null;
|
|
82
82
|
tvl: number;
|
|
83
83
|
apr: number;
|
|
84
|
+
nativeApr: number | null;
|
|
84
85
|
maxApr: number | null;
|
|
85
86
|
dailyRewards: number;
|
|
86
87
|
tags: string[];
|
|
@@ -165,6 +166,7 @@ export declare abstract class ProgramRepository {
|
|
|
165
166
|
mainProtocolId: string | null;
|
|
166
167
|
tvl: number;
|
|
167
168
|
apr: number;
|
|
169
|
+
nativeApr: number | null;
|
|
168
170
|
maxApr: number | null;
|
|
169
171
|
dailyRewards: number;
|
|
170
172
|
tags: string[];
|
|
@@ -249,6 +251,7 @@ export declare abstract class ProgramRepository {
|
|
|
249
251
|
mainProtocolId: string | null;
|
|
250
252
|
tvl: number;
|
|
251
253
|
apr: number;
|
|
254
|
+
nativeApr: number | null;
|
|
252
255
|
maxApr: number | null;
|
|
253
256
|
dailyRewards: number;
|
|
254
257
|
tags: string[];
|
|
@@ -334,6 +337,7 @@ export declare abstract class ProgramRepository {
|
|
|
334
337
|
mainProtocolId: string | null;
|
|
335
338
|
tvl: number;
|
|
336
339
|
apr: number;
|
|
340
|
+
nativeApr: number | null;
|
|
337
341
|
maxApr: number | null;
|
|
338
342
|
dailyRewards: number;
|
|
339
343
|
tags: string[];
|