@merkl/api 0.20.0 → 0.20.2

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 +2088 -667
  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 +380 -95
  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 +374 -95
  37. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +3 -0
  38. package/dist/src/modules/v4/opportunity/opportunity.model.js +2 -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 +14 -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 +380 -95
  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
@@ -19,6 +19,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
19
19
  name?: string | undefined;
20
20
  tags?: string[] | undefined;
21
21
  depositUrl?: string | undefined;
22
+ explorerAddress?: string | undefined;
22
23
  protocols?: string[] | undefined;
23
24
  mainProtocol?: string | undefined;
24
25
  type: string;
@@ -47,6 +48,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
47
48
  action: import("@db/api").$Enums.OpportunityAction;
48
49
  chainId: number;
49
50
  depositUrl: string | null;
51
+ explorerAddress: string | null;
50
52
  mainProtocolId: string | null;
51
53
  tvl: number;
52
54
  apr: number;
@@ -95,6 +97,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
95
97
  })[];
96
98
  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;
97
99
  depositUrl: any;
100
+ explorerAddress: string | undefined;
98
101
  tags: string[];
99
102
  };
100
103
  };
@@ -131,44 +134,136 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
131
134
  };
132
135
  headers: unknown;
133
136
  response: {
134
- 200: {
135
- apr: number;
136
- aprRecord: {
137
+ 200: ({
138
+ protocol?: {
139
+ id: string;
140
+ name: string;
141
+ url: string;
142
+ description: string;
143
+ tags: string[];
144
+ icon: string;
145
+ } | null | undefined;
146
+ depositUrl?: string | undefined;
147
+ explorerAddress?: string | undefined;
148
+ aprRecord?: {
149
+ timestamp: string | bigint;
137
150
  cumulated: number;
138
- timestamp: bigint;
139
151
  breakdowns: {
140
152
  id: number;
141
- type: import("@db/api").$Enums.AprType;
142
- uuid: string;
153
+ type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
143
154
  identifier: string;
144
155
  value: number;
145
156
  aprRecordId: string;
146
157
  }[];
147
- };
148
- tvlRecord: {
149
- id: string;
158
+ } | undefined;
159
+ tvlRecord?: {
150
160
  total: number;
151
- timestamp: bigint;
161
+ timestamp: string | bigint;
152
162
  breakdowns: {
153
163
  id: number;
154
- type: import("@db/api").$Enums.TvlType;
155
- uuid: string;
164
+ type: "TOKEN" | "PROTOCOL";
156
165
  identifier: string;
157
166
  value: number;
158
167
  tvlRecordId: string;
159
168
  }[];
160
- };
161
- rewardsRecord: {
169
+ } | undefined;
170
+ rewardsRecord?: {
162
171
  id: string;
163
172
  total: number;
164
- timestamp: bigint;
173
+ timestamp: string | bigint;
165
174
  breakdowns: {
166
175
  id: number;
167
- uuid: string;
176
+ token: {
177
+ price?: number | null | undefined;
178
+ symbol: string;
179
+ id: string;
180
+ name: string | null;
181
+ icon: string;
182
+ address: string;
183
+ chainId: number;
184
+ decimals: number;
185
+ verified: boolean;
186
+ isTest: boolean;
187
+ };
168
188
  value: number;
169
189
  campaignId: string;
190
+ amount: string | bigint;
170
191
  dailyRewardsRecordId: string;
192
+ }[];
193
+ } | undefined;
194
+ id: string;
195
+ name: string;
196
+ type: string;
197
+ status: string;
198
+ tokens: {
199
+ price?: number | null | undefined;
200
+ symbol: string;
201
+ id: string;
202
+ name: string | null;
203
+ icon: string;
204
+ address: string;
205
+ chainId: number;
206
+ decimals: number;
207
+ verified: boolean;
208
+ isTest: boolean;
209
+ }[];
210
+ tags: string[];
211
+ identifier: string;
212
+ chain: {
213
+ id: number;
214
+ name: string;
215
+ icon: string;
216
+ };
217
+ action: string;
218
+ chainId: number;
219
+ tvl: number;
220
+ apr: number;
221
+ dailyRewards: number;
222
+ } | null)[];
223
+ } | {
224
+ 200: never;
225
+ } | {
226
+ 200: (Response | ({
227
+ protocol?: {
228
+ id: string;
229
+ name: string;
230
+ url: string;
231
+ description: string;
232
+ tags: string[];
233
+ icon: string;
234
+ } | null | undefined;
235
+ depositUrl?: string | undefined;
236
+ explorerAddress?: string | undefined;
237
+ aprRecord?: {
238
+ timestamp: string | bigint;
239
+ cumulated: number;
240
+ breakdowns: {
241
+ id: number;
242
+ type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
243
+ identifier: string;
244
+ value: number;
245
+ aprRecordId: string;
246
+ }[];
247
+ } | undefined;
248
+ tvlRecord?: {
249
+ total: number;
250
+ timestamp: string | bigint;
251
+ breakdowns: {
252
+ id: number;
253
+ type: "TOKEN" | "PROTOCOL";
254
+ identifier: string;
255
+ value: number;
256
+ tvlRecordId: string;
257
+ }[];
258
+ } | undefined;
259
+ rewardsRecord?: {
260
+ id: string;
261
+ total: number;
262
+ timestamp: string | bigint;
263
+ breakdowns: {
264
+ id: number;
171
265
  token: {
266
+ price?: number | null | undefined;
172
267
  symbol: string;
173
268
  id: string;
174
269
  name: string | null;
@@ -176,26 +271,107 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
176
271
  address: string;
177
272
  chainId: number;
178
273
  decimals: number;
179
- displaySymbol: string;
180
274
  verified: boolean;
181
275
  isTest: boolean;
182
- isPoint: boolean;
183
- isNative: boolean;
184
- price: number | null;
185
276
  };
186
- amount: bigint;
277
+ value: number;
278
+ campaignId: string;
279
+ amount: string | bigint;
280
+ dailyRewardsRecordId: string;
187
281
  }[];
282
+ } | undefined;
283
+ id: string;
284
+ name: string;
285
+ type: string;
286
+ status: string;
287
+ tokens: {
288
+ price?: number | null | undefined;
289
+ symbol: string;
290
+ id: string;
291
+ name: string | null;
292
+ icon: string;
293
+ address: string;
294
+ chainId: number;
295
+ decimals: number;
296
+ verified: boolean;
297
+ isTest: boolean;
298
+ }[];
299
+ tags: string[];
300
+ identifier: string;
301
+ chain: {
302
+ id: number;
303
+ name: string;
304
+ icon: string;
188
305
  };
189
- campaigns: {
190
- params: any;
191
- chain: {
192
- id: number;
306
+ action: string;
307
+ chainId: number;
308
+ tvl: number;
309
+ apr: number;
310
+ dailyRewards: number;
311
+ } | null)[] | {
312
+ 200: ({
313
+ protocol?: {
314
+ id: string;
193
315
  name: string;
316
+ url: string;
317
+ description: string;
318
+ tags: string[];
194
319
  icon: string;
195
- };
196
- endTimestamp: number;
197
- startTimestamp: number;
198
- rewardToken: {
320
+ } | null | undefined;
321
+ depositUrl?: string | undefined;
322
+ explorerAddress?: string | undefined;
323
+ aprRecord?: {
324
+ timestamp: string | bigint;
325
+ cumulated: number;
326
+ breakdowns: {
327
+ id: number;
328
+ type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
329
+ identifier: string;
330
+ value: number;
331
+ aprRecordId: string;
332
+ }[];
333
+ } | undefined;
334
+ tvlRecord?: {
335
+ total: number;
336
+ timestamp: string | bigint;
337
+ breakdowns: {
338
+ id: number;
339
+ type: "TOKEN" | "PROTOCOL";
340
+ identifier: string;
341
+ value: number;
342
+ tvlRecordId: string;
343
+ }[];
344
+ } | undefined;
345
+ rewardsRecord?: {
346
+ id: string;
347
+ total: number;
348
+ timestamp: string | bigint;
349
+ breakdowns: {
350
+ id: number;
351
+ token: {
352
+ price?: number | null | undefined;
353
+ symbol: string;
354
+ id: string;
355
+ name: string | null;
356
+ icon: string;
357
+ address: string;
358
+ chainId: number;
359
+ decimals: number;
360
+ verified: boolean;
361
+ isTest: boolean;
362
+ };
363
+ value: number;
364
+ campaignId: string;
365
+ amount: string | bigint;
366
+ dailyRewardsRecordId: string;
367
+ }[];
368
+ } | undefined;
369
+ id: string;
370
+ name: string;
371
+ type: string;
372
+ status: string;
373
+ tokens: {
374
+ price?: number | null | undefined;
199
375
  symbol: string;
200
376
  id: string;
201
377
  name: string | null;
@@ -205,59 +381,83 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
205
381
  decimals: number;
206
382
  verified: boolean;
207
383
  isTest: boolean;
208
- isPoint: boolean;
209
- isNative: boolean;
210
- } & {
211
- price?: number | null | undefined;
212
- };
213
- distributionChain: {
384
+ }[];
385
+ tags: string[];
386
+ identifier: string;
387
+ chain: {
214
388
  id: number;
215
389
  name: string;
216
390
  icon: string;
217
- } | undefined;
218
- campaignStatus: {
219
- computedUntil: number;
220
- processingStarted: number;
221
- error: string;
222
- status: import("@db/api").$Enums.RunStatus;
223
- details: import("database/api/.generated/runtime/library").JsonValue;
224
- campaignId: string;
225
- } | undefined;
226
- creatorAddress: string;
227
- creator: {
228
- tags: string[];
229
- address: string;
230
- creatorId: string | null;
231
391
  };
232
- createdAt: string;
233
- Opportunity: {
234
- id: string;
235
- name: string;
236
- type: string;
237
- status: import("@db/api").$Enums.Status;
238
- tags: string[];
392
+ action: string;
393
+ chainId: number;
394
+ tvl: number;
395
+ apr: number;
396
+ dailyRewards: number;
397
+ } | null)[];
398
+ }) & ({
399
+ protocol?: {
400
+ id: string;
401
+ name: string;
402
+ url: string;
403
+ description: string;
404
+ tags: string[];
405
+ icon: string;
406
+ } | null | undefined;
407
+ depositUrl?: string | undefined;
408
+ explorerAddress?: string | undefined;
409
+ aprRecord?: {
410
+ timestamp: string | bigint;
411
+ cumulated: number;
412
+ breakdowns: {
413
+ id: number;
414
+ type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
239
415
  identifier: string;
240
- action: import("@db/api").$Enums.OpportunityAction;
241
- chainId: number;
242
- depositUrl: string | null;
243
- mainProtocolId: string | null;
244
- tvl: number;
245
- apr: number;
246
- dailyRewards: number;
247
- };
416
+ value: number;
417
+ aprRecordId: string;
418
+ }[];
419
+ } | undefined;
420
+ tvlRecord?: {
421
+ total: number;
422
+ timestamp: string | bigint;
423
+ breakdowns: {
424
+ id: number;
425
+ type: "TOKEN" | "PROTOCOL";
426
+ identifier: string;
427
+ value: number;
428
+ tvlRecordId: string;
429
+ }[];
430
+ } | undefined;
431
+ rewardsRecord?: {
248
432
  id: string;
249
- type: string;
250
- subType: number | null;
251
- computeChainId: number;
252
- distributionChainId: number;
253
- campaignId: string;
254
- rewardTokenId: string;
255
- amount: string;
256
- opportunityId: string;
257
- }[] | undefined;
433
+ total: number;
434
+ timestamp: string | bigint;
435
+ breakdowns: {
436
+ id: number;
437
+ token: {
438
+ price?: number | null | undefined;
439
+ symbol: string;
440
+ id: string;
441
+ name: string | null;
442
+ icon: string;
443
+ address: string;
444
+ chainId: number;
445
+ decimals: number;
446
+ verified: boolean;
447
+ isTest: boolean;
448
+ };
449
+ value: number;
450
+ campaignId: string;
451
+ amount: string | bigint;
452
+ dailyRewardsRecordId: string;
453
+ }[];
454
+ } | undefined;
258
455
  id: string;
259
- depositUrl: string | undefined;
260
- tokens: ({
456
+ name: string;
457
+ type: string;
458
+ status: string;
459
+ tokens: {
460
+ price?: number | null | undefined;
261
461
  symbol: string;
262
462
  id: string;
263
463
  name: string | null;
@@ -267,34 +467,109 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
267
467
  decimals: number;
268
468
  verified: boolean;
269
469
  isTest: boolean;
270
- isPoint: boolean;
271
- isNative: boolean;
272
- } & {
273
- price?: number | null | undefined;
274
- })[];
470
+ }[];
471
+ tags: string[];
472
+ identifier: string;
275
473
  chain: {
276
474
  id: number;
277
475
  name: string;
278
476
  icon: string;
279
477
  };
280
- protocol: {
281
- id: string;
282
- name: string;
283
- url: string;
284
- description: string;
285
- tags: string[];
286
- icon: string;
287
- } | undefined;
288
- name: string;
289
- type: string;
290
- status: import("@db/api").$Enums.Status;
291
- tags: string[];
292
- identifier: string;
293
- action: import("@db/api").$Enums.OpportunityAction;
478
+ action: string;
294
479
  chainId: number;
295
480
  tvl: number;
481
+ apr: number;
296
482
  dailyRewards: number;
297
- }[];
483
+ } | null)[];
484
+ } | {
485
+ 200: {
486
+ 200: ({
487
+ protocol?: {
488
+ id: string;
489
+ name: string;
490
+ url: string;
491
+ description: string;
492
+ tags: string[];
493
+ icon: string;
494
+ } | null | undefined;
495
+ depositUrl?: string | undefined;
496
+ explorerAddress?: string | undefined;
497
+ aprRecord?: {
498
+ timestamp: string | bigint;
499
+ cumulated: number;
500
+ breakdowns: {
501
+ id: number;
502
+ type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
503
+ identifier: string;
504
+ value: number;
505
+ aprRecordId: string;
506
+ }[];
507
+ } | undefined;
508
+ tvlRecord?: {
509
+ total: number;
510
+ timestamp: string | bigint;
511
+ breakdowns: {
512
+ id: number;
513
+ type: "TOKEN" | "PROTOCOL";
514
+ identifier: string;
515
+ value: number;
516
+ tvlRecordId: string;
517
+ }[];
518
+ } | undefined;
519
+ rewardsRecord?: {
520
+ id: string;
521
+ total: number;
522
+ timestamp: string | bigint;
523
+ breakdowns: {
524
+ id: number;
525
+ token: {
526
+ price?: number | null | undefined;
527
+ symbol: string;
528
+ id: string;
529
+ name: string | null;
530
+ icon: string;
531
+ address: string;
532
+ chainId: number;
533
+ decimals: number;
534
+ verified: boolean;
535
+ isTest: boolean;
536
+ };
537
+ value: number;
538
+ campaignId: string;
539
+ amount: string | bigint;
540
+ dailyRewardsRecordId: string;
541
+ }[];
542
+ } | undefined;
543
+ id: string;
544
+ name: string;
545
+ type: string;
546
+ status: string;
547
+ tokens: {
548
+ price?: number | null | undefined;
549
+ symbol: string;
550
+ id: string;
551
+ name: string | null;
552
+ icon: string;
553
+ address: string;
554
+ chainId: number;
555
+ decimals: number;
556
+ verified: boolean;
557
+ isTest: boolean;
558
+ }[];
559
+ tags: string[];
560
+ identifier: string;
561
+ chain: {
562
+ id: number;
563
+ name: string;
564
+ icon: string;
565
+ };
566
+ action: string;
567
+ chainId: number;
568
+ tvl: number;
569
+ apr: number;
570
+ dailyRewards: number;
571
+ } | null)[];
572
+ };
298
573
  };
299
574
  };
300
575
  };
@@ -358,6 +633,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
358
633
  icon: string;
359
634
  } | null | undefined;
360
635
  depositUrl?: string | undefined;
636
+ explorerAddress?: string | undefined;
361
637
  aprRecord?: {
362
638
  timestamp: string | bigint;
363
639
  cumulated: number;
@@ -488,6 +764,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
488
764
  icon: string;
489
765
  } | null | undefined;
490
766
  depositUrl?: string | undefined;
767
+ explorerAddress?: string | undefined;
491
768
  aprRecord?: {
492
769
  timestamp: string | bigint;
493
770
  cumulated: number;
@@ -652,6 +929,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
652
929
  icon: string;
653
930
  } | null | undefined;
654
931
  depositUrl?: string | undefined;
932
+ explorerAddress?: string | undefined;
655
933
  aprRecord?: {
656
934
  timestamp: string | bigint;
657
935
  cumulated: number;
@@ -946,6 +1224,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
946
1224
  action: import("@db/api").$Enums.OpportunityAction;
947
1225
  chainId: number;
948
1226
  depositUrl: string | null;
1227
+ explorerAddress: string | null;
949
1228
  mainProtocolId: string | null;
950
1229
  tvl: number;
951
1230
  apr: number;
@@ -40,6 +40,7 @@ export declare const OpportunityResourceDto: import("@sinclair/typebox").TObject
40
40
  apr: import("@sinclair/typebox").TNumber;
41
41
  dailyRewards: import("@sinclair/typebox").TNumber;
42
42
  depositUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
43
+ explorerAddress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
43
44
  tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
44
45
  id: import("@sinclair/typebox").TString;
45
46
  tokens: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
@@ -156,6 +157,7 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
156
157
  action: import("@sinclair/typebox").TString;
157
158
  chainId: import("@sinclair/typebox").TNumber;
158
159
  depositUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
160
+ explorerAddress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
159
161
  tvl: import("@sinclair/typebox").TNumber;
160
162
  apr: import("@sinclair/typebox").TNumber;
161
163
  dailyRewards: import("@sinclair/typebox").TNumber;
@@ -329,6 +331,7 @@ export declare const CreateOpportunityDto: import("@sinclair/typebox").TObject<{
329
331
  protocols: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
330
332
  mainProtocol: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
331
333
  depositUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
334
+ explorerAddress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
332
335
  tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
333
336
  }>;
334
337
  export declare const OpportunityAggregateFieldDto: import("@sinclair/typebox").TObject<{
@@ -19,6 +19,7 @@ export const OpportunityResourceDto = t.Object({
19
19
  apr: t.Number(),
20
20
  dailyRewards: t.Number(),
21
21
  depositUrl: t.Optional(t.String()),
22
+ explorerAddress: t.Optional(t.String()),
22
23
  tags: t.Array(t.String()),
23
24
  id: t.String(),
24
25
  tokens: t.Array(TokenResourceDto),
@@ -100,6 +101,7 @@ export const CreateOpportunityDto = t.Object({
100
101
  protocols: t.Optional(t.Array(t.String())),
101
102
  mainProtocol: t.Optional(t.String()),
102
103
  depositUrl: t.Optional(t.String()),
104
+ explorerAddress: t.Optional(t.String()),
103
105
  tags: t.Optional(t.Array(t.String())),
104
106
  });
105
107
  export const OpportunityAggregateFieldDto = t.Object({