@merkl/api 0.10.171 → 0.10.173

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. package/dist/src/backgroundJobs/index.js +1 -1
  2. package/dist/src/eden/index.d.ts +63 -63
  3. package/dist/src/index.d.ts +21 -21
  4. package/dist/src/index.js +3 -2
  5. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/factoryFinder.js +1 -0
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +2 -1
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +4 -0
  8. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleYTProcessor.d.ts +1 -1
  9. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleYTProcessor.js +1 -3
  10. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TempestVaultProcessor.d.ts +1 -1
  11. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TempestVaultProcessor.js +5 -3
  12. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +1 -0
  13. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +3 -1
  14. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +4 -4
  15. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +2 -2
  16. package/dist/src/modules/v4/campaign/campaign.service.d.ts +2 -2
  17. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +10 -10
  18. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +11 -11
  19. package/dist/src/modules/v4/opportunity/opportunity.repository.js +10 -1
  20. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +13 -13
  21. package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -2
  22. package/dist/src/modules/v4/reward/reward.service.d.ts +11 -11
  23. package/dist/src/modules/v4/router.d.ts +21 -21
  24. package/dist/src/modules/v4/token/token.controller.d.ts +3 -3
  25. package/dist/src/modules/v4/token/token.repository.d.ts +1 -1
  26. package/dist/src/modules/v4/token/token.service.d.ts +6 -6
  27. package/dist/src/modules/v4/user/user.controller.d.ts +4 -4
  28. package/dist/src/modules/v4/user/user.controller.js +1 -0
  29. package/dist/src/routes/v3/blacklist.d.ts +21 -21
  30. package/dist/src/routes/v3/campaigns.d.ts +21 -21
  31. package/dist/src/routes/v3/campaignsInfo.d.ts +21 -21
  32. package/dist/src/routes/v3/multiChainPositions.d.ts +21 -21
  33. package/dist/src/routes/v3/opportunity.d.ts +22 -22
  34. package/dist/src/routes/v3/positions.d.ts +21 -21
  35. package/dist/src/routes/v3/rewards.d.ts +21 -21
  36. package/dist/src/routes/v3/updates.d.ts +21 -21
  37. package/dist/src/routes/v3/userRewards.d.ts +21 -21
  38. package/dist/src/utils/decodeCalls.js +15 -3
  39. package/dist/src/utils/encodeCalls.js +31 -11
  40. package/dist/src/utils/generateCardName.js +4 -0
  41. package/dist/tsconfig.package.tsbuildinfo +1 -1
  42. package/package.json +2 -2
@@ -138,9 +138,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
138
138
  symbol: string;
139
139
  name: string | null;
140
140
  id: string;
141
+ icon: string;
141
142
  chainId: number;
142
143
  address: string;
143
- icon: string;
144
144
  decimals: number;
145
145
  displaySymbol: string;
146
146
  verified: boolean;
@@ -155,9 +155,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
155
155
  symbol: string;
156
156
  name: string | null;
157
157
  id: string;
158
+ icon: string;
158
159
  chainId: number;
159
160
  address: string;
160
- icon: string;
161
161
  decimals: number;
162
162
  verified: boolean;
163
163
  isTest: boolean;
@@ -241,9 +241,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
241
241
  symbol: string;
242
242
  name: string | null;
243
243
  id: string;
244
+ icon: string;
244
245
  chainId: number;
245
246
  address: string;
246
- icon: string;
247
247
  decimals: number;
248
248
  displaySymbol: string;
249
249
  verified: boolean;
@@ -258,9 +258,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
258
258
  symbol: string;
259
259
  name: string | null;
260
260
  id: string;
261
+ icon: string;
261
262
  chainId: number;
262
263
  address: string;
263
- icon: string;
264
264
  decimals: number;
265
265
  verified: boolean;
266
266
  isTest: boolean;
@@ -301,9 +301,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
301
301
  symbol: string;
302
302
  name: string | null;
303
303
  id: string;
304
+ icon: string;
304
305
  chainId: number;
305
306
  address: string;
306
- icon: string;
307
307
  decimals: number;
308
308
  verified: boolean;
309
309
  isTest: boolean;
@@ -355,8 +355,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
355
355
  status?: string | undefined;
356
356
  items?: number | undefined;
357
357
  tags?: string | undefined;
358
- chainId?: string | undefined;
359
358
  page?: number | undefined;
359
+ chainId?: string | undefined;
360
360
  action?: string | undefined;
361
361
  mainProtocolId?: string | undefined;
362
362
  order?: undefined;
@@ -402,9 +402,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
402
402
  symbol: string;
403
403
  name: string | null;
404
404
  id: string;
405
+ icon: string;
405
406
  chainId: number;
406
407
  address: string;
407
- icon: string;
408
408
  decimals: number;
409
409
  displaySymbol: string;
410
410
  verified: boolean;
@@ -419,9 +419,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
419
419
  symbol: string;
420
420
  name: string | null;
421
421
  id: string;
422
+ icon: string;
422
423
  chainId: number;
423
424
  address: string;
424
- icon: string;
425
425
  decimals: number;
426
426
  verified: boolean;
427
427
  isTest: boolean;
@@ -469,8 +469,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
469
469
  status?: string | undefined;
470
470
  items?: number | undefined;
471
471
  tags?: string | undefined;
472
- chainId?: string | undefined;
473
472
  page?: number | undefined;
473
+ chainId?: string | undefined;
474
474
  action?: string | undefined;
475
475
  mainProtocolId?: string | undefined;
476
476
  order?: undefined;
@@ -500,8 +500,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
500
500
  status?: string | undefined;
501
501
  items?: number | undefined;
502
502
  tags?: string | undefined;
503
- chainId?: string | undefined;
504
503
  page?: number | undefined;
504
+ chainId?: string | undefined;
505
505
  action?: string | undefined;
506
506
  mainProtocolId?: string | undefined;
507
507
  order?: undefined;
@@ -529,13 +529,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
529
529
  subType?: number | undefined;
530
530
  type: number;
531
531
  params: string;
532
+ creator: string;
532
533
  chainId: number;
533
534
  startTimestamp: string;
534
535
  endTimestamp: string;
535
536
  computeChainId: number;
536
537
  campaignId: string;
537
538
  amount: string;
538
- creator: string;
539
539
  rewardTokenAddress: string;
540
540
  opportunityIdentifier: string;
541
541
  };
@@ -572,11 +572,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
572
572
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
573
573
  items?: number | undefined;
574
574
  subType?: number | undefined;
575
+ page?: number | undefined;
575
576
  chainId?: number | undefined;
576
577
  startTimestamp?: string | undefined;
577
578
  endTimestamp?: string | undefined;
578
579
  tokenAddress?: string | undefined;
579
- page?: number | undefined;
580
580
  mainParameter?: string | undefined;
581
581
  campaignId?: string | undefined;
582
582
  opportunityId?: string | undefined;
@@ -596,9 +596,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
596
596
  symbol: string;
597
597
  name: string | null;
598
598
  id: string;
599
+ icon: string;
599
600
  chainId: number;
600
601
  address: string;
601
- icon: string;
602
602
  decimals: number;
603
603
  verified: boolean;
604
604
  isTest: boolean;
@@ -643,11 +643,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
643
643
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
644
644
  items?: number | undefined;
645
645
  subType?: number | undefined;
646
+ page?: number | undefined;
646
647
  chainId?: number | undefined;
647
648
  startTimestamp?: string | undefined;
648
649
  endTimestamp?: string | undefined;
649
650
  tokenAddress?: string | undefined;
650
- page?: number | undefined;
651
651
  mainParameter?: string | undefined;
652
652
  campaignId?: string | undefined;
653
653
  opportunityId?: string | undefined;
@@ -802,9 +802,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
802
802
  symbol: string;
803
803
  name: string | null;
804
804
  id: string;
805
+ icon: string;
805
806
  chainId: number;
806
807
  address: string;
807
- icon: string;
808
808
  decimals: number;
809
809
  verified: boolean;
810
810
  isTest: boolean;
@@ -832,9 +832,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
832
832
  symbol: string;
833
833
  name: string | null;
834
834
  id: string;
835
+ icon: string;
835
836
  chainId: number;
836
837
  address: string;
837
- icon: string;
838
838
  decimals: number;
839
839
  verified: boolean;
840
840
  isTest: boolean;
@@ -867,9 +867,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
867
867
  symbol: string;
868
868
  name: string | null;
869
869
  id: string;
870
+ icon: string;
870
871
  chainId: number;
871
872
  address: string;
872
- icon: string;
873
873
  decimals: number;
874
874
  displaySymbol: string;
875
875
  verified: boolean;
@@ -1532,9 +1532,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1532
1532
  symbol: string;
1533
1533
  name: string | null;
1534
1534
  id: string;
1535
+ icon: string;
1535
1536
  chainId: number;
1536
1537
  address: string;
1537
- icon: string;
1538
1538
  decimals: number;
1539
1539
  displaySymbol: string;
1540
1540
  verified: boolean;
@@ -1553,9 +1553,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1553
1553
  symbol: string;
1554
1554
  name: string | null;
1555
1555
  id: string;
1556
+ icon: string;
1556
1557
  chainId: number;
1557
1558
  address: string;
1558
- icon: string;
1559
1559
  decimals: number;
1560
1560
  displaySymbol: string;
1561
1561
  verified: boolean;
@@ -1646,9 +1646,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1646
1646
  symbol: string;
1647
1647
  name: string | null;
1648
1648
  id: string;
1649
+ icon: string;
1649
1650
  chainId: number;
1650
1651
  address: string;
1651
- icon: string;
1652
1652
  decimals: number;
1653
1653
  displaySymbol: string;
1654
1654
  verified: boolean;
@@ -1667,9 +1667,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1667
1667
  symbol: string;
1668
1668
  name: string | null;
1669
1669
  id: string;
1670
+ icon: string;
1670
1671
  chainId: number;
1671
1672
  address: string;
1672
- icon: string;
1673
1673
  decimals: number;
1674
1674
  displaySymbol: string;
1675
1675
  verified: boolean;
@@ -2295,12 +2295,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2295
2295
  params: {};
2296
2296
  query: {
2297
2297
  type?: undefined;
2298
+ tag?: string | undefined;
2298
2299
  chainId?: undefined;
2299
2300
  mainParameter?: string | undefined;
2300
2301
  action?: undefined;
2301
2302
  campaigns?: boolean | undefined;
2302
2303
  testTokens?: boolean | undefined;
2303
- tag?: string | undefined;
2304
2304
  };
2305
2305
  headers: unknown;
2306
2306
  response: {
@@ -139,9 +139,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
139
139
  symbol: string;
140
140
  name: string | null;
141
141
  id: string;
142
+ icon: string;
142
143
  chainId: number;
143
144
  address: string;
144
- icon: string;
145
145
  decimals: number;
146
146
  displaySymbol: string;
147
147
  verified: boolean;
@@ -156,9 +156,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
156
156
  symbol: string;
157
157
  name: string | null;
158
158
  id: string;
159
+ icon: string;
159
160
  chainId: number;
160
161
  address: string;
161
- icon: string;
162
162
  decimals: number;
163
163
  verified: boolean;
164
164
  isTest: boolean;
@@ -242,9 +242,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
242
242
  symbol: string;
243
243
  name: string | null;
244
244
  id: string;
245
+ icon: string;
245
246
  chainId: number;
246
247
  address: string;
247
- icon: string;
248
248
  decimals: number;
249
249
  displaySymbol: string;
250
250
  verified: boolean;
@@ -259,9 +259,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
259
259
  symbol: string;
260
260
  name: string | null;
261
261
  id: string;
262
+ icon: string;
262
263
  chainId: number;
263
264
  address: string;
264
- icon: string;
265
265
  decimals: number;
266
266
  verified: boolean;
267
267
  isTest: boolean;
@@ -302,9 +302,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
302
302
  symbol: string;
303
303
  name: string | null;
304
304
  id: string;
305
+ icon: string;
305
306
  chainId: number;
306
307
  address: string;
307
- icon: string;
308
308
  decimals: number;
309
309
  verified: boolean;
310
310
  isTest: boolean;
@@ -356,8 +356,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
356
356
  status?: string | undefined;
357
357
  items?: number | undefined;
358
358
  tags?: string | undefined;
359
- chainId?: string | undefined;
360
359
  page?: number | undefined;
360
+ chainId?: string | undefined;
361
361
  action?: string | undefined;
362
362
  mainProtocolId?: string | undefined;
363
363
  order?: undefined;
@@ -403,9 +403,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
403
403
  symbol: string;
404
404
  name: string | null;
405
405
  id: string;
406
+ icon: string;
406
407
  chainId: number;
407
408
  address: string;
408
- icon: string;
409
409
  decimals: number;
410
410
  displaySymbol: string;
411
411
  verified: boolean;
@@ -420,9 +420,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
420
420
  symbol: string;
421
421
  name: string | null;
422
422
  id: string;
423
+ icon: string;
423
424
  chainId: number;
424
425
  address: string;
425
- icon: string;
426
426
  decimals: number;
427
427
  verified: boolean;
428
428
  isTest: boolean;
@@ -470,8 +470,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
470
470
  status?: string | undefined;
471
471
  items?: number | undefined;
472
472
  tags?: string | undefined;
473
- chainId?: string | undefined;
474
473
  page?: number | undefined;
474
+ chainId?: string | undefined;
475
475
  action?: string | undefined;
476
476
  mainProtocolId?: string | undefined;
477
477
  order?: undefined;
@@ -501,8 +501,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
501
501
  status?: string | undefined;
502
502
  items?: number | undefined;
503
503
  tags?: string | undefined;
504
- chainId?: string | undefined;
505
504
  page?: number | undefined;
505
+ chainId?: string | undefined;
506
506
  action?: string | undefined;
507
507
  mainProtocolId?: string | undefined;
508
508
  order?: undefined;
@@ -530,13 +530,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
530
530
  subType?: number | undefined;
531
531
  type: number;
532
532
  params: string;
533
+ creator: string;
533
534
  chainId: number;
534
535
  startTimestamp: string;
535
536
  endTimestamp: string;
536
537
  computeChainId: number;
537
538
  campaignId: string;
538
539
  amount: string;
539
- creator: string;
540
540
  rewardTokenAddress: string;
541
541
  opportunityIdentifier: string;
542
542
  };
@@ -573,11 +573,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
573
573
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
574
574
  items?: number | undefined;
575
575
  subType?: number | undefined;
576
+ page?: number | undefined;
576
577
  chainId?: number | undefined;
577
578
  startTimestamp?: string | undefined;
578
579
  endTimestamp?: string | undefined;
579
580
  tokenAddress?: string | undefined;
580
- page?: number | undefined;
581
581
  mainParameter?: string | undefined;
582
582
  campaignId?: string | undefined;
583
583
  opportunityId?: string | undefined;
@@ -597,9 +597,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
597
597
  symbol: string;
598
598
  name: string | null;
599
599
  id: string;
600
+ icon: string;
600
601
  chainId: number;
601
602
  address: string;
602
- icon: string;
603
603
  decimals: number;
604
604
  verified: boolean;
605
605
  isTest: boolean;
@@ -644,11 +644,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
644
644
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
645
645
  items?: number | undefined;
646
646
  subType?: number | undefined;
647
+ page?: number | undefined;
647
648
  chainId?: number | undefined;
648
649
  startTimestamp?: string | undefined;
649
650
  endTimestamp?: string | undefined;
650
651
  tokenAddress?: string | undefined;
651
- page?: number | undefined;
652
652
  mainParameter?: string | undefined;
653
653
  campaignId?: string | undefined;
654
654
  opportunityId?: string | undefined;
@@ -803,9 +803,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
803
803
  symbol: string;
804
804
  name: string | null;
805
805
  id: string;
806
+ icon: string;
806
807
  chainId: number;
807
808
  address: string;
808
- icon: string;
809
809
  decimals: number;
810
810
  verified: boolean;
811
811
  isTest: boolean;
@@ -833,9 +833,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
833
833
  symbol: string;
834
834
  name: string | null;
835
835
  id: string;
836
+ icon: string;
836
837
  chainId: number;
837
838
  address: string;
838
- icon: string;
839
839
  decimals: number;
840
840
  verified: boolean;
841
841
  isTest: boolean;
@@ -868,9 +868,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
868
868
  symbol: string;
869
869
  name: string | null;
870
870
  id: string;
871
+ icon: string;
871
872
  chainId: number;
872
873
  address: string;
873
- icon: string;
874
874
  decimals: number;
875
875
  displaySymbol: string;
876
876
  verified: boolean;
@@ -1533,9 +1533,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1533
1533
  symbol: string;
1534
1534
  name: string | null;
1535
1535
  id: string;
1536
+ icon: string;
1536
1537
  chainId: number;
1537
1538
  address: string;
1538
- icon: string;
1539
1539
  decimals: number;
1540
1540
  displaySymbol: string;
1541
1541
  verified: boolean;
@@ -1554,9 +1554,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1554
1554
  symbol: string;
1555
1555
  name: string | null;
1556
1556
  id: string;
1557
+ icon: string;
1557
1558
  chainId: number;
1558
1559
  address: string;
1559
- icon: string;
1560
1560
  decimals: number;
1561
1561
  displaySymbol: string;
1562
1562
  verified: boolean;
@@ -1647,9 +1647,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1647
1647
  symbol: string;
1648
1648
  name: string | null;
1649
1649
  id: string;
1650
+ icon: string;
1650
1651
  chainId: number;
1651
1652
  address: string;
1652
- icon: string;
1653
1653
  decimals: number;
1654
1654
  displaySymbol: string;
1655
1655
  verified: boolean;
@@ -1668,9 +1668,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1668
1668
  symbol: string;
1669
1669
  name: string | null;
1670
1670
  id: string;
1671
+ icon: string;
1671
1672
  chainId: number;
1672
1673
  address: string;
1673
- icon: string;
1674
1674
  decimals: number;
1675
1675
  displaySymbol: string;
1676
1676
  verified: boolean;