@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
@@ -121,9 +121,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
121
121
  symbol: string;
122
122
  name: string | null;
123
123
  id: string;
124
+ icon: string;
124
125
  chainId: number;
125
126
  address: string;
126
- icon: string;
127
127
  decimals: number;
128
128
  displaySymbol: string;
129
129
  verified: boolean;
@@ -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
  verified: boolean;
146
146
  isTest: boolean;
@@ -224,9 +224,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
224
224
  symbol: string;
225
225
  name: string | null;
226
226
  id: string;
227
+ icon: string;
227
228
  chainId: number;
228
229
  address: string;
229
- icon: string;
230
230
  decimals: number;
231
231
  displaySymbol: string;
232
232
  verified: 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
  verified: boolean;
249
249
  isTest: boolean;
@@ -284,9 +284,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
284
284
  symbol: string;
285
285
  name: string | null;
286
286
  id: string;
287
+ icon: string;
287
288
  chainId: number;
288
289
  address: string;
289
- icon: string;
290
290
  decimals: number;
291
291
  verified: boolean;
292
292
  isTest: boolean;
@@ -338,8 +338,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
338
338
  status?: string | undefined;
339
339
  items?: number | undefined;
340
340
  tags?: string | undefined;
341
- chainId?: string | undefined;
342
341
  page?: number | undefined;
342
+ chainId?: string | undefined;
343
343
  action?: string | undefined;
344
344
  mainProtocolId?: string | undefined;
345
345
  order?: undefined;
@@ -385,9 +385,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
385
385
  symbol: string;
386
386
  name: string | null;
387
387
  id: string;
388
+ icon: string;
388
389
  chainId: number;
389
390
  address: string;
390
- icon: string;
391
391
  decimals: number;
392
392
  displaySymbol: string;
393
393
  verified: boolean;
@@ -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
  verified: boolean;
410
410
  isTest: boolean;
@@ -452,8 +452,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
452
452
  status?: string | undefined;
453
453
  items?: number | undefined;
454
454
  tags?: string | undefined;
455
- chainId?: string | undefined;
456
455
  page?: number | undefined;
456
+ chainId?: string | undefined;
457
457
  action?: string | undefined;
458
458
  mainProtocolId?: string | undefined;
459
459
  order?: undefined;
@@ -483,8 +483,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
483
483
  status?: string | undefined;
484
484
  items?: number | undefined;
485
485
  tags?: string | undefined;
486
- chainId?: string | undefined;
487
486
  page?: number | undefined;
487
+ chainId?: string | undefined;
488
488
  action?: string | undefined;
489
489
  mainProtocolId?: string | undefined;
490
490
  order?: undefined;
@@ -512,13 +512,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
512
512
  subType?: number | undefined;
513
513
  type: number;
514
514
  params: string;
515
+ creator: string;
515
516
  chainId: number;
516
517
  startTimestamp: string;
517
518
  endTimestamp: string;
518
519
  computeChainId: number;
519
520
  campaignId: string;
520
521
  amount: string;
521
- creator: string;
522
522
  rewardTokenAddress: string;
523
523
  opportunityIdentifier: string;
524
524
  };
@@ -555,11 +555,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
555
555
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
556
556
  items?: number | undefined;
557
557
  subType?: number | undefined;
558
+ page?: number | undefined;
558
559
  chainId?: number | undefined;
559
560
  startTimestamp?: string | undefined;
560
561
  endTimestamp?: string | undefined;
561
562
  tokenAddress?: string | undefined;
562
- page?: number | undefined;
563
563
  mainParameter?: string | undefined;
564
564
  campaignId?: string | undefined;
565
565
  opportunityId?: string | undefined;
@@ -579,9 +579,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
579
579
  symbol: string;
580
580
  name: string | null;
581
581
  id: string;
582
+ icon: string;
582
583
  chainId: number;
583
584
  address: string;
584
- icon: string;
585
585
  decimals: number;
586
586
  verified: boolean;
587
587
  isTest: boolean;
@@ -626,11 +626,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
626
626
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
627
627
  items?: number | undefined;
628
628
  subType?: number | undefined;
629
+ page?: number | undefined;
629
630
  chainId?: number | undefined;
630
631
  startTimestamp?: string | undefined;
631
632
  endTimestamp?: string | undefined;
632
633
  tokenAddress?: string | undefined;
633
- page?: number | undefined;
634
634
  mainParameter?: string | undefined;
635
635
  campaignId?: string | undefined;
636
636
  opportunityId?: string | undefined;
@@ -785,9 +785,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
785
785
  symbol: string;
786
786
  name: string | null;
787
787
  id: string;
788
+ icon: string;
788
789
  chainId: number;
789
790
  address: string;
790
- icon: string;
791
791
  decimals: number;
792
792
  verified: boolean;
793
793
  isTest: boolean;
@@ -815,9 +815,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
815
815
  symbol: string;
816
816
  name: string | null;
817
817
  id: string;
818
+ icon: string;
818
819
  chainId: number;
819
820
  address: string;
820
- icon: string;
821
821
  decimals: number;
822
822
  verified: boolean;
823
823
  isTest: boolean;
@@ -850,9 +850,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
850
850
  symbol: string;
851
851
  name: string | null;
852
852
  id: string;
853
+ icon: string;
853
854
  chainId: number;
854
855
  address: string;
855
- icon: string;
856
856
  decimals: number;
857
857
  displaySymbol: string;
858
858
  verified: boolean;
@@ -1515,9 +1515,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1515
1515
  symbol: string;
1516
1516
  name: string | null;
1517
1517
  id: string;
1518
+ icon: string;
1518
1519
  chainId: number;
1519
1520
  address: string;
1520
- icon: string;
1521
1521
  decimals: number;
1522
1522
  displaySymbol: string;
1523
1523
  verified: boolean;
@@ -1536,9 +1536,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1536
1536
  symbol: string;
1537
1537
  name: string | null;
1538
1538
  id: string;
1539
+ icon: string;
1539
1540
  chainId: number;
1540
1541
  address: string;
1541
- icon: string;
1542
1542
  decimals: number;
1543
1543
  displaySymbol: string;
1544
1544
  verified: boolean;
@@ -1629,9 +1629,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1629
1629
  symbol: string;
1630
1630
  name: string | null;
1631
1631
  id: string;
1632
+ icon: string;
1632
1633
  chainId: number;
1633
1634
  address: string;
1634
- icon: string;
1635
1635
  decimals: number;
1636
1636
  displaySymbol: string;
1637
1637
  verified: boolean;
@@ -1650,9 +1650,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1650
1650
  symbol: string;
1651
1651
  name: string | null;
1652
1652
  id: string;
1653
+ icon: string;
1653
1654
  chainId: number;
1654
1655
  address: string;
1655
- icon: string;
1656
1656
  decimals: number;
1657
1657
  displaySymbol: string;
1658
1658
  verified: boolean;
@@ -124,9 +124,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
124
124
  symbol: string;
125
125
  name: string | null;
126
126
  id: string;
127
+ icon: string;
127
128
  chainId: number;
128
129
  address: string;
129
- icon: string;
130
130
  decimals: number;
131
131
  displaySymbol: string;
132
132
  verified: boolean;
@@ -141,9 +141,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
141
141
  symbol: string;
142
142
  name: string | null;
143
143
  id: string;
144
+ icon: string;
144
145
  chainId: number;
145
146
  address: string;
146
- icon: string;
147
147
  decimals: number;
148
148
  verified: boolean;
149
149
  isTest: boolean;
@@ -227,9 +227,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
227
227
  symbol: string;
228
228
  name: string | null;
229
229
  id: string;
230
+ icon: string;
230
231
  chainId: number;
231
232
  address: string;
232
- icon: string;
233
233
  decimals: number;
234
234
  displaySymbol: string;
235
235
  verified: boolean;
@@ -244,9 +244,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
244
244
  symbol: string;
245
245
  name: string | null;
246
246
  id: string;
247
+ icon: string;
247
248
  chainId: number;
248
249
  address: string;
249
- icon: string;
250
250
  decimals: number;
251
251
  verified: boolean;
252
252
  isTest: boolean;
@@ -287,9 +287,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
287
287
  symbol: string;
288
288
  name: string | null;
289
289
  id: string;
290
+ icon: string;
290
291
  chainId: number;
291
292
  address: string;
292
- icon: string;
293
293
  decimals: number;
294
294
  verified: boolean;
295
295
  isTest: boolean;
@@ -341,8 +341,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
341
341
  status?: string | undefined;
342
342
  items?: number | undefined;
343
343
  tags?: string | undefined;
344
- chainId?: string | undefined;
345
344
  page?: number | undefined;
345
+ chainId?: string | undefined;
346
346
  action?: string | undefined;
347
347
  mainProtocolId?: string | undefined;
348
348
  order?: undefined;
@@ -388,9 +388,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
388
388
  symbol: string;
389
389
  name: string | null;
390
390
  id: string;
391
+ icon: string;
391
392
  chainId: number;
392
393
  address: string;
393
- icon: string;
394
394
  decimals: number;
395
395
  displaySymbol: string;
396
396
  verified: boolean;
@@ -405,9 +405,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
405
405
  symbol: string;
406
406
  name: string | null;
407
407
  id: string;
408
+ icon: string;
408
409
  chainId: number;
409
410
  address: string;
410
- icon: string;
411
411
  decimals: number;
412
412
  verified: boolean;
413
413
  isTest: boolean;
@@ -455,8 +455,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
455
455
  status?: string | undefined;
456
456
  items?: number | undefined;
457
457
  tags?: string | undefined;
458
- chainId?: string | undefined;
459
458
  page?: number | undefined;
459
+ chainId?: string | undefined;
460
460
  action?: string | undefined;
461
461
  mainProtocolId?: string | undefined;
462
462
  order?: undefined;
@@ -486,8 +486,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
486
486
  status?: string | undefined;
487
487
  items?: number | undefined;
488
488
  tags?: string | undefined;
489
- chainId?: string | undefined;
490
489
  page?: number | undefined;
490
+ chainId?: string | undefined;
491
491
  action?: string | undefined;
492
492
  mainProtocolId?: string | undefined;
493
493
  order?: undefined;
@@ -515,13 +515,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
515
515
  subType?: number | undefined;
516
516
  type: number;
517
517
  params: string;
518
+ creator: string;
518
519
  chainId: number;
519
520
  startTimestamp: string;
520
521
  endTimestamp: string;
521
522
  computeChainId: number;
522
523
  campaignId: string;
523
524
  amount: string;
524
- creator: string;
525
525
  rewardTokenAddress: string;
526
526
  opportunityIdentifier: string;
527
527
  };
@@ -558,11 +558,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
558
558
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
559
559
  items?: number | undefined;
560
560
  subType?: number | undefined;
561
+ page?: number | undefined;
561
562
  chainId?: number | undefined;
562
563
  startTimestamp?: string | undefined;
563
564
  endTimestamp?: string | undefined;
564
565
  tokenAddress?: string | undefined;
565
- page?: number | undefined;
566
566
  mainParameter?: string | undefined;
567
567
  campaignId?: string | undefined;
568
568
  opportunityId?: string | undefined;
@@ -582,9 +582,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
582
582
  symbol: string;
583
583
  name: string | null;
584
584
  id: string;
585
+ icon: string;
585
586
  chainId: number;
586
587
  address: string;
587
- icon: string;
588
588
  decimals: number;
589
589
  verified: boolean;
590
590
  isTest: boolean;
@@ -629,11 +629,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
629
629
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
630
630
  items?: number | undefined;
631
631
  subType?: number | undefined;
632
+ page?: number | undefined;
632
633
  chainId?: number | undefined;
633
634
  startTimestamp?: string | undefined;
634
635
  endTimestamp?: string | undefined;
635
636
  tokenAddress?: string | undefined;
636
- page?: number | undefined;
637
637
  mainParameter?: string | undefined;
638
638
  campaignId?: string | undefined;
639
639
  opportunityId?: string | undefined;
@@ -788,9 +788,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
788
788
  symbol: string;
789
789
  name: string | null;
790
790
  id: string;
791
+ icon: string;
791
792
  chainId: number;
792
793
  address: string;
793
- icon: string;
794
794
  decimals: number;
795
795
  verified: boolean;
796
796
  isTest: boolean;
@@ -818,9 +818,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
818
818
  symbol: string;
819
819
  name: string | null;
820
820
  id: string;
821
+ icon: string;
821
822
  chainId: number;
822
823
  address: string;
823
- icon: string;
824
824
  decimals: number;
825
825
  verified: boolean;
826
826
  isTest: boolean;
@@ -853,9 +853,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
853
853
  symbol: string;
854
854
  name: string | null;
855
855
  id: string;
856
+ icon: string;
856
857
  chainId: number;
857
858
  address: string;
858
- icon: string;
859
859
  decimals: number;
860
860
  displaySymbol: string;
861
861
  verified: boolean;
@@ -1518,9 +1518,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1518
1518
  symbol: string;
1519
1519
  name: string | null;
1520
1520
  id: string;
1521
+ icon: string;
1521
1522
  chainId: number;
1522
1523
  address: string;
1523
- icon: string;
1524
1524
  decimals: number;
1525
1525
  displaySymbol: string;
1526
1526
  verified: boolean;
@@ -1539,9 +1539,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1539
1539
  symbol: string;
1540
1540
  name: string | null;
1541
1541
  id: string;
1542
+ icon: string;
1542
1543
  chainId: number;
1543
1544
  address: string;
1544
- icon: string;
1545
1545
  decimals: number;
1546
1546
  displaySymbol: string;
1547
1547
  verified: boolean;
@@ -1632,9 +1632,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1632
1632
  symbol: string;
1633
1633
  name: string | null;
1634
1634
  id: string;
1635
+ icon: string;
1635
1636
  chainId: number;
1636
1637
  address: string;
1637
- icon: string;
1638
1638
  decimals: number;
1639
1639
  displaySymbol: string;
1640
1640
  verified: boolean;
@@ -1653,9 +1653,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1653
1653
  symbol: string;
1654
1654
  name: string | null;
1655
1655
  id: string;
1656
+ icon: string;
1656
1657
  chainId: number;
1657
1658
  address: string;
1658
- icon: string;
1659
1659
  decimals: number;
1660
1660
  displaySymbol: string;
1661
1661
  verified: boolean;