@merkl/api 1.3.61 → 1.3.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/src/eden/index.d.ts +413 -68
  2. package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.js.map +1 -1
  3. package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/ownerFinder.js.map +1 -1
  4. package/dist/src/engine/implementations/MultiLog/metadata.js.map +1 -1
  5. package/dist/src/engine/metadata/factory.js.map +1 -1
  6. package/dist/src/engine/tvl/factory.js.map +1 -1
  7. package/dist/src/index.d.ts +407 -67
  8. package/dist/src/jobs/pendings.js.map +1 -1
  9. package/dist/src/jobs/update-dynamic-data.js.map +1 -1
  10. package/dist/src/modules/v4/bucket/bucket.service.d.ts +1 -1
  11. package/dist/src/modules/v4/bucket/bucket.service.js.map +1 -1
  12. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +48 -1
  13. package/dist/src/modules/v4/campaign/campaign.model.d.ts +1 -0
  14. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +7 -1
  15. package/dist/src/modules/v4/campaign/campaign.repository.js.map +1 -1
  16. package/dist/src/modules/v4/campaign/campaign.service.d.ts +8 -0
  17. package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
  18. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +400 -187
  19. package/dist/src/modules/v4/campaign/campaign.test.controller.js.map +1 -1
  20. package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.d.ts +2 -0
  21. package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +2 -0
  22. package/dist/src/modules/v4/claims/claims.controller.d.ts +1 -0
  23. package/dist/src/modules/v4/claims/claims.service.d.ts +1 -0
  24. package/dist/src/modules/v4/clamm/clamm.controller.d.ts +16 -1
  25. package/dist/src/modules/v4/clamm/clamm.controller.js.map +1 -1
  26. package/dist/src/modules/v4/clamm/clamm.service.d.ts +1 -1
  27. package/dist/src/modules/v4/clamm/clamm.service.js.map +1 -1
  28. package/dist/src/modules/v4/creator/creator.controller.d.ts +2 -0
  29. package/dist/src/modules/v4/creator/creator.service.d.ts +2 -0
  30. package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +2 -0
  31. package/dist/src/modules/v4/dynamicData/dynamicData.service.js.map +1 -1
  32. package/dist/src/modules/v4/liquidity/implementations/AjnaPositionFetcher.d.ts +3 -0
  33. package/dist/src/modules/v4/liquidity/implementations/BadgerPositionFetcher.d.ts +3 -0
  34. package/dist/src/modules/v4/liquidity/implementations/ClammPositionFetcher.d.ts +3 -0
  35. package/dist/src/modules/v4/liquidity/implementations/DolomitePositionFetcher.d.ts +3 -0
  36. package/dist/src/modules/v4/liquidity/implementations/ERC20PositionFetcher.d.ts +3 -0
  37. package/dist/src/modules/v4/liquidity/implementations/EulerPositionFetcher.d.ts +3 -0
  38. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +29 -1
  39. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -0
  40. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +15 -0
  41. package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
  42. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +18 -4
  43. package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
  44. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +14 -1
  45. package/dist/src/modules/v4/opportunity/opportunity.service.js.map +1 -1
  46. package/dist/src/modules/v4/payload/payload.controller.d.ts +8 -0
  47. package/dist/src/modules/v4/payload/payload.service.d.ts +8 -0
  48. package/dist/src/modules/v4/priceSource/priceSource.service.js.map +1 -1
  49. package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +62 -61
  50. package/dist/src/modules/v4/programPayload/programPayload.repository.js.map +1 -1
  51. package/dist/src/modules/v4/programPayload/programPayload.service.d.ts +1 -0
  52. package/dist/src/modules/v4/reward/reward.model.d.ts +2 -0
  53. package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
  54. package/dist/src/modules/v4/reward/reward.service.d.ts +20 -0
  55. package/dist/src/modules/v4/router.d.ts +407 -67
  56. package/dist/src/modules/v4/token/token.controller.d.ts +9 -0
  57. package/dist/src/modules/v4/token/token.model.d.ts +2 -0
  58. package/dist/src/modules/v4/token/token.model.js.map +1 -1
  59. package/dist/src/modules/v4/token/token.repository.d.ts +8 -8
  60. package/dist/src/modules/v4/token/token.repository.js.map +1 -1
  61. package/dist/src/modules/v4/token/token.service.d.ts +15 -2
  62. package/dist/src/modules/v4/token/token.service.js.map +1 -1
  63. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +8 -0
  64. package/dist/src/modules/v4/uniswap/uniswap.controller.js.map +1 -1
  65. package/dist/src/modules/v4/uniswap/uniswap.model.d.ts +1 -12
  66. package/dist/src/modules/v4/uniswap/uniswap.model.js.map +1 -1
  67. package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -3
  68. package/dist/src/modules/v4/uniswap/uniswap.repository.js.map +1 -1
  69. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +7 -3
  70. package/dist/src/modules/v4/uniswap/uniswap.service.js.map +1 -1
  71. package/dist/src/modules/v4/user/user.controller.d.ts +7 -0
  72. package/dist/src/routes/v3/uniswapv4.js.map +1 -1
  73. package/dist/src/utils/getAPR.d.ts +29 -1
  74. package/dist/src/utils/parseDistributionType.d.ts +29 -1
  75. package/package.json +1 -1
  76. package/dist/src/modules/v4/clamm/clamm.model.d.ts +0 -78
  77. package/dist/src/modules/v4/clamm/clamm.model.js.map +0 -1
@@ -42,6 +42,7 @@ export declare class ProgramPayloadService {
42
42
  } & {
43
43
  price?: number | null | undefined;
44
44
  updatedAt?: number | null | undefined;
45
+ priceSource?: string | null | undefined;
45
46
  isTokenWrapper?: boolean | undefined;
46
47
  tokenWrapperAddress?: string | undefined;
47
48
  };
@@ -59,6 +59,7 @@ export declare const DailyRewardsBreakdownRecordResourceDto: import("@sinclair/t
59
59
  isTest: import("@sinclair/typebox").TBoolean;
60
60
  price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
61
61
  updatedAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
62
+ priceSource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
62
63
  symbol: import("@sinclair/typebox").TString;
63
64
  type: import("@sinclair/typebox").TEnum<{
64
65
  readonly TOKEN: "TOKEN";
@@ -98,6 +99,7 @@ export declare const DailyRewardsRecordResourceDto: import("@sinclair/typebox").
98
99
  isTest: import("@sinclair/typebox").TBoolean;
99
100
  price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
100
101
  updatedAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
102
+ priceSource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
101
103
  symbol: import("@sinclair/typebox").TString;
102
104
  type: import("@sinclair/typebox").TEnum<{
103
105
  readonly TOKEN: "TOKEN";
@@ -56,6 +56,7 @@ export declare abstract class RewardRepository {
56
56
  isNative: boolean;
57
57
  price: number | null;
58
58
  updatedAt: number | null;
59
+ priceSource: string | null;
59
60
  }[];
60
61
  } & {
61
62
  id: string;
@@ -128,6 +129,7 @@ export declare abstract class RewardRepository {
128
129
  isNative: boolean;
129
130
  price: number | null;
130
131
  updatedAt: number | null;
132
+ priceSource: string | null;
131
133
  };
132
134
  } & {
133
135
  id: string;
@@ -99,6 +99,7 @@ export declare abstract class RewardService {
99
99
  isNative: boolean;
100
100
  price: number | null;
101
101
  updatedAt: number | null;
102
+ priceSource: string | null;
102
103
  }[];
103
104
  } & {
104
105
  id: string;
@@ -147,6 +148,7 @@ export declare abstract class RewardService {
147
148
  isNative: boolean;
148
149
  price: number | null;
149
150
  updatedAt: number | null;
151
+ priceSource: string | null;
150
152
  };
151
153
  breakdowns: {
152
154
  reason: string;
@@ -202,6 +204,7 @@ export declare abstract class RewardService {
202
204
  isNative: boolean;
203
205
  price: number | null;
204
206
  updatedAt: number | null;
207
+ priceSource: string | null;
205
208
  }[];
206
209
  } & {
207
210
  id: string;
@@ -281,6 +284,7 @@ export declare abstract class RewardService {
281
284
  isNative: boolean;
282
285
  price: number | null;
283
286
  updatedAt: number | null;
287
+ priceSource: string | null;
284
288
  }[];
285
289
  } & {
286
290
  id: string;
@@ -353,6 +357,7 @@ export declare abstract class RewardService {
353
357
  isNative: boolean;
354
358
  price: number | null;
355
359
  updatedAt: number | null;
360
+ priceSource: string | null;
356
361
  };
357
362
  } & {
358
363
  id: string;
@@ -409,6 +414,7 @@ export declare abstract class RewardService {
409
414
  isNative: boolean;
410
415
  price: number | null;
411
416
  updatedAt: number | null;
417
+ priceSource: string | null;
412
418
  };
413
419
  breakdowns: {
414
420
  reason: string;
@@ -464,6 +470,7 @@ export declare abstract class RewardService {
464
470
  isNative: boolean;
465
471
  price: number | null;
466
472
  updatedAt: number | null;
473
+ priceSource: string | null;
467
474
  }[];
468
475
  } & {
469
476
  id: string;
@@ -512,6 +519,7 @@ export declare abstract class RewardService {
512
519
  isNative: boolean;
513
520
  price: number | null;
514
521
  updatedAt: number | null;
522
+ priceSource: string | null;
515
523
  };
516
524
  breakdowns: {
517
525
  reason: string;
@@ -567,6 +575,7 @@ export declare abstract class RewardService {
567
575
  isNative: boolean;
568
576
  price: number | null;
569
577
  updatedAt: number | null;
578
+ priceSource: string | null;
570
579
  }[];
571
580
  } & {
572
581
  id: string;
@@ -633,6 +642,7 @@ export declare abstract class RewardService {
633
642
  } & {
634
643
  price?: number | null | undefined;
635
644
  updatedAt?: number | null | undefined;
645
+ priceSource?: string | null | undefined;
636
646
  isTokenWrapper?: boolean | undefined;
637
647
  tokenWrapperAddress?: string | undefined;
638
648
  })[];
@@ -697,6 +707,7 @@ export declare abstract class RewardService {
697
707
  } & {
698
708
  price?: number | null | undefined;
699
709
  updatedAt?: number | null | undefined;
710
+ priceSource?: string | null | undefined;
700
711
  isTokenWrapper?: boolean | undefined;
701
712
  tokenWrapperAddress?: string | undefined;
702
713
  };
@@ -751,6 +762,7 @@ export declare abstract class RewardService {
751
762
  } & {
752
763
  price?: number | null | undefined;
753
764
  updatedAt?: number | null | undefined;
765
+ priceSource?: string | null | undefined;
754
766
  isTokenWrapper?: boolean | undefined;
755
767
  tokenWrapperAddress?: string | undefined;
756
768
  };
@@ -836,6 +848,7 @@ export declare abstract class RewardService {
836
848
  isNative: boolean;
837
849
  price: number | null;
838
850
  updatedAt: number | null;
851
+ priceSource: string | null;
839
852
  };
840
853
  breakdowns: {
841
854
  reason: string;
@@ -891,6 +904,7 @@ export declare abstract class RewardService {
891
904
  isNative: boolean;
892
905
  price: number | null;
893
906
  updatedAt: number | null;
907
+ priceSource: string | null;
894
908
  }[];
895
909
  } & {
896
910
  id: string;
@@ -939,6 +953,7 @@ export declare abstract class RewardService {
939
953
  isNative: boolean;
940
954
  price: number | null;
941
955
  updatedAt: number | null;
956
+ priceSource: string | null;
942
957
  };
943
958
  breakdowns: {
944
959
  reason: string;
@@ -994,6 +1009,7 @@ export declare abstract class RewardService {
994
1009
  isNative: boolean;
995
1010
  price: number | null;
996
1011
  updatedAt: number | null;
1012
+ priceSource: string | null;
997
1013
  }[];
998
1014
  } & {
999
1015
  id: string;
@@ -1091,6 +1107,7 @@ export declare abstract class RewardService {
1091
1107
  isNative: boolean;
1092
1108
  price: number | null;
1093
1109
  updatedAt: number | null;
1110
+ priceSource: string | null;
1094
1111
  }[];
1095
1112
  } & {
1096
1113
  id: string;
@@ -1163,6 +1180,7 @@ export declare abstract class RewardService {
1163
1180
  isNative: boolean;
1164
1181
  price: number | null;
1165
1182
  updatedAt: number | null;
1183
+ priceSource: string | null;
1166
1184
  };
1167
1185
  } & {
1168
1186
  id: string;
@@ -1201,6 +1219,7 @@ export declare abstract class RewardService {
1201
1219
  isNative: boolean;
1202
1220
  price: number | null;
1203
1221
  updatedAt: number | null;
1222
+ priceSource: string | null;
1204
1223
  };
1205
1224
  breakdowns: {
1206
1225
  reason: string;
@@ -1256,6 +1275,7 @@ export declare abstract class RewardService {
1256
1275
  isNative: boolean;
1257
1276
  price: number | null;
1258
1277
  updatedAt: number | null;
1278
+ priceSource: string | null;
1259
1279
  }[];
1260
1280
  } & {
1261
1281
  id: string;