@merkl/api 0.10.172 → 0.10.173

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) 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/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/TempestVaultProcessor.d.ts +1 -1
  8. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TempestVaultProcessor.js +5 -3
  9. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +1 -0
  10. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +3 -1
  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/modules/v4/user/user.controller.js +1 -0
  25. package/dist/src/routes/v3/blacklist.d.ts +21 -21
  26. package/dist/src/routes/v3/campaigns.d.ts +21 -21
  27. package/dist/src/routes/v3/campaignsInfo.d.ts +21 -21
  28. package/dist/src/routes/v3/multiChainPositions.d.ts +21 -21
  29. package/dist/src/routes/v3/opportunity.d.ts +22 -22
  30. package/dist/src/routes/v3/positions.d.ts +21 -21
  31. package/dist/src/routes/v3/rewards.d.ts +21 -21
  32. package/dist/src/routes/v3/updates.d.ts +21 -21
  33. package/dist/src/routes/v3/userRewards.d.ts +21 -21
  34. package/dist/src/utils/decodeCalls.js +15 -3
  35. package/dist/src/utils/encodeCalls.js +31 -11
  36. package/dist/src/utils/generateCardName.js +3 -0
  37. package/dist/tsconfig.package.tsbuildinfo +1 -1
  38. 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;
@@ -122,9 +122,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
122
122
  symbol: string;
123
123
  name: string | null;
124
124
  id: string;
125
+ icon: string;
125
126
  chainId: number;
126
127
  address: string;
127
- icon: string;
128
128
  decimals: number;
129
129
  displaySymbol: string;
130
130
  verified: boolean;
@@ -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
  verified: boolean;
147
147
  isTest: boolean;
@@ -225,9 +225,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
225
225
  symbol: string;
226
226
  name: string | null;
227
227
  id: string;
228
+ icon: string;
228
229
  chainId: number;
229
230
  address: string;
230
- icon: string;
231
231
  decimals: number;
232
232
  displaySymbol: string;
233
233
  verified: 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
  verified: boolean;
250
250
  isTest: boolean;
@@ -285,9 +285,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
285
285
  symbol: string;
286
286
  name: string | null;
287
287
  id: string;
288
+ icon: string;
288
289
  chainId: number;
289
290
  address: string;
290
- icon: string;
291
291
  decimals: number;
292
292
  verified: boolean;
293
293
  isTest: boolean;
@@ -339,8 +339,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
339
339
  status?: string | undefined;
340
340
  items?: number | undefined;
341
341
  tags?: string | undefined;
342
- chainId?: string | undefined;
343
342
  page?: number | undefined;
343
+ chainId?: string | undefined;
344
344
  action?: string | undefined;
345
345
  mainProtocolId?: string | undefined;
346
346
  order?: undefined;
@@ -386,9 +386,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
386
386
  symbol: string;
387
387
  name: string | null;
388
388
  id: string;
389
+ icon: string;
389
390
  chainId: number;
390
391
  address: string;
391
- icon: string;
392
392
  decimals: number;
393
393
  displaySymbol: string;
394
394
  verified: boolean;
@@ -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
  verified: boolean;
411
411
  isTest: boolean;
@@ -453,8 +453,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
453
453
  status?: string | undefined;
454
454
  items?: number | undefined;
455
455
  tags?: string | undefined;
456
- chainId?: string | undefined;
457
456
  page?: number | undefined;
457
+ chainId?: string | undefined;
458
458
  action?: string | undefined;
459
459
  mainProtocolId?: string | undefined;
460
460
  order?: undefined;
@@ -484,8 +484,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
484
484
  status?: string | undefined;
485
485
  items?: number | undefined;
486
486
  tags?: string | undefined;
487
- chainId?: string | undefined;
488
487
  page?: number | undefined;
488
+ chainId?: string | undefined;
489
489
  action?: string | undefined;
490
490
  mainProtocolId?: string | undefined;
491
491
  order?: undefined;
@@ -513,13 +513,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
513
513
  subType?: number | undefined;
514
514
  type: number;
515
515
  params: string;
516
+ creator: string;
516
517
  chainId: number;
517
518
  startTimestamp: string;
518
519
  endTimestamp: string;
519
520
  computeChainId: number;
520
521
  campaignId: string;
521
522
  amount: string;
522
- creator: string;
523
523
  rewardTokenAddress: string;
524
524
  opportunityIdentifier: string;
525
525
  };
@@ -556,11 +556,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
556
556
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
557
557
  items?: number | undefined;
558
558
  subType?: number | undefined;
559
+ page?: number | undefined;
559
560
  chainId?: number | undefined;
560
561
  startTimestamp?: string | undefined;
561
562
  endTimestamp?: string | undefined;
562
563
  tokenAddress?: string | undefined;
563
- page?: number | undefined;
564
564
  mainParameter?: string | undefined;
565
565
  campaignId?: string | undefined;
566
566
  opportunityId?: string | undefined;
@@ -580,9 +580,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
580
580
  symbol: string;
581
581
  name: string | null;
582
582
  id: string;
583
+ icon: string;
583
584
  chainId: number;
584
585
  address: string;
585
- icon: string;
586
586
  decimals: number;
587
587
  verified: boolean;
588
588
  isTest: boolean;
@@ -627,11 +627,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
627
627
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
628
628
  items?: number | undefined;
629
629
  subType?: number | undefined;
630
+ page?: number | undefined;
630
631
  chainId?: number | undefined;
631
632
  startTimestamp?: string | undefined;
632
633
  endTimestamp?: string | undefined;
633
634
  tokenAddress?: string | undefined;
634
- page?: number | undefined;
635
635
  mainParameter?: string | undefined;
636
636
  campaignId?: string | undefined;
637
637
  opportunityId?: string | undefined;
@@ -786,9 +786,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
786
786
  symbol: string;
787
787
  name: string | null;
788
788
  id: string;
789
+ icon: string;
789
790
  chainId: number;
790
791
  address: string;
791
- icon: string;
792
792
  decimals: number;
793
793
  verified: boolean;
794
794
  isTest: boolean;
@@ -816,9 +816,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
816
816
  symbol: string;
817
817
  name: string | null;
818
818
  id: string;
819
+ icon: string;
819
820
  chainId: number;
820
821
  address: string;
821
- icon: string;
822
822
  decimals: number;
823
823
  verified: boolean;
824
824
  isTest: boolean;
@@ -851,9 +851,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
851
851
  symbol: string;
852
852
  name: string | null;
853
853
  id: string;
854
+ icon: string;
854
855
  chainId: number;
855
856
  address: string;
856
- icon: string;
857
857
  decimals: number;
858
858
  displaySymbol: string;
859
859
  verified: boolean;
@@ -1516,9 +1516,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1516
1516
  symbol: string;
1517
1517
  name: string | null;
1518
1518
  id: string;
1519
+ icon: string;
1519
1520
  chainId: number;
1520
1521
  address: string;
1521
- icon: string;
1522
1522
  decimals: number;
1523
1523
  displaySymbol: string;
1524
1524
  verified: boolean;
@@ -1537,9 +1537,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1537
1537
  symbol: string;
1538
1538
  name: string | null;
1539
1539
  id: string;
1540
+ icon: string;
1540
1541
  chainId: number;
1541
1542
  address: string;
1542
- icon: string;
1543
1543
  decimals: number;
1544
1544
  displaySymbol: string;
1545
1545
  verified: boolean;
@@ -1630,9 +1630,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1630
1630
  symbol: string;
1631
1631
  name: string | null;
1632
1632
  id: string;
1633
+ icon: string;
1633
1634
  chainId: number;
1634
1635
  address: string;
1635
- icon: string;
1636
1636
  decimals: number;
1637
1637
  displaySymbol: string;
1638
1638
  verified: boolean;
@@ -1651,9 +1651,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1651
1651
  symbol: string;
1652
1652
  name: string | null;
1653
1653
  id: string;
1654
+ icon: string;
1654
1655
  chainId: number;
1655
1656
  address: string;
1656
- icon: string;
1657
1657
  decimals: number;
1658
1658
  displaySymbol: string;
1659
1659
  verified: boolean;