@merkl/api 0.20.0 → 0.20.1

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 (52) hide show
  1. package/dist/database/api/.generated/drizzle/schema.d.ts +28 -28
  2. package/dist/database/api/.generated/drizzle/schema.js +11 -11
  3. package/dist/database/api/.generated/drizzle/schema.ts +11 -11
  4. package/dist/database/api/.generated/edge.js +5 -5
  5. package/dist/database/api/.generated/index-browser.js +2 -2
  6. package/dist/database/api/.generated/index.d.ts +151 -154
  7. package/dist/database/api/.generated/index.js +5 -5
  8. package/dist/database/api/.generated/package.json +1 -1
  9. package/dist/database/api/.generated/schema.prisma +11 -11
  10. package/dist/database/api/.generated/wasm.js +2 -2
  11. package/dist/src/eden/index.d.ts +56 -0
  12. package/dist/src/engine/opportunityMetadata/implementations/Clamm.d.ts +1 -0
  13. package/dist/src/engine/opportunityMetadata/implementations/Clamm.js +1 -0
  14. package/dist/src/engine/opportunityMetadata/implementations/Dolomite.d.ts +1 -0
  15. package/dist/src/engine/opportunityMetadata/implementations/Dolomite.js +2 -0
  16. package/dist/src/engine/opportunityMetadata/implementations/Erc20.d.ts +1 -0
  17. package/dist/src/engine/opportunityMetadata/implementations/Erc20.js +2 -0
  18. package/dist/src/engine/opportunityMetadata/implementations/Euler.d.ts +1 -0
  19. package/dist/src/engine/opportunityMetadata/implementations/Euler.js +2 -0
  20. package/dist/src/engine/opportunityMetadata/implementations/Hyperdrive.d.ts +1 -0
  21. package/dist/src/engine/opportunityMetadata/implementations/Hyperdrive.js +2 -0
  22. package/dist/src/engine/opportunityMetadata/implementations/Morpho.d.ts +1 -0
  23. package/dist/src/engine/opportunityMetadata/implementations/Morpho.js +2 -0
  24. package/dist/src/engine/opportunityMetadata/implementations/Radiant.d.ts +1 -0
  25. package/dist/src/engine/opportunityMetadata/implementations/Radiant.js +2 -0
  26. package/dist/src/engine/opportunityMetadata/implementations/Silo.d.ts +1 -0
  27. package/dist/src/engine/opportunityMetadata/implementations/Silo.js +2 -0
  28. package/dist/src/engine/opportunityMetadata/implementations/UniswapV4.d.ts +1 -0
  29. package/dist/src/engine/opportunityMetadata/implementations/UniswapV4.js +2 -0
  30. package/dist/src/index.d.ts +12 -0
  31. package/dist/src/jobs/reward-breakdowns.js +0 -2
  32. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +4 -0
  33. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +5 -0
  34. package/dist/src/modules/v4/campaign/campaign.service.d.ts +9 -0
  35. package/dist/src/modules/v4/merklRoot/merklRoot.service.js +1 -1
  36. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +6 -0
  37. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -0
  38. package/dist/src/modules/v4/opportunity/opportunity.model.js +1 -0
  39. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +11 -0
  40. package/dist/src/modules/v4/opportunity/opportunity.repository.js +8 -0
  41. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +12 -0
  42. package/dist/src/modules/v4/opportunity/opportunity.service.js +1 -0
  43. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -0
  44. package/dist/src/modules/v4/reward/reward.model.d.ts +1 -1
  45. package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -4
  46. package/dist/src/modules/v4/reward/reward.repository.js +0 -1
  47. package/dist/src/modules/v4/reward/reward.service.d.ts +10 -4
  48. package/dist/src/modules/v4/reward/reward.service.js +1 -1
  49. package/dist/src/modules/v4/router.d.ts +12 -0
  50. package/dist/src/modules/v4/user/user.controller.d.ts +2 -0
  51. package/dist/tsconfig.package.tsbuildinfo +1 -1
  52. package/package.json +2 -1
@@ -21,6 +21,7 @@ export declare abstract class OpportunityService {
21
21
  action: import("@db/api").$Enums.OpportunityAction;
22
22
  chainId: number;
23
23
  depositUrl: string | null;
24
+ explorerAddress: string | null;
24
25
  mainProtocolId: string | null;
25
26
  tvl: number;
26
27
  apr: number;
@@ -56,6 +57,7 @@ export declare abstract class OpportunityService {
56
57
  })[];
57
58
  mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
58
59
  depositUrl: any;
60
+ explorerAddress: string | undefined;
59
61
  tags: string[];
60
62
  }>;
61
63
  static updateStatus(opportunityId: string, status: Status): Promise<{
@@ -68,6 +70,7 @@ export declare abstract class OpportunityService {
68
70
  action: import("@db/api").$Enums.OpportunityAction;
69
71
  chainId: number;
70
72
  depositUrl: string | null;
73
+ explorerAddress: string | null;
71
74
  mainProtocolId: string | null;
72
75
  tvl: number;
73
76
  apr: number;
@@ -101,6 +104,7 @@ export declare abstract class OpportunityService {
101
104
  })[];
102
105
  mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
103
106
  depositUrl: any;
107
+ explorerAddress: string | undefined;
104
108
  tags: string[];
105
109
  }>;
106
110
  static updateMetadata(chain: ChainId): Promise<void>;
@@ -497,6 +501,7 @@ export declare abstract class OpportunityService {
497
501
  action: import("@db/api").$Enums.OpportunityAction;
498
502
  chainId: number;
499
503
  depositUrl: string | null;
504
+ explorerAddress: string | null;
500
505
  mainProtocolId: string | null;
501
506
  tvl: number;
502
507
  apr: number;
@@ -549,6 +554,7 @@ export declare abstract class OpportunityService {
549
554
  identifier: string;
550
555
  action: import("@db/api").$Enums.OpportunityAction;
551
556
  chainId: number;
557
+ explorerAddress: string | null;
552
558
  tvl: number;
553
559
  dailyRewards: number;
554
560
  }[]>;
@@ -668,6 +674,7 @@ export declare abstract class OpportunityService {
668
674
  action: import("@db/api").$Enums.OpportunityAction;
669
675
  chainId: number;
670
676
  depositUrl: string | null;
677
+ explorerAddress: string | null;
671
678
  mainProtocolId: string | null;
672
679
  tvl: number;
673
680
  apr: number;
@@ -720,6 +727,7 @@ export declare abstract class OpportunityService {
720
727
  identifier: string;
721
728
  action: import("@db/api").$Enums.OpportunityAction;
722
729
  chainId: number;
730
+ explorerAddress: string | null;
723
731
  tvl: number;
724
732
  dailyRewards: number;
725
733
  }[]>;
@@ -835,6 +843,7 @@ export declare abstract class OpportunityService {
835
843
  action: import("@db/api").$Enums.OpportunityAction;
836
844
  chainId: number;
837
845
  depositUrl: string | null;
846
+ explorerAddress: string | null;
838
847
  mainProtocolId: string | null;
839
848
  tvl: number;
840
849
  apr: number;
@@ -887,6 +896,7 @@ export declare abstract class OpportunityService {
887
896
  identifier: string;
888
897
  action: import("@db/api").$Enums.OpportunityAction;
889
898
  chainId: number;
899
+ explorerAddress: string | null;
890
900
  tvl: number;
891
901
  dailyRewards: number;
892
902
  };
@@ -928,6 +938,7 @@ export declare abstract class OpportunityService {
928
938
  identifier: string;
929
939
  action: import("@db/api").$Enums.OpportunityAction;
930
940
  chainId: number;
941
+ explorerAddress: string | null;
931
942
  tvl: number;
932
943
  apr: number;
933
944
  dailyRewards: number;
@@ -951,6 +962,7 @@ export declare abstract class OpportunityService {
951
962
  action: import("@db/api").$Enums.OpportunityAction;
952
963
  chainId: number;
953
964
  depositUrl: string | null;
965
+ explorerAddress: string | null;
954
966
  mainProtocolId: string | null;
955
967
  tvl: number;
956
968
  apr: number;
@@ -78,6 +78,7 @@ export class OpportunityService {
78
78
  : !!metadata.mainProtocol && !!protocol?.url
79
79
  ? protocol?.url
80
80
  : undefined,
81
+ explorerAddress: metadata.explorerAddress,
81
82
  tags,
82
83
  };
83
84
  if (!dryRun)
@@ -55,6 +55,7 @@ export declare abstract class ProtocolRepository {
55
55
  action: import("@db/api").$Enums.OpportunityAction;
56
56
  chainId: number;
57
57
  depositUrl: string | null;
58
+ explorerAddress: string | null;
58
59
  mainProtocolId: string | null;
59
60
  tvl: number;
60
61
  apr: number;
@@ -17,7 +17,7 @@ export type Reward = Resource<"Reward", "rewardTokenId" | "id", {
17
17
  * @description Describes one reward amount for one token and campaign
18
18
  * @see {@link Resource}
19
19
  */
20
- export type RewardBreakdown = Resource<"RewardBreakdown", "id" | "rewardId" | "protocolId" | "stringId" | "uuid">;
20
+ export type RewardBreakdown = Resource<"RewardBreakdown", "id" | "rewardId" | "protocolId" | "uuid">;
21
21
  /**
22
22
  * Daily Rewards
23
23
  * @description Describes rewards breakdown from the opportunity view
@@ -69,6 +69,7 @@ export declare abstract class RewardRepository {
69
69
  action: import("@db/api").$Enums.OpportunityAction;
70
70
  chainId: number;
71
71
  depositUrl: string | null;
72
+ explorerAddress: string | null;
72
73
  mainProtocolId: string | null;
73
74
  tvl: number;
74
75
  apr: number;
@@ -79,10 +80,9 @@ export declare abstract class RewardRepository {
79
80
  pending: string;
80
81
  id: number;
81
82
  reason: string;
82
- uuid: string | null;
83
+ uuid: string;
83
84
  campaignId: string;
84
85
  amount: string;
85
- stringId: string;
86
86
  claimed: string;
87
87
  protocolId: string | null;
88
88
  rewardId: string;
@@ -106,10 +106,9 @@ export declare abstract class RewardRepository {
106
106
  pending: string;
107
107
  id: number;
108
108
  reason: string;
109
- uuid: string | null;
109
+ uuid: string;
110
110
  campaignId: string;
111
111
  amount: string;
112
- stringId: string;
113
112
  claimed: string;
114
113
  protocolId: string | null;
115
114
  rewardId: string;
@@ -42,7 +42,6 @@ export class RewardRepository {
42
42
  dataPerCampaign.breakdowns.map(breakdown => {
43
43
  const rewardId = RewardService.hashId(dataPerCampaign.root, breakdown.recipient, TokenService.hashId({ address: dataPerCampaign.rewardToken, chainId: dataPerCampaign.distributionChainId }));
44
44
  breakdownsToCreate.push({
45
- stringId: RewardService.hashBreakdownId(rewardId, campaignId, breakdown.reason),
46
45
  rewardId,
47
46
  protocolId: breakdown.protocolId ? breakdown.protocolId : undefined,
48
47
  campaignId,
@@ -118,6 +118,7 @@ export declare abstract class RewardService {
118
118
  action: import("@db/api").$Enums.OpportunityAction;
119
119
  chainId: number;
120
120
  depositUrl: string | null;
121
+ explorerAddress: string | null;
121
122
  mainProtocolId: string | null;
122
123
  tvl: number;
123
124
  apr: number;
@@ -170,6 +171,7 @@ export declare abstract class RewardService {
170
171
  identifier: string;
171
172
  action: import("@db/api").$Enums.OpportunityAction;
172
173
  chainId: number;
174
+ explorerAddress: string | null;
173
175
  tvl: number;
174
176
  dailyRewards: number;
175
177
  }, number>>;
@@ -231,6 +233,7 @@ export declare abstract class RewardService {
231
233
  action: import("@db/api").$Enums.OpportunityAction;
232
234
  chainId: number;
233
235
  depositUrl: string | null;
236
+ explorerAddress: string | null;
234
237
  mainProtocolId: string | null;
235
238
  tvl: number;
236
239
  apr: number;
@@ -311,6 +314,7 @@ export declare abstract class RewardService {
311
314
  action: import("@db/api").$Enums.OpportunityAction;
312
315
  chainId: number;
313
316
  depositUrl: string | null;
317
+ explorerAddress: string | null;
314
318
  mainProtocolId: string | null;
315
319
  tvl: number;
316
320
  apr: number;
@@ -395,6 +399,7 @@ export declare abstract class RewardService {
395
399
  action: import("@db/api").$Enums.OpportunityAction;
396
400
  chainId: number;
397
401
  depositUrl: string | null;
402
+ explorerAddress: string | null;
398
403
  mainProtocolId: string | null;
399
404
  tvl: number;
400
405
  apr: number;
@@ -405,10 +410,9 @@ export declare abstract class RewardService {
405
410
  pending: string;
406
411
  id: number;
407
412
  reason: string;
408
- uuid: string | null;
413
+ uuid: string;
409
414
  campaignId: string;
410
415
  amount: string;
411
- stringId: string;
412
416
  claimed: string;
413
417
  protocolId: string | null;
414
418
  rewardId: string;
@@ -510,6 +514,7 @@ export declare abstract class RewardService {
510
514
  action: import("@db/api").$Enums.OpportunityAction;
511
515
  chainId: number;
512
516
  depositUrl: string | null;
517
+ explorerAddress: string | null;
513
518
  mainProtocolId: string | null;
514
519
  tvl: number;
515
520
  apr: number;
@@ -605,6 +610,7 @@ export declare abstract class RewardService {
605
610
  action: import("@db/api").$Enums.OpportunityAction;
606
611
  chainId: number;
607
612
  depositUrl: string | null;
613
+ explorerAddress: string | null;
608
614
  mainProtocolId: string | null;
609
615
  tvl: number;
610
616
  apr: number;
@@ -698,6 +704,7 @@ export declare abstract class RewardService {
698
704
  action: import("@db/api").$Enums.OpportunityAction;
699
705
  chainId: number;
700
706
  depositUrl: string | null;
707
+ explorerAddress: string | null;
701
708
  mainProtocolId: string | null;
702
709
  tvl: number;
703
710
  apr: number;
@@ -708,10 +715,9 @@ export declare abstract class RewardService {
708
715
  pending: string;
709
716
  id: number;
710
717
  reason: string;
711
- uuid: string | null;
718
+ uuid: string;
712
719
  campaignId: string;
713
720
  amount: string;
714
- stringId: string;
715
721
  claimed: string;
716
722
  protocolId: string | null;
717
723
  rewardId: string;
@@ -79,7 +79,7 @@ export class RewardService {
79
79
  * @returns a RewardBreakdown model
80
80
  */
81
81
  static formatBreakdown(breakdown) {
82
- const { Campaign, id, stringId, uuid, rewardId, protocolId, ...rest } = breakdown;
82
+ const { Campaign, id, uuid, rewardId, protocolId, ...rest } = breakdown;
83
83
  return {
84
84
  ...rest,
85
85
  campaignId: Campaign.campaignId,
@@ -34,6 +34,7 @@ export declare const v4: Elysia<"/v4", false, {
34
34
  name?: string | undefined;
35
35
  tags?: string[] | undefined;
36
36
  depositUrl?: string | undefined;
37
+ explorerAddress?: string | undefined;
37
38
  protocols?: string[] | undefined;
38
39
  mainProtocol?: string | undefined;
39
40
  type: string;
@@ -62,6 +63,7 @@ export declare const v4: Elysia<"/v4", false, {
62
63
  action: import("@db/api").$Enums.OpportunityAction;
63
64
  chainId: number;
64
65
  depositUrl: string | null;
66
+ explorerAddress: string | null;
65
67
  mainProtocolId: string | null;
66
68
  tvl: number;
67
69
  apr: number;
@@ -110,6 +112,7 @@ export declare const v4: Elysia<"/v4", false, {
110
112
  })[];
111
113
  mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
112
114
  depositUrl: any;
115
+ explorerAddress: string | undefined;
113
116
  tags: string[];
114
117
  };
115
118
  };
@@ -255,6 +258,7 @@ export declare const v4: Elysia<"/v4", false, {
255
258
  action: import("@db/api").$Enums.OpportunityAction;
256
259
  chainId: number;
257
260
  depositUrl: string | null;
261
+ explorerAddress: string | null;
258
262
  mainProtocolId: string | null;
259
263
  tvl: number;
260
264
  apr: number;
@@ -307,6 +311,7 @@ export declare const v4: Elysia<"/v4", false, {
307
311
  identifier: string;
308
312
  action: import("@db/api").$Enums.OpportunityAction;
309
313
  chainId: number;
314
+ explorerAddress: string | null;
310
315
  tvl: number;
311
316
  dailyRewards: number;
312
317
  }[];
@@ -961,6 +966,7 @@ export declare const v4: Elysia<"/v4", false, {
961
966
  action: import("@db/api").$Enums.OpportunityAction;
962
967
  chainId: number;
963
968
  depositUrl: string | null;
969
+ explorerAddress: string | null;
964
970
  mainProtocolId: string | null;
965
971
  tvl: number;
966
972
  apr: number;
@@ -1183,6 +1189,7 @@ export declare const v4: Elysia<"/v4", false, {
1183
1189
  })[];
1184
1190
  mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
1185
1191
  depositUrl: any;
1192
+ explorerAddress: string | undefined;
1186
1193
  tags: string[];
1187
1194
  };
1188
1195
  };
@@ -1274,6 +1281,7 @@ export declare const v4: Elysia<"/v4", false, {
1274
1281
  action: import("@db/api").$Enums.OpportunityAction;
1275
1282
  chainId: number;
1276
1283
  depositUrl: string | null;
1284
+ explorerAddress: string | null;
1277
1285
  mainProtocolId: string | null;
1278
1286
  tvl: number;
1279
1287
  apr: number;
@@ -1356,6 +1364,7 @@ export declare const v4: Elysia<"/v4", false, {
1356
1364
  action: import("@db/api").$Enums.OpportunityAction;
1357
1365
  chainId: number;
1358
1366
  depositUrl: string | null;
1367
+ explorerAddress: string | null;
1359
1368
  mainProtocolId: string | null;
1360
1369
  tvl: number;
1361
1370
  apr: number;
@@ -1539,6 +1548,7 @@ export declare const v4: Elysia<"/v4", false, {
1539
1548
  action: import("@db/api").$Enums.OpportunityAction;
1540
1549
  chainId: number;
1541
1550
  depositUrl: string | null;
1551
+ explorerAddress: string | null;
1542
1552
  mainProtocolId: string | null;
1543
1553
  tvl: number;
1544
1554
  apr: number;
@@ -3222,6 +3232,7 @@ export declare const v4: Elysia<"/v4", false, {
3222
3232
  action: import("@db/api").$Enums.OpportunityAction;
3223
3233
  chainId: number;
3224
3234
  depositUrl: string | null;
3235
+ explorerAddress: string | null;
3225
3236
  mainProtocolId: string | null;
3226
3237
  tvl: number;
3227
3238
  apr: number;
@@ -3339,6 +3350,7 @@ export declare const v4: Elysia<"/v4", false, {
3339
3350
  action: import("@db/api").$Enums.OpportunityAction;
3340
3351
  chainId: number;
3341
3352
  depositUrl: string | null;
3353
+ explorerAddress: string | null;
3342
3354
  mainProtocolId: string | null;
3343
3355
  tvl: number;
3344
3356
  apr: number;
@@ -184,6 +184,7 @@ export declare const UserController: Elysia<"/users", false, {
184
184
  action: import("@db/api").$Enums.OpportunityAction;
185
185
  chainId: number;
186
186
  depositUrl: string | null;
187
+ explorerAddress: string | null;
187
188
  mainProtocolId: string | null;
188
189
  tvl: number;
189
190
  apr: number;
@@ -301,6 +302,7 @@ export declare const UserController: Elysia<"/users", false, {
301
302
  action: import("@db/api").$Enums.OpportunityAction;
302
303
  chainId: number;
303
304
  depositUrl: string | null;
305
+ explorerAddress: string | null;
304
306
  mainProtocolId: string | null;
305
307
  tvl: number;
306
308
  apr: number;