@merkl/api 1.5.21 → 1.5.23

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 (78) hide show
  1. package/dist/src/eden/index.d.ts +6761 -6042
  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/index.d.ts +780 -112
  9. package/dist/src/index.js.map +1 -1
  10. package/dist/src/jobs/native-aprs.d.ts +1 -0
  11. package/dist/src/jobs/native-aprs.js.map +1 -0
  12. package/dist/src/modules/v4/apr/apr.controller.d.ts +115 -0
  13. package/dist/src/modules/v4/apr/apr.controller.js.map +1 -0
  14. package/dist/src/modules/v4/apr/apr.model.d.ts +84 -0
  15. package/dist/src/modules/v4/apr/apr.model.js.map +1 -1
  16. package/dist/src/modules/v4/apr/apr.repository.d.ts +4 -0
  17. package/dist/src/modules/v4/apr/apr.repository.js.map +1 -0
  18. package/dist/src/modules/v4/apr/apr.service.d.ts +15 -3
  19. package/dist/src/modules/v4/apr/apr.service.js.map +1 -1
  20. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +79 -0
  21. package/dist/src/modules/v4/campaign/campaign.convertor.d.ts +1 -0
  22. package/dist/src/modules/v4/campaign/campaign.convertor.js.map +1 -1
  23. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +9 -0
  24. package/dist/src/modules/v4/campaign/campaign.service.d.ts +36 -6
  25. package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
  26. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +88 -0
  27. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.controller.d.ts +34 -0
  28. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.controller.js.map +1 -1
  29. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.repository.d.ts +16 -0
  30. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.repository.js.map +1 -1
  31. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.service.d.ts +12 -2
  32. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.service.js.map +1 -1
  33. package/dist/src/modules/v4/carousel/carousel.controller.d.ts +4 -0
  34. package/dist/src/modules/v4/carousel/carousel.repository.d.ts +6 -0
  35. package/dist/src/modules/v4/carousel/carousel.service.d.ts +6 -0
  36. package/dist/src/modules/v4/config/config.controller.d.ts +29 -0
  37. package/dist/src/modules/v4/config/config.controller.js.map +1 -1
  38. package/dist/src/modules/v4/config/config.model.d.ts +25 -0
  39. package/dist/src/modules/v4/config/config.model.js.map +1 -0
  40. package/dist/src/modules/v4/config/config.service.d.ts +243 -0
  41. package/dist/src/modules/v4/config/config.service.js.map +1 -0
  42. package/dist/src/modules/v4/creator/creator.controller.d.ts +27 -1
  43. package/dist/src/modules/v4/creator/creator.model.d.ts +29 -0
  44. package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -0
  45. package/dist/src/modules/v4/creator/creator.service.d.ts +2 -1
  46. package/dist/src/modules/v4/creator/creator.service.js.map +1 -1
  47. package/dist/src/modules/v4/machineConfig/machineConfig.controller.d.ts +12 -6
  48. package/dist/src/modules/v4/machineConfig/machineConfig.formatter.js.map +1 -1
  49. package/dist/src/modules/v4/machineConfig/machineConfig.model.d.ts +12 -6
  50. package/dist/src/modules/v4/machineConfig/machineConfig.model.js.map +1 -1
  51. package/dist/src/modules/v4/machineConfig/machineConfig.repository.d.ts +16 -8
  52. package/dist/src/modules/v4/machineConfig/machineConfig.repository.js.map +1 -1
  53. package/dist/src/modules/v4/machineConfig/machineConfig.service.d.ts +16 -8
  54. package/dist/src/modules/v4/machineConfig/machineConfig.service.js.map +1 -1
  55. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +210 -0
  56. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +30 -0
  57. package/dist/src/modules/v4/opportunity/opportunity.formatter.js.map +1 -1
  58. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +66 -3
  59. package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
  60. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +178 -0
  61. package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
  62. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +171 -0
  63. package/dist/src/modules/v4/opportunity/transform-id.pipe.js.map +1 -1
  64. package/dist/src/modules/v4/payload/payload.controller.d.ts +87 -0
  65. package/dist/src/modules/v4/payload/payload.service.d.ts +116 -0
  66. package/dist/src/modules/v4/program/program.repository.d.ts +4 -0
  67. package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +5233 -5233
  68. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -0
  69. package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
  70. package/dist/src/modules/v4/reward/reward.service.d.ts +41 -0
  71. package/dist/src/modules/v4/router.d.ts +780 -112
  72. package/dist/src/modules/v4/router.js.map +1 -1
  73. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +58 -0
  74. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +29 -0
  75. package/dist/src/modules/v4/user/user.controller.d.ts +31 -0
  76. package/dist/src/scripts/exportOpportunities.js.map +1 -1
  77. package/dist/src/scripts/importOpportunities.js.map +1 -1
  78. package/package.json +1 -1
@@ -294,9 +294,93 @@ declare const app: Elysia<"", {
294
294
  };
295
295
  };
296
296
  };
297
- };
298
- } & {
299
- 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
+ } & {
300
384
  auth: {
301
385
  login: {
302
386
  post: {
@@ -344,9 +428,7 @@ declare const app: Elysia<"", {
344
428
  };
345
429
  };
346
430
  };
347
- };
348
- } & {
349
- v4: {
431
+ } & {
350
432
  blacklists: {
351
433
  get: {
352
434
  body: unknown;
@@ -468,9 +550,7 @@ declare const app: Elysia<"", {
468
550
  };
469
551
  };
470
552
  };
471
- };
472
- } & {
473
- v4: {
553
+ } & {
474
554
  boosts: {
475
555
  euler: {
476
556
  post: {
@@ -554,9 +634,7 @@ declare const app: Elysia<"", {
554
634
  };
555
635
  };
556
636
  };
557
- };
558
- } & {
559
- v4: {
637
+ } & {
560
638
  "campaign-batch": {
561
639
  post: {
562
640
  body: {
@@ -886,9 +964,7 @@ declare const app: Elysia<"", {
886
964
  };
887
965
  };
888
966
  };
889
- };
890
- } & {
891
- v4: {
967
+ } & {
892
968
  campaigns: {
893
969
  engine: {
894
970
  post: {
@@ -976,6 +1052,7 @@ declare const app: Elysia<"", {
976
1052
  slug: string | null;
977
1053
  }[];
978
1054
  id: string;
1055
+ nativeApr: number | undefined;
979
1056
  depositUrl: string | undefined;
980
1057
  explorerAddress: string | undefined;
981
1058
  lastCampaignCreatedAt: number;
@@ -1120,6 +1197,7 @@ declare const app: Elysia<"", {
1120
1197
  tags?: string[] | undefined;
1121
1198
  chainId: number;
1122
1199
  apr?: number | undefined;
1200
+ nativeApr?: number | undefined;
1123
1201
  dailyRewards?: number | undefined;
1124
1202
  tvl?: number | undefined;
1125
1203
  };
@@ -1384,6 +1462,7 @@ declare const app: Elysia<"", {
1384
1462
  action: string;
1385
1463
  tvl: number;
1386
1464
  apr: number;
1465
+ nativeApr?: number | undefined;
1387
1466
  maxApr: number | null;
1388
1467
  dailyRewards: number;
1389
1468
  depositUrl?: string | undefined;
@@ -1431,6 +1510,30 @@ declare const app: Elysia<"", {
1431
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;
1432
1511
  }[];
1433
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;
1434
1537
  tvlRecord?: {
1435
1538
  total: number;
1436
1539
  timestamp: string | bigint;
@@ -1504,6 +1607,7 @@ declare const app: Elysia<"", {
1504
1607
  action: string;
1505
1608
  tvl: number;
1506
1609
  apr: number;
1610
+ nativeApr?: number | undefined;
1507
1611
  maxApr: number | null;
1508
1612
  dailyRewards: number;
1509
1613
  depositUrl?: string | undefined;
@@ -1551,6 +1655,30 @@ declare const app: Elysia<"", {
1551
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;
1552
1656
  }[];
1553
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;
1554
1682
  tvlRecord?: {
1555
1683
  total: number;
1556
1684
  timestamp: string | bigint;
@@ -1624,6 +1752,7 @@ declare const app: Elysia<"", {
1624
1752
  action: string;
1625
1753
  tvl: number;
1626
1754
  apr: number;
1755
+ nativeApr?: number | undefined;
1627
1756
  maxApr: number | null;
1628
1757
  dailyRewards: number;
1629
1758
  depositUrl?: string | undefined;
@@ -1671,6 +1800,30 @@ declare const app: Elysia<"", {
1671
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;
1672
1801
  }[];
1673
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;
1674
1827
  tvlRecord?: {
1675
1828
  total: number;
1676
1829
  timestamp: string | bigint;
@@ -2045,6 +2198,7 @@ declare const app: Elysia<"", {
2045
2198
  tags?: string[] | undefined;
2046
2199
  chainId: number;
2047
2200
  apr?: number | undefined;
2201
+ nativeApr?: number | undefined;
2048
2202
  dailyRewards?: number | undefined;
2049
2203
  tvl?: number | undefined;
2050
2204
  };
@@ -2544,6 +2698,7 @@ declare const app: Elysia<"", {
2544
2698
  slug: string | null;
2545
2699
  }[];
2546
2700
  id: string;
2701
+ nativeApr: number | undefined;
2547
2702
  depositUrl: string | undefined;
2548
2703
  explorerAddress: string | undefined;
2549
2704
  lastCampaignCreatedAt: number;
@@ -2699,9 +2854,7 @@ declare const app: Elysia<"", {
2699
2854
  };
2700
2855
  };
2701
2856
  };
2702
- };
2703
- } & {
2704
- v4: {
2857
+ } & {
2705
2858
  "campaign-status": {
2706
2859
  engine: {
2707
2860
  ":campaignId": {
@@ -3052,9 +3205,7 @@ declare const app: Elysia<"", {
3052
3205
  };
3053
3206
  };
3054
3207
  };
3055
- };
3056
- } & {
3057
- v4: {
3208
+ } & {
3058
3209
  campaigns: {
3059
3210
  "dry-run": {
3060
3211
  create: {
@@ -3143,6 +3294,7 @@ declare const app: Elysia<"", {
3143
3294
  slug: string | null;
3144
3295
  }[];
3145
3296
  id: string;
3297
+ nativeApr: number | undefined;
3146
3298
  depositUrl: string | undefined;
3147
3299
  explorerAddress: string | undefined;
3148
3300
  lastCampaignCreatedAt: number;
@@ -3863,6 +4015,34 @@ declare const app: Elysia<"", {
3863
4015
  opportunityBannerLight: string | null;
3864
4016
  opportunityBannerDark: string | null;
3865
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
+ })[];
3866
4046
  Protocols: {
3867
4047
  id: string;
3868
4048
  tags: string[];
@@ -3918,6 +4098,7 @@ declare const app: Elysia<"", {
3918
4098
  mainProtocolId: string | null;
3919
4099
  tvl: number;
3920
4100
  apr: number;
4101
+ nativeApr: number | null;
3921
4102
  maxApr: number | null;
3922
4103
  dailyRewards: number;
3923
4104
  tags: string[];
@@ -4082,6 +4263,34 @@ declare const app: Elysia<"", {
4082
4263
  opportunityBannerLight: string | null;
4083
4264
  opportunityBannerDark: string | null;
4084
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
+ })[];
4085
4294
  Protocols: {
4086
4295
  id: string;
4087
4296
  tags: string[];
@@ -4137,6 +4346,7 @@ declare const app: Elysia<"", {
4137
4346
  mainProtocolId: string | null;
4138
4347
  tvl: number;
4139
4348
  apr: number;
4349
+ nativeApr: number | null;
4140
4350
  maxApr: number | null;
4141
4351
  dailyRewards: number;
4142
4352
  tags: string[];
@@ -4300,6 +4510,34 @@ declare const app: Elysia<"", {
4300
4510
  opportunityBannerLight: string | null;
4301
4511
  opportunityBannerDark: string | null;
4302
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
+ })[];
4303
4541
  Protocols: {
4304
4542
  id: string;
4305
4543
  tags: string[];
@@ -4355,6 +4593,7 @@ declare const app: Elysia<"", {
4355
4593
  mainProtocolId: string | null;
4356
4594
  tvl: number;
4357
4595
  apr: number;
4596
+ nativeApr: number | null;
4358
4597
  maxApr: number | null;
4359
4598
  dailyRewards: number;
4360
4599
  tags: string[];
@@ -4377,9 +4616,7 @@ declare const app: Elysia<"", {
4377
4616
  };
4378
4617
  };
4379
4618
  };
4380
- };
4381
- } & {
4382
- v4: {
4619
+ } & {
4383
4620
  "campaigns-to-process": {
4384
4621
  ":chainId": {
4385
4622
  get: {
@@ -4451,6 +4688,40 @@ declare const app: Elysia<"", {
4451
4688
  };
4452
4689
  };
4453
4690
  };
4691
+ } & {
4692
+ workflow: {
4693
+ "pre-compute": {
4694
+ ":chainId": {
4695
+ get: {
4696
+ body: unknown;
4697
+ params: {
4698
+ chainId: number;
4699
+ } & {
4700
+ chainId: number;
4701
+ };
4702
+ query: unknown;
4703
+ headers: unknown;
4704
+ response: {
4705
+ 200: {
4706
+ memory: string;
4707
+ cpu: number;
4708
+ id: string;
4709
+ campaignId: string;
4710
+ }[];
4711
+ 422: {
4712
+ type: "validation";
4713
+ on: string;
4714
+ summary?: string | undefined;
4715
+ message?: string | undefined;
4716
+ found?: unknown;
4717
+ property?: string | undefined;
4718
+ expected?: string | undefined;
4719
+ };
4720
+ };
4721
+ };
4722
+ };
4723
+ };
4724
+ };
4454
4725
  } & {
4455
4726
  count: {
4456
4727
  ":chainId": {
@@ -4605,9 +4876,7 @@ declare const app: Elysia<"", {
4605
4876
  };
4606
4877
  };
4607
4878
  };
4608
- };
4609
- } & {
4610
- v4: {
4879
+ } & {
4611
4880
  carousels: {
4612
4881
  get: {
4613
4882
  body: unknown;
@@ -4928,6 +5197,7 @@ declare const app: Elysia<"", {
4928
5197
  mainProtocolId: string | null;
4929
5198
  tvl: number;
4930
5199
  apr: number;
5200
+ nativeApr: number | null;
4931
5201
  maxApr: number | null;
4932
5202
  dailyRewards: number;
4933
5203
  tags: string[];
@@ -5005,6 +5275,7 @@ declare const app: Elysia<"", {
5005
5275
  mainProtocolId: string | null;
5006
5276
  tvl: number;
5007
5277
  apr: number;
5278
+ nativeApr: number | null;
5008
5279
  maxApr: number | null;
5009
5280
  dailyRewards: number;
5010
5281
  tags: string[];
@@ -5317,6 +5588,7 @@ declare const app: Elysia<"", {
5317
5588
  mainProtocolId: string | null;
5318
5589
  tvl: number;
5319
5590
  apr: number;
5591
+ nativeApr: number | null;
5320
5592
  maxApr: number | null;
5321
5593
  dailyRewards: number;
5322
5594
  tags: string[];
@@ -5394,6 +5666,7 @@ declare const app: Elysia<"", {
5394
5666
  mainProtocolId: string | null;
5395
5667
  tvl: number;
5396
5668
  apr: number;
5669
+ nativeApr: number | null;
5397
5670
  maxApr: number | null;
5398
5671
  dailyRewards: number;
5399
5672
  tags: string[];
@@ -5594,9 +5867,7 @@ declare const app: Elysia<"", {
5594
5867
  };
5595
5868
  };
5596
5869
  };
5597
- };
5598
- } & {
5599
- v4: {
5870
+ } & {
5600
5871
  chains: {
5601
5872
  get: {
5602
5873
  body: unknown;
@@ -5773,9 +6044,7 @@ declare const app: Elysia<"", {
5773
6044
  };
5774
6045
  };
5775
6046
  };
5776
- };
5777
- } & {
5778
- v4: {
6047
+ } & {
5779
6048
  claims: {
5780
6049
  ":address": {
5781
6050
  get: {
@@ -5822,9 +6091,7 @@ declare const app: Elysia<"", {
5822
6091
  };
5823
6092
  };
5824
6093
  };
5825
- };
5826
- } & {
5827
- v4: {
6094
+ } & {
5828
6095
  clamm: {
5829
6096
  pools: {
5830
6097
  ":chainId": {
@@ -5883,9 +6150,7 @@ declare const app: Elysia<"", {
5883
6150
  };
5884
6151
  };
5885
6152
  };
5886
- };
5887
- } & {
5888
- v4: {
6153
+ } & {
5889
6154
  value: {
5890
6155
  campaign: {
5891
6156
  ":campaignId": {
@@ -6193,9 +6458,7 @@ declare const app: Elysia<"", {
6193
6458
  };
6194
6459
  };
6195
6460
  };
6196
- };
6197
- } & {
6198
- v4: {
6461
+ } & {
6199
6462
  config: {
6200
6463
  ":id": {
6201
6464
  get: {
@@ -6380,6 +6643,34 @@ declare const app: Elysia<"", {
6380
6643
  opportunityBannerLight: string | null;
6381
6644
  opportunityBannerDark: string | null;
6382
6645
  } | null;
6646
+ NativeAprRecords: ({
6647
+ RewardToken: {
6648
+ id: string;
6649
+ name: string | null;
6650
+ chainId: number;
6651
+ address: string;
6652
+ decimals: number;
6653
+ symbol: string;
6654
+ displaySymbol: string;
6655
+ icon: string;
6656
+ verified: boolean;
6657
+ isTest: boolean;
6658
+ type: import("@package/databases").TokenType;
6659
+ isNative: boolean;
6660
+ price: number | null;
6661
+ updatedAt: number | null;
6662
+ priceSource: string | null;
6663
+ } | null;
6664
+ } & {
6665
+ id: string;
6666
+ title: string;
6667
+ description: string | null;
6668
+ timestamp: bigint;
6669
+ value: number;
6670
+ amount: bigint | null;
6671
+ rewardTokenId: string | null;
6672
+ opportunityId: string;
6673
+ })[];
6383
6674
  Protocols: {
6384
6675
  id: string;
6385
6676
  tags: string[];
@@ -6435,6 +6726,7 @@ declare const app: Elysia<"", {
6435
6726
  mainProtocolId: string | null;
6436
6727
  tvl: number;
6437
6728
  apr: number;
6729
+ nativeApr: number | null;
6438
6730
  maxApr: number | null;
6439
6731
  dailyRewards: number;
6440
6732
  tags: string[];
@@ -6563,9 +6855,7 @@ declare const app: Elysia<"", {
6563
6855
  };
6564
6856
  };
6565
6857
  };
6566
- };
6567
- } & {
6568
- v4: {
6858
+ } & {
6569
6859
  creators: {
6570
6860
  post: {
6571
6861
  body: {
@@ -6754,7 +7044,7 @@ declare const app: Elysia<"", {
6754
7044
  liveCampaigns: number;
6755
7045
  futureCampaigns: number;
6756
7046
  totalTvl: number;
6757
- totalWallets: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
7047
+ totalWallets: number;
6758
7048
  totalCampaigns: number;
6759
7049
  creatorId: string | null;
6760
7050
  totalDistributed: number;
@@ -6875,6 +7165,7 @@ declare const app: Elysia<"", {
6875
7165
  action: string;
6876
7166
  tvl: number;
6877
7167
  apr: number;
7168
+ nativeApr?: number | undefined;
6878
7169
  maxApr: number | null;
6879
7170
  dailyRewards: number;
6880
7171
  depositUrl?: string | undefined;
@@ -6922,6 +7213,30 @@ declare const app: Elysia<"", {
6922
7213
  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;
6923
7214
  }[];
6924
7215
  } | undefined;
7216
+ nativeAprRecord?: {
7217
+ title: string;
7218
+ description?: string | undefined;
7219
+ value: number;
7220
+ timestamp: string | bigint;
7221
+ amount?: bigint | undefined;
7222
+ rewardToken?: {
7223
+ id: string;
7224
+ name: string | null;
7225
+ chainId: number;
7226
+ address: string;
7227
+ decimals: number;
7228
+ icon: string;
7229
+ verified: boolean;
7230
+ isNative: boolean;
7231
+ isTest: boolean;
7232
+ price?: number | null | undefined;
7233
+ updatedAt?: number | null | undefined;
7234
+ priceSource?: string | null | undefined;
7235
+ symbol: string;
7236
+ type: "POINT" | "PRETGE" | "TOKEN";
7237
+ displaySymbol?: string | undefined;
7238
+ } | undefined;
7239
+ } | undefined;
6925
7240
  tvlRecord?: {
6926
7241
  total: number;
6927
7242
  timestamp: string | bigint;
@@ -7031,6 +7346,7 @@ declare const app: Elysia<"", {
7031
7346
  mainProtocolId: string | null;
7032
7347
  tvl: number;
7033
7348
  apr: number;
7349
+ nativeApr: number | null;
7034
7350
  maxApr: number | null;
7035
7351
  dailyRewards: number;
7036
7352
  tags: string[];
@@ -7214,9 +7530,7 @@ declare const app: Elysia<"", {
7214
7530
  };
7215
7531
  };
7216
7532
  };
7217
- };
7218
- } & {
7219
- v4: {
7533
+ } & {
7220
7534
  euler: {
7221
7535
  vaults: {
7222
7536
  ":chainId": {
@@ -7301,9 +7615,7 @@ declare const app: Elysia<"", {
7301
7615
  };
7302
7616
  };
7303
7617
  };
7304
- };
7305
- } & {
7306
- v4: {
7618
+ } & {
7307
7619
  explorers: {
7308
7620
  post: {
7309
7621
  body: {
@@ -7335,9 +7647,7 @@ declare const app: Elysia<"", {
7335
7647
  };
7336
7648
  };
7337
7649
  };
7338
- };
7339
- } & {
7340
- v4: {
7650
+ } & {
7341
7651
  github: {
7342
7652
  get: {
7343
7653
  body: unknown;
@@ -7369,9 +7679,7 @@ declare const app: Elysia<"", {
7369
7679
  };
7370
7680
  };
7371
7681
  };
7372
- };
7373
- } & {
7374
- v4: {
7682
+ } & {
7375
7683
  interaction: {
7376
7684
  targets: {
7377
7685
  get: {
@@ -7468,9 +7776,7 @@ declare const app: Elysia<"", {
7468
7776
  };
7469
7777
  };
7470
7778
  };
7471
- };
7472
- } & {
7473
- v4: {
7779
+ } & {
7474
7780
  "machine-config": {
7475
7781
  ":campaignId": {
7476
7782
  get: {
@@ -7483,8 +7789,10 @@ declare const app: Elysia<"", {
7483
7789
  response: {
7484
7790
  200: {
7485
7791
  campaignId: string;
7486
- memory?: number | undefined;
7487
- cpu?: number | undefined;
7792
+ computeMemory?: number | undefined;
7793
+ computeCpu?: number | undefined;
7794
+ precomputeMemory?: number | undefined;
7795
+ precomputeCpu?: number | undefined;
7488
7796
  };
7489
7797
  422: {
7490
7798
  type: "validation";
@@ -7504,8 +7812,10 @@ declare const app: Elysia<"", {
7504
7812
  ":campaignId": {
7505
7813
  post: {
7506
7814
  body: {
7507
- memory?: number | undefined;
7508
- cpu?: number | undefined;
7815
+ computeMemory?: number | undefined;
7816
+ computeCpu?: number | undefined;
7817
+ precomputeMemory?: number | undefined;
7818
+ precomputeCpu?: number | undefined;
7509
7819
  };
7510
7820
  params: {
7511
7821
  campaignId: string;
@@ -7517,8 +7827,10 @@ declare const app: Elysia<"", {
7517
7827
  response: {
7518
7828
  200: {
7519
7829
  campaignId: string;
7520
- memory?: number | undefined;
7521
- cpu?: number | undefined;
7830
+ computeMemory?: number | undefined;
7831
+ computeCpu?: number | undefined;
7832
+ precomputeMemory?: number | undefined;
7833
+ precomputeCpu?: number | undefined;
7522
7834
  };
7523
7835
  422: {
7524
7836
  type: "validation";
@@ -7533,9 +7845,7 @@ declare const app: Elysia<"", {
7533
7845
  };
7534
7846
  };
7535
7847
  };
7536
- };
7537
- } & {
7538
- v4: {
7848
+ } & {
7539
7849
  roots: {
7540
7850
  get: {
7541
7851
  body: unknown;
@@ -7702,9 +8012,7 @@ declare const app: Elysia<"", {
7702
8012
  };
7703
8013
  };
7704
8014
  };
7705
- };
7706
- } & {
7707
- v4: {
8015
+ } & {
7708
8016
  ofac: {
7709
8017
  ":ip": {
7710
8018
  get: {
@@ -7734,9 +8042,7 @@ declare const app: Elysia<"", {
7734
8042
  };
7735
8043
  };
7736
8044
  };
7737
- };
7738
- } & {
7739
- v4: {
8045
+ } & {
7740
8046
  opportunities: {
7741
8047
  campaigns: {
7742
8048
  get: {
@@ -7925,6 +8231,31 @@ declare const app: Elysia<"", {
7925
8231
  liveCampaignsForCreator?: number | undefined;
7926
8232
  maxApr: number | null;
7927
8233
  name: string;
8234
+ nativeApr?: number | undefined;
8235
+ nativeAprRecord?: {
8236
+ title: string;
8237
+ description?: string | undefined;
8238
+ value: number;
8239
+ timestamp: string | bigint;
8240
+ amount?: bigint | undefined;
8241
+ rewardToken?: {
8242
+ id: string;
8243
+ name: string | null;
8244
+ chainId: number;
8245
+ address: string;
8246
+ decimals: number;
8247
+ icon: string;
8248
+ verified: boolean;
8249
+ isNative: boolean;
8250
+ isTest: boolean;
8251
+ price?: number | null | undefined;
8252
+ updatedAt?: number | null | undefined;
8253
+ priceSource?: string | null | undefined;
8254
+ symbol: string;
8255
+ type: "POINT" | "PRETGE" | "TOKEN";
8256
+ displaySymbol?: string | undefined;
8257
+ } | undefined;
8258
+ } | undefined;
7928
8259
  protocol?: {
7929
8260
  id: string;
7930
8261
  name: string;
@@ -8048,6 +8379,7 @@ declare const app: Elysia<"", {
8048
8379
  action: string;
8049
8380
  tvl: number;
8050
8381
  apr: number;
8382
+ nativeApr?: number | undefined;
8051
8383
  maxApr: number | null;
8052
8384
  dailyRewards: number;
8053
8385
  depositUrl?: string | undefined;
@@ -8095,6 +8427,30 @@ declare const app: Elysia<"", {
8095
8427
  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;
8096
8428
  }[];
8097
8429
  } | undefined;
8430
+ nativeAprRecord?: {
8431
+ title: string;
8432
+ description?: string | undefined;
8433
+ value: number;
8434
+ timestamp: string | bigint;
8435
+ amount?: bigint | undefined;
8436
+ rewardToken?: {
8437
+ id: string;
8438
+ name: string | null;
8439
+ chainId: number;
8440
+ address: string;
8441
+ decimals: number;
8442
+ icon: string;
8443
+ verified: boolean;
8444
+ isNative: boolean;
8445
+ isTest: boolean;
8446
+ price?: number | null | undefined;
8447
+ updatedAt?: number | null | undefined;
8448
+ priceSource?: string | null | undefined;
8449
+ symbol: string;
8450
+ type: "POINT" | "PRETGE" | "TOKEN";
8451
+ displaySymbol?: string | undefined;
8452
+ } | undefined;
8453
+ } | undefined;
8098
8454
  tvlRecord?: {
8099
8455
  total: number;
8100
8456
  timestamp: string | bigint;
@@ -8304,6 +8660,31 @@ declare const app: Elysia<"", {
8304
8660
  liveCampaignsForCreator?: number | undefined;
8305
8661
  maxApr: number | null;
8306
8662
  name: string;
8663
+ nativeApr?: number | undefined;
8664
+ nativeAprRecord?: {
8665
+ title: string;
8666
+ description?: string | undefined;
8667
+ value: number;
8668
+ timestamp: string | bigint;
8669
+ amount?: bigint | undefined;
8670
+ rewardToken?: {
8671
+ id: string;
8672
+ name: string | null;
8673
+ chainId: number;
8674
+ address: string;
8675
+ decimals: number;
8676
+ icon: string;
8677
+ verified: boolean;
8678
+ isNative: boolean;
8679
+ isTest: boolean;
8680
+ price?: number | null | undefined;
8681
+ updatedAt?: number | null | undefined;
8682
+ priceSource?: string | null | undefined;
8683
+ symbol: string;
8684
+ type: "POINT" | "PRETGE" | "TOKEN";
8685
+ displaySymbol?: string | undefined;
8686
+ } | undefined;
8687
+ } | undefined;
8307
8688
  protocol?: {
8308
8689
  id: string;
8309
8690
  name: string;
@@ -8565,6 +8946,31 @@ declare const app: Elysia<"", {
8565
8946
  liveCampaignsForCreator?: number | undefined;
8566
8947
  maxApr: number | null;
8567
8948
  name: string;
8949
+ nativeApr?: number | undefined;
8950
+ nativeAprRecord?: {
8951
+ title: string;
8952
+ description?: string | undefined;
8953
+ value: number;
8954
+ timestamp: string | bigint;
8955
+ amount?: bigint | undefined;
8956
+ rewardToken?: {
8957
+ id: string;
8958
+ name: string | null;
8959
+ chainId: number;
8960
+ address: string;
8961
+ decimals: number;
8962
+ icon: string;
8963
+ verified: boolean;
8964
+ isNative: boolean;
8965
+ isTest: boolean;
8966
+ price?: number | null | undefined;
8967
+ updatedAt?: number | null | undefined;
8968
+ priceSource?: string | null | undefined;
8969
+ symbol: string;
8970
+ type: "POINT" | "PRETGE" | "TOKEN";
8971
+ displaySymbol?: string | undefined;
8972
+ } | undefined;
8973
+ } | undefined;
8568
8974
  protocol?: {
8569
8975
  id: string;
8570
8976
  name: string;
@@ -8713,6 +9119,7 @@ declare const app: Elysia<"", {
8713
9119
  action: string;
8714
9120
  tvl: number;
8715
9121
  apr: number;
9122
+ nativeApr?: number | undefined;
8716
9123
  maxApr: number | null;
8717
9124
  dailyRewards: number;
8718
9125
  depositUrl?: string | undefined;
@@ -8760,6 +9167,30 @@ declare const app: Elysia<"", {
8760
9167
  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;
8761
9168
  }[];
8762
9169
  } | undefined;
9170
+ nativeAprRecord?: {
9171
+ title: string;
9172
+ description?: string | undefined;
9173
+ value: number;
9174
+ timestamp: string | bigint;
9175
+ amount?: bigint | undefined;
9176
+ rewardToken?: {
9177
+ id: string;
9178
+ name: string | null;
9179
+ chainId: number;
9180
+ address: string;
9181
+ decimals: number;
9182
+ icon: string;
9183
+ verified: boolean;
9184
+ isNative: boolean;
9185
+ isTest: boolean;
9186
+ price?: number | null | undefined;
9187
+ updatedAt?: number | null | undefined;
9188
+ priceSource?: string | null | undefined;
9189
+ symbol: string;
9190
+ type: "POINT" | "PRETGE" | "TOKEN";
9191
+ displaySymbol?: string | undefined;
9192
+ } | undefined;
9193
+ } | undefined;
8763
9194
  tvlRecord?: {
8764
9195
  total: number;
8765
9196
  timestamp: string | bigint;
@@ -8969,6 +9400,31 @@ declare const app: Elysia<"", {
8969
9400
  liveCampaignsForCreator?: number | undefined;
8970
9401
  maxApr: number | null;
8971
9402
  name: string;
9403
+ nativeApr?: number | undefined;
9404
+ nativeAprRecord?: {
9405
+ title: string;
9406
+ description?: string | undefined;
9407
+ value: number;
9408
+ timestamp: string | bigint;
9409
+ amount?: bigint | undefined;
9410
+ rewardToken?: {
9411
+ id: string;
9412
+ name: string | null;
9413
+ chainId: number;
9414
+ address: string;
9415
+ decimals: number;
9416
+ icon: string;
9417
+ verified: boolean;
9418
+ isNative: boolean;
9419
+ isTest: boolean;
9420
+ price?: number | null | undefined;
9421
+ updatedAt?: number | null | undefined;
9422
+ priceSource?: string | null | undefined;
9423
+ symbol: string;
9424
+ type: "POINT" | "PRETGE" | "TOKEN";
9425
+ displaySymbol?: string | undefined;
9426
+ } | undefined;
9427
+ } | undefined;
8972
9428
  protocol?: {
8973
9429
  id: string;
8974
9430
  name: string;
@@ -9570,6 +10026,34 @@ declare const app: Elysia<"", {
9570
10026
  opportunityBannerLight: string | null;
9571
10027
  opportunityBannerDark: string | null;
9572
10028
  } | null;
10029
+ NativeAprRecords: ({
10030
+ RewardToken: {
10031
+ id: string;
10032
+ name: string | null;
10033
+ chainId: number;
10034
+ address: string;
10035
+ decimals: number;
10036
+ symbol: string;
10037
+ displaySymbol: string;
10038
+ icon: string;
10039
+ verified: boolean;
10040
+ isTest: boolean;
10041
+ type: import("@package/databases").TokenType;
10042
+ isNative: boolean;
10043
+ price: number | null;
10044
+ updatedAt: number | null;
10045
+ priceSource: string | null;
10046
+ } | null;
10047
+ } & {
10048
+ id: string;
10049
+ title: string;
10050
+ description: string | null;
10051
+ timestamp: bigint;
10052
+ value: number;
10053
+ amount: bigint | null;
10054
+ rewardTokenId: string | null;
10055
+ opportunityId: string;
10056
+ })[];
9573
10057
  Protocols: {
9574
10058
  id: string;
9575
10059
  tags: string[];
@@ -9625,6 +10109,7 @@ declare const app: Elysia<"", {
9625
10109
  mainProtocolId: string | null;
9626
10110
  tvl: number;
9627
10111
  apr: number;
10112
+ nativeApr: number | null;
9628
10113
  maxApr: number | null;
9629
10114
  dailyRewards: number;
9630
10115
  tags: string[];
@@ -9673,6 +10158,7 @@ declare const app: Elysia<"", {
9673
10158
  mainProtocolId: string | null;
9674
10159
  tvl: number;
9675
10160
  apr: number;
10161
+ nativeApr: number | null;
9676
10162
  maxApr: number | null;
9677
10163
  dailyRewards: number;
9678
10164
  tags: string[];
@@ -9736,6 +10222,7 @@ declare const app: Elysia<"", {
9736
10222
  mainProtocolId: string | null;
9737
10223
  tvl: number;
9738
10224
  apr: number;
10225
+ nativeApr: number | null;
9739
10226
  maxApr: number | null;
9740
10227
  dailyRewards: number;
9741
10228
  tags: string[];
@@ -9897,6 +10384,34 @@ declare const app: Elysia<"", {
9897
10384
  opportunityBannerLight: string | null;
9898
10385
  opportunityBannerDark: string | null;
9899
10386
  } | null;
10387
+ NativeAprRecords: ({
10388
+ RewardToken: {
10389
+ id: string;
10390
+ name: string | null;
10391
+ chainId: number;
10392
+ address: string;
10393
+ decimals: number;
10394
+ symbol: string;
10395
+ displaySymbol: string;
10396
+ icon: string;
10397
+ verified: boolean;
10398
+ isTest: boolean;
10399
+ type: import("@package/databases").TokenType;
10400
+ isNative: boolean;
10401
+ price: number | null;
10402
+ updatedAt: number | null;
10403
+ priceSource: string | null;
10404
+ } | null;
10405
+ } & {
10406
+ id: string;
10407
+ title: string;
10408
+ description: string | null;
10409
+ timestamp: bigint;
10410
+ value: number;
10411
+ amount: bigint | null;
10412
+ rewardTokenId: string | null;
10413
+ opportunityId: string;
10414
+ })[];
9900
10415
  Protocols: {
9901
10416
  id: string;
9902
10417
  tags: string[];
@@ -9952,6 +10467,7 @@ declare const app: Elysia<"", {
9952
10467
  mainProtocolId: string | null;
9953
10468
  tvl: number;
9954
10469
  apr: number;
10470
+ nativeApr: number | null;
9955
10471
  maxApr: number | null;
9956
10472
  dailyRewards: number;
9957
10473
  tags: string[];
@@ -9973,9 +10489,7 @@ declare const app: Elysia<"", {
9973
10489
  };
9974
10490
  };
9975
10491
  };
9976
- };
9977
- } & {
9978
- v4: {
10492
+ } & {
9979
10493
  parse: {
9980
10494
  post: {
9981
10495
  body: {
@@ -10013,9 +10527,7 @@ declare const app: Elysia<"", {
10013
10527
  };
10014
10528
  };
10015
10529
  };
10016
- };
10017
- } & {
10018
- v4: {
10530
+ } & {
10019
10531
  payload: {
10020
10532
  decode: {
10021
10533
  get: {
@@ -10192,6 +10704,34 @@ declare const app: Elysia<"", {
10192
10704
  opportunityBannerLight: string | null;
10193
10705
  opportunityBannerDark: string | null;
10194
10706
  } | null;
10707
+ NativeAprRecords: ({
10708
+ RewardToken: {
10709
+ id: string;
10710
+ name: string | null;
10711
+ chainId: number;
10712
+ address: string;
10713
+ decimals: number;
10714
+ symbol: string;
10715
+ displaySymbol: string;
10716
+ icon: string;
10717
+ verified: boolean;
10718
+ isTest: boolean;
10719
+ type: import("@package/databases").TokenType;
10720
+ isNative: boolean;
10721
+ price: number | null;
10722
+ updatedAt: number | null;
10723
+ priceSource: string | null;
10724
+ } | null;
10725
+ } & {
10726
+ id: string;
10727
+ title: string;
10728
+ description: string | null;
10729
+ timestamp: bigint;
10730
+ value: number;
10731
+ amount: bigint | null;
10732
+ rewardTokenId: string | null;
10733
+ opportunityId: string;
10734
+ })[];
10195
10735
  Protocols: {
10196
10736
  id: string;
10197
10737
  tags: string[];
@@ -10247,6 +10787,7 @@ declare const app: Elysia<"", {
10247
10787
  mainProtocolId: string | null;
10248
10788
  tvl: number;
10249
10789
  apr: number;
10790
+ nativeApr: number | null;
10250
10791
  maxApr: number | null;
10251
10792
  dailyRewards: number;
10252
10793
  tags: string[];
@@ -10435,6 +10976,34 @@ declare const app: Elysia<"", {
10435
10976
  opportunityBannerLight: string | null;
10436
10977
  opportunityBannerDark: string | null;
10437
10978
  } | null;
10979
+ NativeAprRecords: ({
10980
+ RewardToken: {
10981
+ id: string;
10982
+ name: string | null;
10983
+ chainId: number;
10984
+ address: string;
10985
+ decimals: number;
10986
+ symbol: string;
10987
+ displaySymbol: string;
10988
+ icon: string;
10989
+ verified: boolean;
10990
+ isTest: boolean;
10991
+ type: import("@package/databases").TokenType;
10992
+ isNative: boolean;
10993
+ price: number | null;
10994
+ updatedAt: number | null;
10995
+ priceSource: string | null;
10996
+ } | null;
10997
+ } & {
10998
+ id: string;
10999
+ title: string;
11000
+ description: string | null;
11001
+ timestamp: bigint;
11002
+ value: number;
11003
+ amount: bigint | null;
11004
+ rewardTokenId: string | null;
11005
+ opportunityId: string;
11006
+ })[];
10438
11007
  Protocols: {
10439
11008
  id: string;
10440
11009
  tags: string[];
@@ -10490,6 +11059,7 @@ declare const app: Elysia<"", {
10490
11059
  mainProtocolId: string | null;
10491
11060
  tvl: number;
10492
11061
  apr: number;
11062
+ nativeApr: number | null;
10493
11063
  maxApr: number | null;
10494
11064
  dailyRewards: number;
10495
11065
  tags: string[];
@@ -10674,6 +11244,34 @@ declare const app: Elysia<"", {
10674
11244
  opportunityBannerLight: string | null;
10675
11245
  opportunityBannerDark: string | null;
10676
11246
  } | null;
11247
+ NativeAprRecords: ({
11248
+ RewardToken: {
11249
+ id: string;
11250
+ name: string | null;
11251
+ chainId: number;
11252
+ address: string;
11253
+ decimals: number;
11254
+ symbol: string;
11255
+ displaySymbol: string;
11256
+ icon: string;
11257
+ verified: boolean;
11258
+ isTest: boolean;
11259
+ type: import("@package/databases").TokenType;
11260
+ isNative: boolean;
11261
+ price: number | null;
11262
+ updatedAt: number | null;
11263
+ priceSource: string | null;
11264
+ } | null;
11265
+ } & {
11266
+ id: string;
11267
+ title: string;
11268
+ description: string | null;
11269
+ timestamp: bigint;
11270
+ value: number;
11271
+ amount: bigint | null;
11272
+ rewardTokenId: string | null;
11273
+ opportunityId: string;
11274
+ })[];
10677
11275
  Protocols: {
10678
11276
  id: string;
10679
11277
  tags: string[];
@@ -10729,6 +11327,7 @@ declare const app: Elysia<"", {
10729
11327
  mainProtocolId: string | null;
10730
11328
  tvl: number;
10731
11329
  apr: number;
11330
+ nativeApr: number | null;
10732
11331
  maxApr: number | null;
10733
11332
  dailyRewards: number;
10734
11333
  tags: string[];
@@ -10760,9 +11359,7 @@ declare const app: Elysia<"", {
10760
11359
  };
10761
11360
  };
10762
11361
  };
10763
- };
10764
- } & {
10765
- v4: {
11362
+ } & {
10766
11363
  prices: {
10767
11364
  sources: {
10768
11365
  ":addressOrSymbol": {
@@ -10998,9 +11595,7 @@ declare const app: Elysia<"", {
10998
11595
  };
10999
11596
  };
11000
11597
  };
11001
- };
11002
- } & {
11003
- v4: {
11598
+ } & {
11004
11599
  programs: {
11005
11600
  get: {
11006
11601
  body: unknown;
@@ -11239,9 +11834,7 @@ declare const app: Elysia<"", {
11239
11834
  };
11240
11835
  };
11241
11836
  };
11242
- };
11243
- } & {
11244
- v4: {
11837
+ } & {
11245
11838
  "program-payload": {
11246
11839
  get: {
11247
11840
  body: unknown;
@@ -33295,9 +33888,7 @@ declare const app: Elysia<"", {
33295
33888
  };
33296
33889
  };
33297
33890
  };
33298
- };
33299
- } & {
33300
- v4: {
33891
+ } & {
33301
33892
  protocols: {
33302
33893
  get: {
33303
33894
  body: unknown;
@@ -33631,9 +34222,7 @@ declare const app: Elysia<"", {
33631
34222
  };
33632
34223
  };
33633
34224
  };
33634
- };
33635
- } & {
33636
- v4: {
34225
+ } & {
33637
34226
  referral: {
33638
34227
  code: {
33639
34228
  get: {
@@ -33711,9 +34300,7 @@ declare const app: Elysia<"", {
33711
34300
  };
33712
34301
  };
33713
34302
  };
33714
- };
33715
- } & {
33716
- v4: {
34303
+ } & {
33717
34304
  rewards: {
33718
34305
  get: {
33719
34306
  body: unknown;
@@ -34629,9 +35216,7 @@ declare const app: Elysia<"", {
34629
35216
  };
34630
35217
  };
34631
35218
  };
34632
- };
34633
- } & {
34634
- v4: {
35219
+ } & {
34635
35220
  ton: {
34636
35221
  users: {
34637
35222
  ":tonAddress": {
@@ -34663,9 +35248,7 @@ declare const app: Elysia<"", {
34663
35248
  };
34664
35249
  };
34665
35250
  };
34666
- };
34667
- } & {
34668
- v4: {
35251
+ } & {
34669
35252
  turtle: {
34670
35253
  tac: {
34671
35254
  total: {
@@ -34720,9 +35303,7 @@ declare const app: Elysia<"", {
34720
35303
  };
34721
35304
  };
34722
35305
  };
34723
- };
34724
- } & {
34725
- v4: {
35306
+ } & {
34726
35307
  uniswap: {
34727
35308
  reward: {
34728
35309
  3: {
@@ -34818,6 +35399,7 @@ declare const app: Elysia<"", {
34818
35399
  mainProtocolId?: string | undefined;
34819
35400
  liveCampaignsForCreator?: number | undefined;
34820
35401
  distributedBycreator?: number | undefined;
35402
+ nativeApr?: number | undefined;
34821
35403
  protocol?: ({
34822
35404
  banner: string | null;
34823
35405
  description: string;
@@ -34846,6 +35428,33 @@ declare const app: Elysia<"", {
34846
35428
  cumulated: number;
34847
35429
  timestamp: bigint;
34848
35430
  } & {}) | undefined;
35431
+ nativeAprRecord?: ({
35432
+ timestamp: bigint;
35433
+ title: string;
35434
+ value: number;
35435
+ } & {
35436
+ rewardToken?: ({
35437
+ address: string;
35438
+ chainId: number;
35439
+ decimals: number;
35440
+ icon: string;
35441
+ id: string;
35442
+ isNative: boolean;
35443
+ isTest: boolean;
35444
+ name: string | null;
35445
+ symbol: string;
35446
+ type: import("@package/databases").TokenType;
35447
+ verified: boolean;
35448
+ } & {
35449
+ price?: number | null | undefined;
35450
+ updatedAt?: number | null | undefined;
35451
+ priceSource?: string | null | undefined;
35452
+ isTokenWrapper?: boolean | undefined;
35453
+ tokenWrapperAddress?: string | undefined;
35454
+ }) | undefined;
35455
+ description?: string | undefined;
35456
+ amount?: bigint | undefined;
35457
+ }) | undefined;
34849
35458
  tvlRecord?: ({
34850
35459
  breakdowns: ({
34851
35460
  identifier: string;
@@ -35000,6 +35609,7 @@ declare const app: Elysia<"", {
35000
35609
  explorerAddress?: string | undefined;
35001
35610
  mainProtocolId?: string | undefined;
35002
35611
  liveCampaignsForCreator?: number | undefined;
35612
+ nativeApr?: number | undefined;
35003
35613
  }) | undefined;
35004
35614
  dailyRewards?: number | undefined;
35005
35615
  apr?: number | undefined;
@@ -35118,6 +35728,7 @@ declare const app: Elysia<"", {
35118
35728
  mainProtocolId?: string | undefined;
35119
35729
  liveCampaignsForCreator?: number | undefined;
35120
35730
  distributedBycreator?: number | undefined;
35731
+ nativeApr?: number | undefined;
35121
35732
  protocol?: ({
35122
35733
  banner: string | null;
35123
35734
  description: string;
@@ -35146,6 +35757,33 @@ declare const app: Elysia<"", {
35146
35757
  cumulated: number;
35147
35758
  timestamp: bigint;
35148
35759
  } & {}) | undefined;
35760
+ nativeAprRecord?: ({
35761
+ timestamp: bigint;
35762
+ title: string;
35763
+ value: number;
35764
+ } & {
35765
+ rewardToken?: ({
35766
+ address: string;
35767
+ chainId: number;
35768
+ decimals: number;
35769
+ icon: string;
35770
+ id: string;
35771
+ isNative: boolean;
35772
+ isTest: boolean;
35773
+ name: string | null;
35774
+ symbol: string;
35775
+ type: import("@package/databases").TokenType;
35776
+ verified: boolean;
35777
+ } & {
35778
+ price?: number | null | undefined;
35779
+ updatedAt?: number | null | undefined;
35780
+ priceSource?: string | null | undefined;
35781
+ isTokenWrapper?: boolean | undefined;
35782
+ tokenWrapperAddress?: string | undefined;
35783
+ }) | undefined;
35784
+ description?: string | undefined;
35785
+ amount?: bigint | undefined;
35786
+ }) | undefined;
35149
35787
  tvlRecord?: ({
35150
35788
  breakdowns: ({
35151
35789
  identifier: string;
@@ -35300,6 +35938,7 @@ declare const app: Elysia<"", {
35300
35938
  explorerAddress?: string | undefined;
35301
35939
  mainProtocolId?: string | undefined;
35302
35940
  liveCampaignsForCreator?: number | undefined;
35941
+ nativeApr?: number | undefined;
35303
35942
  }) | undefined;
35304
35943
  dailyRewards?: number | undefined;
35305
35944
  apr?: number | undefined;
@@ -36237,9 +36876,7 @@ declare const app: Elysia<"", {
36237
36876
  };
36238
36877
  };
36239
36878
  };
36240
- };
36241
- } & {
36242
- v4: {
36879
+ } & {
36243
36880
  users: {
36244
36881
  ":address": {
36245
36882
  rewards: {
@@ -36540,6 +37177,7 @@ declare const app: Elysia<"", {
36540
37177
  mainProtocolId: string | null;
36541
37178
  tvl: number;
36542
37179
  apr: number;
37180
+ nativeApr: number | null;
36543
37181
  maxApr: number | null;
36544
37182
  dailyRewards: number;
36545
37183
  tags: string[];
@@ -36662,6 +37300,7 @@ declare const app: Elysia<"", {
36662
37300
  mainProtocolId: string | null;
36663
37301
  tvl: number;
36664
37302
  apr: number;
37303
+ nativeApr: number | null;
36665
37304
  maxApr: number | null;
36666
37305
  dailyRewards: number;
36667
37306
  tags: string[];
@@ -36731,6 +37370,7 @@ declare const app: Elysia<"", {
36731
37370
  mainProtocolId?: string | undefined;
36732
37371
  liveCampaignsForCreator?: number | undefined;
36733
37372
  distributedBycreator?: number | undefined;
37373
+ nativeApr?: number | undefined;
36734
37374
  protocol?: ({
36735
37375
  banner: string | null;
36736
37376
  description: string;
@@ -36759,6 +37399,33 @@ declare const app: Elysia<"", {
36759
37399
  cumulated: number;
36760
37400
  timestamp: bigint;
36761
37401
  } & {}) | undefined;
37402
+ nativeAprRecord?: ({
37403
+ timestamp: bigint;
37404
+ title: string;
37405
+ value: number;
37406
+ } & {
37407
+ rewardToken?: ({
37408
+ address: string;
37409
+ chainId: number;
37410
+ decimals: number;
37411
+ icon: string;
37412
+ id: string;
37413
+ isNative: boolean;
37414
+ isTest: boolean;
37415
+ name: string | null;
37416
+ symbol: string;
37417
+ type: import("@package/databases").TokenType;
37418
+ verified: boolean;
37419
+ } & {
37420
+ price?: number | null | undefined;
37421
+ updatedAt?: number | null | undefined;
37422
+ priceSource?: string | null | undefined;
37423
+ isTokenWrapper?: boolean | undefined;
37424
+ tokenWrapperAddress?: string | undefined;
37425
+ }) | undefined;
37426
+ description?: string | undefined;
37427
+ amount?: bigint | undefined;
37428
+ }) | undefined;
36762
37429
  tvlRecord?: ({
36763
37430
  breakdowns: ({
36764
37431
  identifier: string;
@@ -36913,6 +37580,7 @@ declare const app: Elysia<"", {
36913
37580
  explorerAddress?: string | undefined;
36914
37581
  mainProtocolId?: string | undefined;
36915
37582
  liveCampaignsForCreator?: number | undefined;
37583
+ nativeApr?: number | undefined;
36916
37584
  }) | undefined;
36917
37585
  dailyRewards?: number | undefined;
36918
37586
  apr?: number | undefined;