@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
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-e55b57e665b20db5d493b89451fe31b7c3979a20e6f7ef5974be604f6174e619",
2
+ "name": "prisma-client-f1c1902d4e330b0053b3b09f70cd8337a4cdd6ce1011a3bf90fa3f4178e91213",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -73,9 +73,9 @@ model CampaignComputedValue {
73
73
  }
74
74
 
75
75
  model UserComputedValue {
76
- id Int @id @default(autoincrement()) // TODO Migrate to something smarter than Int ids
76
+ id Int @default(autoincrement()) // TODO Migrate to something smarter than Int ids
77
77
  stringId String @default("")
78
- uuid String @default(dbgenerated("gen_random_uuid()")) @db.Uuid
78
+ uuid String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
79
79
  campaignId String
80
80
  Campaign Campaign @relation(fields: [campaignId], references: [id])
81
81
  address String @db.Char(42)
@@ -120,6 +120,7 @@ model Opportunity {
120
120
  identifier String // eg. 0xUniswapPool - formerly mainParameter
121
121
  name String
122
122
  depositUrl String?
123
+ explorerAddress String?
123
124
  status Status
124
125
  action OpportunityAction
125
126
  Tokens Token[]
@@ -195,8 +196,8 @@ model AprRecord {
195
196
  }
196
197
 
197
198
  model AprBreakdown {
198
- id Int @id @default(autoincrement()) // TODO Migrate to something smarter than Int ids
199
- uuid String @default(dbgenerated("gen_random_uuid()")) @db.Uuid
199
+ id Int @default(autoincrement()) // TODO Migrate to something smarter than Int ids
200
+ uuid String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
200
201
  identifier String
201
202
  type AprType
202
203
  value Float
@@ -220,8 +221,8 @@ model TVLRecord {
220
221
  }
221
222
 
222
223
  model TVLBreakdown {
223
- id Int @id @default(autoincrement()) // TODO Migrate to something smarter than Int ids
224
- uuid String @default(dbgenerated("gen_random_uuid()")) @db.Uuid
224
+ id Int @default(autoincrement()) // TODO Migrate to something smarter than Int ids
225
+ uuid String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
225
226
  identifier String
226
227
  type TvlType
227
228
  value Float
@@ -246,8 +247,8 @@ model DailyRewardsRecord {
246
247
  }
247
248
 
248
249
  model DailyRewardsBreakdown {
249
- id Int @id @default(autoincrement()) // TODO Migrate to something smarter than Int ids
250
- uuid String @default(dbgenerated("gen_random_uuid()")) @db.Uuid
250
+ id Int @default(autoincrement()) // TODO Migrate to something smarter than Int ids
251
+ uuid String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
251
252
  value Float
252
253
  campaignId String
253
254
  Campaign Campaign @relation(fields: [campaignId], references: [id])
@@ -297,9 +298,8 @@ model Reward {
297
298
  }
298
299
 
299
300
  model RewardBreakdown {
300
- id Int @id @default(autoincrement())
301
- stringId String @default("")
302
- uuid String? @default(dbgenerated("gen_random_uuid()")) @db.Uuid
301
+ id Int @default(autoincrement())
302
+ uuid String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
303
303
  Protocol Protocol? @relation(fields: [protocolId], references: [id])
304
304
  protocolId String?
305
305
  reason String
@@ -186,6 +186,7 @@ exports.Prisma.OpportunityScalarFieldEnum = {
186
186
  identifier: 'identifier',
187
187
  name: 'name',
188
188
  depositUrl: 'depositUrl',
189
+ explorerAddress: 'explorerAddress',
189
190
  status: 'status',
190
191
  action: 'action',
191
192
  mainProtocolId: 'mainProtocolId',
@@ -292,7 +293,6 @@ exports.Prisma.RewardScalarFieldEnum = {
292
293
 
293
294
  exports.Prisma.RewardBreakdownScalarFieldEnum = {
294
295
  id: 'id',
295
- stringId: 'stringId',
296
296
  uuid: 'uuid',
297
297
  protocolId: 'protocolId',
298
298
  reason: 'reason',
@@ -422,6 +422,7 @@ exports.Prisma.OpportunityOrderByRelevanceFieldEnum = {
422
422
  identifier: 'identifier',
423
423
  name: 'name',
424
424
  depositUrl: 'depositUrl',
425
+ explorerAddress: 'explorerAddress',
425
426
  mainProtocolId: 'mainProtocolId',
426
427
  tags: 'tags'
427
428
  };
@@ -501,7 +502,6 @@ exports.Prisma.RewardOrderByRelevanceFieldEnum = {
501
502
  };
502
503
 
503
504
  exports.Prisma.RewardBreakdownOrderByRelevanceFieldEnum = {
504
- stringId: 'stringId',
505
505
  uuid: 'uuid',
506
506
  protocolId: 'protocolId',
507
507
  reason: 'reason',
@@ -132,6 +132,7 @@ declare const eden: {
132
132
  })[];
133
133
  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;
134
134
  depositUrl: any;
135
+ explorerAddress: string | undefined;
135
136
  tags: string[];
136
137
  };
137
138
  }>>;
@@ -415,6 +416,7 @@ declare const eden: {
415
416
  action: import("@db/api").$Enums.OpportunityAction;
416
417
  chainId: number;
417
418
  depositUrl: string | null;
419
+ explorerAddress: string | null;
418
420
  mainProtocolId: string | null;
419
421
  tvl: number;
420
422
  apr: number;
@@ -427,6 +429,7 @@ declare const eden: {
427
429
  name?: string | undefined;
428
430
  tags?: string[] | undefined;
429
431
  depositUrl?: string | undefined;
432
+ explorerAddress?: string | undefined;
430
433
  protocols?: string[] | undefined;
431
434
  mainProtocol?: string | undefined;
432
435
  type: string;
@@ -455,6 +458,7 @@ declare const eden: {
455
458
  action: import("@db/api").$Enums.OpportunityAction;
456
459
  chainId: number;
457
460
  depositUrl: string | null;
461
+ explorerAddress: string | null;
458
462
  mainProtocolId: string | null;
459
463
  tvl: number;
460
464
  apr: number;
@@ -596,6 +600,7 @@ declare const eden: {
596
600
  action: import("@db/api").$Enums.OpportunityAction;
597
601
  chainId: number;
598
602
  depositUrl: string | null;
603
+ explorerAddress: string | null;
599
604
  mainProtocolId: string | null;
600
605
  tvl: number;
601
606
  apr: number;
@@ -648,6 +653,7 @@ declare const eden: {
648
653
  identifier: string;
649
654
  action: import("@db/api").$Enums.OpportunityAction;
650
655
  chainId: number;
656
+ explorerAddress: string | null;
651
657
  tvl: number;
652
658
  dailyRewards: number;
653
659
  }[];
@@ -1026,6 +1032,7 @@ declare const eden: {
1026
1032
  action: import("@db/api").$Enums.OpportunityAction;
1027
1033
  chainId: number;
1028
1034
  depositUrl: string | null;
1035
+ explorerAddress: string | null;
1029
1036
  mainProtocolId: string | null;
1030
1037
  tvl: number;
1031
1038
  apr: number;
@@ -1224,6 +1231,7 @@ declare const eden: {
1224
1231
  })[];
1225
1232
  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;
1226
1233
  depositUrl: any;
1234
+ explorerAddress: string | undefined;
1227
1235
  tags: string[];
1228
1236
  };
1229
1237
  }>>;
@@ -1312,6 +1320,7 @@ declare const eden: {
1312
1320
  action: import("@db/api").$Enums.OpportunityAction;
1313
1321
  chainId: number;
1314
1322
  depositUrl: string | null;
1323
+ explorerAddress: string | null;
1315
1324
  mainProtocolId: string | null;
1316
1325
  tvl: number;
1317
1326
  apr: number;
@@ -2662,6 +2671,7 @@ declare const eden: {
2662
2671
  action: import("@db/api").$Enums.OpportunityAction;
2663
2672
  chainId: number;
2664
2673
  depositUrl: string | null;
2674
+ explorerAddress: string | null;
2665
2675
  mainProtocolId: string | null;
2666
2676
  tvl: number;
2667
2677
  apr: number;
@@ -2768,6 +2778,7 @@ declare const eden: {
2768
2778
  action: import("@db/api").$Enums.OpportunityAction;
2769
2779
  chainId: number;
2770
2780
  depositUrl: string | null;
2781
+ explorerAddress: string | null;
2771
2782
  mainProtocolId: string | null;
2772
2783
  tvl: number;
2773
2784
  apr: number;
@@ -3874,6 +3885,7 @@ declare const eden: {
3874
3885
  })[];
3875
3886
  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;
3876
3887
  depositUrl: any;
3888
+ explorerAddress: string | undefined;
3877
3889
  tags: string[];
3878
3890
  };
3879
3891
  }>>;
@@ -4157,6 +4169,7 @@ declare const eden: {
4157
4169
  action: import("@db/api").$Enums.OpportunityAction;
4158
4170
  chainId: number;
4159
4171
  depositUrl: string | null;
4172
+ explorerAddress: string | null;
4160
4173
  mainProtocolId: string | null;
4161
4174
  tvl: number;
4162
4175
  apr: number;
@@ -4169,6 +4182,7 @@ declare const eden: {
4169
4182
  name?: string | undefined;
4170
4183
  tags?: string[] | undefined;
4171
4184
  depositUrl?: string | undefined;
4185
+ explorerAddress?: string | undefined;
4172
4186
  protocols?: string[] | undefined;
4173
4187
  mainProtocol?: string | undefined;
4174
4188
  type: string;
@@ -4197,6 +4211,7 @@ declare const eden: {
4197
4211
  action: import("@db/api").$Enums.OpportunityAction;
4198
4212
  chainId: number;
4199
4213
  depositUrl: string | null;
4214
+ explorerAddress: string | null;
4200
4215
  mainProtocolId: string | null;
4201
4216
  tvl: number;
4202
4217
  apr: number;
@@ -4338,6 +4353,7 @@ declare const eden: {
4338
4353
  action: import("@db/api").$Enums.OpportunityAction;
4339
4354
  chainId: number;
4340
4355
  depositUrl: string | null;
4356
+ explorerAddress: string | null;
4341
4357
  mainProtocolId: string | null;
4342
4358
  tvl: number;
4343
4359
  apr: number;
@@ -4390,6 +4406,7 @@ declare const eden: {
4390
4406
  identifier: string;
4391
4407
  action: import("@db/api").$Enums.OpportunityAction;
4392
4408
  chainId: number;
4409
+ explorerAddress: string | null;
4393
4410
  tvl: number;
4394
4411
  dailyRewards: number;
4395
4412
  }[];
@@ -4768,6 +4785,7 @@ declare const eden: {
4768
4785
  action: import("@db/api").$Enums.OpportunityAction;
4769
4786
  chainId: number;
4770
4787
  depositUrl: string | null;
4788
+ explorerAddress: string | null;
4771
4789
  mainProtocolId: string | null;
4772
4790
  tvl: number;
4773
4791
  apr: number;
@@ -4966,6 +4984,7 @@ declare const eden: {
4966
4984
  })[];
4967
4985
  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;
4968
4986
  depositUrl: any;
4987
+ explorerAddress: string | undefined;
4969
4988
  tags: string[];
4970
4989
  };
4971
4990
  }>>;
@@ -5054,6 +5073,7 @@ declare const eden: {
5054
5073
  action: import("@db/api").$Enums.OpportunityAction;
5055
5074
  chainId: number;
5056
5075
  depositUrl: string | null;
5076
+ explorerAddress: string | null;
5057
5077
  mainProtocolId: string | null;
5058
5078
  tvl: number;
5059
5079
  apr: number;
@@ -6404,6 +6424,7 @@ declare const eden: {
6404
6424
  action: import("@db/api").$Enums.OpportunityAction;
6405
6425
  chainId: number;
6406
6426
  depositUrl: string | null;
6427
+ explorerAddress: string | null;
6407
6428
  mainProtocolId: string | null;
6408
6429
  tvl: number;
6409
6430
  apr: number;
@@ -6510,6 +6531,7 @@ declare const eden: {
6510
6531
  action: import("@db/api").$Enums.OpportunityAction;
6511
6532
  chainId: number;
6512
6533
  depositUrl: string | null;
6534
+ explorerAddress: string | null;
6513
6535
  mainProtocolId: string | null;
6514
6536
  tvl: number;
6515
6537
  apr: number;
@@ -8311,6 +8333,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8311
8333
  name?: string | undefined;
8312
8334
  tags?: string[] | undefined;
8313
8335
  depositUrl?: string | undefined;
8336
+ explorerAddress?: string | undefined;
8314
8337
  protocols?: string[] | undefined;
8315
8338
  mainProtocol?: string | undefined;
8316
8339
  type: string;
@@ -8339,6 +8362,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8339
8362
  action: import("@db/api").$Enums.OpportunityAction;
8340
8363
  chainId: number;
8341
8364
  depositUrl: string | null;
8365
+ explorerAddress: string | null;
8342
8366
  mainProtocolId: string | null;
8343
8367
  tvl: number;
8344
8368
  apr: number;
@@ -8387,6 +8411,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8387
8411
  })[];
8388
8412
  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;
8389
8413
  depositUrl: any;
8414
+ explorerAddress: string | undefined;
8390
8415
  tags: string[];
8391
8416
  };
8392
8417
  };
@@ -8532,6 +8557,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8532
8557
  action: import("@db/api").$Enums.OpportunityAction;
8533
8558
  chainId: number;
8534
8559
  depositUrl: string | null;
8560
+ explorerAddress: string | null;
8535
8561
  mainProtocolId: string | null;
8536
8562
  tvl: number;
8537
8563
  apr: number;
@@ -8584,6 +8610,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8584
8610
  identifier: string;
8585
8611
  action: import("@db/api").$Enums.OpportunityAction;
8586
8612
  chainId: number;
8613
+ explorerAddress: string | null;
8587
8614
  tvl: number;
8588
8615
  dailyRewards: number;
8589
8616
  }[];
@@ -9238,6 +9265,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9238
9265
  action: import("@db/api").$Enums.OpportunityAction;
9239
9266
  chainId: number;
9240
9267
  depositUrl: string | null;
9268
+ explorerAddress: string | null;
9241
9269
  mainProtocolId: string | null;
9242
9270
  tvl: number;
9243
9271
  apr: number;
@@ -9460,6 +9488,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9460
9488
  })[];
9461
9489
  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;
9462
9490
  depositUrl: any;
9491
+ explorerAddress: string | undefined;
9463
9492
  tags: string[];
9464
9493
  };
9465
9494
  };
@@ -9551,6 +9580,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9551
9580
  action: import("@db/api").$Enums.OpportunityAction;
9552
9581
  chainId: number;
9553
9582
  depositUrl: string | null;
9583
+ explorerAddress: string | null;
9554
9584
  mainProtocolId: string | null;
9555
9585
  tvl: number;
9556
9586
  apr: number;
@@ -9633,6 +9663,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9633
9663
  action: import("@db/api").$Enums.OpportunityAction;
9634
9664
  chainId: number;
9635
9665
  depositUrl: string | null;
9666
+ explorerAddress: string | null;
9636
9667
  mainProtocolId: string | null;
9637
9668
  tvl: number;
9638
9669
  apr: number;
@@ -9816,6 +9847,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9816
9847
  action: import("@db/api").$Enums.OpportunityAction;
9817
9848
  chainId: number;
9818
9849
  depositUrl: string | null;
9850
+ explorerAddress: string | null;
9819
9851
  mainProtocolId: string | null;
9820
9852
  tvl: number;
9821
9853
  apr: number;
@@ -11499,6 +11531,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
11499
11531
  action: import("@db/api").$Enums.OpportunityAction;
11500
11532
  chainId: number;
11501
11533
  depositUrl: string | null;
11534
+ explorerAddress: string | null;
11502
11535
  mainProtocolId: string | null;
11503
11536
  tvl: number;
11504
11537
  apr: number;
@@ -11616,6 +11649,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
11616
11649
  action: import("@db/api").$Enums.OpportunityAction;
11617
11650
  chainId: number;
11618
11651
  depositUrl: string | null;
11652
+ explorerAddress: string | null;
11619
11653
  mainProtocolId: string | null;
11620
11654
  tvl: number;
11621
11655
  apr: number;
@@ -13810,6 +13844,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13810
13844
  })[];
13811
13845
  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;
13812
13846
  depositUrl: any;
13847
+ explorerAddress: string | undefined;
13813
13848
  tags: string[];
13814
13849
  };
13815
13850
  }>>;
@@ -14093,6 +14128,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14093
14128
  action: import("@db/api").$Enums.OpportunityAction;
14094
14129
  chainId: number;
14095
14130
  depositUrl: string | null;
14131
+ explorerAddress: string | null;
14096
14132
  mainProtocolId: string | null;
14097
14133
  tvl: number;
14098
14134
  apr: number;
@@ -14105,6 +14141,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14105
14141
  name?: string | undefined;
14106
14142
  tags?: string[] | undefined;
14107
14143
  depositUrl?: string | undefined;
14144
+ explorerAddress?: string | undefined;
14108
14145
  protocols?: string[] | undefined;
14109
14146
  mainProtocol?: string | undefined;
14110
14147
  type: string;
@@ -14133,6 +14170,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14133
14170
  action: import("@db/api").$Enums.OpportunityAction;
14134
14171
  chainId: number;
14135
14172
  depositUrl: string | null;
14173
+ explorerAddress: string | null;
14136
14174
  mainProtocolId: string | null;
14137
14175
  tvl: number;
14138
14176
  apr: number;
@@ -14274,6 +14312,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14274
14312
  action: import("@db/api").$Enums.OpportunityAction;
14275
14313
  chainId: number;
14276
14314
  depositUrl: string | null;
14315
+ explorerAddress: string | null;
14277
14316
  mainProtocolId: string | null;
14278
14317
  tvl: number;
14279
14318
  apr: number;
@@ -14326,6 +14365,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14326
14365
  identifier: string;
14327
14366
  action: import("@db/api").$Enums.OpportunityAction;
14328
14367
  chainId: number;
14368
+ explorerAddress: string | null;
14329
14369
  tvl: number;
14330
14370
  dailyRewards: number;
14331
14371
  }[];
@@ -14704,6 +14744,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14704
14744
  action: import("@db/api").$Enums.OpportunityAction;
14705
14745
  chainId: number;
14706
14746
  depositUrl: string | null;
14747
+ explorerAddress: string | null;
14707
14748
  mainProtocolId: string | null;
14708
14749
  tvl: number;
14709
14750
  apr: number;
@@ -14902,6 +14943,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14902
14943
  })[];
14903
14944
  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;
14904
14945
  depositUrl: any;
14946
+ explorerAddress: string | undefined;
14905
14947
  tags: string[];
14906
14948
  };
14907
14949
  }>>;
@@ -14990,6 +15032,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14990
15032
  action: import("@db/api").$Enums.OpportunityAction;
14991
15033
  chainId: number;
14992
15034
  depositUrl: string | null;
15035
+ explorerAddress: string | null;
14993
15036
  mainProtocolId: string | null;
14994
15037
  tvl: number;
14995
15038
  apr: number;
@@ -16340,6 +16383,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16340
16383
  action: import("@db/api").$Enums.OpportunityAction;
16341
16384
  chainId: number;
16342
16385
  depositUrl: string | null;
16386
+ explorerAddress: string | null;
16343
16387
  mainProtocolId: string | null;
16344
16388
  tvl: number;
16345
16389
  apr: number;
@@ -16446,6 +16490,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16446
16490
  action: import("@db/api").$Enums.OpportunityAction;
16447
16491
  chainId: number;
16448
16492
  depositUrl: string | null;
16493
+ explorerAddress: string | null;
16449
16494
  mainProtocolId: string | null;
16450
16495
  tvl: number;
16451
16496
  apr: number;
@@ -17552,6 +17597,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17552
17597
  })[];
17553
17598
  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;
17554
17599
  depositUrl: any;
17600
+ explorerAddress: string | undefined;
17555
17601
  tags: string[];
17556
17602
  };
17557
17603
  }>>;
@@ -17835,6 +17881,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17835
17881
  action: import("@db/api").$Enums.OpportunityAction;
17836
17882
  chainId: number;
17837
17883
  depositUrl: string | null;
17884
+ explorerAddress: string | null;
17838
17885
  mainProtocolId: string | null;
17839
17886
  tvl: number;
17840
17887
  apr: number;
@@ -17847,6 +17894,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17847
17894
  name?: string | undefined;
17848
17895
  tags?: string[] | undefined;
17849
17896
  depositUrl?: string | undefined;
17897
+ explorerAddress?: string | undefined;
17850
17898
  protocols?: string[] | undefined;
17851
17899
  mainProtocol?: string | undefined;
17852
17900
  type: string;
@@ -17875,6 +17923,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17875
17923
  action: import("@db/api").$Enums.OpportunityAction;
17876
17924
  chainId: number;
17877
17925
  depositUrl: string | null;
17926
+ explorerAddress: string | null;
17878
17927
  mainProtocolId: string | null;
17879
17928
  tvl: number;
17880
17929
  apr: number;
@@ -18016,6 +18065,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18016
18065
  action: import("@db/api").$Enums.OpportunityAction;
18017
18066
  chainId: number;
18018
18067
  depositUrl: string | null;
18068
+ explorerAddress: string | null;
18019
18069
  mainProtocolId: string | null;
18020
18070
  tvl: number;
18021
18071
  apr: number;
@@ -18068,6 +18118,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18068
18118
  identifier: string;
18069
18119
  action: import("@db/api").$Enums.OpportunityAction;
18070
18120
  chainId: number;
18121
+ explorerAddress: string | null;
18071
18122
  tvl: number;
18072
18123
  dailyRewards: number;
18073
18124
  }[];
@@ -18446,6 +18497,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18446
18497
  action: import("@db/api").$Enums.OpportunityAction;
18447
18498
  chainId: number;
18448
18499
  depositUrl: string | null;
18500
+ explorerAddress: string | null;
18449
18501
  mainProtocolId: string | null;
18450
18502
  tvl: number;
18451
18503
  apr: number;
@@ -18644,6 +18696,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18644
18696
  })[];
18645
18697
  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;
18646
18698
  depositUrl: any;
18699
+ explorerAddress: string | undefined;
18647
18700
  tags: string[];
18648
18701
  };
18649
18702
  }>>;
@@ -18732,6 +18785,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18732
18785
  action: import("@db/api").$Enums.OpportunityAction;
18733
18786
  chainId: number;
18734
18787
  depositUrl: string | null;
18788
+ explorerAddress: string | null;
18735
18789
  mainProtocolId: string | null;
18736
18790
  tvl: number;
18737
18791
  apr: number;
@@ -20082,6 +20136,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
20082
20136
  action: import("@db/api").$Enums.OpportunityAction;
20083
20137
  chainId: number;
20084
20138
  depositUrl: string | null;
20139
+ explorerAddress: string | null;
20085
20140
  mainProtocolId: string | null;
20086
20141
  tvl: number;
20087
20142
  apr: number;
@@ -20188,6 +20243,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
20188
20243
  action: import("@db/api").$Enums.OpportunityAction;
20189
20244
  chainId: number;
20190
20245
  depositUrl: string | null;
20246
+ explorerAddress: string | null;
20191
20247
  mainProtocolId: string | null;
20192
20248
  tvl: number;
20193
20249
  apr: number;
@@ -37,6 +37,7 @@ export declare class ClammMetadata implements MetadataBuilder<campaignType> {
37
37
  }[];
38
38
  mainProtocol: ProtocolId;
39
39
  depositUrl: string | undefined;
40
+ explorerAddress: `0x${string}`;
40
41
  }>;
41
42
  static generateUrl(computeChainId: ChainId, params: CampaignParameters<campaignType>["campaignParameters"]): string | undefined;
42
43
  }
@@ -97,6 +97,7 @@ export class ClammMetadata {
97
97
  ],
98
98
  mainProtocol: mainProtocolId,
99
99
  depositUrl: ClammMetadata.generateUrl(computeChainId, params),
100
+ explorerAddress: getAddress(params.poolAddress),
100
101
  };
101
102
  }
102
103
  static generateUrl(computeChainId, params) {
@@ -11,6 +11,7 @@ export declare class DolomiteMetadata implements MetadataBuilder<campaignType> {
11
11
  }[];
12
12
  name: string;
13
13
  mainProtocol: ProtocolId;
14
+ explorerAddress: `0x${string}`;
14
15
  }>;
15
16
  }
16
17
  export {};
@@ -1,4 +1,5 @@
1
1
  import { OpportunityAction } from "@db/api";
2
+ import { getAddress } from "viem";
2
3
  export class DolomiteMetadata {
3
4
  async build(computeChainId, params, subType) {
4
5
  const subtypes = [
@@ -12,6 +13,7 @@ export class DolomiteMetadata {
12
13
  tokens: [{ chainId: computeChainId, address: params.targetToken }],
13
14
  name: `${subtype.name} ${params.symbolTargetToken}`,
14
15
  mainProtocol: "dolomite",
16
+ explorerAddress: getAddress(params.targetToken),
15
17
  };
16
18
  }
17
19
  }
@@ -11,6 +11,7 @@ export declare class Erc20Metadata implements MetadataBuilder<campaignType> {
11
11
  }[];
12
12
  mainProtocol: any;
13
13
  depositUrl: any;
14
+ explorerAddress: `0x${string}`;
14
15
  }>;
15
16
  static generateUrl(_computeChainId: ChainId, params: CampaignParameters<campaignType>["campaignParameters"]): any;
16
17
  }
@@ -1,6 +1,7 @@
1
1
  import { dynamicDataBuilderFactory } from "@/engine/dynamicData/factory";
2
2
  import { log } from "@/utils/logger";
3
3
  import { Campaign as CampaignEnum } from "@sdk";
4
+ import { getAddress } from "viem";
4
5
  import { ProtocolService } from "../../../modules/v4/protocol/protocol.service";
5
6
  export class Erc20Metadata {
6
7
  async build(computeChainId, params, _subType, rewardTokenAddress, distributionChainId, campaignId) {
@@ -72,6 +73,7 @@ export class Erc20Metadata {
72
73
  tokens,
73
74
  mainProtocol: mainProtocolId,
74
75
  depositUrl: Erc20Metadata.generateUrl(computeChainId, params),
76
+ explorerAddress: getAddress(params.targetToken),
75
77
  };
76
78
  }
77
79
  static generateUrl(_computeChainId, params) {