@merkl/api 1.5.20 → 1.5.22

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 (110) hide show
  1. package/dist/src/eden/index.d.ts +6724 -6037
  2. package/dist/src/engine/nativeAPR/factory.d.ts +2 -0
  3. package/dist/src/engine/nativeAPR/factory.js.map +1 -0
  4. package/dist/src/engine/nativeAPR/implementations/clientEndpoint.d.ts +7 -0
  5. package/dist/src/engine/nativeAPR/implementations/clientEndpoint.js.map +1 -0
  6. package/dist/src/engine/nativeAPR/implementations/morphoSupplySingleToken.d.ts +6 -0
  7. package/dist/src/engine/nativeAPR/implementations/morphoSupplySingleToken.js.map +1 -0
  8. package/dist/src/errors/BadRequest.error.d.ts +1 -1
  9. package/dist/src/errors/BadRequest.error.js.map +1 -1
  10. package/dist/src/errors/Conflict.error.d.ts +1 -1
  11. package/dist/src/errors/Conflict.error.js.map +1 -1
  12. package/dist/src/errors/Forbidden.error.d.ts +4 -0
  13. package/dist/src/errors/Forbidden.error.js.map +1 -0
  14. package/dist/src/errors/InternalServerError.error.d.ts +4 -0
  15. package/dist/src/errors/InternalServerError.error.js.map +1 -0
  16. package/dist/src/errors/NotFound.error.d.ts +1 -1
  17. package/dist/src/errors/NotFound.error.js.map +1 -1
  18. package/dist/src/errors/ServiceUnavailable.error.d.ts +4 -0
  19. package/dist/src/errors/ServiceUnavailable.error.js.map +1 -0
  20. package/dist/src/index.d.ts +738 -107
  21. package/dist/src/index.js.map +1 -1
  22. package/dist/src/jobs/native-aprs.d.ts +1 -0
  23. package/dist/src/jobs/native-aprs.js.map +1 -0
  24. package/dist/src/libs/computeFee.d.ts +555 -555
  25. package/dist/src/modules/v4/apr/apr.controller.d.ts +115 -0
  26. package/dist/src/modules/v4/apr/apr.controller.js.map +1 -0
  27. package/dist/src/modules/v4/apr/apr.model.d.ts +84 -0
  28. package/dist/src/modules/v4/apr/apr.model.js.map +1 -1
  29. package/dist/src/modules/v4/apr/apr.repository.d.ts +4 -0
  30. package/dist/src/modules/v4/apr/apr.repository.js.map +1 -0
  31. package/dist/src/modules/v4/apr/apr.service.d.ts +15 -3
  32. package/dist/src/modules/v4/apr/apr.service.js.map +1 -1
  33. package/dist/src/modules/v4/boost/boost.service.js.map +1 -1
  34. package/dist/src/modules/v4/bucket/bucket.service.js.map +1 -1
  35. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +79 -0
  36. package/dist/src/modules/v4/campaign/campaign.controller.js.map +1 -1
  37. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +11 -2
  38. package/dist/src/modules/v4/campaign/campaign.repository.js.map +1 -1
  39. package/dist/src/modules/v4/campaign/campaign.service.d.ts +37 -1
  40. package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
  41. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +88 -0
  42. package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.d.ts +2 -2
  43. package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.js.map +1 -1
  44. package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.d.ts +2 -37
  45. package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.js.map +1 -1
  46. package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +2 -37
  47. package/dist/src/modules/v4/campaignBatch/campaignBatch.service.js.map +1 -1
  48. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.service.js.map +1 -1
  49. package/dist/src/modules/v4/carousel/carousel.controller.d.ts +4 -0
  50. package/dist/src/modules/v4/carousel/carousel.repository.d.ts +6 -0
  51. package/dist/src/modules/v4/carousel/carousel.service.d.ts +6 -0
  52. package/dist/src/modules/v4/chain/chain.service.js.map +1 -1
  53. package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +6 -1
  54. package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +1 -1
  55. package/dist/src/modules/v4/config/config.controller.d.ts +29 -0
  56. package/dist/src/modules/v4/config/config.controller.js.map +1 -1
  57. package/dist/src/modules/v4/config/config.model.d.ts +25 -0
  58. package/dist/src/modules/v4/config/config.model.js.map +1 -0
  59. package/dist/src/modules/v4/config/config.service.d.ts +243 -0
  60. package/dist/src/modules/v4/config/config.service.js.map +1 -0
  61. package/dist/src/modules/v4/creator/creator.controller.d.ts +26 -0
  62. package/dist/src/modules/v4/creator/creator.model.d.ts +29 -0
  63. package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -0
  64. package/dist/src/modules/v4/creator/creator.service.d.ts +1 -0
  65. package/dist/src/modules/v4/creator/creator.service.js.map +1 -1
  66. package/dist/src/modules/v4/enso/enso.service.js.map +1 -1
  67. package/dist/src/modules/v4/interaction/interaction.service.js.map +1 -1
  68. package/dist/src/modules/v4/kyberzap/kyberzap.service.js.map +1 -1
  69. package/dist/src/modules/v4/machineConfig/machineConfig.service.js.map +1 -1
  70. package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +1 -1
  71. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +210 -0
  72. package/dist/src/modules/v4/opportunity/opportunity.controller.js.map +1 -1
  73. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +30 -0
  74. package/dist/src/modules/v4/opportunity/opportunity.formatter.js.map +1 -1
  75. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +66 -3
  76. package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
  77. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +180 -2
  78. package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
  79. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +172 -1
  80. package/dist/src/modules/v4/opportunity/opportunity.service.js.map +1 -1
  81. package/dist/src/modules/v4/payload/payload.controller.d.ts +87 -0
  82. package/dist/src/modules/v4/payload/payload.service.d.ts +116 -0
  83. package/dist/src/modules/v4/payload/payload.service.js.map +1 -1
  84. package/dist/src/modules/v4/priceSource/priceSource.service.js.map +1 -1
  85. package/dist/src/modules/v4/program/program.repository.d.ts +4 -0
  86. package/dist/src/modules/v4/programPayload/programPayload.service.js.map +1 -1
  87. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -0
  88. package/dist/src/modules/v4/referral/referral.service.js.map +1 -1
  89. package/dist/src/modules/v4/reward/reward.repository.d.ts +4 -2
  90. package/dist/src/modules/v4/reward/reward.service.d.ts +41 -0
  91. package/dist/src/modules/v4/reward/reward.service.js.map +1 -1
  92. package/dist/src/modules/v4/router.d.ts +743 -109
  93. package/dist/src/modules/v4/router.js.map +1 -1
  94. package/dist/src/modules/v4/token/token.repository.d.ts +3 -3
  95. package/dist/src/modules/v4/token/token.service.d.ts +2 -3
  96. package/dist/src/modules/v4/token/token.service.js.map +1 -1
  97. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +58 -0
  98. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +29 -0
  99. package/dist/src/modules/v4/user/user.controller.d.ts +31 -0
  100. package/dist/src/modules/v4/user/user.repository.d.ts +1 -1
  101. package/dist/src/modules/v4/user/user.service.d.ts +1 -1
  102. package/dist/src/modules/v4/user/user.service.js.map +1 -1
  103. package/dist/src/plugins/errorHandler.d.ts +11 -2
  104. package/dist/src/plugins/errorHandler.js.map +1 -1
  105. package/dist/src/scripts/exportOpportunities.js.map +1 -1
  106. package/dist/src/scripts/importOpportunities.js.map +1 -1
  107. package/dist/src/utils/errorHandler.d.ts +6 -0
  108. package/dist/src/utils/errorHandler.js.map +1 -0
  109. package/dist/src/utils/parseDistributionType.d.ts +165 -165
  110. package/package.json +1 -1
@@ -12,7 +12,10 @@ declare const app: Elysia<"", {
12
12
  readonly HttpError: import("./errors/HttpError").HttpError;
13
13
  readonly BadRequestError: import("./errors/BadRequest.error").BadRequestError;
14
14
  readonly ConflictError: import("./errors/Conflict.error").ConflictError;
15
+ readonly ForbiddenError: import("./errors/Forbidden.error").ForbiddenError;
16
+ readonly InternalServerError: import("./errors/InternalServerError.error").InternalServerError;
15
17
  readonly NotFoundError: import("./errors/NotFound.error").NotFoundError;
18
+ readonly ServiceUnavailableError: import("./errors/ServiceUnavailable.error").ServiceUnavailableError;
16
19
  readonly UnauthorizedError: import("./errors/Unauthorized.error").UnauthorizedError;
17
20
  } & {
18
21
  readonly InvalidParameter: import("./utils/error").InvalidParameter;
@@ -291,9 +294,93 @@ declare const app: Elysia<"", {
291
294
  };
292
295
  };
293
296
  };
294
- };
295
- } & {
296
- v4: {
297
+ } & {
298
+ apr: {
299
+ native: {
300
+ test: {
301
+ ":builderKey": {
302
+ get: {
303
+ body: unknown;
304
+ params: {
305
+ builderKey: string;
306
+ };
307
+ query: unknown;
308
+ headers: {
309
+ authorization: string;
310
+ };
311
+ response: {
312
+ 200: {
313
+ success: boolean;
314
+ records: {
315
+ title: string;
316
+ opportunityId: string;
317
+ timestamp: number;
318
+ value: number;
319
+ description?: string | undefined;
320
+ amount?: bigint | undefined;
321
+ rewardTokenId?: string | undefined;
322
+ }[];
323
+ recordsCreated?: number | undefined;
324
+ recordsFailed?: number | undefined;
325
+ error?: string | undefined;
326
+ };
327
+ 422: {
328
+ type: "validation";
329
+ on: string;
330
+ summary?: string | undefined;
331
+ message?: string | undefined;
332
+ found?: unknown;
333
+ property?: string | undefined;
334
+ expected?: string | undefined;
335
+ };
336
+ };
337
+ };
338
+ };
339
+ };
340
+ };
341
+ } & {
342
+ native: {
343
+ ":builderKey": {
344
+ get: {
345
+ body: unknown;
346
+ params: {
347
+ builderKey: string;
348
+ };
349
+ query: unknown;
350
+ headers: {
351
+ authorization: string;
352
+ };
353
+ response: {
354
+ 200: {
355
+ success: boolean;
356
+ records: {
357
+ title: string;
358
+ opportunityId: string;
359
+ timestamp: number;
360
+ value: number;
361
+ description?: string | undefined;
362
+ amount?: bigint | undefined;
363
+ rewardTokenId?: string | undefined;
364
+ }[];
365
+ recordsCreated?: number | undefined;
366
+ recordsFailed?: number | undefined;
367
+ error?: string | undefined;
368
+ };
369
+ 422: {
370
+ type: "validation";
371
+ on: string;
372
+ summary?: string | undefined;
373
+ message?: string | undefined;
374
+ found?: unknown;
375
+ property?: string | undefined;
376
+ expected?: string | undefined;
377
+ };
378
+ };
379
+ };
380
+ };
381
+ };
382
+ };
383
+ } & {
297
384
  auth: {
298
385
  login: {
299
386
  post: {
@@ -341,9 +428,7 @@ declare const app: Elysia<"", {
341
428
  };
342
429
  };
343
430
  };
344
- };
345
- } & {
346
- v4: {
431
+ } & {
347
432
  blacklists: {
348
433
  get: {
349
434
  body: unknown;
@@ -465,9 +550,7 @@ declare const app: Elysia<"", {
465
550
  };
466
551
  };
467
552
  };
468
- };
469
- } & {
470
- v4: {
553
+ } & {
471
554
  boosts: {
472
555
  euler: {
473
556
  post: {
@@ -551,9 +634,7 @@ declare const app: Elysia<"", {
551
634
  };
552
635
  };
553
636
  };
554
- };
555
- } & {
556
- v4: {
637
+ } & {
557
638
  "campaign-batch": {
558
639
  post: {
559
640
  body: {
@@ -624,7 +705,7 @@ declare const app: Elysia<"", {
624
705
  query: unknown;
625
706
  headers: unknown;
626
707
  response: {
627
- 200: ({
708
+ 200: {
628
709
  TemplateCampaigns: {
629
710
  campaigns: {
630
711
  id: string;
@@ -658,7 +739,7 @@ declare const app: Elysia<"", {
658
739
  slug: string | null;
659
740
  groupId: string;
660
741
  creatorId: string;
661
- }) | null;
742
+ };
662
743
  422: {
663
744
  type: "validation";
664
745
  on: string;
@@ -883,9 +964,7 @@ declare const app: Elysia<"", {
883
964
  };
884
965
  };
885
966
  };
886
- };
887
- } & {
888
- v4: {
967
+ } & {
889
968
  campaigns: {
890
969
  engine: {
891
970
  post: {
@@ -973,6 +1052,7 @@ declare const app: Elysia<"", {
973
1052
  slug: string | null;
974
1053
  }[];
975
1054
  id: string;
1055
+ nativeApr: number | undefined;
976
1056
  depositUrl: string | undefined;
977
1057
  explorerAddress: string | undefined;
978
1058
  lastCampaignCreatedAt: number;
@@ -1117,6 +1197,7 @@ declare const app: Elysia<"", {
1117
1197
  tags?: string[] | undefined;
1118
1198
  chainId: number;
1119
1199
  apr?: number | undefined;
1200
+ nativeApr?: number | undefined;
1120
1201
  dailyRewards?: number | undefined;
1121
1202
  tvl?: number | undefined;
1122
1203
  };
@@ -1381,6 +1462,7 @@ declare const app: Elysia<"", {
1381
1462
  action: string;
1382
1463
  tvl: number;
1383
1464
  apr: number;
1465
+ nativeApr?: number | undefined;
1384
1466
  maxApr: number | null;
1385
1467
  dailyRewards: number;
1386
1468
  depositUrl?: string | undefined;
@@ -1428,6 +1510,30 @@ declare const app: Elysia<"", {
1428
1510
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
1429
1511
  }[];
1430
1512
  } | undefined;
1513
+ nativeAprRecord?: {
1514
+ title: string;
1515
+ description?: string | undefined;
1516
+ value: number;
1517
+ timestamp: string | bigint;
1518
+ amount?: bigint | undefined;
1519
+ rewardToken?: {
1520
+ id: string;
1521
+ name: string | null;
1522
+ chainId: number;
1523
+ address: string;
1524
+ decimals: number;
1525
+ icon: string;
1526
+ verified: boolean;
1527
+ isNative: boolean;
1528
+ isTest: boolean;
1529
+ price?: number | null | undefined;
1530
+ updatedAt?: number | null | undefined;
1531
+ priceSource?: string | null | undefined;
1532
+ symbol: string;
1533
+ type: "POINT" | "PRETGE" | "TOKEN";
1534
+ displaySymbol?: string | undefined;
1535
+ } | undefined;
1536
+ } | undefined;
1431
1537
  tvlRecord?: {
1432
1538
  total: number;
1433
1539
  timestamp: string | bigint;
@@ -1501,6 +1607,7 @@ declare const app: Elysia<"", {
1501
1607
  action: string;
1502
1608
  tvl: number;
1503
1609
  apr: number;
1610
+ nativeApr?: number | undefined;
1504
1611
  maxApr: number | null;
1505
1612
  dailyRewards: number;
1506
1613
  depositUrl?: string | undefined;
@@ -1548,6 +1655,30 @@ declare const app: Elysia<"", {
1548
1655
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
1549
1656
  }[];
1550
1657
  } | undefined;
1658
+ nativeAprRecord?: {
1659
+ title: string;
1660
+ description?: string | undefined;
1661
+ value: number;
1662
+ timestamp: string | bigint;
1663
+ amount?: bigint | undefined;
1664
+ rewardToken?: {
1665
+ id: string;
1666
+ name: string | null;
1667
+ chainId: number;
1668
+ address: string;
1669
+ decimals: number;
1670
+ icon: string;
1671
+ verified: boolean;
1672
+ isNative: boolean;
1673
+ isTest: boolean;
1674
+ price?: number | null | undefined;
1675
+ updatedAt?: number | null | undefined;
1676
+ priceSource?: string | null | undefined;
1677
+ symbol: string;
1678
+ type: "POINT" | "PRETGE" | "TOKEN";
1679
+ displaySymbol?: string | undefined;
1680
+ } | undefined;
1681
+ } | undefined;
1551
1682
  tvlRecord?: {
1552
1683
  total: number;
1553
1684
  timestamp: string | bigint;
@@ -1621,6 +1752,7 @@ declare const app: Elysia<"", {
1621
1752
  action: string;
1622
1753
  tvl: number;
1623
1754
  apr: number;
1755
+ nativeApr?: number | undefined;
1624
1756
  maxApr: number | null;
1625
1757
  dailyRewards: number;
1626
1758
  depositUrl?: string | undefined;
@@ -1668,6 +1800,30 @@ declare const app: Elysia<"", {
1668
1800
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
1669
1801
  }[];
1670
1802
  } | undefined;
1803
+ nativeAprRecord?: {
1804
+ title: string;
1805
+ description?: string | undefined;
1806
+ value: number;
1807
+ timestamp: string | bigint;
1808
+ amount?: bigint | undefined;
1809
+ rewardToken?: {
1810
+ id: string;
1811
+ name: string | null;
1812
+ chainId: number;
1813
+ address: string;
1814
+ decimals: number;
1815
+ icon: string;
1816
+ verified: boolean;
1817
+ isNative: boolean;
1818
+ isTest: boolean;
1819
+ price?: number | null | undefined;
1820
+ updatedAt?: number | null | undefined;
1821
+ priceSource?: string | null | undefined;
1822
+ symbol: string;
1823
+ type: "POINT" | "PRETGE" | "TOKEN";
1824
+ displaySymbol?: string | undefined;
1825
+ } | undefined;
1826
+ } | undefined;
1671
1827
  tvlRecord?: {
1672
1828
  total: number;
1673
1829
  timestamp: string | bigint;
@@ -2042,6 +2198,7 @@ declare const app: Elysia<"", {
2042
2198
  tags?: string[] | undefined;
2043
2199
  chainId: number;
2044
2200
  apr?: number | undefined;
2201
+ nativeApr?: number | undefined;
2045
2202
  dailyRewards?: number | undefined;
2046
2203
  tvl?: number | undefined;
2047
2204
  };
@@ -2541,6 +2698,7 @@ declare const app: Elysia<"", {
2541
2698
  slug: string | null;
2542
2699
  }[];
2543
2700
  id: string;
2701
+ nativeApr: number | undefined;
2544
2702
  depositUrl: string | undefined;
2545
2703
  explorerAddress: string | undefined;
2546
2704
  lastCampaignCreatedAt: number;
@@ -2696,9 +2854,7 @@ declare const app: Elysia<"", {
2696
2854
  };
2697
2855
  };
2698
2856
  };
2699
- };
2700
- } & {
2701
- v4: {
2857
+ } & {
2702
2858
  "campaign-status": {
2703
2859
  engine: {
2704
2860
  ":campaignId": {
@@ -3049,9 +3205,7 @@ declare const app: Elysia<"", {
3049
3205
  };
3050
3206
  };
3051
3207
  };
3052
- };
3053
- } & {
3054
- v4: {
3208
+ } & {
3055
3209
  campaigns: {
3056
3210
  "dry-run": {
3057
3211
  create: {
@@ -3140,6 +3294,7 @@ declare const app: Elysia<"", {
3140
3294
  slug: string | null;
3141
3295
  }[];
3142
3296
  id: string;
3297
+ nativeApr: number | undefined;
3143
3298
  depositUrl: string | undefined;
3144
3299
  explorerAddress: string | undefined;
3145
3300
  lastCampaignCreatedAt: number;
@@ -3860,6 +4015,34 @@ declare const app: Elysia<"", {
3860
4015
  opportunityBannerLight: string | null;
3861
4016
  opportunityBannerDark: string | null;
3862
4017
  } | null;
4018
+ NativeAprRecords: ({
4019
+ RewardToken: {
4020
+ id: string;
4021
+ name: string | null;
4022
+ chainId: number;
4023
+ address: string;
4024
+ decimals: number;
4025
+ symbol: string;
4026
+ displaySymbol: string;
4027
+ icon: string;
4028
+ verified: boolean;
4029
+ isTest: boolean;
4030
+ type: import("@package/databases").TokenType;
4031
+ isNative: boolean;
4032
+ price: number | null;
4033
+ updatedAt: number | null;
4034
+ priceSource: string | null;
4035
+ } | null;
4036
+ } & {
4037
+ id: string;
4038
+ title: string;
4039
+ description: string | null;
4040
+ timestamp: bigint;
4041
+ value: number;
4042
+ amount: bigint | null;
4043
+ rewardTokenId: string | null;
4044
+ opportunityId: string;
4045
+ })[];
3863
4046
  Protocols: {
3864
4047
  id: string;
3865
4048
  tags: string[];
@@ -3915,6 +4098,7 @@ declare const app: Elysia<"", {
3915
4098
  mainProtocolId: string | null;
3916
4099
  tvl: number;
3917
4100
  apr: number;
4101
+ nativeApr: number | null;
3918
4102
  maxApr: number | null;
3919
4103
  dailyRewards: number;
3920
4104
  tags: string[];
@@ -4079,6 +4263,34 @@ declare const app: Elysia<"", {
4079
4263
  opportunityBannerLight: string | null;
4080
4264
  opportunityBannerDark: string | null;
4081
4265
  } | null;
4266
+ NativeAprRecords: ({
4267
+ RewardToken: {
4268
+ id: string;
4269
+ name: string | null;
4270
+ chainId: number;
4271
+ address: string;
4272
+ decimals: number;
4273
+ symbol: string;
4274
+ displaySymbol: string;
4275
+ icon: string;
4276
+ verified: boolean;
4277
+ isTest: boolean;
4278
+ type: import("@package/databases").TokenType;
4279
+ isNative: boolean;
4280
+ price: number | null;
4281
+ updatedAt: number | null;
4282
+ priceSource: string | null;
4283
+ } | null;
4284
+ } & {
4285
+ id: string;
4286
+ title: string;
4287
+ description: string | null;
4288
+ timestamp: bigint;
4289
+ value: number;
4290
+ amount: bigint | null;
4291
+ rewardTokenId: string | null;
4292
+ opportunityId: string;
4293
+ })[];
4082
4294
  Protocols: {
4083
4295
  id: string;
4084
4296
  tags: string[];
@@ -4134,6 +4346,7 @@ declare const app: Elysia<"", {
4134
4346
  mainProtocolId: string | null;
4135
4347
  tvl: number;
4136
4348
  apr: number;
4349
+ nativeApr: number | null;
4137
4350
  maxApr: number | null;
4138
4351
  dailyRewards: number;
4139
4352
  tags: string[];
@@ -4297,6 +4510,34 @@ declare const app: Elysia<"", {
4297
4510
  opportunityBannerLight: string | null;
4298
4511
  opportunityBannerDark: string | null;
4299
4512
  } | null;
4513
+ NativeAprRecords: ({
4514
+ RewardToken: {
4515
+ id: string;
4516
+ name: string | null;
4517
+ chainId: number;
4518
+ address: string;
4519
+ decimals: number;
4520
+ symbol: string;
4521
+ displaySymbol: string;
4522
+ icon: string;
4523
+ verified: boolean;
4524
+ isTest: boolean;
4525
+ type: import("@package/databases").TokenType;
4526
+ isNative: boolean;
4527
+ price: number | null;
4528
+ updatedAt: number | null;
4529
+ priceSource: string | null;
4530
+ } | null;
4531
+ } & {
4532
+ id: string;
4533
+ title: string;
4534
+ description: string | null;
4535
+ timestamp: bigint;
4536
+ value: number;
4537
+ amount: bigint | null;
4538
+ rewardTokenId: string | null;
4539
+ opportunityId: string;
4540
+ })[];
4300
4541
  Protocols: {
4301
4542
  id: string;
4302
4543
  tags: string[];
@@ -4352,6 +4593,7 @@ declare const app: Elysia<"", {
4352
4593
  mainProtocolId: string | null;
4353
4594
  tvl: number;
4354
4595
  apr: number;
4596
+ nativeApr: number | null;
4355
4597
  maxApr: number | null;
4356
4598
  dailyRewards: number;
4357
4599
  tags: string[];
@@ -4374,9 +4616,7 @@ declare const app: Elysia<"", {
4374
4616
  };
4375
4617
  };
4376
4618
  };
4377
- };
4378
- } & {
4379
- v4: {
4619
+ } & {
4380
4620
  "campaigns-to-process": {
4381
4621
  ":chainId": {
4382
4622
  get: {
@@ -4602,9 +4842,7 @@ declare const app: Elysia<"", {
4602
4842
  };
4603
4843
  };
4604
4844
  };
4605
- };
4606
- } & {
4607
- v4: {
4845
+ } & {
4608
4846
  carousels: {
4609
4847
  get: {
4610
4848
  body: unknown;
@@ -4925,6 +5163,7 @@ declare const app: Elysia<"", {
4925
5163
  mainProtocolId: string | null;
4926
5164
  tvl: number;
4927
5165
  apr: number;
5166
+ nativeApr: number | null;
4928
5167
  maxApr: number | null;
4929
5168
  dailyRewards: number;
4930
5169
  tags: string[];
@@ -5002,6 +5241,7 @@ declare const app: Elysia<"", {
5002
5241
  mainProtocolId: string | null;
5003
5242
  tvl: number;
5004
5243
  apr: number;
5244
+ nativeApr: number | null;
5005
5245
  maxApr: number | null;
5006
5246
  dailyRewards: number;
5007
5247
  tags: string[];
@@ -5314,6 +5554,7 @@ declare const app: Elysia<"", {
5314
5554
  mainProtocolId: string | null;
5315
5555
  tvl: number;
5316
5556
  apr: number;
5557
+ nativeApr: number | null;
5317
5558
  maxApr: number | null;
5318
5559
  dailyRewards: number;
5319
5560
  tags: string[];
@@ -5391,6 +5632,7 @@ declare const app: Elysia<"", {
5391
5632
  mainProtocolId: string | null;
5392
5633
  tvl: number;
5393
5634
  apr: number;
5635
+ nativeApr: number | null;
5394
5636
  maxApr: number | null;
5395
5637
  dailyRewards: number;
5396
5638
  tags: string[];
@@ -5591,9 +5833,7 @@ declare const app: Elysia<"", {
5591
5833
  };
5592
5834
  };
5593
5835
  };
5594
- };
5595
- } & {
5596
- v4: {
5836
+ } & {
5597
5837
  chains: {
5598
5838
  get: {
5599
5839
  body: unknown;
@@ -5770,9 +6010,7 @@ declare const app: Elysia<"", {
5770
6010
  };
5771
6011
  };
5772
6012
  };
5773
- };
5774
- } & {
5775
- v4: {
6013
+ } & {
5776
6014
  claims: {
5777
6015
  ":address": {
5778
6016
  get: {
@@ -5819,9 +6057,7 @@ declare const app: Elysia<"", {
5819
6057
  };
5820
6058
  };
5821
6059
  };
5822
- };
5823
- } & {
5824
- v4: {
6060
+ } & {
5825
6061
  clamm: {
5826
6062
  pools: {
5827
6063
  ":chainId": {
@@ -5880,9 +6116,7 @@ declare const app: Elysia<"", {
5880
6116
  };
5881
6117
  };
5882
6118
  };
5883
- };
5884
- } & {
5885
- v4: {
6119
+ } & {
5886
6120
  value: {
5887
6121
  campaign: {
5888
6122
  ":campaignId": {
@@ -6190,9 +6424,7 @@ declare const app: Elysia<"", {
6190
6424
  };
6191
6425
  };
6192
6426
  };
6193
- };
6194
- } & {
6195
- v4: {
6427
+ } & {
6196
6428
  config: {
6197
6429
  ":id": {
6198
6430
  get: {
@@ -6377,6 +6609,34 @@ declare const app: Elysia<"", {
6377
6609
  opportunityBannerLight: string | null;
6378
6610
  opportunityBannerDark: string | null;
6379
6611
  } | null;
6612
+ NativeAprRecords: ({
6613
+ RewardToken: {
6614
+ id: string;
6615
+ name: string | null;
6616
+ chainId: number;
6617
+ address: string;
6618
+ decimals: number;
6619
+ symbol: string;
6620
+ displaySymbol: string;
6621
+ icon: string;
6622
+ verified: boolean;
6623
+ isTest: boolean;
6624
+ type: import("@package/databases").TokenType;
6625
+ isNative: boolean;
6626
+ price: number | null;
6627
+ updatedAt: number | null;
6628
+ priceSource: string | null;
6629
+ } | null;
6630
+ } & {
6631
+ id: string;
6632
+ title: string;
6633
+ description: string | null;
6634
+ timestamp: bigint;
6635
+ value: number;
6636
+ amount: bigint | null;
6637
+ rewardTokenId: string | null;
6638
+ opportunityId: string;
6639
+ })[];
6380
6640
  Protocols: {
6381
6641
  id: string;
6382
6642
  tags: string[];
@@ -6432,6 +6692,7 @@ declare const app: Elysia<"", {
6432
6692
  mainProtocolId: string | null;
6433
6693
  tvl: number;
6434
6694
  apr: number;
6695
+ nativeApr: number | null;
6435
6696
  maxApr: number | null;
6436
6697
  dailyRewards: number;
6437
6698
  tags: string[];
@@ -6560,9 +6821,7 @@ declare const app: Elysia<"", {
6560
6821
  };
6561
6822
  };
6562
6823
  };
6563
- };
6564
- } & {
6565
- v4: {
6824
+ } & {
6566
6825
  creators: {
6567
6826
  post: {
6568
6827
  body: {
@@ -6872,6 +7131,7 @@ declare const app: Elysia<"", {
6872
7131
  action: string;
6873
7132
  tvl: number;
6874
7133
  apr: number;
7134
+ nativeApr?: number | undefined;
6875
7135
  maxApr: number | null;
6876
7136
  dailyRewards: number;
6877
7137
  depositUrl?: string | undefined;
@@ -6919,6 +7179,30 @@ declare const app: Elysia<"", {
6919
7179
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
6920
7180
  }[];
6921
7181
  } | undefined;
7182
+ nativeAprRecord?: {
7183
+ title: string;
7184
+ description?: string | undefined;
7185
+ value: number;
7186
+ timestamp: string | bigint;
7187
+ amount?: bigint | undefined;
7188
+ rewardToken?: {
7189
+ id: string;
7190
+ name: string | null;
7191
+ chainId: number;
7192
+ address: string;
7193
+ decimals: number;
7194
+ icon: string;
7195
+ verified: boolean;
7196
+ isNative: boolean;
7197
+ isTest: boolean;
7198
+ price?: number | null | undefined;
7199
+ updatedAt?: number | null | undefined;
7200
+ priceSource?: string | null | undefined;
7201
+ symbol: string;
7202
+ type: "POINT" | "PRETGE" | "TOKEN";
7203
+ displaySymbol?: string | undefined;
7204
+ } | undefined;
7205
+ } | undefined;
6922
7206
  tvlRecord?: {
6923
7207
  total: number;
6924
7208
  timestamp: string | bigint;
@@ -7028,6 +7312,7 @@ declare const app: Elysia<"", {
7028
7312
  mainProtocolId: string | null;
7029
7313
  tvl: number;
7030
7314
  apr: number;
7315
+ nativeApr: number | null;
7031
7316
  maxApr: number | null;
7032
7317
  dailyRewards: number;
7033
7318
  tags: string[];
@@ -7211,9 +7496,7 @@ declare const app: Elysia<"", {
7211
7496
  };
7212
7497
  };
7213
7498
  };
7214
- };
7215
- } & {
7216
- v4: {
7499
+ } & {
7217
7500
  euler: {
7218
7501
  vaults: {
7219
7502
  ":chainId": {
@@ -7298,9 +7581,7 @@ declare const app: Elysia<"", {
7298
7581
  };
7299
7582
  };
7300
7583
  };
7301
- };
7302
- } & {
7303
- v4: {
7584
+ } & {
7304
7585
  explorers: {
7305
7586
  post: {
7306
7587
  body: {
@@ -7332,9 +7613,7 @@ declare const app: Elysia<"", {
7332
7613
  };
7333
7614
  };
7334
7615
  };
7335
- };
7336
- } & {
7337
- v4: {
7616
+ } & {
7338
7617
  github: {
7339
7618
  get: {
7340
7619
  body: unknown;
@@ -7366,9 +7645,7 @@ declare const app: Elysia<"", {
7366
7645
  };
7367
7646
  };
7368
7647
  };
7369
- };
7370
- } & {
7371
- v4: {
7648
+ } & {
7372
7649
  interaction: {
7373
7650
  targets: {
7374
7651
  get: {
@@ -7465,9 +7742,7 @@ declare const app: Elysia<"", {
7465
7742
  };
7466
7743
  };
7467
7744
  };
7468
- };
7469
- } & {
7470
- v4: {
7745
+ } & {
7471
7746
  "machine-config": {
7472
7747
  ":campaignId": {
7473
7748
  get: {
@@ -7530,9 +7805,7 @@ declare const app: Elysia<"", {
7530
7805
  };
7531
7806
  };
7532
7807
  };
7533
- };
7534
- } & {
7535
- v4: {
7808
+ } & {
7536
7809
  roots: {
7537
7810
  get: {
7538
7811
  body: unknown;
@@ -7699,9 +7972,7 @@ declare const app: Elysia<"", {
7699
7972
  };
7700
7973
  };
7701
7974
  };
7702
- };
7703
- } & {
7704
- v4: {
7975
+ } & {
7705
7976
  ofac: {
7706
7977
  ":ip": {
7707
7978
  get: {
@@ -7731,9 +8002,7 @@ declare const app: Elysia<"", {
7731
8002
  };
7732
8003
  };
7733
8004
  };
7734
- };
7735
- } & {
7736
- v4: {
8005
+ } & {
7737
8006
  opportunities: {
7738
8007
  campaigns: {
7739
8008
  get: {
@@ -7922,6 +8191,31 @@ declare const app: Elysia<"", {
7922
8191
  liveCampaignsForCreator?: number | undefined;
7923
8192
  maxApr: number | null;
7924
8193
  name: string;
8194
+ nativeApr?: number | undefined;
8195
+ nativeAprRecord?: {
8196
+ title: string;
8197
+ description?: string | undefined;
8198
+ value: number;
8199
+ timestamp: string | bigint;
8200
+ amount?: bigint | undefined;
8201
+ rewardToken?: {
8202
+ id: string;
8203
+ name: string | null;
8204
+ chainId: number;
8205
+ address: string;
8206
+ decimals: number;
8207
+ icon: string;
8208
+ verified: boolean;
8209
+ isNative: boolean;
8210
+ isTest: boolean;
8211
+ price?: number | null | undefined;
8212
+ updatedAt?: number | null | undefined;
8213
+ priceSource?: string | null | undefined;
8214
+ symbol: string;
8215
+ type: "POINT" | "PRETGE" | "TOKEN";
8216
+ displaySymbol?: string | undefined;
8217
+ } | undefined;
8218
+ } | undefined;
7925
8219
  protocol?: {
7926
8220
  id: string;
7927
8221
  name: string;
@@ -8045,6 +8339,7 @@ declare const app: Elysia<"", {
8045
8339
  action: string;
8046
8340
  tvl: number;
8047
8341
  apr: number;
8342
+ nativeApr?: number | undefined;
8048
8343
  maxApr: number | null;
8049
8344
  dailyRewards: number;
8050
8345
  depositUrl?: string | undefined;
@@ -8092,6 +8387,30 @@ declare const app: Elysia<"", {
8092
8387
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
8093
8388
  }[];
8094
8389
  } | undefined;
8390
+ nativeAprRecord?: {
8391
+ title: string;
8392
+ description?: string | undefined;
8393
+ value: number;
8394
+ timestamp: string | bigint;
8395
+ amount?: bigint | undefined;
8396
+ rewardToken?: {
8397
+ id: string;
8398
+ name: string | null;
8399
+ chainId: number;
8400
+ address: string;
8401
+ decimals: number;
8402
+ icon: string;
8403
+ verified: boolean;
8404
+ isNative: boolean;
8405
+ isTest: boolean;
8406
+ price?: number | null | undefined;
8407
+ updatedAt?: number | null | undefined;
8408
+ priceSource?: string | null | undefined;
8409
+ symbol: string;
8410
+ type: "POINT" | "PRETGE" | "TOKEN";
8411
+ displaySymbol?: string | undefined;
8412
+ } | undefined;
8413
+ } | undefined;
8095
8414
  tvlRecord?: {
8096
8415
  total: number;
8097
8416
  timestamp: string | bigint;
@@ -8301,6 +8620,31 @@ declare const app: Elysia<"", {
8301
8620
  liveCampaignsForCreator?: number | undefined;
8302
8621
  maxApr: number | null;
8303
8622
  name: string;
8623
+ nativeApr?: number | undefined;
8624
+ nativeAprRecord?: {
8625
+ title: string;
8626
+ description?: string | undefined;
8627
+ value: number;
8628
+ timestamp: string | bigint;
8629
+ amount?: bigint | undefined;
8630
+ rewardToken?: {
8631
+ id: string;
8632
+ name: string | null;
8633
+ chainId: number;
8634
+ address: string;
8635
+ decimals: number;
8636
+ icon: string;
8637
+ verified: boolean;
8638
+ isNative: boolean;
8639
+ isTest: boolean;
8640
+ price?: number | null | undefined;
8641
+ updatedAt?: number | null | undefined;
8642
+ priceSource?: string | null | undefined;
8643
+ symbol: string;
8644
+ type: "POINT" | "PRETGE" | "TOKEN";
8645
+ displaySymbol?: string | undefined;
8646
+ } | undefined;
8647
+ } | undefined;
8304
8648
  protocol?: {
8305
8649
  id: string;
8306
8650
  name: string;
@@ -8562,6 +8906,31 @@ declare const app: Elysia<"", {
8562
8906
  liveCampaignsForCreator?: number | undefined;
8563
8907
  maxApr: number | null;
8564
8908
  name: string;
8909
+ nativeApr?: number | undefined;
8910
+ nativeAprRecord?: {
8911
+ title: string;
8912
+ description?: string | undefined;
8913
+ value: number;
8914
+ timestamp: string | bigint;
8915
+ amount?: bigint | undefined;
8916
+ rewardToken?: {
8917
+ id: string;
8918
+ name: string | null;
8919
+ chainId: number;
8920
+ address: string;
8921
+ decimals: number;
8922
+ icon: string;
8923
+ verified: boolean;
8924
+ isNative: boolean;
8925
+ isTest: boolean;
8926
+ price?: number | null | undefined;
8927
+ updatedAt?: number | null | undefined;
8928
+ priceSource?: string | null | undefined;
8929
+ symbol: string;
8930
+ type: "POINT" | "PRETGE" | "TOKEN";
8931
+ displaySymbol?: string | undefined;
8932
+ } | undefined;
8933
+ } | undefined;
8565
8934
  protocol?: {
8566
8935
  id: string;
8567
8936
  name: string;
@@ -8710,6 +9079,7 @@ declare const app: Elysia<"", {
8710
9079
  action: string;
8711
9080
  tvl: number;
8712
9081
  apr: number;
9082
+ nativeApr?: number | undefined;
8713
9083
  maxApr: number | null;
8714
9084
  dailyRewards: number;
8715
9085
  depositUrl?: string | undefined;
@@ -8757,6 +9127,30 @@ declare const app: Elysia<"", {
8757
9127
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
8758
9128
  }[];
8759
9129
  } | undefined;
9130
+ nativeAprRecord?: {
9131
+ title: string;
9132
+ description?: string | undefined;
9133
+ value: number;
9134
+ timestamp: string | bigint;
9135
+ amount?: bigint | undefined;
9136
+ rewardToken?: {
9137
+ id: string;
9138
+ name: string | null;
9139
+ chainId: number;
9140
+ address: string;
9141
+ decimals: number;
9142
+ icon: string;
9143
+ verified: boolean;
9144
+ isNative: boolean;
9145
+ isTest: boolean;
9146
+ price?: number | null | undefined;
9147
+ updatedAt?: number | null | undefined;
9148
+ priceSource?: string | null | undefined;
9149
+ symbol: string;
9150
+ type: "POINT" | "PRETGE" | "TOKEN";
9151
+ displaySymbol?: string | undefined;
9152
+ } | undefined;
9153
+ } | undefined;
8760
9154
  tvlRecord?: {
8761
9155
  total: number;
8762
9156
  timestamp: string | bigint;
@@ -8966,6 +9360,31 @@ declare const app: Elysia<"", {
8966
9360
  liveCampaignsForCreator?: number | undefined;
8967
9361
  maxApr: number | null;
8968
9362
  name: string;
9363
+ nativeApr?: number | undefined;
9364
+ nativeAprRecord?: {
9365
+ title: string;
9366
+ description?: string | undefined;
9367
+ value: number;
9368
+ timestamp: string | bigint;
9369
+ amount?: bigint | undefined;
9370
+ rewardToken?: {
9371
+ id: string;
9372
+ name: string | null;
9373
+ chainId: number;
9374
+ address: string;
9375
+ decimals: number;
9376
+ icon: string;
9377
+ verified: boolean;
9378
+ isNative: boolean;
9379
+ isTest: boolean;
9380
+ price?: number | null | undefined;
9381
+ updatedAt?: number | null | undefined;
9382
+ priceSource?: string | null | undefined;
9383
+ symbol: string;
9384
+ type: "POINT" | "PRETGE" | "TOKEN";
9385
+ displaySymbol?: string | undefined;
9386
+ } | undefined;
9387
+ } | undefined;
8969
9388
  protocol?: {
8970
9389
  id: string;
8971
9390
  name: string;
@@ -9567,6 +9986,34 @@ declare const app: Elysia<"", {
9567
9986
  opportunityBannerLight: string | null;
9568
9987
  opportunityBannerDark: string | null;
9569
9988
  } | null;
9989
+ NativeAprRecords: ({
9990
+ RewardToken: {
9991
+ id: string;
9992
+ name: string | null;
9993
+ chainId: number;
9994
+ address: string;
9995
+ decimals: number;
9996
+ symbol: string;
9997
+ displaySymbol: string;
9998
+ icon: string;
9999
+ verified: boolean;
10000
+ isTest: boolean;
10001
+ type: import("@package/databases").TokenType;
10002
+ isNative: boolean;
10003
+ price: number | null;
10004
+ updatedAt: number | null;
10005
+ priceSource: string | null;
10006
+ } | null;
10007
+ } & {
10008
+ id: string;
10009
+ title: string;
10010
+ description: string | null;
10011
+ timestamp: bigint;
10012
+ value: number;
10013
+ amount: bigint | null;
10014
+ rewardTokenId: string | null;
10015
+ opportunityId: string;
10016
+ })[];
9570
10017
  Protocols: {
9571
10018
  id: string;
9572
10019
  tags: string[];
@@ -9622,6 +10069,7 @@ declare const app: Elysia<"", {
9622
10069
  mainProtocolId: string | null;
9623
10070
  tvl: number;
9624
10071
  apr: number;
10072
+ nativeApr: number | null;
9625
10073
  maxApr: number | null;
9626
10074
  dailyRewards: number;
9627
10075
  tags: string[];
@@ -9670,6 +10118,7 @@ declare const app: Elysia<"", {
9670
10118
  mainProtocolId: string | null;
9671
10119
  tvl: number;
9672
10120
  apr: number;
10121
+ nativeApr: number | null;
9673
10122
  maxApr: number | null;
9674
10123
  dailyRewards: number;
9675
10124
  tags: string[];
@@ -9733,6 +10182,7 @@ declare const app: Elysia<"", {
9733
10182
  mainProtocolId: string | null;
9734
10183
  tvl: number;
9735
10184
  apr: number;
10185
+ nativeApr: number | null;
9736
10186
  maxApr: number | null;
9737
10187
  dailyRewards: number;
9738
10188
  tags: string[];
@@ -9894,6 +10344,34 @@ declare const app: Elysia<"", {
9894
10344
  opportunityBannerLight: string | null;
9895
10345
  opportunityBannerDark: string | null;
9896
10346
  } | null;
10347
+ NativeAprRecords: ({
10348
+ RewardToken: {
10349
+ id: string;
10350
+ name: string | null;
10351
+ chainId: number;
10352
+ address: string;
10353
+ decimals: number;
10354
+ symbol: string;
10355
+ displaySymbol: string;
10356
+ icon: string;
10357
+ verified: boolean;
10358
+ isTest: boolean;
10359
+ type: import("@package/databases").TokenType;
10360
+ isNative: boolean;
10361
+ price: number | null;
10362
+ updatedAt: number | null;
10363
+ priceSource: string | null;
10364
+ } | null;
10365
+ } & {
10366
+ id: string;
10367
+ title: string;
10368
+ description: string | null;
10369
+ timestamp: bigint;
10370
+ value: number;
10371
+ amount: bigint | null;
10372
+ rewardTokenId: string | null;
10373
+ opportunityId: string;
10374
+ })[];
9897
10375
  Protocols: {
9898
10376
  id: string;
9899
10377
  tags: string[];
@@ -9949,6 +10427,7 @@ declare const app: Elysia<"", {
9949
10427
  mainProtocolId: string | null;
9950
10428
  tvl: number;
9951
10429
  apr: number;
10430
+ nativeApr: number | null;
9952
10431
  maxApr: number | null;
9953
10432
  dailyRewards: number;
9954
10433
  tags: string[];
@@ -9970,9 +10449,7 @@ declare const app: Elysia<"", {
9970
10449
  };
9971
10450
  };
9972
10451
  };
9973
- };
9974
- } & {
9975
- v4: {
10452
+ } & {
9976
10453
  parse: {
9977
10454
  post: {
9978
10455
  body: {
@@ -10010,9 +10487,7 @@ declare const app: Elysia<"", {
10010
10487
  };
10011
10488
  };
10012
10489
  };
10013
- };
10014
- } & {
10015
- v4: {
10490
+ } & {
10016
10491
  payload: {
10017
10492
  decode: {
10018
10493
  get: {
@@ -10189,6 +10664,34 @@ declare const app: Elysia<"", {
10189
10664
  opportunityBannerLight: string | null;
10190
10665
  opportunityBannerDark: string | null;
10191
10666
  } | null;
10667
+ NativeAprRecords: ({
10668
+ RewardToken: {
10669
+ id: string;
10670
+ name: string | null;
10671
+ chainId: number;
10672
+ address: string;
10673
+ decimals: number;
10674
+ symbol: string;
10675
+ displaySymbol: string;
10676
+ icon: string;
10677
+ verified: boolean;
10678
+ isTest: boolean;
10679
+ type: import("@package/databases").TokenType;
10680
+ isNative: boolean;
10681
+ price: number | null;
10682
+ updatedAt: number | null;
10683
+ priceSource: string | null;
10684
+ } | null;
10685
+ } & {
10686
+ id: string;
10687
+ title: string;
10688
+ description: string | null;
10689
+ timestamp: bigint;
10690
+ value: number;
10691
+ amount: bigint | null;
10692
+ rewardTokenId: string | null;
10693
+ opportunityId: string;
10694
+ })[];
10192
10695
  Protocols: {
10193
10696
  id: string;
10194
10697
  tags: string[];
@@ -10244,6 +10747,7 @@ declare const app: Elysia<"", {
10244
10747
  mainProtocolId: string | null;
10245
10748
  tvl: number;
10246
10749
  apr: number;
10750
+ nativeApr: number | null;
10247
10751
  maxApr: number | null;
10248
10752
  dailyRewards: number;
10249
10753
  tags: string[];
@@ -10432,6 +10936,34 @@ declare const app: Elysia<"", {
10432
10936
  opportunityBannerLight: string | null;
10433
10937
  opportunityBannerDark: string | null;
10434
10938
  } | null;
10939
+ NativeAprRecords: ({
10940
+ RewardToken: {
10941
+ id: string;
10942
+ name: string | null;
10943
+ chainId: number;
10944
+ address: string;
10945
+ decimals: number;
10946
+ symbol: string;
10947
+ displaySymbol: string;
10948
+ icon: string;
10949
+ verified: boolean;
10950
+ isTest: boolean;
10951
+ type: import("@package/databases").TokenType;
10952
+ isNative: boolean;
10953
+ price: number | null;
10954
+ updatedAt: number | null;
10955
+ priceSource: string | null;
10956
+ } | null;
10957
+ } & {
10958
+ id: string;
10959
+ title: string;
10960
+ description: string | null;
10961
+ timestamp: bigint;
10962
+ value: number;
10963
+ amount: bigint | null;
10964
+ rewardTokenId: string | null;
10965
+ opportunityId: string;
10966
+ })[];
10435
10967
  Protocols: {
10436
10968
  id: string;
10437
10969
  tags: string[];
@@ -10487,6 +11019,7 @@ declare const app: Elysia<"", {
10487
11019
  mainProtocolId: string | null;
10488
11020
  tvl: number;
10489
11021
  apr: number;
11022
+ nativeApr: number | null;
10490
11023
  maxApr: number | null;
10491
11024
  dailyRewards: number;
10492
11025
  tags: string[];
@@ -10671,6 +11204,34 @@ declare const app: Elysia<"", {
10671
11204
  opportunityBannerLight: string | null;
10672
11205
  opportunityBannerDark: string | null;
10673
11206
  } | null;
11207
+ NativeAprRecords: ({
11208
+ RewardToken: {
11209
+ id: string;
11210
+ name: string | null;
11211
+ chainId: number;
11212
+ address: string;
11213
+ decimals: number;
11214
+ symbol: string;
11215
+ displaySymbol: string;
11216
+ icon: string;
11217
+ verified: boolean;
11218
+ isTest: boolean;
11219
+ type: import("@package/databases").TokenType;
11220
+ isNative: boolean;
11221
+ price: number | null;
11222
+ updatedAt: number | null;
11223
+ priceSource: string | null;
11224
+ } | null;
11225
+ } & {
11226
+ id: string;
11227
+ title: string;
11228
+ description: string | null;
11229
+ timestamp: bigint;
11230
+ value: number;
11231
+ amount: bigint | null;
11232
+ rewardTokenId: string | null;
11233
+ opportunityId: string;
11234
+ })[];
10674
11235
  Protocols: {
10675
11236
  id: string;
10676
11237
  tags: string[];
@@ -10726,6 +11287,7 @@ declare const app: Elysia<"", {
10726
11287
  mainProtocolId: string | null;
10727
11288
  tvl: number;
10728
11289
  apr: number;
11290
+ nativeApr: number | null;
10729
11291
  maxApr: number | null;
10730
11292
  dailyRewards: number;
10731
11293
  tags: string[];
@@ -10757,9 +11319,7 @@ declare const app: Elysia<"", {
10757
11319
  };
10758
11320
  };
10759
11321
  };
10760
- };
10761
- } & {
10762
- v4: {
11322
+ } & {
10763
11323
  prices: {
10764
11324
  sources: {
10765
11325
  ":addressOrSymbol": {
@@ -10995,9 +11555,7 @@ declare const app: Elysia<"", {
10995
11555
  };
10996
11556
  };
10997
11557
  };
10998
- };
10999
- } & {
11000
- v4: {
11558
+ } & {
11001
11559
  programs: {
11002
11560
  get: {
11003
11561
  body: unknown;
@@ -11236,9 +11794,7 @@ declare const app: Elysia<"", {
11236
11794
  };
11237
11795
  };
11238
11796
  };
11239
- };
11240
- } & {
11241
- v4: {
11797
+ } & {
11242
11798
  "program-payload": {
11243
11799
  get: {
11244
11800
  body: unknown;
@@ -33292,9 +33848,7 @@ declare const app: Elysia<"", {
33292
33848
  };
33293
33849
  };
33294
33850
  };
33295
- };
33296
- } & {
33297
- v4: {
33851
+ } & {
33298
33852
  protocols: {
33299
33853
  get: {
33300
33854
  body: unknown;
@@ -33628,9 +34182,7 @@ declare const app: Elysia<"", {
33628
34182
  };
33629
34183
  };
33630
34184
  };
33631
- };
33632
- } & {
33633
- v4: {
34185
+ } & {
33634
34186
  referral: {
33635
34187
  code: {
33636
34188
  get: {
@@ -33708,9 +34260,7 @@ declare const app: Elysia<"", {
33708
34260
  };
33709
34261
  };
33710
34262
  };
33711
- };
33712
- } & {
33713
- v4: {
34263
+ } & {
33714
34264
  rewards: {
33715
34265
  get: {
33716
34266
  body: unknown;
@@ -34626,9 +35176,7 @@ declare const app: Elysia<"", {
34626
35176
  };
34627
35177
  };
34628
35178
  };
34629
- };
34630
- } & {
34631
- v4: {
35179
+ } & {
34632
35180
  ton: {
34633
35181
  users: {
34634
35182
  ":tonAddress": {
@@ -34660,9 +35208,7 @@ declare const app: Elysia<"", {
34660
35208
  };
34661
35209
  };
34662
35210
  };
34663
- };
34664
- } & {
34665
- v4: {
35211
+ } & {
34666
35212
  turtle: {
34667
35213
  tac: {
34668
35214
  total: {
@@ -34717,9 +35263,7 @@ declare const app: Elysia<"", {
34717
35263
  };
34718
35264
  };
34719
35265
  };
34720
- };
34721
- } & {
34722
- v4: {
35266
+ } & {
34723
35267
  uniswap: {
34724
35268
  reward: {
34725
35269
  3: {
@@ -34815,6 +35359,7 @@ declare const app: Elysia<"", {
34815
35359
  mainProtocolId?: string | undefined;
34816
35360
  liveCampaignsForCreator?: number | undefined;
34817
35361
  distributedBycreator?: number | undefined;
35362
+ nativeApr?: number | undefined;
34818
35363
  protocol?: ({
34819
35364
  banner: string | null;
34820
35365
  description: string;
@@ -34843,6 +35388,33 @@ declare const app: Elysia<"", {
34843
35388
  cumulated: number;
34844
35389
  timestamp: bigint;
34845
35390
  } & {}) | undefined;
35391
+ nativeAprRecord?: ({
35392
+ timestamp: bigint;
35393
+ title: string;
35394
+ value: number;
35395
+ } & {
35396
+ rewardToken?: ({
35397
+ address: string;
35398
+ chainId: number;
35399
+ decimals: number;
35400
+ icon: string;
35401
+ id: string;
35402
+ isNative: boolean;
35403
+ isTest: boolean;
35404
+ name: string | null;
35405
+ symbol: string;
35406
+ type: import("@package/databases").TokenType;
35407
+ verified: boolean;
35408
+ } & {
35409
+ price?: number | null | undefined;
35410
+ updatedAt?: number | null | undefined;
35411
+ priceSource?: string | null | undefined;
35412
+ isTokenWrapper?: boolean | undefined;
35413
+ tokenWrapperAddress?: string | undefined;
35414
+ }) | undefined;
35415
+ description?: string | undefined;
35416
+ amount?: bigint | undefined;
35417
+ }) | undefined;
34846
35418
  tvlRecord?: ({
34847
35419
  breakdowns: ({
34848
35420
  identifier: string;
@@ -34997,6 +35569,7 @@ declare const app: Elysia<"", {
34997
35569
  explorerAddress?: string | undefined;
34998
35570
  mainProtocolId?: string | undefined;
34999
35571
  liveCampaignsForCreator?: number | undefined;
35572
+ nativeApr?: number | undefined;
35000
35573
  }) | undefined;
35001
35574
  dailyRewards?: number | undefined;
35002
35575
  apr?: number | undefined;
@@ -35115,6 +35688,7 @@ declare const app: Elysia<"", {
35115
35688
  mainProtocolId?: string | undefined;
35116
35689
  liveCampaignsForCreator?: number | undefined;
35117
35690
  distributedBycreator?: number | undefined;
35691
+ nativeApr?: number | undefined;
35118
35692
  protocol?: ({
35119
35693
  banner: string | null;
35120
35694
  description: string;
@@ -35143,6 +35717,33 @@ declare const app: Elysia<"", {
35143
35717
  cumulated: number;
35144
35718
  timestamp: bigint;
35145
35719
  } & {}) | undefined;
35720
+ nativeAprRecord?: ({
35721
+ timestamp: bigint;
35722
+ title: string;
35723
+ value: number;
35724
+ } & {
35725
+ rewardToken?: ({
35726
+ address: string;
35727
+ chainId: number;
35728
+ decimals: number;
35729
+ icon: string;
35730
+ id: string;
35731
+ isNative: boolean;
35732
+ isTest: boolean;
35733
+ name: string | null;
35734
+ symbol: string;
35735
+ type: import("@package/databases").TokenType;
35736
+ verified: boolean;
35737
+ } & {
35738
+ price?: number | null | undefined;
35739
+ updatedAt?: number | null | undefined;
35740
+ priceSource?: string | null | undefined;
35741
+ isTokenWrapper?: boolean | undefined;
35742
+ tokenWrapperAddress?: string | undefined;
35743
+ }) | undefined;
35744
+ description?: string | undefined;
35745
+ amount?: bigint | undefined;
35746
+ }) | undefined;
35146
35747
  tvlRecord?: ({
35147
35748
  breakdowns: ({
35148
35749
  identifier: string;
@@ -35297,6 +35898,7 @@ declare const app: Elysia<"", {
35297
35898
  explorerAddress?: string | undefined;
35298
35899
  mainProtocolId?: string | undefined;
35299
35900
  liveCampaignsForCreator?: number | undefined;
35901
+ nativeApr?: number | undefined;
35300
35902
  }) | undefined;
35301
35903
  dailyRewards?: number | undefined;
35302
35904
  apr?: number | undefined;
@@ -36234,9 +36836,7 @@ declare const app: Elysia<"", {
36234
36836
  };
36235
36837
  };
36236
36838
  };
36237
- };
36238
- } & {
36239
- v4: {
36839
+ } & {
36240
36840
  users: {
36241
36841
  ":address": {
36242
36842
  rewards: {
@@ -36537,6 +37137,7 @@ declare const app: Elysia<"", {
36537
37137
  mainProtocolId: string | null;
36538
37138
  tvl: number;
36539
37139
  apr: number;
37140
+ nativeApr: number | null;
36540
37141
  maxApr: number | null;
36541
37142
  dailyRewards: number;
36542
37143
  tags: string[];
@@ -36659,6 +37260,7 @@ declare const app: Elysia<"", {
36659
37260
  mainProtocolId: string | null;
36660
37261
  tvl: number;
36661
37262
  apr: number;
37263
+ nativeApr: number | null;
36662
37264
  maxApr: number | null;
36663
37265
  dailyRewards: number;
36664
37266
  tags: string[];
@@ -36728,6 +37330,7 @@ declare const app: Elysia<"", {
36728
37330
  mainProtocolId?: string | undefined;
36729
37331
  liveCampaignsForCreator?: number | undefined;
36730
37332
  distributedBycreator?: number | undefined;
37333
+ nativeApr?: number | undefined;
36731
37334
  protocol?: ({
36732
37335
  banner: string | null;
36733
37336
  description: string;
@@ -36756,6 +37359,33 @@ declare const app: Elysia<"", {
36756
37359
  cumulated: number;
36757
37360
  timestamp: bigint;
36758
37361
  } & {}) | undefined;
37362
+ nativeAprRecord?: ({
37363
+ timestamp: bigint;
37364
+ title: string;
37365
+ value: number;
37366
+ } & {
37367
+ rewardToken?: ({
37368
+ address: string;
37369
+ chainId: number;
37370
+ decimals: number;
37371
+ icon: string;
37372
+ id: string;
37373
+ isNative: boolean;
37374
+ isTest: boolean;
37375
+ name: string | null;
37376
+ symbol: string;
37377
+ type: import("@package/databases").TokenType;
37378
+ verified: boolean;
37379
+ } & {
37380
+ price?: number | null | undefined;
37381
+ updatedAt?: number | null | undefined;
37382
+ priceSource?: string | null | undefined;
37383
+ isTokenWrapper?: boolean | undefined;
37384
+ tokenWrapperAddress?: string | undefined;
37385
+ }) | undefined;
37386
+ description?: string | undefined;
37387
+ amount?: bigint | undefined;
37388
+ }) | undefined;
36759
37389
  tvlRecord?: ({
36760
37390
  breakdowns: ({
36761
37391
  identifier: string;
@@ -36910,6 +37540,7 @@ declare const app: Elysia<"", {
36910
37540
  explorerAddress?: string | undefined;
36911
37541
  mainProtocolId?: string | undefined;
36912
37542
  liveCampaignsForCreator?: number | undefined;
37543
+ nativeApr?: number | undefined;
36913
37544
  }) | undefined;
36914
37545
  dailyRewards?: number | undefined;
36915
37546
  apr?: number | undefined;