@merkl/api 1.13.0 → 1.13.1
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 +390 -212
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +25 -25
- package/dist/src/engine/implementations/Blend/metadata.d.ts +32 -0
- package/dist/src/engine/implementations/Blend/metadata.js.map +1 -0
- package/dist/src/engine/implementations/SacHolder/metadata.d.ts +16 -0
- package/dist/src/engine/implementations/SacHolder/metadata.js.map +1 -0
- package/dist/src/engine/metadata/factory.js.map +1 -1
- package/dist/src/engine/nativeAPR/factory.js.map +1 -1
- package/dist/src/engine/tvl/factory.js.map +1 -1
- package/dist/src/index.d.ts +390 -212
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +64 -5
- package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +10 -2
- package/dist/src/modules/v4/campaign/campaign.query-transformer.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +49 -12
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +36 -48
- package/dist/src/modules/v4/carousel/carousel.controller.d.ts +84 -50
- package/dist/src/modules/v4/carousel/carousel.repository.d.ts +64 -68
- package/dist/src/modules/v4/carousel/carousel.repository.js.map +1 -1
- package/dist/src/modules/v4/carousel/carousel.service.d.ts +86 -70
- package/dist/src/modules/v4/config/config.controller.d.ts +9 -12
- package/dist/src/modules/v4/config/config.service.d.ts +9 -12
- package/dist/src/modules/v4/creator/creator.controller.d.ts +8 -1
- package/dist/src/modules/v4/leaf/leaf.repository.d.ts +18 -22
- package/dist/src/modules/v4/leaf/leaf.repository.js.map +1 -1
- package/dist/src/modules/v4/leaf/leaf.service.d.ts +18 -22
- package/dist/src/modules/v4/opportunity/depositUrl.formatter.d.ts +20 -0
- package/dist/src/modules/v4/opportunity/depositUrl.formatter.js.map +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +88 -31
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +25 -1
- package/dist/src/modules/v4/opportunity/opportunity.formatter.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +69 -5
- package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +54 -67
- package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +93 -60
- package/dist/src/modules/v4/opportunity/opportunity.service.js.map +1 -1
- package/dist/src/modules/v4/payload/payload.controller.d.ts +27 -36
- package/dist/src/modules/v4/payload/payload.service.d.ts +36 -48
- package/dist/src/modules/v4/program/program.controller.d.ts +32 -4
- package/dist/src/modules/v4/program/program.repository.d.ts +41 -45
- package/dist/src/modules/v4/program/program.repository.js.map +1 -1
- package/dist/src/modules/v4/program/program.service.d.ts +32 -4
- package/dist/src/modules/v4/protocol/protocol.repository.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +18 -22
- package/dist/src/modules/v4/reward/reward.repository.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.service.d.ts +107 -122
- package/dist/src/modules/v4/router.d.ts +390 -212
- package/dist/src/modules/v4/transaction/transaction.service.d.ts +2006 -1936
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +16 -2
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +8 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +26 -23
- package/dist/src/scripts/exportOpportunities.js.map +1 -1
- package/dist/src/scripts/importOpportunities.js.map +1 -1
- package/dist/src/utils/getAPR.d.ts +38 -3
- package/dist/src/utils/parseDistributionType.d.ts +1087 -1052
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -93,18 +93,16 @@ export declare abstract class RewardService {
|
|
|
93
93
|
endOfDisputePeriod: number;
|
|
94
94
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
95
95
|
};
|
|
96
|
-
|
|
96
|
+
DepositUrls: {
|
|
97
97
|
id: string;
|
|
98
|
-
|
|
99
|
-
name: string;
|
|
100
|
-
description: string;
|
|
98
|
+
title: string;
|
|
101
99
|
url: string;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
100
|
+
subtitle: string | null;
|
|
101
|
+
icon: string | null;
|
|
102
|
+
priority: number;
|
|
103
|
+
opportunityId: string;
|
|
104
|
+
}[];
|
|
105
|
+
MainProtocol: {
|
|
108
106
|
id: string;
|
|
109
107
|
tags: string[];
|
|
110
108
|
name: string;
|
|
@@ -114,7 +112,7 @@ export declare abstract class RewardService {
|
|
|
114
112
|
banner: string | null;
|
|
115
113
|
opportunityBannerLight: string | null;
|
|
116
114
|
opportunityBannerDark: string | null;
|
|
117
|
-
}
|
|
115
|
+
} | null;
|
|
118
116
|
Tokens: {
|
|
119
117
|
id: string;
|
|
120
118
|
name: string | null;
|
|
@@ -228,18 +226,16 @@ export declare abstract class RewardService {
|
|
|
228
226
|
endOfDisputePeriod: number;
|
|
229
227
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
230
228
|
};
|
|
231
|
-
|
|
229
|
+
DepositUrls: {
|
|
232
230
|
id: string;
|
|
233
|
-
|
|
234
|
-
name: string;
|
|
235
|
-
description: string;
|
|
231
|
+
title: string;
|
|
236
232
|
url: string;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
}
|
|
242
|
-
|
|
233
|
+
subtitle: string | null;
|
|
234
|
+
icon: string | null;
|
|
235
|
+
priority: number;
|
|
236
|
+
opportunityId: string;
|
|
237
|
+
}[];
|
|
238
|
+
MainProtocol: {
|
|
243
239
|
id: string;
|
|
244
240
|
tags: string[];
|
|
245
241
|
name: string;
|
|
@@ -249,7 +245,7 @@ export declare abstract class RewardService {
|
|
|
249
245
|
banner: string | null;
|
|
250
246
|
opportunityBannerLight: string | null;
|
|
251
247
|
opportunityBannerDark: string | null;
|
|
252
|
-
}
|
|
248
|
+
} | null;
|
|
253
249
|
Tokens: {
|
|
254
250
|
id: string;
|
|
255
251
|
name: string | null;
|
|
@@ -339,18 +335,16 @@ export declare abstract class RewardService {
|
|
|
339
335
|
endOfDisputePeriod: number;
|
|
340
336
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
341
337
|
};
|
|
342
|
-
|
|
338
|
+
DepositUrls: {
|
|
343
339
|
id: string;
|
|
344
|
-
|
|
345
|
-
name: string;
|
|
346
|
-
description: string;
|
|
340
|
+
title: string;
|
|
347
341
|
url: string;
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
}
|
|
353
|
-
|
|
342
|
+
subtitle: string | null;
|
|
343
|
+
icon: string | null;
|
|
344
|
+
priority: number;
|
|
345
|
+
opportunityId: string;
|
|
346
|
+
}[];
|
|
347
|
+
MainProtocol: {
|
|
354
348
|
id: string;
|
|
355
349
|
tags: string[];
|
|
356
350
|
name: string;
|
|
@@ -360,7 +354,7 @@ export declare abstract class RewardService {
|
|
|
360
354
|
banner: string | null;
|
|
361
355
|
opportunityBannerLight: string | null;
|
|
362
356
|
opportunityBannerDark: string | null;
|
|
363
|
-
}
|
|
357
|
+
} | null;
|
|
364
358
|
Tokens: {
|
|
365
359
|
id: string;
|
|
366
360
|
name: string | null;
|
|
@@ -460,18 +454,16 @@ export declare abstract class RewardService {
|
|
|
460
454
|
endOfDisputePeriod: number;
|
|
461
455
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
462
456
|
};
|
|
463
|
-
|
|
457
|
+
DepositUrls: {
|
|
464
458
|
id: string;
|
|
465
|
-
|
|
466
|
-
name: string;
|
|
467
|
-
description: string;
|
|
459
|
+
title: string;
|
|
468
460
|
url: string;
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
}
|
|
474
|
-
|
|
461
|
+
subtitle: string | null;
|
|
462
|
+
icon: string | null;
|
|
463
|
+
priority: number;
|
|
464
|
+
opportunityId: string;
|
|
465
|
+
}[];
|
|
466
|
+
MainProtocol: {
|
|
475
467
|
id: string;
|
|
476
468
|
tags: string[];
|
|
477
469
|
name: string;
|
|
@@ -481,7 +473,7 @@ export declare abstract class RewardService {
|
|
|
481
473
|
banner: string | null;
|
|
482
474
|
opportunityBannerLight: string | null;
|
|
483
475
|
opportunityBannerDark: string | null;
|
|
484
|
-
}
|
|
476
|
+
} | null;
|
|
485
477
|
Tokens: {
|
|
486
478
|
id: string;
|
|
487
479
|
name: string | null;
|
|
@@ -689,18 +681,16 @@ export declare abstract class RewardService {
|
|
|
689
681
|
endOfDisputePeriod: number;
|
|
690
682
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
691
683
|
};
|
|
692
|
-
|
|
684
|
+
DepositUrls: {
|
|
693
685
|
id: string;
|
|
694
|
-
|
|
695
|
-
name: string;
|
|
696
|
-
description: string;
|
|
686
|
+
title: string;
|
|
697
687
|
url: string;
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
}
|
|
703
|
-
|
|
688
|
+
subtitle: string | null;
|
|
689
|
+
icon: string | null;
|
|
690
|
+
priority: number;
|
|
691
|
+
opportunityId: string;
|
|
692
|
+
}[];
|
|
693
|
+
MainProtocol: {
|
|
704
694
|
id: string;
|
|
705
695
|
tags: string[];
|
|
706
696
|
name: string;
|
|
@@ -710,7 +700,7 @@ export declare abstract class RewardService {
|
|
|
710
700
|
banner: string | null;
|
|
711
701
|
opportunityBannerLight: string | null;
|
|
712
702
|
opportunityBannerDark: string | null;
|
|
713
|
-
}
|
|
703
|
+
} | null;
|
|
714
704
|
Tokens: {
|
|
715
705
|
id: string;
|
|
716
706
|
name: string | null;
|
|
@@ -823,18 +813,16 @@ export declare abstract class RewardService {
|
|
|
823
813
|
endOfDisputePeriod: number;
|
|
824
814
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
825
815
|
};
|
|
826
|
-
|
|
816
|
+
DepositUrls: {
|
|
827
817
|
id: string;
|
|
828
|
-
|
|
829
|
-
name: string;
|
|
830
|
-
description: string;
|
|
818
|
+
title: string;
|
|
831
819
|
url: string;
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
}
|
|
837
|
-
|
|
820
|
+
subtitle: string | null;
|
|
821
|
+
icon: string | null;
|
|
822
|
+
priority: number;
|
|
823
|
+
opportunityId: string;
|
|
824
|
+
}[];
|
|
825
|
+
MainProtocol: {
|
|
838
826
|
id: string;
|
|
839
827
|
tags: string[];
|
|
840
828
|
name: string;
|
|
@@ -844,7 +832,7 @@ export declare abstract class RewardService {
|
|
|
844
832
|
banner: string | null;
|
|
845
833
|
opportunityBannerLight: string | null;
|
|
846
834
|
opportunityBannerDark: string | null;
|
|
847
|
-
}
|
|
835
|
+
} | null;
|
|
848
836
|
Tokens: {
|
|
849
837
|
id: string;
|
|
850
838
|
name: string | null;
|
|
@@ -908,9 +896,16 @@ export declare abstract class RewardService {
|
|
|
908
896
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
909
897
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
910
898
|
tags: string[];
|
|
911
|
-
protocols?: string[] | undefined;
|
|
912
899
|
mainProtocol?: string | undefined;
|
|
913
900
|
depositUrl?: string | undefined;
|
|
901
|
+
depositUrls?: {
|
|
902
|
+
id: string;
|
|
903
|
+
title: string;
|
|
904
|
+
url: string;
|
|
905
|
+
subtitle?: string | undefined;
|
|
906
|
+
icon?: string | undefined;
|
|
907
|
+
priority: number;
|
|
908
|
+
}[] | undefined;
|
|
914
909
|
explorerAddress?: string | undefined;
|
|
915
910
|
hidden?: boolean | undefined;
|
|
916
911
|
tvl: number;
|
|
@@ -1150,18 +1145,16 @@ export declare abstract class RewardService {
|
|
|
1150
1145
|
endOfDisputePeriod: number;
|
|
1151
1146
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
1152
1147
|
};
|
|
1153
|
-
|
|
1148
|
+
DepositUrls: {
|
|
1154
1149
|
id: string;
|
|
1155
|
-
|
|
1156
|
-
name: string;
|
|
1157
|
-
description: string;
|
|
1150
|
+
title: string;
|
|
1158
1151
|
url: string;
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1152
|
+
subtitle: string | null;
|
|
1153
|
+
icon: string | null;
|
|
1154
|
+
priority: number;
|
|
1155
|
+
opportunityId: string;
|
|
1156
|
+
}[];
|
|
1157
|
+
MainProtocol: {
|
|
1165
1158
|
id: string;
|
|
1166
1159
|
tags: string[];
|
|
1167
1160
|
name: string;
|
|
@@ -1171,7 +1164,7 @@ export declare abstract class RewardService {
|
|
|
1171
1164
|
banner: string | null;
|
|
1172
1165
|
opportunityBannerLight: string | null;
|
|
1173
1166
|
opportunityBannerDark: string | null;
|
|
1174
|
-
}
|
|
1167
|
+
} | null;
|
|
1175
1168
|
Tokens: {
|
|
1176
1169
|
id: string;
|
|
1177
1170
|
name: string | null;
|
|
@@ -1284,18 +1277,16 @@ export declare abstract class RewardService {
|
|
|
1284
1277
|
endOfDisputePeriod: number;
|
|
1285
1278
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
1286
1279
|
};
|
|
1287
|
-
|
|
1280
|
+
DepositUrls: {
|
|
1288
1281
|
id: string;
|
|
1289
|
-
|
|
1290
|
-
name: string;
|
|
1291
|
-
description: string;
|
|
1282
|
+
title: string;
|
|
1292
1283
|
url: string;
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1284
|
+
subtitle: string | null;
|
|
1285
|
+
icon: string | null;
|
|
1286
|
+
priority: number;
|
|
1287
|
+
opportunityId: string;
|
|
1288
|
+
}[];
|
|
1289
|
+
MainProtocol: {
|
|
1299
1290
|
id: string;
|
|
1300
1291
|
tags: string[];
|
|
1301
1292
|
name: string;
|
|
@@ -1305,7 +1296,7 @@ export declare abstract class RewardService {
|
|
|
1305
1296
|
banner: string | null;
|
|
1306
1297
|
opportunityBannerLight: string | null;
|
|
1307
1298
|
opportunityBannerDark: string | null;
|
|
1308
|
-
}
|
|
1299
|
+
} | null;
|
|
1309
1300
|
Tokens: {
|
|
1310
1301
|
id: string;
|
|
1311
1302
|
name: string | null;
|
|
@@ -1411,18 +1402,16 @@ export declare abstract class RewardService {
|
|
|
1411
1402
|
endOfDisputePeriod: number;
|
|
1412
1403
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
1413
1404
|
};
|
|
1414
|
-
|
|
1405
|
+
DepositUrls: {
|
|
1415
1406
|
id: string;
|
|
1416
|
-
|
|
1417
|
-
name: string;
|
|
1418
|
-
description: string;
|
|
1407
|
+
title: string;
|
|
1419
1408
|
url: string;
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1409
|
+
subtitle: string | null;
|
|
1410
|
+
icon: string | null;
|
|
1411
|
+
priority: number;
|
|
1412
|
+
opportunityId: string;
|
|
1413
|
+
}[];
|
|
1414
|
+
MainProtocol: {
|
|
1426
1415
|
id: string;
|
|
1427
1416
|
tags: string[];
|
|
1428
1417
|
name: string;
|
|
@@ -1432,7 +1421,7 @@ export declare abstract class RewardService {
|
|
|
1432
1421
|
banner: string | null;
|
|
1433
1422
|
opportunityBannerLight: string | null;
|
|
1434
1423
|
opportunityBannerDark: string | null;
|
|
1435
|
-
}
|
|
1424
|
+
} | null;
|
|
1436
1425
|
Tokens: {
|
|
1437
1426
|
id: string;
|
|
1438
1427
|
name: string | null;
|
|
@@ -1532,18 +1521,16 @@ export declare abstract class RewardService {
|
|
|
1532
1521
|
endOfDisputePeriod: number;
|
|
1533
1522
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
1534
1523
|
};
|
|
1535
|
-
|
|
1524
|
+
DepositUrls: {
|
|
1536
1525
|
id: string;
|
|
1537
|
-
|
|
1538
|
-
name: string;
|
|
1539
|
-
description: string;
|
|
1526
|
+
title: string;
|
|
1540
1527
|
url: string;
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1528
|
+
subtitle: string | null;
|
|
1529
|
+
icon: string | null;
|
|
1530
|
+
priority: number;
|
|
1531
|
+
opportunityId: string;
|
|
1532
|
+
}[];
|
|
1533
|
+
MainProtocol: {
|
|
1547
1534
|
id: string;
|
|
1548
1535
|
tags: string[];
|
|
1549
1536
|
name: string;
|
|
@@ -1553,7 +1540,7 @@ export declare abstract class RewardService {
|
|
|
1553
1540
|
banner: string | null;
|
|
1554
1541
|
opportunityBannerLight: string | null;
|
|
1555
1542
|
opportunityBannerDark: string | null;
|
|
1556
|
-
}
|
|
1543
|
+
} | null;
|
|
1557
1544
|
Tokens: {
|
|
1558
1545
|
id: string;
|
|
1559
1546
|
name: string | null;
|
|
@@ -1742,18 +1729,16 @@ export declare abstract class RewardService {
|
|
|
1742
1729
|
endOfDisputePeriod: number;
|
|
1743
1730
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
1744
1731
|
};
|
|
1745
|
-
|
|
1732
|
+
DepositUrls: {
|
|
1746
1733
|
id: string;
|
|
1747
|
-
|
|
1748
|
-
name: string;
|
|
1749
|
-
description: string;
|
|
1734
|
+
title: string;
|
|
1750
1735
|
url: string;
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
}
|
|
1756
|
-
|
|
1736
|
+
subtitle: string | null;
|
|
1737
|
+
icon: string | null;
|
|
1738
|
+
priority: number;
|
|
1739
|
+
opportunityId: string;
|
|
1740
|
+
}[];
|
|
1741
|
+
MainProtocol: {
|
|
1757
1742
|
id: string;
|
|
1758
1743
|
tags: string[];
|
|
1759
1744
|
name: string;
|
|
@@ -1763,7 +1748,7 @@ export declare abstract class RewardService {
|
|
|
1763
1748
|
banner: string | null;
|
|
1764
1749
|
opportunityBannerLight: string | null;
|
|
1765
1750
|
opportunityBannerDark: string | null;
|
|
1766
|
-
}
|
|
1751
|
+
} | null;
|
|
1767
1752
|
Tokens: {
|
|
1768
1753
|
id: string;
|
|
1769
1754
|
name: string | null;
|