@merkl/api 1.5.21 → 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 (60) hide show
  1. package/dist/src/eden/index.d.ts +6723 -6036
  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 +734 -106
  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.repository.d.ts +9 -0
  22. package/dist/src/modules/v4/campaign/campaign.service.d.ts +36 -0
  23. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +88 -0
  24. package/dist/src/modules/v4/carousel/carousel.controller.d.ts +4 -0
  25. package/dist/src/modules/v4/carousel/carousel.repository.d.ts +6 -0
  26. package/dist/src/modules/v4/carousel/carousel.service.d.ts +6 -0
  27. package/dist/src/modules/v4/config/config.controller.d.ts +29 -0
  28. package/dist/src/modules/v4/config/config.controller.js.map +1 -1
  29. package/dist/src/modules/v4/config/config.model.d.ts +25 -0
  30. package/dist/src/modules/v4/config/config.model.js.map +1 -0
  31. package/dist/src/modules/v4/config/config.service.d.ts +243 -0
  32. package/dist/src/modules/v4/config/config.service.js.map +1 -0
  33. package/dist/src/modules/v4/creator/creator.controller.d.ts +27 -1
  34. package/dist/src/modules/v4/creator/creator.model.d.ts +29 -0
  35. package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -0
  36. package/dist/src/modules/v4/creator/creator.service.d.ts +2 -1
  37. package/dist/src/modules/v4/creator/creator.service.js.map +1 -1
  38. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +210 -0
  39. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +30 -0
  40. package/dist/src/modules/v4/opportunity/opportunity.formatter.js.map +1 -1
  41. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +66 -3
  42. package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
  43. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +178 -0
  44. package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
  45. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +171 -0
  46. package/dist/src/modules/v4/payload/payload.controller.d.ts +87 -0
  47. package/dist/src/modules/v4/payload/payload.service.d.ts +116 -0
  48. package/dist/src/modules/v4/program/program.repository.d.ts +4 -0
  49. package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +5233 -5233
  50. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -0
  51. package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
  52. package/dist/src/modules/v4/reward/reward.service.d.ts +41 -0
  53. package/dist/src/modules/v4/router.d.ts +734 -106
  54. package/dist/src/modules/v4/router.js.map +1 -1
  55. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +58 -0
  56. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +29 -0
  57. package/dist/src/modules/v4/user/user.controller.d.ts +31 -0
  58. package/dist/src/scripts/exportOpportunities.js.map +1 -1
  59. package/dist/src/scripts/importOpportunities.js.map +1 -1
  60. 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: {
@@ -4605,9 +4842,7 @@ declare const app: Elysia<"", {
4605
4842
  };
4606
4843
  };
4607
4844
  };
4608
- };
4609
- } & {
4610
- v4: {
4845
+ } & {
4611
4846
  carousels: {
4612
4847
  get: {
4613
4848
  body: unknown;
@@ -4928,6 +5163,7 @@ declare const app: Elysia<"", {
4928
5163
  mainProtocolId: string | null;
4929
5164
  tvl: number;
4930
5165
  apr: number;
5166
+ nativeApr: number | null;
4931
5167
  maxApr: number | null;
4932
5168
  dailyRewards: number;
4933
5169
  tags: string[];
@@ -5005,6 +5241,7 @@ declare const app: Elysia<"", {
5005
5241
  mainProtocolId: string | null;
5006
5242
  tvl: number;
5007
5243
  apr: number;
5244
+ nativeApr: number | null;
5008
5245
  maxApr: number | null;
5009
5246
  dailyRewards: number;
5010
5247
  tags: string[];
@@ -5317,6 +5554,7 @@ declare const app: Elysia<"", {
5317
5554
  mainProtocolId: string | null;
5318
5555
  tvl: number;
5319
5556
  apr: number;
5557
+ nativeApr: number | null;
5320
5558
  maxApr: number | null;
5321
5559
  dailyRewards: number;
5322
5560
  tags: string[];
@@ -5394,6 +5632,7 @@ declare const app: Elysia<"", {
5394
5632
  mainProtocolId: string | null;
5395
5633
  tvl: number;
5396
5634
  apr: number;
5635
+ nativeApr: number | null;
5397
5636
  maxApr: number | null;
5398
5637
  dailyRewards: number;
5399
5638
  tags: string[];
@@ -5594,9 +5833,7 @@ declare const app: Elysia<"", {
5594
5833
  };
5595
5834
  };
5596
5835
  };
5597
- };
5598
- } & {
5599
- v4: {
5836
+ } & {
5600
5837
  chains: {
5601
5838
  get: {
5602
5839
  body: unknown;
@@ -5773,9 +6010,7 @@ declare const app: Elysia<"", {
5773
6010
  };
5774
6011
  };
5775
6012
  };
5776
- };
5777
- } & {
5778
- v4: {
6013
+ } & {
5779
6014
  claims: {
5780
6015
  ":address": {
5781
6016
  get: {
@@ -5822,9 +6057,7 @@ declare const app: Elysia<"", {
5822
6057
  };
5823
6058
  };
5824
6059
  };
5825
- };
5826
- } & {
5827
- v4: {
6060
+ } & {
5828
6061
  clamm: {
5829
6062
  pools: {
5830
6063
  ":chainId": {
@@ -5883,9 +6116,7 @@ declare const app: Elysia<"", {
5883
6116
  };
5884
6117
  };
5885
6118
  };
5886
- };
5887
- } & {
5888
- v4: {
6119
+ } & {
5889
6120
  value: {
5890
6121
  campaign: {
5891
6122
  ":campaignId": {
@@ -6193,9 +6424,7 @@ declare const app: Elysia<"", {
6193
6424
  };
6194
6425
  };
6195
6426
  };
6196
- };
6197
- } & {
6198
- v4: {
6427
+ } & {
6199
6428
  config: {
6200
6429
  ":id": {
6201
6430
  get: {
@@ -6380,6 +6609,34 @@ declare const app: Elysia<"", {
6380
6609
  opportunityBannerLight: string | null;
6381
6610
  opportunityBannerDark: string | null;
6382
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
+ })[];
6383
6640
  Protocols: {
6384
6641
  id: string;
6385
6642
  tags: string[];
@@ -6435,6 +6692,7 @@ declare const app: Elysia<"", {
6435
6692
  mainProtocolId: string | null;
6436
6693
  tvl: number;
6437
6694
  apr: number;
6695
+ nativeApr: number | null;
6438
6696
  maxApr: number | null;
6439
6697
  dailyRewards: number;
6440
6698
  tags: string[];
@@ -6563,9 +6821,7 @@ declare const app: Elysia<"", {
6563
6821
  };
6564
6822
  };
6565
6823
  };
6566
- };
6567
- } & {
6568
- v4: {
6824
+ } & {
6569
6825
  creators: {
6570
6826
  post: {
6571
6827
  body: {
@@ -6754,7 +7010,7 @@ declare const app: Elysia<"", {
6754
7010
  liveCampaigns: number;
6755
7011
  futureCampaigns: number;
6756
7012
  totalTvl: number;
6757
- totalWallets: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
7013
+ totalWallets: number;
6758
7014
  totalCampaigns: number;
6759
7015
  creatorId: string | null;
6760
7016
  totalDistributed: number;
@@ -6875,6 +7131,7 @@ declare const app: Elysia<"", {
6875
7131
  action: string;
6876
7132
  tvl: number;
6877
7133
  apr: number;
7134
+ nativeApr?: number | undefined;
6878
7135
  maxApr: number | null;
6879
7136
  dailyRewards: number;
6880
7137
  depositUrl?: string | undefined;
@@ -6922,6 +7179,30 @@ declare const app: Elysia<"", {
6922
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;
6923
7180
  }[];
6924
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;
6925
7206
  tvlRecord?: {
6926
7207
  total: number;
6927
7208
  timestamp: string | bigint;
@@ -7031,6 +7312,7 @@ declare const app: Elysia<"", {
7031
7312
  mainProtocolId: string | null;
7032
7313
  tvl: number;
7033
7314
  apr: number;
7315
+ nativeApr: number | null;
7034
7316
  maxApr: number | null;
7035
7317
  dailyRewards: number;
7036
7318
  tags: string[];
@@ -7214,9 +7496,7 @@ declare const app: Elysia<"", {
7214
7496
  };
7215
7497
  };
7216
7498
  };
7217
- };
7218
- } & {
7219
- v4: {
7499
+ } & {
7220
7500
  euler: {
7221
7501
  vaults: {
7222
7502
  ":chainId": {
@@ -7301,9 +7581,7 @@ declare const app: Elysia<"", {
7301
7581
  };
7302
7582
  };
7303
7583
  };
7304
- };
7305
- } & {
7306
- v4: {
7584
+ } & {
7307
7585
  explorers: {
7308
7586
  post: {
7309
7587
  body: {
@@ -7335,9 +7613,7 @@ declare const app: Elysia<"", {
7335
7613
  };
7336
7614
  };
7337
7615
  };
7338
- };
7339
- } & {
7340
- v4: {
7616
+ } & {
7341
7617
  github: {
7342
7618
  get: {
7343
7619
  body: unknown;
@@ -7369,9 +7645,7 @@ declare const app: Elysia<"", {
7369
7645
  };
7370
7646
  };
7371
7647
  };
7372
- };
7373
- } & {
7374
- v4: {
7648
+ } & {
7375
7649
  interaction: {
7376
7650
  targets: {
7377
7651
  get: {
@@ -7468,9 +7742,7 @@ declare const app: Elysia<"", {
7468
7742
  };
7469
7743
  };
7470
7744
  };
7471
- };
7472
- } & {
7473
- v4: {
7745
+ } & {
7474
7746
  "machine-config": {
7475
7747
  ":campaignId": {
7476
7748
  get: {
@@ -7533,9 +7805,7 @@ declare const app: Elysia<"", {
7533
7805
  };
7534
7806
  };
7535
7807
  };
7536
- };
7537
- } & {
7538
- v4: {
7808
+ } & {
7539
7809
  roots: {
7540
7810
  get: {
7541
7811
  body: unknown;
@@ -7702,9 +7972,7 @@ declare const app: Elysia<"", {
7702
7972
  };
7703
7973
  };
7704
7974
  };
7705
- };
7706
- } & {
7707
- v4: {
7975
+ } & {
7708
7976
  ofac: {
7709
7977
  ":ip": {
7710
7978
  get: {
@@ -7734,9 +8002,7 @@ declare const app: Elysia<"", {
7734
8002
  };
7735
8003
  };
7736
8004
  };
7737
- };
7738
- } & {
7739
- v4: {
8005
+ } & {
7740
8006
  opportunities: {
7741
8007
  campaigns: {
7742
8008
  get: {
@@ -7925,6 +8191,31 @@ declare const app: Elysia<"", {
7925
8191
  liveCampaignsForCreator?: number | undefined;
7926
8192
  maxApr: number | null;
7927
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;
7928
8219
  protocol?: {
7929
8220
  id: string;
7930
8221
  name: string;
@@ -8048,6 +8339,7 @@ declare const app: Elysia<"", {
8048
8339
  action: string;
8049
8340
  tvl: number;
8050
8341
  apr: number;
8342
+ nativeApr?: number | undefined;
8051
8343
  maxApr: number | null;
8052
8344
  dailyRewards: number;
8053
8345
  depositUrl?: string | undefined;
@@ -8095,6 +8387,30 @@ declare const app: Elysia<"", {
8095
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;
8096
8388
  }[];
8097
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;
8098
8414
  tvlRecord?: {
8099
8415
  total: number;
8100
8416
  timestamp: string | bigint;
@@ -8304,6 +8620,31 @@ declare const app: Elysia<"", {
8304
8620
  liveCampaignsForCreator?: number | undefined;
8305
8621
  maxApr: number | null;
8306
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;
8307
8648
  protocol?: {
8308
8649
  id: string;
8309
8650
  name: string;
@@ -8565,6 +8906,31 @@ declare const app: Elysia<"", {
8565
8906
  liveCampaignsForCreator?: number | undefined;
8566
8907
  maxApr: number | null;
8567
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;
8568
8934
  protocol?: {
8569
8935
  id: string;
8570
8936
  name: string;
@@ -8713,6 +9079,7 @@ declare const app: Elysia<"", {
8713
9079
  action: string;
8714
9080
  tvl: number;
8715
9081
  apr: number;
9082
+ nativeApr?: number | undefined;
8716
9083
  maxApr: number | null;
8717
9084
  dailyRewards: number;
8718
9085
  depositUrl?: string | undefined;
@@ -8760,6 +9127,30 @@ declare const app: Elysia<"", {
8760
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;
8761
9128
  }[];
8762
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;
8763
9154
  tvlRecord?: {
8764
9155
  total: number;
8765
9156
  timestamp: string | bigint;
@@ -8969,6 +9360,31 @@ declare const app: Elysia<"", {
8969
9360
  liveCampaignsForCreator?: number | undefined;
8970
9361
  maxApr: number | null;
8971
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;
8972
9388
  protocol?: {
8973
9389
  id: string;
8974
9390
  name: string;
@@ -9570,6 +9986,34 @@ declare const app: Elysia<"", {
9570
9986
  opportunityBannerLight: string | null;
9571
9987
  opportunityBannerDark: string | null;
9572
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
+ })[];
9573
10017
  Protocols: {
9574
10018
  id: string;
9575
10019
  tags: string[];
@@ -9625,6 +10069,7 @@ declare const app: Elysia<"", {
9625
10069
  mainProtocolId: string | null;
9626
10070
  tvl: number;
9627
10071
  apr: number;
10072
+ nativeApr: number | null;
9628
10073
  maxApr: number | null;
9629
10074
  dailyRewards: number;
9630
10075
  tags: string[];
@@ -9673,6 +10118,7 @@ declare const app: Elysia<"", {
9673
10118
  mainProtocolId: string | null;
9674
10119
  tvl: number;
9675
10120
  apr: number;
10121
+ nativeApr: number | null;
9676
10122
  maxApr: number | null;
9677
10123
  dailyRewards: number;
9678
10124
  tags: string[];
@@ -9736,6 +10182,7 @@ declare const app: Elysia<"", {
9736
10182
  mainProtocolId: string | null;
9737
10183
  tvl: number;
9738
10184
  apr: number;
10185
+ nativeApr: number | null;
9739
10186
  maxApr: number | null;
9740
10187
  dailyRewards: number;
9741
10188
  tags: string[];
@@ -9897,6 +10344,34 @@ declare const app: Elysia<"", {
9897
10344
  opportunityBannerLight: string | null;
9898
10345
  opportunityBannerDark: string | null;
9899
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
+ })[];
9900
10375
  Protocols: {
9901
10376
  id: string;
9902
10377
  tags: string[];
@@ -9952,6 +10427,7 @@ declare const app: Elysia<"", {
9952
10427
  mainProtocolId: string | null;
9953
10428
  tvl: number;
9954
10429
  apr: number;
10430
+ nativeApr: number | null;
9955
10431
  maxApr: number | null;
9956
10432
  dailyRewards: number;
9957
10433
  tags: string[];
@@ -9973,9 +10449,7 @@ declare const app: Elysia<"", {
9973
10449
  };
9974
10450
  };
9975
10451
  };
9976
- };
9977
- } & {
9978
- v4: {
10452
+ } & {
9979
10453
  parse: {
9980
10454
  post: {
9981
10455
  body: {
@@ -10013,9 +10487,7 @@ declare const app: Elysia<"", {
10013
10487
  };
10014
10488
  };
10015
10489
  };
10016
- };
10017
- } & {
10018
- v4: {
10490
+ } & {
10019
10491
  payload: {
10020
10492
  decode: {
10021
10493
  get: {
@@ -10192,6 +10664,34 @@ declare const app: Elysia<"", {
10192
10664
  opportunityBannerLight: string | null;
10193
10665
  opportunityBannerDark: string | null;
10194
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
+ })[];
10195
10695
  Protocols: {
10196
10696
  id: string;
10197
10697
  tags: string[];
@@ -10247,6 +10747,7 @@ declare const app: Elysia<"", {
10247
10747
  mainProtocolId: string | null;
10248
10748
  tvl: number;
10249
10749
  apr: number;
10750
+ nativeApr: number | null;
10250
10751
  maxApr: number | null;
10251
10752
  dailyRewards: number;
10252
10753
  tags: string[];
@@ -10435,6 +10936,34 @@ declare const app: Elysia<"", {
10435
10936
  opportunityBannerLight: string | null;
10436
10937
  opportunityBannerDark: string | null;
10437
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
+ })[];
10438
10967
  Protocols: {
10439
10968
  id: string;
10440
10969
  tags: string[];
@@ -10490,6 +11019,7 @@ declare const app: Elysia<"", {
10490
11019
  mainProtocolId: string | null;
10491
11020
  tvl: number;
10492
11021
  apr: number;
11022
+ nativeApr: number | null;
10493
11023
  maxApr: number | null;
10494
11024
  dailyRewards: number;
10495
11025
  tags: string[];
@@ -10674,6 +11204,34 @@ declare const app: Elysia<"", {
10674
11204
  opportunityBannerLight: string | null;
10675
11205
  opportunityBannerDark: string | null;
10676
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
+ })[];
10677
11235
  Protocols: {
10678
11236
  id: string;
10679
11237
  tags: string[];
@@ -10729,6 +11287,7 @@ declare const app: Elysia<"", {
10729
11287
  mainProtocolId: string | null;
10730
11288
  tvl: number;
10731
11289
  apr: number;
11290
+ nativeApr: number | null;
10732
11291
  maxApr: number | null;
10733
11292
  dailyRewards: number;
10734
11293
  tags: string[];
@@ -10760,9 +11319,7 @@ declare const app: Elysia<"", {
10760
11319
  };
10761
11320
  };
10762
11321
  };
10763
- };
10764
- } & {
10765
- v4: {
11322
+ } & {
10766
11323
  prices: {
10767
11324
  sources: {
10768
11325
  ":addressOrSymbol": {
@@ -10998,9 +11555,7 @@ declare const app: Elysia<"", {
10998
11555
  };
10999
11556
  };
11000
11557
  };
11001
- };
11002
- } & {
11003
- v4: {
11558
+ } & {
11004
11559
  programs: {
11005
11560
  get: {
11006
11561
  body: unknown;
@@ -11239,9 +11794,7 @@ declare const app: Elysia<"", {
11239
11794
  };
11240
11795
  };
11241
11796
  };
11242
- };
11243
- } & {
11244
- v4: {
11797
+ } & {
11245
11798
  "program-payload": {
11246
11799
  get: {
11247
11800
  body: unknown;
@@ -33295,9 +33848,7 @@ declare const app: Elysia<"", {
33295
33848
  };
33296
33849
  };
33297
33850
  };
33298
- };
33299
- } & {
33300
- v4: {
33851
+ } & {
33301
33852
  protocols: {
33302
33853
  get: {
33303
33854
  body: unknown;
@@ -33631,9 +34182,7 @@ declare const app: Elysia<"", {
33631
34182
  };
33632
34183
  };
33633
34184
  };
33634
- };
33635
- } & {
33636
- v4: {
34185
+ } & {
33637
34186
  referral: {
33638
34187
  code: {
33639
34188
  get: {
@@ -33711,9 +34260,7 @@ declare const app: Elysia<"", {
33711
34260
  };
33712
34261
  };
33713
34262
  };
33714
- };
33715
- } & {
33716
- v4: {
34263
+ } & {
33717
34264
  rewards: {
33718
34265
  get: {
33719
34266
  body: unknown;
@@ -34629,9 +35176,7 @@ declare const app: Elysia<"", {
34629
35176
  };
34630
35177
  };
34631
35178
  };
34632
- };
34633
- } & {
34634
- v4: {
35179
+ } & {
34635
35180
  ton: {
34636
35181
  users: {
34637
35182
  ":tonAddress": {
@@ -34663,9 +35208,7 @@ declare const app: Elysia<"", {
34663
35208
  };
34664
35209
  };
34665
35210
  };
34666
- };
34667
- } & {
34668
- v4: {
35211
+ } & {
34669
35212
  turtle: {
34670
35213
  tac: {
34671
35214
  total: {
@@ -34720,9 +35263,7 @@ declare const app: Elysia<"", {
34720
35263
  };
34721
35264
  };
34722
35265
  };
34723
- };
34724
- } & {
34725
- v4: {
35266
+ } & {
34726
35267
  uniswap: {
34727
35268
  reward: {
34728
35269
  3: {
@@ -34818,6 +35359,7 @@ declare const app: Elysia<"", {
34818
35359
  mainProtocolId?: string | undefined;
34819
35360
  liveCampaignsForCreator?: number | undefined;
34820
35361
  distributedBycreator?: number | undefined;
35362
+ nativeApr?: number | undefined;
34821
35363
  protocol?: ({
34822
35364
  banner: string | null;
34823
35365
  description: string;
@@ -34846,6 +35388,33 @@ declare const app: Elysia<"", {
34846
35388
  cumulated: number;
34847
35389
  timestamp: bigint;
34848
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;
34849
35418
  tvlRecord?: ({
34850
35419
  breakdowns: ({
34851
35420
  identifier: string;
@@ -35000,6 +35569,7 @@ declare const app: Elysia<"", {
35000
35569
  explorerAddress?: string | undefined;
35001
35570
  mainProtocolId?: string | undefined;
35002
35571
  liveCampaignsForCreator?: number | undefined;
35572
+ nativeApr?: number | undefined;
35003
35573
  }) | undefined;
35004
35574
  dailyRewards?: number | undefined;
35005
35575
  apr?: number | undefined;
@@ -35118,6 +35688,7 @@ declare const app: Elysia<"", {
35118
35688
  mainProtocolId?: string | undefined;
35119
35689
  liveCampaignsForCreator?: number | undefined;
35120
35690
  distributedBycreator?: number | undefined;
35691
+ nativeApr?: number | undefined;
35121
35692
  protocol?: ({
35122
35693
  banner: string | null;
35123
35694
  description: string;
@@ -35146,6 +35717,33 @@ declare const app: Elysia<"", {
35146
35717
  cumulated: number;
35147
35718
  timestamp: bigint;
35148
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;
35149
35747
  tvlRecord?: ({
35150
35748
  breakdowns: ({
35151
35749
  identifier: string;
@@ -35300,6 +35898,7 @@ declare const app: Elysia<"", {
35300
35898
  explorerAddress?: string | undefined;
35301
35899
  mainProtocolId?: string | undefined;
35302
35900
  liveCampaignsForCreator?: number | undefined;
35901
+ nativeApr?: number | undefined;
35303
35902
  }) | undefined;
35304
35903
  dailyRewards?: number | undefined;
35305
35904
  apr?: number | undefined;
@@ -36237,9 +36836,7 @@ declare const app: Elysia<"", {
36237
36836
  };
36238
36837
  };
36239
36838
  };
36240
- };
36241
- } & {
36242
- v4: {
36839
+ } & {
36243
36840
  users: {
36244
36841
  ":address": {
36245
36842
  rewards: {
@@ -36540,6 +37137,7 @@ declare const app: Elysia<"", {
36540
37137
  mainProtocolId: string | null;
36541
37138
  tvl: number;
36542
37139
  apr: number;
37140
+ nativeApr: number | null;
36543
37141
  maxApr: number | null;
36544
37142
  dailyRewards: number;
36545
37143
  tags: string[];
@@ -36662,6 +37260,7 @@ declare const app: Elysia<"", {
36662
37260
  mainProtocolId: string | null;
36663
37261
  tvl: number;
36664
37262
  apr: number;
37263
+ nativeApr: number | null;
36665
37264
  maxApr: number | null;
36666
37265
  dailyRewards: number;
36667
37266
  tags: string[];
@@ -36731,6 +37330,7 @@ declare const app: Elysia<"", {
36731
37330
  mainProtocolId?: string | undefined;
36732
37331
  liveCampaignsForCreator?: number | undefined;
36733
37332
  distributedBycreator?: number | undefined;
37333
+ nativeApr?: number | undefined;
36734
37334
  protocol?: ({
36735
37335
  banner: string | null;
36736
37336
  description: string;
@@ -36759,6 +37359,33 @@ declare const app: Elysia<"", {
36759
37359
  cumulated: number;
36760
37360
  timestamp: bigint;
36761
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;
36762
37389
  tvlRecord?: ({
36763
37390
  breakdowns: ({
36764
37391
  identifier: string;
@@ -36913,6 +37540,7 @@ declare const app: Elysia<"", {
36913
37540
  explorerAddress?: string | undefined;
36914
37541
  mainProtocolId?: string | undefined;
36915
37542
  liveCampaignsForCreator?: number | undefined;
37543
+ nativeApr?: number | undefined;
36916
37544
  }) | undefined;
36917
37545
  dailyRewards?: number | undefined;
36918
37546
  apr?: number | undefined;