@merkl/api 0.10.172 → 0.10.174

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) 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/entities/opportunity.js +1 -0
  4. package/dist/src/index.d.ts +21 -21
  5. package/dist/src/index.js +3 -2
  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/TempestVaultProcessor.d.ts +1 -1
  9. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TempestVaultProcessor.js +5 -3
  10. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +1 -0
  11. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +3 -1
  12. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +4 -4
  13. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +2 -2
  14. package/dist/src/modules/v4/campaign/campaign.service.d.ts +2 -2
  15. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +10 -10
  16. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +11 -11
  17. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +13 -13
  18. package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -2
  19. package/dist/src/modules/v4/reward/reward.service.d.ts +11 -11
  20. package/dist/src/modules/v4/router.d.ts +21 -21
  21. package/dist/src/modules/v4/token/token.controller.d.ts +3 -3
  22. package/dist/src/modules/v4/token/token.repository.d.ts +1 -1
  23. package/dist/src/modules/v4/token/token.service.d.ts +6 -6
  24. package/dist/src/modules/v4/user/user.controller.d.ts +4 -4
  25. package/dist/src/modules/v4/user/user.controller.js +1 -0
  26. package/dist/src/routes/v3/blacklist.d.ts +21 -21
  27. package/dist/src/routes/v3/campaigns.d.ts +21 -21
  28. package/dist/src/routes/v3/campaignsInfo.d.ts +21 -21
  29. package/dist/src/routes/v3/multiChainPositions.d.ts +21 -21
  30. package/dist/src/routes/v3/opportunity.d.ts +22 -22
  31. package/dist/src/routes/v3/positions.d.ts +21 -21
  32. package/dist/src/routes/v3/rewards.d.ts +21 -21
  33. package/dist/src/routes/v3/updates.d.ts +21 -21
  34. package/dist/src/routes/v3/userRewards.d.ts +21 -21
  35. package/dist/src/utils/decodeCalls.js +15 -3
  36. package/dist/src/utils/encodeCalls.js +31 -11
  37. package/dist/src/utils/generateCardName.js +3 -0
  38. package/dist/tsconfig.package.tsbuildinfo +1 -1
  39. package/package.json +2 -2
@@ -115,9 +115,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
115
115
  symbol: string;
116
116
  name: string | null;
117
117
  id: string;
118
+ icon: string;
118
119
  chainId: number;
119
120
  address: string;
120
- icon: string;
121
121
  decimals: number;
122
122
  displaySymbol: string;
123
123
  verified: boolean;
@@ -132,9 +132,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
132
132
  symbol: string;
133
133
  name: string | null;
134
134
  id: string;
135
+ icon: string;
135
136
  chainId: number;
136
137
  address: string;
137
- icon: string;
138
138
  decimals: number;
139
139
  verified: boolean;
140
140
  isTest: boolean;
@@ -218,9 +218,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
218
218
  symbol: string;
219
219
  name: string | null;
220
220
  id: string;
221
+ icon: string;
221
222
  chainId: number;
222
223
  address: string;
223
- icon: string;
224
224
  decimals: number;
225
225
  displaySymbol: string;
226
226
  verified: boolean;
@@ -235,9 +235,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
235
235
  symbol: string;
236
236
  name: string | null;
237
237
  id: string;
238
+ icon: string;
238
239
  chainId: number;
239
240
  address: string;
240
- icon: string;
241
241
  decimals: number;
242
242
  verified: boolean;
243
243
  isTest: boolean;
@@ -278,9 +278,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
278
278
  symbol: string;
279
279
  name: string | null;
280
280
  id: string;
281
+ icon: string;
281
282
  chainId: number;
282
283
  address: string;
283
- icon: string;
284
284
  decimals: number;
285
285
  verified: boolean;
286
286
  isTest: boolean;
@@ -332,8 +332,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
332
332
  status?: string | undefined;
333
333
  items?: number | undefined;
334
334
  tags?: string | undefined;
335
- chainId?: string | undefined;
336
335
  page?: number | undefined;
336
+ chainId?: string | undefined;
337
337
  action?: string | undefined;
338
338
  mainProtocolId?: string | undefined;
339
339
  order?: undefined;
@@ -379,9 +379,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
379
379
  symbol: string;
380
380
  name: string | null;
381
381
  id: string;
382
+ icon: string;
382
383
  chainId: number;
383
384
  address: string;
384
- icon: string;
385
385
  decimals: number;
386
386
  displaySymbol: string;
387
387
  verified: boolean;
@@ -396,9 +396,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
396
396
  symbol: string;
397
397
  name: string | null;
398
398
  id: string;
399
+ icon: string;
399
400
  chainId: number;
400
401
  address: string;
401
- icon: string;
402
402
  decimals: number;
403
403
  verified: boolean;
404
404
  isTest: boolean;
@@ -446,8 +446,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
446
446
  status?: string | undefined;
447
447
  items?: number | undefined;
448
448
  tags?: string | undefined;
449
- chainId?: string | undefined;
450
449
  page?: number | undefined;
450
+ chainId?: string | undefined;
451
451
  action?: string | undefined;
452
452
  mainProtocolId?: string | undefined;
453
453
  order?: undefined;
@@ -477,8 +477,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
477
477
  status?: string | undefined;
478
478
  items?: number | undefined;
479
479
  tags?: string | undefined;
480
- chainId?: string | undefined;
481
480
  page?: number | undefined;
481
+ chainId?: string | undefined;
482
482
  action?: string | undefined;
483
483
  mainProtocolId?: string | undefined;
484
484
  order?: undefined;
@@ -506,13 +506,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
506
506
  subType?: number | undefined;
507
507
  type: number;
508
508
  params: string;
509
+ creator: string;
509
510
  chainId: number;
510
511
  startTimestamp: string;
511
512
  endTimestamp: string;
512
513
  computeChainId: number;
513
514
  campaignId: string;
514
515
  amount: string;
515
- creator: string;
516
516
  rewardTokenAddress: string;
517
517
  opportunityIdentifier: string;
518
518
  };
@@ -549,11 +549,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
549
549
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
550
550
  items?: number | undefined;
551
551
  subType?: number | undefined;
552
+ page?: number | undefined;
552
553
  chainId?: number | undefined;
553
554
  startTimestamp?: string | undefined;
554
555
  endTimestamp?: string | undefined;
555
556
  tokenAddress?: string | undefined;
556
- page?: number | undefined;
557
557
  mainParameter?: string | undefined;
558
558
  campaignId?: string | undefined;
559
559
  opportunityId?: string | undefined;
@@ -573,9 +573,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
573
573
  symbol: string;
574
574
  name: string | null;
575
575
  id: string;
576
+ icon: string;
576
577
  chainId: number;
577
578
  address: string;
578
- icon: string;
579
579
  decimals: number;
580
580
  verified: boolean;
581
581
  isTest: boolean;
@@ -620,11 +620,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
620
620
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
621
621
  items?: number | undefined;
622
622
  subType?: number | undefined;
623
+ page?: number | undefined;
623
624
  chainId?: number | undefined;
624
625
  startTimestamp?: string | undefined;
625
626
  endTimestamp?: string | undefined;
626
627
  tokenAddress?: string | undefined;
627
- page?: number | undefined;
628
628
  mainParameter?: string | undefined;
629
629
  campaignId?: string | undefined;
630
630
  opportunityId?: string | undefined;
@@ -779,9 +779,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
779
779
  symbol: string;
780
780
  name: string | null;
781
781
  id: string;
782
+ icon: string;
782
783
  chainId: number;
783
784
  address: string;
784
- icon: string;
785
785
  decimals: number;
786
786
  verified: boolean;
787
787
  isTest: boolean;
@@ -809,9 +809,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
809
809
  symbol: string;
810
810
  name: string | null;
811
811
  id: string;
812
+ icon: string;
812
813
  chainId: number;
813
814
  address: string;
814
- icon: string;
815
815
  decimals: number;
816
816
  verified: boolean;
817
817
  isTest: boolean;
@@ -844,9 +844,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
844
844
  symbol: string;
845
845
  name: string | null;
846
846
  id: string;
847
+ icon: string;
847
848
  chainId: number;
848
849
  address: string;
849
- icon: string;
850
850
  decimals: number;
851
851
  displaySymbol: string;
852
852
  verified: boolean;
@@ -1509,9 +1509,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1509
1509
  symbol: string;
1510
1510
  name: string | null;
1511
1511
  id: string;
1512
+ icon: string;
1512
1513
  chainId: number;
1513
1514
  address: string;
1514
- icon: string;
1515
1515
  decimals: number;
1516
1516
  displaySymbol: string;
1517
1517
  verified: boolean;
@@ -1530,9 +1530,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1530
1530
  symbol: string;
1531
1531
  name: string | null;
1532
1532
  id: string;
1533
+ icon: string;
1533
1534
  chainId: number;
1534
1535
  address: string;
1535
- icon: string;
1536
1536
  decimals: number;
1537
1537
  displaySymbol: string;
1538
1538
  verified: boolean;
@@ -1623,9 +1623,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1623
1623
  symbol: string;
1624
1624
  name: string | null;
1625
1625
  id: string;
1626
+ icon: string;
1626
1627
  chainId: number;
1627
1628
  address: string;
1628
- icon: string;
1629
1629
  decimals: number;
1630
1630
  displaySymbol: string;
1631
1631
  verified: boolean;
@@ -1644,9 +1644,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1644
1644
  symbol: string;
1645
1645
  name: string | null;
1646
1646
  id: string;
1647
+ icon: string;
1647
1648
  chainId: number;
1648
1649
  address: string;
1649
- icon: string;
1650
1650
  decimals: number;
1651
1651
  displaySymbol: string;
1652
1652
  verified: boolean;
@@ -120,9 +120,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
120
120
  symbol: string;
121
121
  name: string | null;
122
122
  id: string;
123
+ icon: string;
123
124
  chainId: number;
124
125
  address: string;
125
- icon: string;
126
126
  decimals: number;
127
127
  displaySymbol: string;
128
128
  verified: boolean;
@@ -137,9 +137,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
137
137
  symbol: string;
138
138
  name: string | null;
139
139
  id: string;
140
+ icon: string;
140
141
  chainId: number;
141
142
  address: string;
142
- icon: string;
143
143
  decimals: number;
144
144
  verified: boolean;
145
145
  isTest: boolean;
@@ -223,9 +223,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
223
223
  symbol: string;
224
224
  name: string | null;
225
225
  id: string;
226
+ icon: string;
226
227
  chainId: number;
227
228
  address: string;
228
- icon: string;
229
229
  decimals: number;
230
230
  displaySymbol: string;
231
231
  verified: boolean;
@@ -240,9 +240,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
240
240
  symbol: string;
241
241
  name: string | null;
242
242
  id: string;
243
+ icon: string;
243
244
  chainId: number;
244
245
  address: string;
245
- icon: string;
246
246
  decimals: number;
247
247
  verified: boolean;
248
248
  isTest: boolean;
@@ -283,9 +283,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
283
283
  symbol: string;
284
284
  name: string | null;
285
285
  id: string;
286
+ icon: string;
286
287
  chainId: number;
287
288
  address: string;
288
- icon: string;
289
289
  decimals: number;
290
290
  verified: boolean;
291
291
  isTest: boolean;
@@ -337,8 +337,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
337
337
  status?: string | undefined;
338
338
  items?: number | undefined;
339
339
  tags?: string | undefined;
340
- chainId?: string | undefined;
341
340
  page?: number | undefined;
341
+ chainId?: string | undefined;
342
342
  action?: string | undefined;
343
343
  mainProtocolId?: string | undefined;
344
344
  order?: undefined;
@@ -384,9 +384,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
384
384
  symbol: string;
385
385
  name: string | null;
386
386
  id: string;
387
+ icon: string;
387
388
  chainId: number;
388
389
  address: string;
389
- icon: string;
390
390
  decimals: number;
391
391
  displaySymbol: string;
392
392
  verified: boolean;
@@ -401,9 +401,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
401
401
  symbol: string;
402
402
  name: string | null;
403
403
  id: string;
404
+ icon: string;
404
405
  chainId: number;
405
406
  address: string;
406
- icon: string;
407
407
  decimals: number;
408
408
  verified: boolean;
409
409
  isTest: boolean;
@@ -451,8 +451,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
451
451
  status?: string | undefined;
452
452
  items?: number | undefined;
453
453
  tags?: string | undefined;
454
- chainId?: string | undefined;
455
454
  page?: number | undefined;
455
+ chainId?: string | undefined;
456
456
  action?: string | undefined;
457
457
  mainProtocolId?: string | undefined;
458
458
  order?: undefined;
@@ -482,8 +482,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
482
482
  status?: string | undefined;
483
483
  items?: number | undefined;
484
484
  tags?: string | undefined;
485
- chainId?: string | undefined;
486
485
  page?: number | undefined;
486
+ chainId?: string | undefined;
487
487
  action?: string | undefined;
488
488
  mainProtocolId?: string | undefined;
489
489
  order?: undefined;
@@ -511,13 +511,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
511
511
  subType?: number | undefined;
512
512
  type: number;
513
513
  params: string;
514
+ creator: string;
514
515
  chainId: number;
515
516
  startTimestamp: string;
516
517
  endTimestamp: string;
517
518
  computeChainId: number;
518
519
  campaignId: string;
519
520
  amount: string;
520
- creator: string;
521
521
  rewardTokenAddress: string;
522
522
  opportunityIdentifier: string;
523
523
  };
@@ -554,11 +554,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
554
554
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
555
555
  items?: number | undefined;
556
556
  subType?: number | undefined;
557
+ page?: number | undefined;
557
558
  chainId?: number | undefined;
558
559
  startTimestamp?: string | undefined;
559
560
  endTimestamp?: string | undefined;
560
561
  tokenAddress?: string | undefined;
561
- page?: number | undefined;
562
562
  mainParameter?: string | undefined;
563
563
  campaignId?: string | undefined;
564
564
  opportunityId?: string | undefined;
@@ -578,9 +578,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
578
578
  symbol: string;
579
579
  name: string | null;
580
580
  id: string;
581
+ icon: string;
581
582
  chainId: number;
582
583
  address: string;
583
- icon: string;
584
584
  decimals: number;
585
585
  verified: boolean;
586
586
  isTest: boolean;
@@ -625,11 +625,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
625
625
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
626
626
  items?: number | undefined;
627
627
  subType?: number | undefined;
628
+ page?: number | undefined;
628
629
  chainId?: number | undefined;
629
630
  startTimestamp?: string | undefined;
630
631
  endTimestamp?: string | undefined;
631
632
  tokenAddress?: string | undefined;
632
- page?: number | undefined;
633
633
  mainParameter?: string | undefined;
634
634
  campaignId?: string | undefined;
635
635
  opportunityId?: string | undefined;
@@ -784,9 +784,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
784
784
  symbol: string;
785
785
  name: string | null;
786
786
  id: string;
787
+ icon: string;
787
788
  chainId: number;
788
789
  address: string;
789
- icon: string;
790
790
  decimals: number;
791
791
  verified: boolean;
792
792
  isTest: boolean;
@@ -814,9 +814,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
814
814
  symbol: string;
815
815
  name: string | null;
816
816
  id: string;
817
+ icon: string;
817
818
  chainId: number;
818
819
  address: string;
819
- icon: string;
820
820
  decimals: number;
821
821
  verified: boolean;
822
822
  isTest: boolean;
@@ -849,9 +849,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
849
849
  symbol: string;
850
850
  name: string | null;
851
851
  id: string;
852
+ icon: string;
852
853
  chainId: number;
853
854
  address: string;
854
- icon: string;
855
855
  decimals: number;
856
856
  displaySymbol: string;
857
857
  verified: boolean;
@@ -1514,9 +1514,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1514
1514
  symbol: string;
1515
1515
  name: string | null;
1516
1516
  id: string;
1517
+ icon: string;
1517
1518
  chainId: number;
1518
1519
  address: string;
1519
- icon: string;
1520
1520
  decimals: number;
1521
1521
  displaySymbol: string;
1522
1522
  verified: boolean;
@@ -1535,9 +1535,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1535
1535
  symbol: string;
1536
1536
  name: string | null;
1537
1537
  id: string;
1538
+ icon: string;
1538
1539
  chainId: number;
1539
1540
  address: string;
1540
- icon: string;
1541
1541
  decimals: number;
1542
1542
  displaySymbol: string;
1543
1543
  verified: boolean;
@@ -1628,9 +1628,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1628
1628
  symbol: string;
1629
1629
  name: string | null;
1630
1630
  id: string;
1631
+ icon: string;
1631
1632
  chainId: number;
1632
1633
  address: string;
1633
- icon: string;
1634
1634
  decimals: number;
1635
1635
  displaySymbol: string;
1636
1636
  verified: boolean;
@@ -1649,9 +1649,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1649
1649
  symbol: string;
1650
1650
  name: string | null;
1651
1651
  id: string;
1652
+ icon: string;
1652
1653
  chainId: number;
1653
1654
  address: string;
1654
- icon: string;
1655
1655
  decimals: number;
1656
1656
  displaySymbol: string;
1657
1657
  verified: boolean;