@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
@@ -287,9 +287,93 @@ export declare const v4: Elysia<"/v4", {
287
287
  };
288
288
  };
289
289
  };
290
- };
291
- } & {
292
- v4: {
290
+ } & {
291
+ apr: {
292
+ native: {
293
+ test: {
294
+ ":builderKey": {
295
+ get: {
296
+ body: unknown;
297
+ params: {
298
+ builderKey: string;
299
+ };
300
+ query: unknown;
301
+ headers: {
302
+ authorization: string;
303
+ };
304
+ response: {
305
+ 200: {
306
+ success: boolean;
307
+ records: {
308
+ title: string;
309
+ opportunityId: string;
310
+ timestamp: number;
311
+ value: number;
312
+ description?: string | undefined;
313
+ amount?: bigint | undefined;
314
+ rewardTokenId?: string | undefined;
315
+ }[];
316
+ recordsCreated?: number | undefined;
317
+ recordsFailed?: number | undefined;
318
+ error?: string | undefined;
319
+ };
320
+ 422: {
321
+ type: "validation";
322
+ on: string;
323
+ summary?: string | undefined;
324
+ message?: string | undefined;
325
+ found?: unknown;
326
+ property?: string | undefined;
327
+ expected?: string | undefined;
328
+ };
329
+ };
330
+ };
331
+ };
332
+ };
333
+ };
334
+ } & {
335
+ native: {
336
+ ":builderKey": {
337
+ get: {
338
+ body: unknown;
339
+ params: {
340
+ builderKey: string;
341
+ };
342
+ query: unknown;
343
+ headers: {
344
+ authorization: string;
345
+ };
346
+ response: {
347
+ 200: {
348
+ success: boolean;
349
+ records: {
350
+ title: string;
351
+ opportunityId: string;
352
+ timestamp: number;
353
+ value: number;
354
+ description?: string | undefined;
355
+ amount?: bigint | undefined;
356
+ rewardTokenId?: string | undefined;
357
+ }[];
358
+ recordsCreated?: number | undefined;
359
+ recordsFailed?: number | undefined;
360
+ error?: string | undefined;
361
+ };
362
+ 422: {
363
+ type: "validation";
364
+ on: string;
365
+ summary?: string | undefined;
366
+ message?: string | undefined;
367
+ found?: unknown;
368
+ property?: string | undefined;
369
+ expected?: string | undefined;
370
+ };
371
+ };
372
+ };
373
+ };
374
+ };
375
+ };
376
+ } & {
293
377
  auth: {
294
378
  login: {
295
379
  post: {
@@ -337,9 +421,7 @@ export declare const v4: Elysia<"/v4", {
337
421
  };
338
422
  };
339
423
  };
340
- };
341
- } & {
342
- v4: {
424
+ } & {
343
425
  blacklists: {
344
426
  get: {
345
427
  body: unknown;
@@ -461,9 +543,7 @@ export declare const v4: Elysia<"/v4", {
461
543
  };
462
544
  };
463
545
  };
464
- };
465
- } & {
466
- v4: {
546
+ } & {
467
547
  boosts: {
468
548
  euler: {
469
549
  post: {
@@ -547,9 +627,7 @@ export declare const v4: Elysia<"/v4", {
547
627
  };
548
628
  };
549
629
  };
550
- };
551
- } & {
552
- v4: {
630
+ } & {
553
631
  "campaign-batch": {
554
632
  post: {
555
633
  body: {
@@ -879,9 +957,7 @@ export declare const v4: Elysia<"/v4", {
879
957
  };
880
958
  };
881
959
  };
882
- };
883
- } & {
884
- v4: {
960
+ } & {
885
961
  campaigns: {
886
962
  engine: {
887
963
  post: {
@@ -969,6 +1045,7 @@ export declare const v4: Elysia<"/v4", {
969
1045
  slug: string | null;
970
1046
  }[];
971
1047
  id: string;
1048
+ nativeApr: number | undefined;
972
1049
  depositUrl: string | undefined;
973
1050
  explorerAddress: string | undefined;
974
1051
  lastCampaignCreatedAt: number;
@@ -1113,6 +1190,7 @@ export declare const v4: Elysia<"/v4", {
1113
1190
  tags?: string[] | undefined;
1114
1191
  chainId: number;
1115
1192
  apr?: number | undefined;
1193
+ nativeApr?: number | undefined;
1116
1194
  dailyRewards?: number | undefined;
1117
1195
  tvl?: number | undefined;
1118
1196
  };
@@ -1377,6 +1455,7 @@ export declare const v4: Elysia<"/v4", {
1377
1455
  action: string;
1378
1456
  tvl: number;
1379
1457
  apr: number;
1458
+ nativeApr?: number | undefined;
1380
1459
  maxApr: number | null;
1381
1460
  dailyRewards: number;
1382
1461
  depositUrl?: string | undefined;
@@ -1424,6 +1503,30 @@ export declare const v4: Elysia<"/v4", {
1424
1503
  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;
1425
1504
  }[];
1426
1505
  } | undefined;
1506
+ nativeAprRecord?: {
1507
+ title: string;
1508
+ description?: string | undefined;
1509
+ value: number;
1510
+ timestamp: string | bigint;
1511
+ amount?: bigint | undefined;
1512
+ rewardToken?: {
1513
+ id: string;
1514
+ name: string | null;
1515
+ chainId: number;
1516
+ address: string;
1517
+ decimals: number;
1518
+ icon: string;
1519
+ verified: boolean;
1520
+ isNative: boolean;
1521
+ isTest: boolean;
1522
+ price?: number | null | undefined;
1523
+ updatedAt?: number | null | undefined;
1524
+ priceSource?: string | null | undefined;
1525
+ symbol: string;
1526
+ type: "POINT" | "PRETGE" | "TOKEN";
1527
+ displaySymbol?: string | undefined;
1528
+ } | undefined;
1529
+ } | undefined;
1427
1530
  tvlRecord?: {
1428
1531
  total: number;
1429
1532
  timestamp: string | bigint;
@@ -1497,6 +1600,7 @@ export declare const v4: Elysia<"/v4", {
1497
1600
  action: string;
1498
1601
  tvl: number;
1499
1602
  apr: number;
1603
+ nativeApr?: number | undefined;
1500
1604
  maxApr: number | null;
1501
1605
  dailyRewards: number;
1502
1606
  depositUrl?: string | undefined;
@@ -1544,6 +1648,30 @@ export declare const v4: Elysia<"/v4", {
1544
1648
  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;
1545
1649
  }[];
1546
1650
  } | undefined;
1651
+ nativeAprRecord?: {
1652
+ title: string;
1653
+ description?: string | undefined;
1654
+ value: number;
1655
+ timestamp: string | bigint;
1656
+ amount?: bigint | undefined;
1657
+ rewardToken?: {
1658
+ id: string;
1659
+ name: string | null;
1660
+ chainId: number;
1661
+ address: string;
1662
+ decimals: number;
1663
+ icon: string;
1664
+ verified: boolean;
1665
+ isNative: boolean;
1666
+ isTest: boolean;
1667
+ price?: number | null | undefined;
1668
+ updatedAt?: number | null | undefined;
1669
+ priceSource?: string | null | undefined;
1670
+ symbol: string;
1671
+ type: "POINT" | "PRETGE" | "TOKEN";
1672
+ displaySymbol?: string | undefined;
1673
+ } | undefined;
1674
+ } | undefined;
1547
1675
  tvlRecord?: {
1548
1676
  total: number;
1549
1677
  timestamp: string | bigint;
@@ -1617,6 +1745,7 @@ export declare const v4: Elysia<"/v4", {
1617
1745
  action: string;
1618
1746
  tvl: number;
1619
1747
  apr: number;
1748
+ nativeApr?: number | undefined;
1620
1749
  maxApr: number | null;
1621
1750
  dailyRewards: number;
1622
1751
  depositUrl?: string | undefined;
@@ -1664,6 +1793,30 @@ export declare const v4: Elysia<"/v4", {
1664
1793
  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;
1665
1794
  }[];
1666
1795
  } | undefined;
1796
+ nativeAprRecord?: {
1797
+ title: string;
1798
+ description?: string | undefined;
1799
+ value: number;
1800
+ timestamp: string | bigint;
1801
+ amount?: bigint | undefined;
1802
+ rewardToken?: {
1803
+ id: string;
1804
+ name: string | null;
1805
+ chainId: number;
1806
+ address: string;
1807
+ decimals: number;
1808
+ icon: string;
1809
+ verified: boolean;
1810
+ isNative: boolean;
1811
+ isTest: boolean;
1812
+ price?: number | null | undefined;
1813
+ updatedAt?: number | null | undefined;
1814
+ priceSource?: string | null | undefined;
1815
+ symbol: string;
1816
+ type: "POINT" | "PRETGE" | "TOKEN";
1817
+ displaySymbol?: string | undefined;
1818
+ } | undefined;
1819
+ } | undefined;
1667
1820
  tvlRecord?: {
1668
1821
  total: number;
1669
1822
  timestamp: string | bigint;
@@ -2038,6 +2191,7 @@ export declare const v4: Elysia<"/v4", {
2038
2191
  tags?: string[] | undefined;
2039
2192
  chainId: number;
2040
2193
  apr?: number | undefined;
2194
+ nativeApr?: number | undefined;
2041
2195
  dailyRewards?: number | undefined;
2042
2196
  tvl?: number | undefined;
2043
2197
  };
@@ -2537,6 +2691,7 @@ export declare const v4: Elysia<"/v4", {
2537
2691
  slug: string | null;
2538
2692
  }[];
2539
2693
  id: string;
2694
+ nativeApr: number | undefined;
2540
2695
  depositUrl: string | undefined;
2541
2696
  explorerAddress: string | undefined;
2542
2697
  lastCampaignCreatedAt: number;
@@ -2692,9 +2847,7 @@ export declare const v4: Elysia<"/v4", {
2692
2847
  };
2693
2848
  };
2694
2849
  };
2695
- };
2696
- } & {
2697
- v4: {
2850
+ } & {
2698
2851
  "campaign-status": {
2699
2852
  engine: {
2700
2853
  ":campaignId": {
@@ -3045,9 +3198,7 @@ export declare const v4: Elysia<"/v4", {
3045
3198
  };
3046
3199
  };
3047
3200
  };
3048
- };
3049
- } & {
3050
- v4: {
3201
+ } & {
3051
3202
  campaigns: {
3052
3203
  "dry-run": {
3053
3204
  create: {
@@ -3136,6 +3287,7 @@ export declare const v4: Elysia<"/v4", {
3136
3287
  slug: string | null;
3137
3288
  }[];
3138
3289
  id: string;
3290
+ nativeApr: number | undefined;
3139
3291
  depositUrl: string | undefined;
3140
3292
  explorerAddress: string | undefined;
3141
3293
  lastCampaignCreatedAt: number;
@@ -3856,6 +4008,34 @@ export declare const v4: Elysia<"/v4", {
3856
4008
  opportunityBannerLight: string | null;
3857
4009
  opportunityBannerDark: string | null;
3858
4010
  } | null;
4011
+ NativeAprRecords: ({
4012
+ RewardToken: {
4013
+ id: string;
4014
+ name: string | null;
4015
+ chainId: number;
4016
+ address: string;
4017
+ decimals: number;
4018
+ symbol: string;
4019
+ displaySymbol: string;
4020
+ icon: string;
4021
+ verified: boolean;
4022
+ isTest: boolean;
4023
+ type: import("@package/databases").TokenType;
4024
+ isNative: boolean;
4025
+ price: number | null;
4026
+ updatedAt: number | null;
4027
+ priceSource: string | null;
4028
+ } | null;
4029
+ } & {
4030
+ id: string;
4031
+ title: string;
4032
+ description: string | null;
4033
+ timestamp: bigint;
4034
+ value: number;
4035
+ amount: bigint | null;
4036
+ rewardTokenId: string | null;
4037
+ opportunityId: string;
4038
+ })[];
3859
4039
  Protocols: {
3860
4040
  id: string;
3861
4041
  tags: string[];
@@ -3911,6 +4091,7 @@ export declare const v4: Elysia<"/v4", {
3911
4091
  mainProtocolId: string | null;
3912
4092
  tvl: number;
3913
4093
  apr: number;
4094
+ nativeApr: number | null;
3914
4095
  maxApr: number | null;
3915
4096
  dailyRewards: number;
3916
4097
  tags: string[];
@@ -4075,6 +4256,34 @@ export declare const v4: Elysia<"/v4", {
4075
4256
  opportunityBannerLight: string | null;
4076
4257
  opportunityBannerDark: string | null;
4077
4258
  } | null;
4259
+ NativeAprRecords: ({
4260
+ RewardToken: {
4261
+ id: string;
4262
+ name: string | null;
4263
+ chainId: number;
4264
+ address: string;
4265
+ decimals: number;
4266
+ symbol: string;
4267
+ displaySymbol: string;
4268
+ icon: string;
4269
+ verified: boolean;
4270
+ isTest: boolean;
4271
+ type: import("@package/databases").TokenType;
4272
+ isNative: boolean;
4273
+ price: number | null;
4274
+ updatedAt: number | null;
4275
+ priceSource: string | null;
4276
+ } | null;
4277
+ } & {
4278
+ id: string;
4279
+ title: string;
4280
+ description: string | null;
4281
+ timestamp: bigint;
4282
+ value: number;
4283
+ amount: bigint | null;
4284
+ rewardTokenId: string | null;
4285
+ opportunityId: string;
4286
+ })[];
4078
4287
  Protocols: {
4079
4288
  id: string;
4080
4289
  tags: string[];
@@ -4130,6 +4339,7 @@ export declare const v4: Elysia<"/v4", {
4130
4339
  mainProtocolId: string | null;
4131
4340
  tvl: number;
4132
4341
  apr: number;
4342
+ nativeApr: number | null;
4133
4343
  maxApr: number | null;
4134
4344
  dailyRewards: number;
4135
4345
  tags: string[];
@@ -4293,6 +4503,34 @@ export declare const v4: Elysia<"/v4", {
4293
4503
  opportunityBannerLight: string | null;
4294
4504
  opportunityBannerDark: string | null;
4295
4505
  } | null;
4506
+ NativeAprRecords: ({
4507
+ RewardToken: {
4508
+ id: string;
4509
+ name: string | null;
4510
+ chainId: number;
4511
+ address: string;
4512
+ decimals: number;
4513
+ symbol: string;
4514
+ displaySymbol: string;
4515
+ icon: string;
4516
+ verified: boolean;
4517
+ isTest: boolean;
4518
+ type: import("@package/databases").TokenType;
4519
+ isNative: boolean;
4520
+ price: number | null;
4521
+ updatedAt: number | null;
4522
+ priceSource: string | null;
4523
+ } | null;
4524
+ } & {
4525
+ id: string;
4526
+ title: string;
4527
+ description: string | null;
4528
+ timestamp: bigint;
4529
+ value: number;
4530
+ amount: bigint | null;
4531
+ rewardTokenId: string | null;
4532
+ opportunityId: string;
4533
+ })[];
4296
4534
  Protocols: {
4297
4535
  id: string;
4298
4536
  tags: string[];
@@ -4348,6 +4586,7 @@ export declare const v4: Elysia<"/v4", {
4348
4586
  mainProtocolId: string | null;
4349
4587
  tvl: number;
4350
4588
  apr: number;
4589
+ nativeApr: number | null;
4351
4590
  maxApr: number | null;
4352
4591
  dailyRewards: number;
4353
4592
  tags: string[];
@@ -4370,9 +4609,7 @@ export declare const v4: Elysia<"/v4", {
4370
4609
  };
4371
4610
  };
4372
4611
  };
4373
- };
4374
- } & {
4375
- v4: {
4612
+ } & {
4376
4613
  "campaigns-to-process": {
4377
4614
  ":chainId": {
4378
4615
  get: {
@@ -4444,6 +4681,40 @@ export declare const v4: Elysia<"/v4", {
4444
4681
  };
4445
4682
  };
4446
4683
  };
4684
+ } & {
4685
+ workflow: {
4686
+ "pre-compute": {
4687
+ ":chainId": {
4688
+ get: {
4689
+ body: unknown;
4690
+ params: {
4691
+ chainId: number;
4692
+ } & {
4693
+ chainId: number;
4694
+ };
4695
+ query: unknown;
4696
+ headers: unknown;
4697
+ response: {
4698
+ 200: {
4699
+ memory: string;
4700
+ cpu: number;
4701
+ id: string;
4702
+ campaignId: string;
4703
+ }[];
4704
+ 422: {
4705
+ type: "validation";
4706
+ on: string;
4707
+ summary?: string | undefined;
4708
+ message?: string | undefined;
4709
+ found?: unknown;
4710
+ property?: string | undefined;
4711
+ expected?: string | undefined;
4712
+ };
4713
+ };
4714
+ };
4715
+ };
4716
+ };
4717
+ };
4447
4718
  } & {
4448
4719
  count: {
4449
4720
  ":chainId": {
@@ -4598,9 +4869,7 @@ export declare const v4: Elysia<"/v4", {
4598
4869
  };
4599
4870
  };
4600
4871
  };
4601
- };
4602
- } & {
4603
- v4: {
4872
+ } & {
4604
4873
  carousels: {
4605
4874
  get: {
4606
4875
  body: unknown;
@@ -4921,6 +5190,7 @@ export declare const v4: Elysia<"/v4", {
4921
5190
  mainProtocolId: string | null;
4922
5191
  tvl: number;
4923
5192
  apr: number;
5193
+ nativeApr: number | null;
4924
5194
  maxApr: number | null;
4925
5195
  dailyRewards: number;
4926
5196
  tags: string[];
@@ -4998,6 +5268,7 @@ export declare const v4: Elysia<"/v4", {
4998
5268
  mainProtocolId: string | null;
4999
5269
  tvl: number;
5000
5270
  apr: number;
5271
+ nativeApr: number | null;
5001
5272
  maxApr: number | null;
5002
5273
  dailyRewards: number;
5003
5274
  tags: string[];
@@ -5310,6 +5581,7 @@ export declare const v4: Elysia<"/v4", {
5310
5581
  mainProtocolId: string | null;
5311
5582
  tvl: number;
5312
5583
  apr: number;
5584
+ nativeApr: number | null;
5313
5585
  maxApr: number | null;
5314
5586
  dailyRewards: number;
5315
5587
  tags: string[];
@@ -5387,6 +5659,7 @@ export declare const v4: Elysia<"/v4", {
5387
5659
  mainProtocolId: string | null;
5388
5660
  tvl: number;
5389
5661
  apr: number;
5662
+ nativeApr: number | null;
5390
5663
  maxApr: number | null;
5391
5664
  dailyRewards: number;
5392
5665
  tags: string[];
@@ -5587,9 +5860,7 @@ export declare const v4: Elysia<"/v4", {
5587
5860
  };
5588
5861
  };
5589
5862
  };
5590
- };
5591
- } & {
5592
- v4: {
5863
+ } & {
5593
5864
  chains: {
5594
5865
  get: {
5595
5866
  body: unknown;
@@ -5766,9 +6037,7 @@ export declare const v4: Elysia<"/v4", {
5766
6037
  };
5767
6038
  };
5768
6039
  };
5769
- };
5770
- } & {
5771
- v4: {
6040
+ } & {
5772
6041
  claims: {
5773
6042
  ":address": {
5774
6043
  get: {
@@ -5815,9 +6084,7 @@ export declare const v4: Elysia<"/v4", {
5815
6084
  };
5816
6085
  };
5817
6086
  };
5818
- };
5819
- } & {
5820
- v4: {
6087
+ } & {
5821
6088
  clamm: {
5822
6089
  pools: {
5823
6090
  ":chainId": {
@@ -5876,9 +6143,7 @@ export declare const v4: Elysia<"/v4", {
5876
6143
  };
5877
6144
  };
5878
6145
  };
5879
- };
5880
- } & {
5881
- v4: {
6146
+ } & {
5882
6147
  value: {
5883
6148
  campaign: {
5884
6149
  ":campaignId": {
@@ -6186,9 +6451,7 @@ export declare const v4: Elysia<"/v4", {
6186
6451
  };
6187
6452
  };
6188
6453
  };
6189
- };
6190
- } & {
6191
- v4: {
6454
+ } & {
6192
6455
  config: {
6193
6456
  ":id": {
6194
6457
  get: {
@@ -6373,6 +6636,34 @@ export declare const v4: Elysia<"/v4", {
6373
6636
  opportunityBannerLight: string | null;
6374
6637
  opportunityBannerDark: string | null;
6375
6638
  } | null;
6639
+ NativeAprRecords: ({
6640
+ RewardToken: {
6641
+ id: string;
6642
+ name: string | null;
6643
+ chainId: number;
6644
+ address: string;
6645
+ decimals: number;
6646
+ symbol: string;
6647
+ displaySymbol: string;
6648
+ icon: string;
6649
+ verified: boolean;
6650
+ isTest: boolean;
6651
+ type: import("@package/databases").TokenType;
6652
+ isNative: boolean;
6653
+ price: number | null;
6654
+ updatedAt: number | null;
6655
+ priceSource: string | null;
6656
+ } | null;
6657
+ } & {
6658
+ id: string;
6659
+ title: string;
6660
+ description: string | null;
6661
+ timestamp: bigint;
6662
+ value: number;
6663
+ amount: bigint | null;
6664
+ rewardTokenId: string | null;
6665
+ opportunityId: string;
6666
+ })[];
6376
6667
  Protocols: {
6377
6668
  id: string;
6378
6669
  tags: string[];
@@ -6428,6 +6719,7 @@ export declare const v4: Elysia<"/v4", {
6428
6719
  mainProtocolId: string | null;
6429
6720
  tvl: number;
6430
6721
  apr: number;
6722
+ nativeApr: number | null;
6431
6723
  maxApr: number | null;
6432
6724
  dailyRewards: number;
6433
6725
  tags: string[];
@@ -6556,9 +6848,7 @@ export declare const v4: Elysia<"/v4", {
6556
6848
  };
6557
6849
  };
6558
6850
  };
6559
- };
6560
- } & {
6561
- v4: {
6851
+ } & {
6562
6852
  creators: {
6563
6853
  post: {
6564
6854
  body: {
@@ -6747,7 +7037,7 @@ export declare const v4: Elysia<"/v4", {
6747
7037
  liveCampaigns: number;
6748
7038
  futureCampaigns: number;
6749
7039
  totalTvl: number;
6750
- totalWallets: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
7040
+ totalWallets: number;
6751
7041
  totalCampaigns: number;
6752
7042
  creatorId: string | null;
6753
7043
  totalDistributed: number;
@@ -6868,6 +7158,7 @@ export declare const v4: Elysia<"/v4", {
6868
7158
  action: string;
6869
7159
  tvl: number;
6870
7160
  apr: number;
7161
+ nativeApr?: number | undefined;
6871
7162
  maxApr: number | null;
6872
7163
  dailyRewards: number;
6873
7164
  depositUrl?: string | undefined;
@@ -6915,6 +7206,30 @@ export declare const v4: Elysia<"/v4", {
6915
7206
  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;
6916
7207
  }[];
6917
7208
  } | undefined;
7209
+ nativeAprRecord?: {
7210
+ title: string;
7211
+ description?: string | undefined;
7212
+ value: number;
7213
+ timestamp: string | bigint;
7214
+ amount?: bigint | undefined;
7215
+ rewardToken?: {
7216
+ id: string;
7217
+ name: string | null;
7218
+ chainId: number;
7219
+ address: string;
7220
+ decimals: number;
7221
+ icon: string;
7222
+ verified: boolean;
7223
+ isNative: boolean;
7224
+ isTest: boolean;
7225
+ price?: number | null | undefined;
7226
+ updatedAt?: number | null | undefined;
7227
+ priceSource?: string | null | undefined;
7228
+ symbol: string;
7229
+ type: "POINT" | "PRETGE" | "TOKEN";
7230
+ displaySymbol?: string | undefined;
7231
+ } | undefined;
7232
+ } | undefined;
6918
7233
  tvlRecord?: {
6919
7234
  total: number;
6920
7235
  timestamp: string | bigint;
@@ -7024,6 +7339,7 @@ export declare const v4: Elysia<"/v4", {
7024
7339
  mainProtocolId: string | null;
7025
7340
  tvl: number;
7026
7341
  apr: number;
7342
+ nativeApr: number | null;
7027
7343
  maxApr: number | null;
7028
7344
  dailyRewards: number;
7029
7345
  tags: string[];
@@ -7207,9 +7523,7 @@ export declare const v4: Elysia<"/v4", {
7207
7523
  };
7208
7524
  };
7209
7525
  };
7210
- };
7211
- } & {
7212
- v4: {
7526
+ } & {
7213
7527
  euler: {
7214
7528
  vaults: {
7215
7529
  ":chainId": {
@@ -7294,9 +7608,7 @@ export declare const v4: Elysia<"/v4", {
7294
7608
  };
7295
7609
  };
7296
7610
  };
7297
- };
7298
- } & {
7299
- v4: {
7611
+ } & {
7300
7612
  explorers: {
7301
7613
  post: {
7302
7614
  body: {
@@ -7328,9 +7640,7 @@ export declare const v4: Elysia<"/v4", {
7328
7640
  };
7329
7641
  };
7330
7642
  };
7331
- };
7332
- } & {
7333
- v4: {
7643
+ } & {
7334
7644
  github: {
7335
7645
  get: {
7336
7646
  body: unknown;
@@ -7362,9 +7672,7 @@ export declare const v4: Elysia<"/v4", {
7362
7672
  };
7363
7673
  };
7364
7674
  };
7365
- };
7366
- } & {
7367
- v4: {
7675
+ } & {
7368
7676
  interaction: {
7369
7677
  targets: {
7370
7678
  get: {
@@ -7461,9 +7769,7 @@ export declare const v4: Elysia<"/v4", {
7461
7769
  };
7462
7770
  };
7463
7771
  };
7464
- };
7465
- } & {
7466
- v4: {
7772
+ } & {
7467
7773
  "machine-config": {
7468
7774
  ":campaignId": {
7469
7775
  get: {
@@ -7476,8 +7782,10 @@ export declare const v4: Elysia<"/v4", {
7476
7782
  response: {
7477
7783
  200: {
7478
7784
  campaignId: string;
7479
- memory?: number | undefined;
7480
- cpu?: number | undefined;
7785
+ computeMemory?: number | undefined;
7786
+ computeCpu?: number | undefined;
7787
+ precomputeMemory?: number | undefined;
7788
+ precomputeCpu?: number | undefined;
7481
7789
  };
7482
7790
  422: {
7483
7791
  type: "validation";
@@ -7497,8 +7805,10 @@ export declare const v4: Elysia<"/v4", {
7497
7805
  ":campaignId": {
7498
7806
  post: {
7499
7807
  body: {
7500
- memory?: number | undefined;
7501
- cpu?: number | undefined;
7808
+ computeMemory?: number | undefined;
7809
+ computeCpu?: number | undefined;
7810
+ precomputeMemory?: number | undefined;
7811
+ precomputeCpu?: number | undefined;
7502
7812
  };
7503
7813
  params: {
7504
7814
  campaignId: string;
@@ -7510,8 +7820,10 @@ export declare const v4: Elysia<"/v4", {
7510
7820
  response: {
7511
7821
  200: {
7512
7822
  campaignId: string;
7513
- memory?: number | undefined;
7514
- cpu?: number | undefined;
7823
+ computeMemory?: number | undefined;
7824
+ computeCpu?: number | undefined;
7825
+ precomputeMemory?: number | undefined;
7826
+ precomputeCpu?: number | undefined;
7515
7827
  };
7516
7828
  422: {
7517
7829
  type: "validation";
@@ -7526,9 +7838,7 @@ export declare const v4: Elysia<"/v4", {
7526
7838
  };
7527
7839
  };
7528
7840
  };
7529
- };
7530
- } & {
7531
- v4: {
7841
+ } & {
7532
7842
  roots: {
7533
7843
  get: {
7534
7844
  body: unknown;
@@ -7695,9 +8005,7 @@ export declare const v4: Elysia<"/v4", {
7695
8005
  };
7696
8006
  };
7697
8007
  };
7698
- };
7699
- } & {
7700
- v4: {
8008
+ } & {
7701
8009
  ofac: {
7702
8010
  ":ip": {
7703
8011
  get: {
@@ -7727,9 +8035,7 @@ export declare const v4: Elysia<"/v4", {
7727
8035
  };
7728
8036
  };
7729
8037
  };
7730
- };
7731
- } & {
7732
- v4: {
8038
+ } & {
7733
8039
  opportunities: {
7734
8040
  campaigns: {
7735
8041
  get: {
@@ -7918,6 +8224,31 @@ export declare const v4: Elysia<"/v4", {
7918
8224
  liveCampaignsForCreator?: number | undefined;
7919
8225
  maxApr: number | null;
7920
8226
  name: string;
8227
+ nativeApr?: number | undefined;
8228
+ nativeAprRecord?: {
8229
+ title: string;
8230
+ description?: string | undefined;
8231
+ value: number;
8232
+ timestamp: string | bigint;
8233
+ amount?: bigint | undefined;
8234
+ rewardToken?: {
8235
+ id: string;
8236
+ name: string | null;
8237
+ chainId: number;
8238
+ address: string;
8239
+ decimals: number;
8240
+ icon: string;
8241
+ verified: boolean;
8242
+ isNative: boolean;
8243
+ isTest: boolean;
8244
+ price?: number | null | undefined;
8245
+ updatedAt?: number | null | undefined;
8246
+ priceSource?: string | null | undefined;
8247
+ symbol: string;
8248
+ type: "POINT" | "PRETGE" | "TOKEN";
8249
+ displaySymbol?: string | undefined;
8250
+ } | undefined;
8251
+ } | undefined;
7921
8252
  protocol?: {
7922
8253
  id: string;
7923
8254
  name: string;
@@ -8041,6 +8372,7 @@ export declare const v4: Elysia<"/v4", {
8041
8372
  action: string;
8042
8373
  tvl: number;
8043
8374
  apr: number;
8375
+ nativeApr?: number | undefined;
8044
8376
  maxApr: number | null;
8045
8377
  dailyRewards: number;
8046
8378
  depositUrl?: string | undefined;
@@ -8088,6 +8420,30 @@ export declare const v4: Elysia<"/v4", {
8088
8420
  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;
8089
8421
  }[];
8090
8422
  } | undefined;
8423
+ nativeAprRecord?: {
8424
+ title: string;
8425
+ description?: string | undefined;
8426
+ value: number;
8427
+ timestamp: string | bigint;
8428
+ amount?: bigint | undefined;
8429
+ rewardToken?: {
8430
+ id: string;
8431
+ name: string | null;
8432
+ chainId: number;
8433
+ address: string;
8434
+ decimals: number;
8435
+ icon: string;
8436
+ verified: boolean;
8437
+ isNative: boolean;
8438
+ isTest: boolean;
8439
+ price?: number | null | undefined;
8440
+ updatedAt?: number | null | undefined;
8441
+ priceSource?: string | null | undefined;
8442
+ symbol: string;
8443
+ type: "POINT" | "PRETGE" | "TOKEN";
8444
+ displaySymbol?: string | undefined;
8445
+ } | undefined;
8446
+ } | undefined;
8091
8447
  tvlRecord?: {
8092
8448
  total: number;
8093
8449
  timestamp: string | bigint;
@@ -8297,6 +8653,31 @@ export declare const v4: Elysia<"/v4", {
8297
8653
  liveCampaignsForCreator?: number | undefined;
8298
8654
  maxApr: number | null;
8299
8655
  name: string;
8656
+ nativeApr?: number | undefined;
8657
+ nativeAprRecord?: {
8658
+ title: string;
8659
+ description?: string | undefined;
8660
+ value: number;
8661
+ timestamp: string | bigint;
8662
+ amount?: bigint | undefined;
8663
+ rewardToken?: {
8664
+ id: string;
8665
+ name: string | null;
8666
+ chainId: number;
8667
+ address: string;
8668
+ decimals: number;
8669
+ icon: string;
8670
+ verified: boolean;
8671
+ isNative: boolean;
8672
+ isTest: boolean;
8673
+ price?: number | null | undefined;
8674
+ updatedAt?: number | null | undefined;
8675
+ priceSource?: string | null | undefined;
8676
+ symbol: string;
8677
+ type: "POINT" | "PRETGE" | "TOKEN";
8678
+ displaySymbol?: string | undefined;
8679
+ } | undefined;
8680
+ } | undefined;
8300
8681
  protocol?: {
8301
8682
  id: string;
8302
8683
  name: string;
@@ -8558,6 +8939,31 @@ export declare const v4: Elysia<"/v4", {
8558
8939
  liveCampaignsForCreator?: number | undefined;
8559
8940
  maxApr: number | null;
8560
8941
  name: string;
8942
+ nativeApr?: number | undefined;
8943
+ nativeAprRecord?: {
8944
+ title: string;
8945
+ description?: string | undefined;
8946
+ value: number;
8947
+ timestamp: string | bigint;
8948
+ amount?: bigint | undefined;
8949
+ rewardToken?: {
8950
+ id: string;
8951
+ name: string | null;
8952
+ chainId: number;
8953
+ address: string;
8954
+ decimals: number;
8955
+ icon: string;
8956
+ verified: boolean;
8957
+ isNative: boolean;
8958
+ isTest: boolean;
8959
+ price?: number | null | undefined;
8960
+ updatedAt?: number | null | undefined;
8961
+ priceSource?: string | null | undefined;
8962
+ symbol: string;
8963
+ type: "POINT" | "PRETGE" | "TOKEN";
8964
+ displaySymbol?: string | undefined;
8965
+ } | undefined;
8966
+ } | undefined;
8561
8967
  protocol?: {
8562
8968
  id: string;
8563
8969
  name: string;
@@ -8706,6 +9112,7 @@ export declare const v4: Elysia<"/v4", {
8706
9112
  action: string;
8707
9113
  tvl: number;
8708
9114
  apr: number;
9115
+ nativeApr?: number | undefined;
8709
9116
  maxApr: number | null;
8710
9117
  dailyRewards: number;
8711
9118
  depositUrl?: string | undefined;
@@ -8753,6 +9160,30 @@ export declare const v4: Elysia<"/v4", {
8753
9160
  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;
8754
9161
  }[];
8755
9162
  } | undefined;
9163
+ nativeAprRecord?: {
9164
+ title: string;
9165
+ description?: string | undefined;
9166
+ value: number;
9167
+ timestamp: string | bigint;
9168
+ amount?: bigint | undefined;
9169
+ rewardToken?: {
9170
+ id: string;
9171
+ name: string | null;
9172
+ chainId: number;
9173
+ address: string;
9174
+ decimals: number;
9175
+ icon: string;
9176
+ verified: boolean;
9177
+ isNative: boolean;
9178
+ isTest: boolean;
9179
+ price?: number | null | undefined;
9180
+ updatedAt?: number | null | undefined;
9181
+ priceSource?: string | null | undefined;
9182
+ symbol: string;
9183
+ type: "POINT" | "PRETGE" | "TOKEN";
9184
+ displaySymbol?: string | undefined;
9185
+ } | undefined;
9186
+ } | undefined;
8756
9187
  tvlRecord?: {
8757
9188
  total: number;
8758
9189
  timestamp: string | bigint;
@@ -8962,6 +9393,31 @@ export declare const v4: Elysia<"/v4", {
8962
9393
  liveCampaignsForCreator?: number | undefined;
8963
9394
  maxApr: number | null;
8964
9395
  name: string;
9396
+ nativeApr?: number | undefined;
9397
+ nativeAprRecord?: {
9398
+ title: string;
9399
+ description?: string | undefined;
9400
+ value: number;
9401
+ timestamp: string | bigint;
9402
+ amount?: bigint | undefined;
9403
+ rewardToken?: {
9404
+ id: string;
9405
+ name: string | null;
9406
+ chainId: number;
9407
+ address: string;
9408
+ decimals: number;
9409
+ icon: string;
9410
+ verified: boolean;
9411
+ isNative: boolean;
9412
+ isTest: boolean;
9413
+ price?: number | null | undefined;
9414
+ updatedAt?: number | null | undefined;
9415
+ priceSource?: string | null | undefined;
9416
+ symbol: string;
9417
+ type: "POINT" | "PRETGE" | "TOKEN";
9418
+ displaySymbol?: string | undefined;
9419
+ } | undefined;
9420
+ } | undefined;
8965
9421
  protocol?: {
8966
9422
  id: string;
8967
9423
  name: string;
@@ -9563,6 +10019,34 @@ export declare const v4: Elysia<"/v4", {
9563
10019
  opportunityBannerLight: string | null;
9564
10020
  opportunityBannerDark: string | null;
9565
10021
  } | null;
10022
+ NativeAprRecords: ({
10023
+ RewardToken: {
10024
+ id: string;
10025
+ name: string | null;
10026
+ chainId: number;
10027
+ address: string;
10028
+ decimals: number;
10029
+ symbol: string;
10030
+ displaySymbol: string;
10031
+ icon: string;
10032
+ verified: boolean;
10033
+ isTest: boolean;
10034
+ type: import("@package/databases").TokenType;
10035
+ isNative: boolean;
10036
+ price: number | null;
10037
+ updatedAt: number | null;
10038
+ priceSource: string | null;
10039
+ } | null;
10040
+ } & {
10041
+ id: string;
10042
+ title: string;
10043
+ description: string | null;
10044
+ timestamp: bigint;
10045
+ value: number;
10046
+ amount: bigint | null;
10047
+ rewardTokenId: string | null;
10048
+ opportunityId: string;
10049
+ })[];
9566
10050
  Protocols: {
9567
10051
  id: string;
9568
10052
  tags: string[];
@@ -9618,6 +10102,7 @@ export declare const v4: Elysia<"/v4", {
9618
10102
  mainProtocolId: string | null;
9619
10103
  tvl: number;
9620
10104
  apr: number;
10105
+ nativeApr: number | null;
9621
10106
  maxApr: number | null;
9622
10107
  dailyRewards: number;
9623
10108
  tags: string[];
@@ -9666,6 +10151,7 @@ export declare const v4: Elysia<"/v4", {
9666
10151
  mainProtocolId: string | null;
9667
10152
  tvl: number;
9668
10153
  apr: number;
10154
+ nativeApr: number | null;
9669
10155
  maxApr: number | null;
9670
10156
  dailyRewards: number;
9671
10157
  tags: string[];
@@ -9729,6 +10215,7 @@ export declare const v4: Elysia<"/v4", {
9729
10215
  mainProtocolId: string | null;
9730
10216
  tvl: number;
9731
10217
  apr: number;
10218
+ nativeApr: number | null;
9732
10219
  maxApr: number | null;
9733
10220
  dailyRewards: number;
9734
10221
  tags: string[];
@@ -9890,6 +10377,34 @@ export declare const v4: Elysia<"/v4", {
9890
10377
  opportunityBannerLight: string | null;
9891
10378
  opportunityBannerDark: string | null;
9892
10379
  } | null;
10380
+ NativeAprRecords: ({
10381
+ RewardToken: {
10382
+ id: string;
10383
+ name: string | null;
10384
+ chainId: number;
10385
+ address: string;
10386
+ decimals: number;
10387
+ symbol: string;
10388
+ displaySymbol: string;
10389
+ icon: string;
10390
+ verified: boolean;
10391
+ isTest: boolean;
10392
+ type: import("@package/databases").TokenType;
10393
+ isNative: boolean;
10394
+ price: number | null;
10395
+ updatedAt: number | null;
10396
+ priceSource: string | null;
10397
+ } | null;
10398
+ } & {
10399
+ id: string;
10400
+ title: string;
10401
+ description: string | null;
10402
+ timestamp: bigint;
10403
+ value: number;
10404
+ amount: bigint | null;
10405
+ rewardTokenId: string | null;
10406
+ opportunityId: string;
10407
+ })[];
9893
10408
  Protocols: {
9894
10409
  id: string;
9895
10410
  tags: string[];
@@ -9945,6 +10460,7 @@ export declare const v4: Elysia<"/v4", {
9945
10460
  mainProtocolId: string | null;
9946
10461
  tvl: number;
9947
10462
  apr: number;
10463
+ nativeApr: number | null;
9948
10464
  maxApr: number | null;
9949
10465
  dailyRewards: number;
9950
10466
  tags: string[];
@@ -9966,9 +10482,7 @@ export declare const v4: Elysia<"/v4", {
9966
10482
  };
9967
10483
  };
9968
10484
  };
9969
- };
9970
- } & {
9971
- v4: {
10485
+ } & {
9972
10486
  parse: {
9973
10487
  post: {
9974
10488
  body: {
@@ -10006,9 +10520,7 @@ export declare const v4: Elysia<"/v4", {
10006
10520
  };
10007
10521
  };
10008
10522
  };
10009
- };
10010
- } & {
10011
- v4: {
10523
+ } & {
10012
10524
  payload: {
10013
10525
  decode: {
10014
10526
  get: {
@@ -10185,6 +10697,34 @@ export declare const v4: Elysia<"/v4", {
10185
10697
  opportunityBannerLight: string | null;
10186
10698
  opportunityBannerDark: string | null;
10187
10699
  } | null;
10700
+ NativeAprRecords: ({
10701
+ RewardToken: {
10702
+ id: string;
10703
+ name: string | null;
10704
+ chainId: number;
10705
+ address: string;
10706
+ decimals: number;
10707
+ symbol: string;
10708
+ displaySymbol: string;
10709
+ icon: string;
10710
+ verified: boolean;
10711
+ isTest: boolean;
10712
+ type: import("@package/databases").TokenType;
10713
+ isNative: boolean;
10714
+ price: number | null;
10715
+ updatedAt: number | null;
10716
+ priceSource: string | null;
10717
+ } | null;
10718
+ } & {
10719
+ id: string;
10720
+ title: string;
10721
+ description: string | null;
10722
+ timestamp: bigint;
10723
+ value: number;
10724
+ amount: bigint | null;
10725
+ rewardTokenId: string | null;
10726
+ opportunityId: string;
10727
+ })[];
10188
10728
  Protocols: {
10189
10729
  id: string;
10190
10730
  tags: string[];
@@ -10240,6 +10780,7 @@ export declare const v4: Elysia<"/v4", {
10240
10780
  mainProtocolId: string | null;
10241
10781
  tvl: number;
10242
10782
  apr: number;
10783
+ nativeApr: number | null;
10243
10784
  maxApr: number | null;
10244
10785
  dailyRewards: number;
10245
10786
  tags: string[];
@@ -10428,6 +10969,34 @@ export declare const v4: Elysia<"/v4", {
10428
10969
  opportunityBannerLight: string | null;
10429
10970
  opportunityBannerDark: string | null;
10430
10971
  } | null;
10972
+ NativeAprRecords: ({
10973
+ RewardToken: {
10974
+ id: string;
10975
+ name: string | null;
10976
+ chainId: number;
10977
+ address: string;
10978
+ decimals: number;
10979
+ symbol: string;
10980
+ displaySymbol: string;
10981
+ icon: string;
10982
+ verified: boolean;
10983
+ isTest: boolean;
10984
+ type: import("@package/databases").TokenType;
10985
+ isNative: boolean;
10986
+ price: number | null;
10987
+ updatedAt: number | null;
10988
+ priceSource: string | null;
10989
+ } | null;
10990
+ } & {
10991
+ id: string;
10992
+ title: string;
10993
+ description: string | null;
10994
+ timestamp: bigint;
10995
+ value: number;
10996
+ amount: bigint | null;
10997
+ rewardTokenId: string | null;
10998
+ opportunityId: string;
10999
+ })[];
10431
11000
  Protocols: {
10432
11001
  id: string;
10433
11002
  tags: string[];
@@ -10483,6 +11052,7 @@ export declare const v4: Elysia<"/v4", {
10483
11052
  mainProtocolId: string | null;
10484
11053
  tvl: number;
10485
11054
  apr: number;
11055
+ nativeApr: number | null;
10486
11056
  maxApr: number | null;
10487
11057
  dailyRewards: number;
10488
11058
  tags: string[];
@@ -10667,6 +11237,34 @@ export declare const v4: Elysia<"/v4", {
10667
11237
  opportunityBannerLight: string | null;
10668
11238
  opportunityBannerDark: string | null;
10669
11239
  } | null;
11240
+ NativeAprRecords: ({
11241
+ RewardToken: {
11242
+ id: string;
11243
+ name: string | null;
11244
+ chainId: number;
11245
+ address: string;
11246
+ decimals: number;
11247
+ symbol: string;
11248
+ displaySymbol: string;
11249
+ icon: string;
11250
+ verified: boolean;
11251
+ isTest: boolean;
11252
+ type: import("@package/databases").TokenType;
11253
+ isNative: boolean;
11254
+ price: number | null;
11255
+ updatedAt: number | null;
11256
+ priceSource: string | null;
11257
+ } | null;
11258
+ } & {
11259
+ id: string;
11260
+ title: string;
11261
+ description: string | null;
11262
+ timestamp: bigint;
11263
+ value: number;
11264
+ amount: bigint | null;
11265
+ rewardTokenId: string | null;
11266
+ opportunityId: string;
11267
+ })[];
10670
11268
  Protocols: {
10671
11269
  id: string;
10672
11270
  tags: string[];
@@ -10722,6 +11320,7 @@ export declare const v4: Elysia<"/v4", {
10722
11320
  mainProtocolId: string | null;
10723
11321
  tvl: number;
10724
11322
  apr: number;
11323
+ nativeApr: number | null;
10725
11324
  maxApr: number | null;
10726
11325
  dailyRewards: number;
10727
11326
  tags: string[];
@@ -10753,9 +11352,7 @@ export declare const v4: Elysia<"/v4", {
10753
11352
  };
10754
11353
  };
10755
11354
  };
10756
- };
10757
- } & {
10758
- v4: {
11355
+ } & {
10759
11356
  prices: {
10760
11357
  sources: {
10761
11358
  ":addressOrSymbol": {
@@ -10991,9 +11588,7 @@ export declare const v4: Elysia<"/v4", {
10991
11588
  };
10992
11589
  };
10993
11590
  };
10994
- };
10995
- } & {
10996
- v4: {
11591
+ } & {
10997
11592
  programs: {
10998
11593
  get: {
10999
11594
  body: unknown;
@@ -11232,9 +11827,7 @@ export declare const v4: Elysia<"/v4", {
11232
11827
  };
11233
11828
  };
11234
11829
  };
11235
- };
11236
- } & {
11237
- v4: {
11830
+ } & {
11238
11831
  "program-payload": {
11239
11832
  get: {
11240
11833
  body: unknown;
@@ -33288,9 +33881,7 @@ export declare const v4: Elysia<"/v4", {
33288
33881
  };
33289
33882
  };
33290
33883
  };
33291
- };
33292
- } & {
33293
- v4: {
33884
+ } & {
33294
33885
  protocols: {
33295
33886
  get: {
33296
33887
  body: unknown;
@@ -33624,9 +34215,7 @@ export declare const v4: Elysia<"/v4", {
33624
34215
  };
33625
34216
  };
33626
34217
  };
33627
- };
33628
- } & {
33629
- v4: {
34218
+ } & {
33630
34219
  referral: {
33631
34220
  code: {
33632
34221
  get: {
@@ -33704,9 +34293,7 @@ export declare const v4: Elysia<"/v4", {
33704
34293
  };
33705
34294
  };
33706
34295
  };
33707
- };
33708
- } & {
33709
- v4: {
34296
+ } & {
33710
34297
  rewards: {
33711
34298
  get: {
33712
34299
  body: unknown;
@@ -34622,9 +35209,7 @@ export declare const v4: Elysia<"/v4", {
34622
35209
  };
34623
35210
  };
34624
35211
  };
34625
- };
34626
- } & {
34627
- v4: {
35212
+ } & {
34628
35213
  ton: {
34629
35214
  users: {
34630
35215
  ":tonAddress": {
@@ -34656,9 +35241,7 @@ export declare const v4: Elysia<"/v4", {
34656
35241
  };
34657
35242
  };
34658
35243
  };
34659
- };
34660
- } & {
34661
- v4: {
35244
+ } & {
34662
35245
  turtle: {
34663
35246
  tac: {
34664
35247
  total: {
@@ -34713,9 +35296,7 @@ export declare const v4: Elysia<"/v4", {
34713
35296
  };
34714
35297
  };
34715
35298
  };
34716
- };
34717
- } & {
34718
- v4: {
35299
+ } & {
34719
35300
  uniswap: {
34720
35301
  reward: {
34721
35302
  3: {
@@ -34811,6 +35392,7 @@ export declare const v4: Elysia<"/v4", {
34811
35392
  mainProtocolId?: string | undefined;
34812
35393
  liveCampaignsForCreator?: number | undefined;
34813
35394
  distributedBycreator?: number | undefined;
35395
+ nativeApr?: number | undefined;
34814
35396
  protocol?: ({
34815
35397
  banner: string | null;
34816
35398
  description: string;
@@ -34839,6 +35421,33 @@ export declare const v4: Elysia<"/v4", {
34839
35421
  cumulated: number;
34840
35422
  timestamp: bigint;
34841
35423
  } & {}) | undefined;
35424
+ nativeAprRecord?: ({
35425
+ timestamp: bigint;
35426
+ title: string;
35427
+ value: number;
35428
+ } & {
35429
+ rewardToken?: ({
35430
+ address: string;
35431
+ chainId: number;
35432
+ decimals: number;
35433
+ icon: string;
35434
+ id: string;
35435
+ isNative: boolean;
35436
+ isTest: boolean;
35437
+ name: string | null;
35438
+ symbol: string;
35439
+ type: import("@package/databases").TokenType;
35440
+ verified: boolean;
35441
+ } & {
35442
+ price?: number | null | undefined;
35443
+ updatedAt?: number | null | undefined;
35444
+ priceSource?: string | null | undefined;
35445
+ isTokenWrapper?: boolean | undefined;
35446
+ tokenWrapperAddress?: string | undefined;
35447
+ }) | undefined;
35448
+ description?: string | undefined;
35449
+ amount?: bigint | undefined;
35450
+ }) | undefined;
34842
35451
  tvlRecord?: ({
34843
35452
  breakdowns: ({
34844
35453
  identifier: string;
@@ -34993,6 +35602,7 @@ export declare const v4: Elysia<"/v4", {
34993
35602
  explorerAddress?: string | undefined;
34994
35603
  mainProtocolId?: string | undefined;
34995
35604
  liveCampaignsForCreator?: number | undefined;
35605
+ nativeApr?: number | undefined;
34996
35606
  }) | undefined;
34997
35607
  dailyRewards?: number | undefined;
34998
35608
  apr?: number | undefined;
@@ -35111,6 +35721,7 @@ export declare const v4: Elysia<"/v4", {
35111
35721
  mainProtocolId?: string | undefined;
35112
35722
  liveCampaignsForCreator?: number | undefined;
35113
35723
  distributedBycreator?: number | undefined;
35724
+ nativeApr?: number | undefined;
35114
35725
  protocol?: ({
35115
35726
  banner: string | null;
35116
35727
  description: string;
@@ -35139,6 +35750,33 @@ export declare const v4: Elysia<"/v4", {
35139
35750
  cumulated: number;
35140
35751
  timestamp: bigint;
35141
35752
  } & {}) | undefined;
35753
+ nativeAprRecord?: ({
35754
+ timestamp: bigint;
35755
+ title: string;
35756
+ value: number;
35757
+ } & {
35758
+ rewardToken?: ({
35759
+ address: string;
35760
+ chainId: number;
35761
+ decimals: number;
35762
+ icon: string;
35763
+ id: string;
35764
+ isNative: boolean;
35765
+ isTest: boolean;
35766
+ name: string | null;
35767
+ symbol: string;
35768
+ type: import("@package/databases").TokenType;
35769
+ verified: boolean;
35770
+ } & {
35771
+ price?: number | null | undefined;
35772
+ updatedAt?: number | null | undefined;
35773
+ priceSource?: string | null | undefined;
35774
+ isTokenWrapper?: boolean | undefined;
35775
+ tokenWrapperAddress?: string | undefined;
35776
+ }) | undefined;
35777
+ description?: string | undefined;
35778
+ amount?: bigint | undefined;
35779
+ }) | undefined;
35142
35780
  tvlRecord?: ({
35143
35781
  breakdowns: ({
35144
35782
  identifier: string;
@@ -35293,6 +35931,7 @@ export declare const v4: Elysia<"/v4", {
35293
35931
  explorerAddress?: string | undefined;
35294
35932
  mainProtocolId?: string | undefined;
35295
35933
  liveCampaignsForCreator?: number | undefined;
35934
+ nativeApr?: number | undefined;
35296
35935
  }) | undefined;
35297
35936
  dailyRewards?: number | undefined;
35298
35937
  apr?: number | undefined;
@@ -36230,9 +36869,7 @@ export declare const v4: Elysia<"/v4", {
36230
36869
  };
36231
36870
  };
36232
36871
  };
36233
- };
36234
- } & {
36235
- v4: {
36872
+ } & {
36236
36873
  users: {
36237
36874
  ":address": {
36238
36875
  rewards: {
@@ -36533,6 +37170,7 @@ export declare const v4: Elysia<"/v4", {
36533
37170
  mainProtocolId: string | null;
36534
37171
  tvl: number;
36535
37172
  apr: number;
37173
+ nativeApr: number | null;
36536
37174
  maxApr: number | null;
36537
37175
  dailyRewards: number;
36538
37176
  tags: string[];
@@ -36655,6 +37293,7 @@ export declare const v4: Elysia<"/v4", {
36655
37293
  mainProtocolId: string | null;
36656
37294
  tvl: number;
36657
37295
  apr: number;
37296
+ nativeApr: number | null;
36658
37297
  maxApr: number | null;
36659
37298
  dailyRewards: number;
36660
37299
  tags: string[];
@@ -36724,6 +37363,7 @@ export declare const v4: Elysia<"/v4", {
36724
37363
  mainProtocolId?: string | undefined;
36725
37364
  liveCampaignsForCreator?: number | undefined;
36726
37365
  distributedBycreator?: number | undefined;
37366
+ nativeApr?: number | undefined;
36727
37367
  protocol?: ({
36728
37368
  banner: string | null;
36729
37369
  description: string;
@@ -36752,6 +37392,33 @@ export declare const v4: Elysia<"/v4", {
36752
37392
  cumulated: number;
36753
37393
  timestamp: bigint;
36754
37394
  } & {}) | undefined;
37395
+ nativeAprRecord?: ({
37396
+ timestamp: bigint;
37397
+ title: string;
37398
+ value: number;
37399
+ } & {
37400
+ rewardToken?: ({
37401
+ address: string;
37402
+ chainId: number;
37403
+ decimals: number;
37404
+ icon: string;
37405
+ id: string;
37406
+ isNative: boolean;
37407
+ isTest: boolean;
37408
+ name: string | null;
37409
+ symbol: string;
37410
+ type: import("@package/databases").TokenType;
37411
+ verified: boolean;
37412
+ } & {
37413
+ price?: number | null | undefined;
37414
+ updatedAt?: number | null | undefined;
37415
+ priceSource?: string | null | undefined;
37416
+ isTokenWrapper?: boolean | undefined;
37417
+ tokenWrapperAddress?: string | undefined;
37418
+ }) | undefined;
37419
+ description?: string | undefined;
37420
+ amount?: bigint | undefined;
37421
+ }) | undefined;
36755
37422
  tvlRecord?: ({
36756
37423
  breakdowns: ({
36757
37424
  identifier: string;
@@ -36906,6 +37573,7 @@ export declare const v4: Elysia<"/v4", {
36906
37573
  explorerAddress?: string | undefined;
36907
37574
  mainProtocolId?: string | undefined;
36908
37575
  liveCampaignsForCreator?: number | undefined;
37576
+ nativeApr?: number | undefined;
36909
37577
  }) | undefined;
36910
37578
  dailyRewards?: number | undefined;
36911
37579
  apr?: number | undefined;