@merkl/api 0.10.173 → 0.10.175

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/src/eden/index.d.ts +63 -63
  2. package/dist/src/entities/opportunity.js +1 -0
  3. package/dist/src/index.d.ts +21 -21
  4. package/dist/src/index.js +0 -1
  5. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +2 -1
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +4 -0
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/HoldStationProcessor.d.ts +29 -0
  8. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/HoldStationProcessor.js +34 -0
  9. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +2 -0
  10. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +2 -0
  11. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +4 -4
  12. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +2 -2
  13. package/dist/src/modules/v4/campaign/campaign.service.d.ts +2 -2
  14. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +10 -10
  15. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +11 -11
  16. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +13 -13
  17. package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -2
  18. package/dist/src/modules/v4/reward/reward.service.d.ts +11 -11
  19. package/dist/src/modules/v4/router.d.ts +21 -21
  20. package/dist/src/modules/v4/token/token.controller.d.ts +3 -3
  21. package/dist/src/modules/v4/token/token.repository.d.ts +1 -1
  22. package/dist/src/modules/v4/token/token.service.d.ts +6 -6
  23. package/dist/src/modules/v4/user/user.controller.d.ts +4 -4
  24. package/dist/src/routes/v3/blacklist.d.ts +21 -21
  25. package/dist/src/routes/v3/campaigns.d.ts +21 -21
  26. package/dist/src/routes/v3/campaignsInfo.d.ts +21 -21
  27. package/dist/src/routes/v3/multiChainPositions.d.ts +21 -21
  28. package/dist/src/routes/v3/opportunity.d.ts +22 -22
  29. package/dist/src/routes/v3/positions.d.ts +21 -21
  30. package/dist/src/routes/v3/rewards.d.ts +21 -21
  31. package/dist/src/routes/v3/updates.d.ts +21 -21
  32. package/dist/src/routes/v3/userRewards.d.ts +21 -21
  33. package/dist/src/utils/decodeCalls.js +5 -1
  34. package/dist/src/utils/encodeCalls.js +13 -1
  35. package/dist/src/utils/generateCardName.js +1 -0
  36. package/dist/tsconfig.package.tsbuildinfo +1 -1
  37. 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;
119
118
  chainId: number;
120
119
  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;
136
135
  chainId: number;
137
136
  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;
222
221
  chainId: number;
223
222
  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;
239
238
  chainId: number;
240
239
  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;
282
281
  chainId: number;
283
282
  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
- page?: number | undefined;
336
335
  chainId?: string | undefined;
336
+ page?: number | 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;
383
382
  chainId: number;
384
383
  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;
400
399
  chainId: number;
401
400
  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
- page?: number | undefined;
450
449
  chainId?: string | undefined;
450
+ page?: number | 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
- page?: number | undefined;
481
480
  chainId?: string | undefined;
481
+ page?: number | 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;
510
509
  chainId: number;
511
510
  startTimestamp: string;
512
511
  endTimestamp: string;
513
512
  computeChainId: number;
514
513
  campaignId: string;
515
514
  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;
553
552
  chainId?: number | undefined;
554
553
  startTimestamp?: string | undefined;
555
554
  endTimestamp?: string | undefined;
556
555
  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;
577
576
  chainId: number;
578
577
  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;
624
623
  chainId?: number | undefined;
625
624
  startTimestamp?: string | undefined;
626
625
  endTimestamp?: string | undefined;
627
626
  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;
783
782
  chainId: number;
784
783
  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;
813
812
  chainId: number;
814
813
  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;
848
847
  chainId: number;
849
848
  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;
1513
1512
  chainId: number;
1514
1513
  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;
1534
1533
  chainId: number;
1535
1534
  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;
1627
1626
  chainId: number;
1628
1627
  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;
1648
1647
  chainId: number;
1649
1648
  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;
124
123
  chainId: number;
125
124
  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;
141
140
  chainId: number;
142
141
  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;
227
226
  chainId: number;
228
227
  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;
244
243
  chainId: number;
245
244
  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;
287
286
  chainId: number;
288
287
  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
- page?: number | undefined;
341
340
  chainId?: string | undefined;
341
+ page?: number | 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;
388
387
  chainId: number;
389
388
  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;
405
404
  chainId: number;
406
405
  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
- page?: number | undefined;
455
454
  chainId?: string | undefined;
455
+ page?: number | 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
- page?: number | undefined;
486
485
  chainId?: string | undefined;
486
+ page?: number | 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;
515
514
  chainId: number;
516
515
  startTimestamp: string;
517
516
  endTimestamp: string;
518
517
  computeChainId: number;
519
518
  campaignId: string;
520
519
  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;
558
557
  chainId?: number | undefined;
559
558
  startTimestamp?: string | undefined;
560
559
  endTimestamp?: string | undefined;
561
560
  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;
582
581
  chainId: number;
583
582
  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;
629
628
  chainId?: number | undefined;
630
629
  startTimestamp?: string | undefined;
631
630
  endTimestamp?: string | undefined;
632
631
  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;
788
787
  chainId: number;
789
788
  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;
818
817
  chainId: number;
819
818
  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;
853
852
  chainId: number;
854
853
  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;
1518
1517
  chainId: number;
1519
1518
  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;
1539
1538
  chainId: number;
1540
1539
  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;
1632
1631
  chainId: number;
1633
1632
  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;
1653
1652
  chainId: number;
1654
1653
  address: string;
1654
+ icon: string;
1655
1655
  decimals: number;
1656
1656
  displaySymbol: string;
1657
1657
  verified: boolean;