@merkl/api 0.20.158 → 0.20.159

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 (69) hide show
  1. package/dist/src/eden/index.d.ts +747 -747
  2. package/dist/src/engine/deprecated/dynamicData/factory.js +1 -0
  3. package/dist/src/engine/deprecated/dynamicData/implementations/EventBased.js +29 -5
  4. package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/processorMapping.d.ts +1 -3
  5. package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +2 -2
  6. package/dist/src/engine/implementations/Locker/metadata.d.ts +24 -0
  7. package/dist/src/engine/implementations/Locker/metadata.js +36 -0
  8. package/dist/src/engine/implementations/Locker/tvl.d.ts +7 -0
  9. package/dist/src/engine/implementations/Locker/tvl.js +21 -0
  10. package/dist/src/engine/implementations/MultiLog/tvl.d.ts +1 -12
  11. package/dist/src/engine/implementations/MultiLog/tvl.js +1 -61
  12. package/dist/src/engine/metadata/factory.js +1 -0
  13. package/dist/src/engine/tvl/logStates.d.ts +17 -0
  14. package/dist/src/engine/tvl/logStates.js +106 -0
  15. package/dist/src/index.d.ts +255 -255
  16. package/dist/src/index.js +2 -2
  17. package/dist/src/modules/v4/boost/boost.controller.d.ts +1 -1
  18. package/dist/src/modules/v4/bucket/bucket.service.d.ts +2 -0
  19. package/dist/src/modules/v4/bucket/bucket.service.js +3 -0
  20. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +41 -41
  21. package/dist/src/modules/v4/campaign/campaign.controller.js +0 -1
  22. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +36 -36
  23. package/dist/src/modules/v4/campaign/campaign.service.d.ts +76 -76
  24. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +18 -18
  25. package/dist/src/modules/v4/chain/chain.controller.d.ts +11 -11
  26. package/dist/src/modules/v4/chain/chain.repository.d.ts +13 -13
  27. package/dist/src/modules/v4/chain/chain.service.d.ts +14 -14
  28. package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +1 -1
  29. package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +1 -1
  30. package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +1 -1
  31. package/dist/src/modules/v4/creator/creator.controller.d.ts +5 -5
  32. package/dist/src/modules/v4/creator/creator.repository.d.ts +5 -5
  33. package/dist/src/modules/v4/creator/creator.service.d.ts +4 -4
  34. package/dist/src/modules/v4/enso/enso.service.d.ts +2 -2
  35. package/dist/src/modules/v4/explorer/explorer.controller.d.ts +3 -3
  36. package/dist/src/modules/v4/explorer/explorer.repository.d.ts +4 -4
  37. package/dist/src/modules/v4/explorer/explorer.service.d.ts +5 -5
  38. package/dist/src/modules/v4/interaction/interaction.controller.d.ts +2 -2
  39. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +105 -105
  40. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +3 -3
  41. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +117 -117
  42. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +122 -122
  43. package/dist/src/modules/v4/price/price.controller.d.ts +4 -4
  44. package/dist/src/modules/v4/price/price.repository.d.ts +5 -5
  45. package/dist/src/modules/v4/price/price.service.d.ts +4 -4
  46. package/dist/src/modules/v4/programPayload/programPayload.model.d.ts +18 -1
  47. package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +14 -7
  48. package/dist/src/modules/v4/programPayload/programPayload.repository.js +128 -8
  49. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +24 -24
  50. package/dist/src/modules/v4/protocol/protocol.model.d.ts +1 -1
  51. package/dist/src/modules/v4/protocol/protocol.model.js +1 -0
  52. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +14 -14
  53. package/dist/src/modules/v4/protocol/protocol.service.d.ts +6 -6
  54. package/dist/src/modules/v4/reward/reward.controller.d.ts +1 -1
  55. package/dist/src/modules/v4/reward/reward.controller.js +0 -1
  56. package/dist/src/modules/v4/reward/reward.repository.d.ts +12 -12
  57. package/dist/src/modules/v4/reward/reward.service.d.ts +82 -82
  58. package/dist/src/modules/v4/router.d.ts +255 -255
  59. package/dist/src/modules/v4/status/status.controller.d.ts +5 -5
  60. package/dist/src/modules/v4/status/status.repository.d.ts +11 -11
  61. package/dist/src/modules/v4/status/status.service.d.ts +7 -7
  62. package/dist/src/modules/v4/token/token.controller.d.ts +11 -11
  63. package/dist/src/modules/v4/token/token.repository.d.ts +4 -4
  64. package/dist/src/modules/v4/token/token.service.d.ts +14 -14
  65. package/dist/src/modules/v4/token/token.service.js +3 -3
  66. package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +1 -1
  67. package/dist/src/modules/v4/user/user.controller.d.ts +24 -24
  68. package/dist/tsconfig.package.tsbuildinfo +1 -1
  69. package/package.json +3 -3
@@ -169,8 +169,8 @@ declare const app: Elysia<"", false, {
169
169
  explorerAddress?: string | undefined;
170
170
  protocols?: string[] | undefined;
171
171
  mainProtocol?: string | undefined;
172
- type: string;
173
172
  status: "NONE" | "PAST" | "LIVE" | "SOON";
173
+ type: string;
174
174
  tokens: {
175
175
  address: string;
176
176
  chainId: number;
@@ -188,8 +188,8 @@ declare const app: Elysia<"", false, {
188
188
  200: {
189
189
  Tokens: {
190
190
  symbol: string;
191
- id: string;
192
191
  name: string | null;
192
+ id: string;
193
193
  icon: string;
194
194
  address: string;
195
195
  chainId: number;
@@ -203,18 +203,18 @@ declare const app: Elysia<"", false, {
203
203
  price: number | null;
204
204
  }[];
205
205
  Protocols: {
206
- id: string;
207
- name: string;
208
206
  url: string;
207
+ name: string;
209
208
  description: string;
209
+ id: string;
210
210
  tags: string[];
211
211
  icon: string;
212
212
  }[];
213
- id: string;
214
- name: string;
215
- type: string;
216
213
  status: import("@db/api").$Enums.Status;
214
+ type: string;
215
+ name: string;
217
216
  description: string;
217
+ id: string;
218
218
  tags: string[];
219
219
  identifier: string;
220
220
  action: import("@db/api").$Enums.OpportunityAction;
@@ -255,11 +255,11 @@ declare const app: Elysia<"", false, {
255
255
  };
256
256
  response: {
257
257
  200: {
258
- id: string;
259
- name: string;
260
- type: string;
261
258
  status: import("@db/api").$Enums.Status;
259
+ type: string;
260
+ name: string;
262
261
  description: string;
262
+ id: string;
263
263
  tags: string[];
264
264
  identifier: string;
265
265
  action: import("@db/api").$Enums.OpportunityAction;
@@ -296,8 +296,8 @@ declare const app: Elysia<"", false, {
296
296
  200: {
297
297
  Tokens: {
298
298
  symbol: string;
299
- id: string;
300
299
  name: string | null;
300
+ id: string;
301
301
  icon: string;
302
302
  address: string;
303
303
  chainId: number;
@@ -311,18 +311,18 @@ declare const app: Elysia<"", false, {
311
311
  price: number | null;
312
312
  }[];
313
313
  Protocols: {
314
- id: string;
315
- name: string;
316
314
  url: string;
315
+ name: string;
317
316
  description: string;
317
+ id: string;
318
318
  tags: string[];
319
319
  icon: string;
320
320
  }[];
321
- id: string;
322
- name: string;
323
- type: string;
324
321
  status: import("@db/api").$Enums.Status;
322
+ type: string;
323
+ name: string;
325
324
  description: string;
325
+ id: string;
326
326
  tags: string[];
327
327
  identifier: string;
328
328
  action: import("@db/api").$Enums.OpportunityAction;
@@ -346,8 +346,8 @@ declare const app: Elysia<"", false, {
346
346
  action: any;
347
347
  tokens: ({
348
348
  symbol: string;
349
- id: string;
350
349
  name: string | null;
350
+ id: string;
351
351
  icon: string;
352
352
  address: string;
353
353
  chainId: number;
@@ -360,7 +360,7 @@ declare const app: Elysia<"", false, {
360
360
  } & {
361
361
  price?: number | null | undefined;
362
362
  })[];
363
- mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | undefined;
363
+ mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
364
364
  description: string;
365
365
  howToSteps: string[];
366
366
  depositUrl: string | undefined;
@@ -389,8 +389,8 @@ declare const app: Elysia<"", false, {
389
389
  200: {
390
390
  Tokens: {
391
391
  symbol: string;
392
- id: string;
393
392
  name: string | null;
393
+ id: string;
394
394
  icon: string;
395
395
  address: string;
396
396
  chainId: number;
@@ -404,18 +404,18 @@ declare const app: Elysia<"", false, {
404
404
  price: number | null;
405
405
  }[];
406
406
  Protocols: {
407
- id: string;
408
- name: string;
409
407
  url: string;
408
+ name: string;
410
409
  description: string;
410
+ id: string;
411
411
  tags: string[];
412
412
  icon: string;
413
413
  }[];
414
- id: string;
415
- name: string;
416
- type: string;
417
414
  status: import("@db/api").$Enums.Status;
415
+ type: string;
416
+ name: string;
418
417
  description: string;
418
+ id: string;
419
419
  tags: string[];
420
420
  identifier: string;
421
421
  action: import("@db/api").$Enums.OpportunityAction;
@@ -439,8 +439,8 @@ declare const app: Elysia<"", false, {
439
439
  action: any;
440
440
  tokens: ({
441
441
  symbol: string;
442
- id: string;
443
442
  name: string | null;
443
+ id: string;
444
444
  icon: string;
445
445
  address: string;
446
446
  chainId: number;
@@ -453,7 +453,7 @@ declare const app: Elysia<"", false, {
453
453
  } & {
454
454
  price?: number | null | undefined;
455
455
  })[];
456
- mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | undefined;
456
+ mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
457
457
  description: string;
458
458
  howToSteps: string[];
459
459
  depositUrl: string | undefined;
@@ -471,11 +471,11 @@ declare const app: Elysia<"", false, {
471
471
  body: unknown;
472
472
  params: {};
473
473
  query: {
474
- search?: string | undefined;
475
- name?: string | undefined;
476
- type?: string | undefined;
477
474
  status?: string | undefined;
475
+ search?: string | undefined;
478
476
  sort?: string | undefined;
477
+ type?: string | undefined;
478
+ name?: string | undefined;
479
479
  tokens?: string | undefined;
480
480
  items?: number | undefined;
481
481
  tags?: string | undefined;
@@ -520,8 +520,8 @@ declare const app: Elysia<"", false, {
520
520
  total: number;
521
521
  timestamp: bigint;
522
522
  breakdowns: {
523
- id: string;
524
523
  type: import("@db/api").$Enums.TvlType;
524
+ id: string;
525
525
  identifier: string;
526
526
  value: number;
527
527
  tvlRecordId: string;
@@ -538,8 +538,8 @@ declare const app: Elysia<"", false, {
538
538
  dailyRewardsRecordId: string;
539
539
  token: {
540
540
  symbol: string;
541
- id: string;
542
541
  name: string | null;
542
+ id: string;
543
543
  icon: string;
544
544
  address: string;
545
545
  chainId: number;
@@ -559,16 +559,16 @@ declare const app: Elysia<"", false, {
559
559
  campaigns: {
560
560
  params: any;
561
561
  chain: {
562
- id: number;
563
562
  name: string;
563
+ id: number;
564
564
  icon: string;
565
565
  };
566
566
  endTimestamp: number;
567
567
  startTimestamp: number;
568
568
  rewardToken: {
569
569
  symbol: string;
570
- id: string;
571
570
  name: string | null;
571
+ id: string;
572
572
  icon: string;
573
573
  address: string;
574
574
  chainId: number;
@@ -582,15 +582,15 @@ declare const app: Elysia<"", false, {
582
582
  price?: number | null | undefined;
583
583
  };
584
584
  distributionChain: {
585
- id: number;
586
585
  name: string;
586
+ id: number;
587
587
  icon: string;
588
588
  } | undefined;
589
589
  campaignStatus: {
590
590
  computedUntil: number;
591
591
  processingStarted: number;
592
- error: string;
593
592
  status: import("@db/api").$Enums.RunStatus;
593
+ error: string;
594
594
  details: import("database/api/.generated/runtime/library").JsonValue;
595
595
  campaignId: string;
596
596
  } | undefined;
@@ -603,11 +603,11 @@ declare const app: Elysia<"", false, {
603
603
  createdAt: string;
604
604
  description: string | undefined;
605
605
  Opportunity: {
606
- id: string;
607
- name: string;
608
- type: string;
609
606
  status: import("@db/api").$Enums.Status;
607
+ type: string;
608
+ name: string;
610
609
  description: string;
610
+ id: string;
611
611
  tags: string[];
612
612
  identifier: string;
613
613
  action: import("@db/api").$Enums.OpportunityAction;
@@ -622,8 +622,8 @@ declare const app: Elysia<"", false, {
622
622
  dailyRewards: number;
623
623
  lastCampaignCreatedAt: Date;
624
624
  };
625
- id: string;
626
625
  type: string;
626
+ id: string;
627
627
  subType: number | null;
628
628
  computeChainId: number;
629
629
  distributionChainId: number;
@@ -639,8 +639,8 @@ declare const app: Elysia<"", false, {
639
639
  lastCampaignCreatedAt: string;
640
640
  tokens: ({
641
641
  symbol: string;
642
- id: string;
643
642
  name: string | null;
643
+ id: string;
644
644
  icon: string;
645
645
  address: string;
646
646
  chainId: number;
@@ -654,21 +654,21 @@ declare const app: Elysia<"", false, {
654
654
  price?: number | null | undefined;
655
655
  })[];
656
656
  chain: {
657
- id: number;
658
657
  name: string;
658
+ id: number;
659
659
  icon: string;
660
660
  };
661
661
  protocol: {
662
- id: string;
663
- name: string;
664
662
  url: string;
663
+ name: string;
665
664
  description: string;
665
+ id: string;
666
666
  tags: string[];
667
667
  icon: string;
668
668
  } | undefined;
669
- name: string;
670
- type: string;
671
669
  status: import("@db/api").$Enums.Status;
670
+ type: string;
671
+ name: string;
672
672
  description: string;
673
673
  tags: string[];
674
674
  identifier: string;
@@ -689,11 +689,11 @@ declare const app: Elysia<"", false, {
689
689
  body: unknown;
690
690
  params: {};
691
691
  query: {
692
- search?: string | undefined;
693
- name?: string | undefined;
694
- type?: string | undefined;
695
692
  status?: string | undefined;
693
+ search?: string | undefined;
696
694
  sort?: string | undefined;
695
+ type?: string | undefined;
696
+ name?: string | undefined;
697
697
  tokens?: string | undefined;
698
698
  items?: number | undefined;
699
699
  tags?: string | undefined;
@@ -734,10 +734,10 @@ declare const app: Elysia<"", false, {
734
734
  response: {
735
735
  200: {
736
736
  protocol?: {
737
- id: string;
738
- name: string;
739
737
  url: string;
738
+ name: string;
740
739
  description: string;
740
+ id: string;
741
741
  tags: string[];
742
742
  icon: string;
743
743
  } | null | undefined;
@@ -748,8 +748,8 @@ declare const app: Elysia<"", false, {
748
748
  timestamp: string | bigint;
749
749
  cumulated: number;
750
750
  breakdowns: {
751
- id: string;
752
751
  type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
752
+ id: string;
753
753
  identifier: string;
754
754
  value: number;
755
755
  aprRecordId: string;
@@ -759,24 +759,23 @@ declare const app: Elysia<"", false, {
759
759
  total: number;
760
760
  timestamp: string | bigint;
761
761
  breakdowns: {
762
- id: string;
763
762
  type: "TOKEN" | "PROTOCOL";
763
+ id: string;
764
764
  identifier: string;
765
765
  value: number;
766
766
  tvlRecordId: string;
767
767
  }[];
768
768
  } | undefined;
769
769
  rewardsRecord?: {
770
- id: string;
771
770
  total: number;
771
+ id: string;
772
772
  timestamp: string | bigint;
773
773
  breakdowns: {
774
- id: string;
775
774
  token: {
776
775
  price?: number | null | undefined;
777
776
  symbol: string;
778
- id: string;
779
777
  name: string | null;
778
+ id: string;
780
779
  icon: string;
781
780
  address: string;
782
781
  chainId: number;
@@ -786,21 +785,21 @@ declare const app: Elysia<"", false, {
786
785
  isPoint: boolean;
787
786
  isPreTGE: boolean;
788
787
  };
788
+ id: string;
789
789
  value: number;
790
790
  campaignId: string;
791
791
  amount: string | bigint;
792
792
  dailyRewardsRecordId: string;
793
793
  }[];
794
794
  } | undefined;
795
- id: string;
796
- name: string;
797
- type: string;
798
795
  status: string;
796
+ type: string;
797
+ name: string;
799
798
  tokens: {
800
799
  price?: number | null | undefined;
801
800
  symbol: string;
802
- id: string;
803
801
  name: string | null;
802
+ id: string;
804
803
  icon: string;
805
804
  address: string;
806
805
  chainId: number;
@@ -811,11 +810,12 @@ declare const app: Elysia<"", false, {
811
810
  isPreTGE: boolean;
812
811
  }[];
813
812
  description: string;
813
+ id: string;
814
814
  tags: string[];
815
815
  identifier: string;
816
816
  chain: {
817
- id: number;
818
817
  name: string;
818
+ id: number;
819
819
  icon: string;
820
820
  };
821
821
  action: string;
@@ -827,8 +827,8 @@ declare const app: Elysia<"", false, {
827
827
  lastCampaignCreatedAt: string;
828
828
  };
829
829
  readonly 404: {
830
- name: string;
831
830
  message: string;
831
+ name: string;
832
832
  };
833
833
  readonly 500: {
834
834
  info: string;
@@ -846,8 +846,8 @@ declare const app: Elysia<"", false, {
846
846
  body: unknown;
847
847
  params: {};
848
848
  query: {
849
- type?: string | undefined;
850
849
  status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
850
+ type?: string | undefined;
851
851
  items?: number | undefined;
852
852
  subType?: number | undefined;
853
853
  page?: number | undefined;
@@ -873,10 +873,10 @@ declare const app: Elysia<"", false, {
873
873
  response: {
874
874
  200: {
875
875
  protocol?: {
876
- id: string;
877
- name: string;
878
876
  url: string;
877
+ name: string;
879
878
  description: string;
879
+ id: string;
880
880
  tags: string[];
881
881
  icon: string;
882
882
  } | null | undefined;
@@ -887,8 +887,8 @@ declare const app: Elysia<"", false, {
887
887
  timestamp: string | bigint;
888
888
  cumulated: number;
889
889
  breakdowns: {
890
- id: string;
891
890
  type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
891
+ id: string;
892
892
  identifier: string;
893
893
  value: number;
894
894
  aprRecordId: string;
@@ -898,24 +898,23 @@ declare const app: Elysia<"", false, {
898
898
  total: number;
899
899
  timestamp: string | bigint;
900
900
  breakdowns: {
901
- id: string;
902
901
  type: "TOKEN" | "PROTOCOL";
902
+ id: string;
903
903
  identifier: string;
904
904
  value: number;
905
905
  tvlRecordId: string;
906
906
  }[];
907
907
  } | undefined;
908
908
  rewardsRecord?: {
909
- id: string;
910
909
  total: number;
910
+ id: string;
911
911
  timestamp: string | bigint;
912
912
  breakdowns: {
913
- id: string;
914
913
  token: {
915
914
  price?: number | null | undefined;
916
915
  symbol: string;
917
- id: string;
918
916
  name: string | null;
917
+ id: string;
919
918
  icon: string;
920
919
  address: string;
921
920
  chainId: number;
@@ -925,21 +924,21 @@ declare const app: Elysia<"", false, {
925
924
  isPoint: boolean;
926
925
  isPreTGE: boolean;
927
926
  };
927
+ id: string;
928
928
  value: number;
929
929
  campaignId: string;
930
930
  amount: string | bigint;
931
931
  dailyRewardsRecordId: string;
932
932
  }[];
933
933
  } | undefined;
934
- id: string;
935
- name: string;
936
- type: string;
937
934
  status: string;
935
+ type: string;
936
+ name: string;
938
937
  tokens: {
939
938
  price?: number | null | undefined;
940
939
  symbol: string;
941
- id: string;
942
940
  name: string | null;
941
+ id: string;
943
942
  icon: string;
944
943
  address: string;
945
944
  chainId: number;
@@ -950,11 +949,12 @@ declare const app: Elysia<"", false, {
950
949
  isPreTGE: boolean;
951
950
  }[];
952
951
  description: string;
952
+ id: string;
953
953
  tags: string[];
954
954
  identifier: string;
955
955
  chain: {
956
- id: number;
957
956
  name: string;
957
+ id: number;
958
958
  icon: string;
959
959
  };
960
960
  action: string;
@@ -980,17 +980,17 @@ declare const app: Elysia<"", false, {
980
980
  processingStarted: string | number;
981
981
  } | undefined;
982
982
  distributionChain?: {
983
- id: number;
984
983
  name: string;
984
+ id: number;
985
985
  icon: string;
986
986
  } | undefined;
987
- id: string;
988
987
  type: string;
988
+ id: string;
989
989
  params: any;
990
990
  subType: number | null;
991
991
  chain: {
992
- id: number;
993
992
  name: string;
993
+ id: number;
994
994
  icon: string;
995
995
  };
996
996
  computeChainId: number;
@@ -1006,8 +1006,8 @@ declare const app: Elysia<"", false, {
1006
1006
  rewardToken: {
1007
1007
  price?: number | null | undefined;
1008
1008
  symbol: string;
1009
- id: string;
1010
1009
  name: string | null;
1010
+ id: string;
1011
1011
  icon: string;
1012
1012
  address: string;
1013
1013
  chainId: number;
@@ -1020,8 +1020,8 @@ declare const app: Elysia<"", false, {
1020
1020
  }[];
1021
1021
  }[];
1022
1022
  readonly 404: {
1023
- name: string;
1024
1023
  message: string;
1024
+ name: string;
1025
1025
  };
1026
1026
  readonly 500: {
1027
1027
  info: string;
@@ -1049,10 +1049,10 @@ declare const app: Elysia<"", false, {
1049
1049
  response: {
1050
1050
  200: {
1051
1051
  protocol?: {
1052
- id: string;
1053
- name: string;
1054
1052
  url: string;
1053
+ name: string;
1055
1054
  description: string;
1055
+ id: string;
1056
1056
  tags: string[];
1057
1057
  icon: string;
1058
1058
  } | null | undefined;
@@ -1063,8 +1063,8 @@ declare const app: Elysia<"", false, {
1063
1063
  timestamp: string | bigint;
1064
1064
  cumulated: number;
1065
1065
  breakdowns: {
1066
- id: string;
1067
1066
  type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
1067
+ id: string;
1068
1068
  identifier: string;
1069
1069
  value: number;
1070
1070
  aprRecordId: string;
@@ -1074,24 +1074,23 @@ declare const app: Elysia<"", false, {
1074
1074
  total: number;
1075
1075
  timestamp: string | bigint;
1076
1076
  breakdowns: {
1077
- id: string;
1078
1077
  type: "TOKEN" | "PROTOCOL";
1078
+ id: string;
1079
1079
  identifier: string;
1080
1080
  value: number;
1081
1081
  tvlRecordId: string;
1082
1082
  }[];
1083
1083
  } | undefined;
1084
1084
  rewardsRecord?: {
1085
- id: string;
1086
1085
  total: number;
1086
+ id: string;
1087
1087
  timestamp: string | bigint;
1088
1088
  breakdowns: {
1089
- id: string;
1090
1089
  token: {
1091
1090
  price?: number | null | undefined;
1092
1091
  symbol: string;
1093
- id: string;
1094
1092
  name: string | null;
1093
+ id: string;
1095
1094
  icon: string;
1096
1095
  address: string;
1097
1096
  chainId: number;
@@ -1101,21 +1100,21 @@ declare const app: Elysia<"", false, {
1101
1100
  isPoint: boolean;
1102
1101
  isPreTGE: boolean;
1103
1102
  };
1103
+ id: string;
1104
1104
  value: number;
1105
1105
  campaignId: string;
1106
1106
  amount: string | bigint;
1107
1107
  dailyRewardsRecordId: string;
1108
1108
  }[];
1109
1109
  } | undefined;
1110
- id: string;
1111
- name: string;
1112
- type: string;
1113
1110
  status: string;
1111
+ type: string;
1112
+ name: string;
1114
1113
  tokens: {
1115
1114
  price?: number | null | undefined;
1116
1115
  symbol: string;
1117
- id: string;
1118
1116
  name: string | null;
1117
+ id: string;
1119
1118
  icon: string;
1120
1119
  address: string;
1121
1120
  chainId: number;
@@ -1126,11 +1125,12 @@ declare const app: Elysia<"", false, {
1126
1125
  isPreTGE: boolean;
1127
1126
  }[];
1128
1127
  description: string;
1128
+ id: string;
1129
1129
  tags: string[];
1130
1130
  identifier: string;
1131
1131
  chain: {
1132
- id: number;
1133
1132
  name: string;
1133
+ id: number;
1134
1134
  icon: string;
1135
1135
  };
1136
1136
  action: string;
@@ -1156,17 +1156,17 @@ declare const app: Elysia<"", false, {
1156
1156
  processingStarted: string | number;
1157
1157
  } | undefined;
1158
1158
  distributionChain?: {
1159
- id: number;
1160
1159
  name: string;
1160
+ id: number;
1161
1161
  icon: string;
1162
1162
  } | undefined;
1163
- id: string;
1164
1163
  type: string;
1164
+ id: string;
1165
1165
  params: any;
1166
1166
  subType: number | null;
1167
1167
  chain: {
1168
- id: number;
1169
1168
  name: string;
1169
+ id: number;
1170
1170
  icon: string;
1171
1171
  };
1172
1172
  computeChainId: number;
@@ -1182,8 +1182,8 @@ declare const app: Elysia<"", false, {
1182
1182
  rewardToken: {
1183
1183
  price?: number | null | undefined;
1184
1184
  symbol: string;
1185
- id: string;
1186
1185
  name: string | null;
1186
+ id: string;
1187
1187
  icon: string;
1188
1188
  address: string;
1189
1189
  chainId: number;
@@ -1196,8 +1196,8 @@ declare const app: Elysia<"", false, {
1196
1196
  }[];
1197
1197
  };
1198
1198
  readonly 404: {
1199
- name: string;
1200
1199
  message: string;
1200
+ name: string;
1201
1201
  };
1202
1202
  readonly 500: {
1203
1203
  info: string;
@@ -1219,11 +1219,11 @@ declare const app: Elysia<"", false, {
1219
1219
  field: never;
1220
1220
  };
1221
1221
  query: {
1222
- search?: string | undefined;
1223
- name?: string | undefined;
1224
- type?: string | undefined;
1225
1222
  status?: string | undefined;
1223
+ search?: string | undefined;
1226
1224
  sort?: string | undefined;
1225
+ type?: string | undefined;
1226
+ name?: string | undefined;
1227
1227
  tokens?: string | undefined;
1228
1228
  items?: number | undefined;
1229
1229
  tags?: string | undefined;
@@ -1262,11 +1262,11 @@ declare const app: Elysia<"", false, {
1262
1262
  field: never;
1263
1263
  };
1264
1264
  query: {
1265
- search?: string | undefined;
1266
- name?: string | undefined;
1267
- type?: string | undefined;
1268
1265
  status?: string | undefined;
1266
+ search?: string | undefined;
1269
1267
  sort?: string | undefined;
1268
+ type?: string | undefined;
1269
+ name?: string | undefined;
1270
1270
  tokens?: string | undefined;
1271
1271
  items?: number | undefined;
1272
1272
  tags?: string | undefined;
@@ -1306,11 +1306,11 @@ declare const app: Elysia<"", false, {
1306
1306
  field: never;
1307
1307
  };
1308
1308
  query: {
1309
- search?: string | undefined;
1310
- name?: string | undefined;
1311
- type?: string | undefined;
1312
1309
  status?: string | undefined;
1310
+ search?: string | undefined;
1313
1311
  sort?: string | undefined;
1312
+ type?: string | undefined;
1313
+ name?: string | undefined;
1314
1314
  tokens?: string | undefined;
1315
1315
  items?: number | undefined;
1316
1316
  tags?: string | undefined;
@@ -1368,9 +1368,9 @@ declare const app: Elysia<"", false, {
1368
1368
  };
1369
1369
  response: {
1370
1370
  200: {
1371
- id: string;
1372
1371
  type: string;
1373
1372
  description: string | null;
1373
+ id: string;
1374
1374
  params: import("database/api/.generated/runtime/library").JsonValue;
1375
1375
  subType: number | null;
1376
1376
  computeChainId: number;
@@ -1388,8 +1388,8 @@ declare const app: Elysia<"", false, {
1388
1388
  } | {
1389
1389
  Tokens: {
1390
1390
  symbol: string;
1391
- id: string;
1392
1391
  name: string | null;
1392
+ id: string;
1393
1393
  icon: string;
1394
1394
  address: string;
1395
1395
  chainId: number;
@@ -1403,18 +1403,18 @@ declare const app: Elysia<"", false, {
1403
1403
  price: number | null;
1404
1404
  }[];
1405
1405
  Protocols: {
1406
- id: string;
1407
- name: string;
1408
1406
  url: string;
1407
+ name: string;
1409
1408
  description: string;
1409
+ id: string;
1410
1410
  tags: string[];
1411
1411
  icon: string;
1412
1412
  }[];
1413
- id: string;
1414
- name: string;
1415
- type: string;
1416
1413
  status: import("@db/api").$Enums.Status;
1414
+ type: string;
1415
+ name: string;
1417
1416
  description: string;
1417
+ id: string;
1418
1418
  tags: string[];
1419
1419
  identifier: string;
1420
1420
  action: import("@db/api").$Enums.OpportunityAction;
@@ -1438,8 +1438,8 @@ declare const app: Elysia<"", false, {
1438
1438
  action: any;
1439
1439
  tokens: ({
1440
1440
  symbol: string;
1441
- id: string;
1442
1441
  name: string | null;
1442
+ id: string;
1443
1443
  icon: string;
1444
1444
  address: string;
1445
1445
  chainId: number;
@@ -1452,7 +1452,7 @@ declare const app: Elysia<"", false, {
1452
1452
  } & {
1453
1453
  price?: number | null | undefined;
1454
1454
  })[];
1455
- mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | undefined;
1455
+ mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
1456
1456
  description: string;
1457
1457
  howToSteps: string[];
1458
1458
  depositUrl: string | undefined;
@@ -1531,9 +1531,9 @@ declare const app: Elysia<"", false, {
1531
1531
  };
1532
1532
  response: {
1533
1533
  200: {
1534
- id: string;
1535
1534
  type: string;
1536
1535
  description: string | null;
1536
+ id: string;
1537
1537
  params: import("database/api/.generated/runtime/library").JsonValue;
1538
1538
  subType: number | null;
1539
1539
  computeChainId: number;
@@ -1576,8 +1576,8 @@ declare const app: Elysia<"", false, {
1576
1576
  body: unknown;
1577
1577
  params: {};
1578
1578
  query: {
1579
- type?: string | undefined;
1580
1579
  status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
1580
+ type?: string | undefined;
1581
1581
  items?: number | undefined;
1582
1582
  subType?: number | undefined;
1583
1583
  page?: number | undefined;
@@ -1604,16 +1604,16 @@ declare const app: Elysia<"", false, {
1604
1604
  200: {
1605
1605
  params: any;
1606
1606
  chain: {
1607
- id: number;
1608
1607
  name: string;
1608
+ id: number;
1609
1609
  icon: string;
1610
1610
  };
1611
1611
  endTimestamp: number;
1612
1612
  startTimestamp: number;
1613
1613
  rewardToken: {
1614
1614
  symbol: string;
1615
- id: string;
1616
1615
  name: string | null;
1616
+ id: string;
1617
1617
  icon: string;
1618
1618
  address: string;
1619
1619
  chainId: number;
@@ -1627,15 +1627,15 @@ declare const app: Elysia<"", false, {
1627
1627
  price?: number | null | undefined;
1628
1628
  };
1629
1629
  distributionChain: {
1630
- id: number;
1631
1630
  name: string;
1631
+ id: number;
1632
1632
  icon: string;
1633
1633
  } | undefined;
1634
1634
  campaignStatus: {
1635
1635
  computedUntil: number;
1636
1636
  processingStarted: number;
1637
- error: string;
1638
1637
  status: import("@db/api").$Enums.RunStatus;
1638
+ error: string;
1639
1639
  details: import("database/api/.generated/runtime/library").JsonValue;
1640
1640
  campaignId: string;
1641
1641
  } | undefined;
@@ -1648,11 +1648,11 @@ declare const app: Elysia<"", false, {
1648
1648
  createdAt: string;
1649
1649
  description: string | undefined;
1650
1650
  Opportunity: {
1651
- id: string;
1652
- name: string;
1653
- type: string;
1654
1651
  status: import("@db/api").$Enums.Status;
1652
+ type: string;
1653
+ name: string;
1655
1654
  description: string;
1655
+ id: string;
1656
1656
  tags: string[];
1657
1657
  identifier: string;
1658
1658
  action: import("@db/api").$Enums.OpportunityAction;
@@ -1667,8 +1667,8 @@ declare const app: Elysia<"", false, {
1667
1667
  dailyRewards: number;
1668
1668
  lastCampaignCreatedAt: Date;
1669
1669
  };
1670
- id: string;
1671
1670
  type: string;
1671
+ id: string;
1672
1672
  subType: number | null;
1673
1673
  computeChainId: number;
1674
1674
  distributionChainId: number;
@@ -1694,16 +1694,16 @@ declare const app: Elysia<"", false, {
1694
1694
  200: {
1695
1695
  params: any;
1696
1696
  chain: {
1697
- id: number;
1698
1697
  name: string;
1698
+ id: number;
1699
1699
  icon: string;
1700
1700
  };
1701
1701
  endTimestamp: number;
1702
1702
  startTimestamp: number;
1703
1703
  rewardToken: {
1704
1704
  symbol: string;
1705
- id: string;
1706
1705
  name: string | null;
1706
+ id: string;
1707
1707
  icon: string;
1708
1708
  address: string;
1709
1709
  chainId: number;
@@ -1717,15 +1717,15 @@ declare const app: Elysia<"", false, {
1717
1717
  price?: number | null | undefined;
1718
1718
  };
1719
1719
  distributionChain: {
1720
- id: number;
1721
1720
  name: string;
1721
+ id: number;
1722
1722
  icon: string;
1723
1723
  } | undefined;
1724
1724
  campaignStatus: {
1725
1725
  computedUntil: number;
1726
1726
  processingStarted: number;
1727
- error: string;
1728
1727
  status: import("@db/api").$Enums.RunStatus;
1728
+ error: string;
1729
1729
  details: import("database/api/.generated/runtime/library").JsonValue;
1730
1730
  campaignId: string;
1731
1731
  } | undefined;
@@ -1738,11 +1738,11 @@ declare const app: Elysia<"", false, {
1738
1738
  createdAt: string;
1739
1739
  description: string | undefined;
1740
1740
  Opportunity: {
1741
- id: string;
1742
- name: string;
1743
- type: string;
1744
1741
  status: import("@db/api").$Enums.Status;
1742
+ type: string;
1743
+ name: string;
1745
1744
  description: string;
1745
+ id: string;
1746
1746
  tags: string[];
1747
1747
  identifier: string;
1748
1748
  action: import("@db/api").$Enums.OpportunityAction;
@@ -1757,8 +1757,8 @@ declare const app: Elysia<"", false, {
1757
1757
  dailyRewards: number;
1758
1758
  lastCampaignCreatedAt: Date;
1759
1759
  };
1760
- id: string;
1761
1760
  type: string;
1761
+ id: string;
1762
1762
  subType: number | null;
1763
1763
  computeChainId: number;
1764
1764
  distributionChainId: number;
@@ -1857,8 +1857,8 @@ declare const app: Elysia<"", false, {
1857
1857
  body: unknown;
1858
1858
  params: {};
1859
1859
  query: {
1860
- type?: string | undefined;
1861
1860
  status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
1861
+ type?: string | undefined;
1862
1862
  items?: number | undefined;
1863
1863
  subType?: number | undefined;
1864
1864
  page?: number | undefined;
@@ -1885,16 +1885,16 @@ declare const app: Elysia<"", false, {
1885
1885
  200: {
1886
1886
  params: any;
1887
1887
  chain: {
1888
- id: number;
1889
1888
  name: string;
1889
+ id: number;
1890
1890
  icon: string;
1891
1891
  };
1892
1892
  endTimestamp: number;
1893
1893
  startTimestamp: number;
1894
1894
  rewardToken: {
1895
1895
  symbol: string;
1896
- id: string;
1897
1896
  name: string | null;
1897
+ id: string;
1898
1898
  icon: string;
1899
1899
  address: string;
1900
1900
  chainId: number;
@@ -1908,15 +1908,15 @@ declare const app: Elysia<"", false, {
1908
1908
  price?: number | null | undefined;
1909
1909
  };
1910
1910
  distributionChain: {
1911
- id: number;
1912
1911
  name: string;
1912
+ id: number;
1913
1913
  icon: string;
1914
1914
  } | undefined;
1915
1915
  campaignStatus: {
1916
1916
  computedUntil: number;
1917
1917
  processingStarted: number;
1918
- error: string;
1919
1918
  status: import("@db/api").$Enums.RunStatus;
1919
+ error: string;
1920
1920
  details: import("database/api/.generated/runtime/library").JsonValue;
1921
1921
  campaignId: string;
1922
1922
  } | undefined;
@@ -1929,11 +1929,11 @@ declare const app: Elysia<"", false, {
1929
1929
  createdAt: string;
1930
1930
  description: string | undefined;
1931
1931
  Opportunity: {
1932
- id: string;
1933
- name: string;
1934
- type: string;
1935
1932
  status: import("@db/api").$Enums.Status;
1933
+ type: string;
1934
+ name: string;
1936
1935
  description: string;
1936
+ id: string;
1937
1937
  tags: string[];
1938
1938
  identifier: string;
1939
1939
  action: import("@db/api").$Enums.OpportunityAction;
@@ -1948,8 +1948,8 @@ declare const app: Elysia<"", false, {
1948
1948
  dailyRewards: number;
1949
1949
  lastCampaignCreatedAt: Date;
1950
1950
  };
1951
- id: string;
1952
1951
  type: string;
1952
+ id: string;
1953
1953
  subType: number | null;
1954
1954
  computeChainId: number;
1955
1955
  distributionChainId: number;
@@ -1970,8 +1970,8 @@ declare const app: Elysia<"", false, {
1970
1970
  body: unknown;
1971
1971
  params: {};
1972
1972
  query: {
1973
- type?: string | undefined;
1974
1973
  status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
1974
+ type?: string | undefined;
1975
1975
  items?: number | undefined;
1976
1976
  subType?: number | undefined;
1977
1977
  page?: number | undefined;
@@ -2007,8 +2007,8 @@ declare const app: Elysia<"", false, {
2007
2007
  body: unknown;
2008
2008
  params: {};
2009
2009
  query: {
2010
- type?: string | undefined;
2011
2010
  status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
2011
+ type?: string | undefined;
2012
2012
  items?: number | undefined;
2013
2013
  subType?: number | undefined;
2014
2014
  page?: number | undefined;
@@ -2049,8 +2049,8 @@ declare const app: Elysia<"", false, {
2049
2049
  body: unknown;
2050
2050
  params: {};
2051
2051
  query: {
2052
- type?: string | undefined;
2053
2052
  status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
2053
+ type?: string | undefined;
2054
2054
  items?: number | undefined;
2055
2055
  subType?: number | undefined;
2056
2056
  page?: number | undefined;
@@ -2092,8 +2092,8 @@ declare const app: Elysia<"", false, {
2092
2092
  body: unknown;
2093
2093
  params: {};
2094
2094
  query: {
2095
- type?: string | undefined;
2096
2095
  status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
2096
+ type?: string | undefined;
2097
2097
  items?: number | undefined;
2098
2098
  subType?: number | undefined;
2099
2099
  page?: number | undefined;
@@ -2271,9 +2271,9 @@ declare const app: Elysia<"", false, {
2271
2271
  };
2272
2272
  response: {
2273
2273
  200: {
2274
- id: string;
2275
2274
  type: string;
2276
2275
  description: string | null;
2276
+ id: string;
2277
2277
  params: import("database/api/.generated/runtime/library").JsonValue;
2278
2278
  subType: number | null;
2279
2279
  computeChainId: number;
@@ -2291,8 +2291,8 @@ declare const app: Elysia<"", false, {
2291
2291
  } | {
2292
2292
  Tokens: {
2293
2293
  symbol: string;
2294
- id: string;
2295
2294
  name: string | null;
2295
+ id: string;
2296
2296
  icon: string;
2297
2297
  address: string;
2298
2298
  chainId: number;
@@ -2306,18 +2306,18 @@ declare const app: Elysia<"", false, {
2306
2306
  price: number | null;
2307
2307
  }[];
2308
2308
  Protocols: {
2309
- id: string;
2310
- name: string;
2311
2309
  url: string;
2310
+ name: string;
2312
2311
  description: string;
2312
+ id: string;
2313
2313
  tags: string[];
2314
2314
  icon: string;
2315
2315
  }[];
2316
- id: string;
2317
- name: string;
2318
- type: string;
2319
2316
  status: import("@db/api").$Enums.Status;
2317
+ type: string;
2318
+ name: string;
2320
2319
  description: string;
2320
+ id: string;
2321
2321
  tags: string[];
2322
2322
  identifier: string;
2323
2323
  action: import("@db/api").$Enums.OpportunityAction;
@@ -2341,8 +2341,8 @@ declare const app: Elysia<"", false, {
2341
2341
  action: any;
2342
2342
  tokens: ({
2343
2343
  symbol: string;
2344
- id: string;
2345
2344
  name: string | null;
2345
+ id: string;
2346
2346
  icon: string;
2347
2347
  address: string;
2348
2348
  chainId: number;
@@ -2355,7 +2355,7 @@ declare const app: Elysia<"", false, {
2355
2355
  } & {
2356
2356
  price?: number | null | undefined;
2357
2357
  })[];
2358
- mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | undefined;
2358
+ mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
2359
2359
  description: string;
2360
2360
  howToSteps: string[];
2361
2361
  depositUrl: string | undefined;
@@ -2381,9 +2381,9 @@ declare const app: Elysia<"", false, {
2381
2381
  };
2382
2382
  response: {
2383
2383
  200: {
2384
- id: string;
2385
2384
  type: string;
2386
2385
  description: string | null;
2386
+ id: string;
2387
2387
  params: import("database/api/.generated/runtime/library").JsonValue;
2388
2388
  subType: number | null;
2389
2389
  computeChainId: number;
@@ -2401,8 +2401,8 @@ declare const app: Elysia<"", false, {
2401
2401
  } | {
2402
2402
  Tokens: {
2403
2403
  symbol: string;
2404
- id: string;
2405
2404
  name: string | null;
2405
+ id: string;
2406
2406
  icon: string;
2407
2407
  address: string;
2408
2408
  chainId: number;
@@ -2416,18 +2416,18 @@ declare const app: Elysia<"", false, {
2416
2416
  price: number | null;
2417
2417
  }[];
2418
2418
  Protocols: {
2419
- id: string;
2420
- name: string;
2421
2419
  url: string;
2420
+ name: string;
2422
2421
  description: string;
2422
+ id: string;
2423
2423
  tags: string[];
2424
2424
  icon: string;
2425
2425
  }[];
2426
- id: string;
2427
- name: string;
2428
- type: string;
2429
2426
  status: import("@db/api").$Enums.Status;
2427
+ type: string;
2428
+ name: string;
2430
2429
  description: string;
2430
+ id: string;
2431
2431
  tags: string[];
2432
2432
  identifier: string;
2433
2433
  action: import("@db/api").$Enums.OpportunityAction;
@@ -2451,8 +2451,8 @@ declare const app: Elysia<"", false, {
2451
2451
  action: any;
2452
2452
  tokens: ({
2453
2453
  symbol: string;
2454
- id: string;
2455
2454
  name: string | null;
2455
+ id: string;
2456
2456
  icon: string;
2457
2457
  address: string;
2458
2458
  chainId: number;
@@ -2465,7 +2465,7 @@ declare const app: Elysia<"", false, {
2465
2465
  } & {
2466
2466
  price?: number | null | undefined;
2467
2467
  })[];
2468
- mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | undefined;
2468
+ mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "aura" | "poolside" | "gearbox" | "filament" | "fluid" | "compound" | "ionic" | "layerbank" | "moonwell" | "fraxlend" | "fenix" | "ra" | "syncswap" | "beefy" | "aerodrome" | "velodrome" | "curve" | "toros" | "akron" | "enzyme" | "dragonswap" | "koi" | "rfx" | "woofi" | "pendle" | "zkSwapThreePool" | "maha" | "tempest" | "holdstation" | "venus" | "reactor_fusion" | "vicuna" | "curveNPool" | "satlayer" | "veda" | "cian" | "concrete" | "hourglass" | "katana" | "gamma" | "stability" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "balancer" | "cross_curve" | "neptune" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "ironclad" | "sturdy" | "frax" | "silo" | "dolomite" | "badger" | "ajna" | "ion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "oku" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "angles" | "bunni" | "beratrax" | "yei" | "gammaswap" | "uranium" | "puffer" | undefined;
2469
2469
  description: string;
2470
2470
  howToSteps: string[];
2471
2471
  depositUrl: string | undefined;
@@ -2486,8 +2486,8 @@ declare const app: Elysia<"", false, {
2486
2486
  body: unknown;
2487
2487
  params: {};
2488
2488
  query: {
2489
- id?: string | undefined;
2490
2489
  name?: string | undefined;
2490
+ id?: string | undefined;
2491
2491
  items?: number | undefined;
2492
2492
  tags?: string[] | undefined;
2493
2493
  page?: number | undefined;
@@ -2498,10 +2498,10 @@ declare const app: Elysia<"", false, {
2498
2498
  headers: unknown;
2499
2499
  response: {
2500
2500
  200: ({
2501
- id: string;
2502
- name: string;
2503
2501
  url: string;
2502
+ name: string;
2504
2503
  description: string;
2504
+ id: string;
2505
2505
  tags: string[];
2506
2506
  icon: string;
2507
2507
  } & {
@@ -2518,8 +2518,8 @@ declare const app: Elysia<"", false, {
2518
2518
  body: unknown;
2519
2519
  params: {};
2520
2520
  query: {
2521
- id?: string | undefined;
2522
2521
  name?: string | undefined;
2522
+ id?: string | undefined;
2523
2523
  items?: number | undefined;
2524
2524
  tags?: string[] | undefined;
2525
2525
  page?: number | undefined;
@@ -2544,10 +2544,10 @@ declare const app: Elysia<"", false, {
2544
2544
  headers: unknown;
2545
2545
  response: {
2546
2546
  200: {
2547
- id: string;
2548
- name: string;
2549
2547
  url: string;
2548
+ name: string;
2550
2549
  description: string;
2550
+ id: string;
2551
2551
  tags: string[];
2552
2552
  icon: string;
2553
2553
  dailyRewards?: number | undefined;
@@ -2561,8 +2561,8 @@ declare const app: Elysia<"", false, {
2561
2561
  ":id": {
2562
2562
  patch: {
2563
2563
  body: {
2564
- name?: string | undefined;
2565
2564
  url?: string | undefined;
2565
+ name?: string | undefined;
2566
2566
  description?: string | undefined;
2567
2567
  icon?: string | undefined;
2568
2568
  };
@@ -2575,10 +2575,10 @@ declare const app: Elysia<"", false, {
2575
2575
  };
2576
2576
  response: {
2577
2577
  200: {
2578
- id: string;
2579
- name: string;
2580
2578
  url: string;
2579
+ name: string;
2581
2580
  description: string;
2581
+ id: string;
2582
2582
  tags: string[];
2583
2583
  icon: string;
2584
2584
  };
@@ -2589,10 +2589,10 @@ declare const app: Elysia<"", false, {
2589
2589
  index: {
2590
2590
  post: {
2591
2591
  body: {
2592
- id: string;
2593
- name: string;
2594
2592
  url: string;
2593
+ name: string;
2595
2594
  description: string;
2595
+ id: string;
2596
2596
  tags: string[];
2597
2597
  icon: string;
2598
2598
  };
@@ -2603,10 +2603,10 @@ declare const app: Elysia<"", false, {
2603
2603
  };
2604
2604
  response: {
2605
2605
  200: {
2606
- id: string;
2607
- name: string;
2608
2606
  url: string;
2607
+ name: string;
2609
2608
  description: string;
2609
+ id: string;
2610
2610
  tags: string[];
2611
2611
  icon: string;
2612
2612
  };
@@ -2620,25 +2620,25 @@ declare const app: Elysia<"", false, {
2620
2620
  body: {
2621
2621
  data: {
2622
2622
  properties: {
2623
- id: {
2624
- title: {
2623
+ url: {
2624
+ url: string;
2625
+ };
2626
+ name: {
2627
+ rich_text: {
2625
2628
  text: {
2626
2629
  content: string;
2627
2630
  };
2628
2631
  }[];
2629
2632
  };
2630
- name: {
2633
+ description: {
2631
2634
  rich_text: {
2632
2635
  text: {
2633
2636
  content: string;
2634
2637
  };
2635
2638
  }[];
2636
2639
  };
2637
- url: {
2638
- url: string;
2639
- };
2640
- description: {
2641
- rich_text: {
2640
+ id: {
2641
+ title: {
2642
2642
  text: {
2643
2643
  content: string;
2644
2644
  };
@@ -2653,10 +2653,10 @@ declare const app: Elysia<"", false, {
2653
2653
  };
2654
2654
  icon: {
2655
2655
  files: ({
2656
+ name: string;
2656
2657
  file: {
2657
2658
  url: string;
2658
2659
  };
2659
- name: string;
2660
2660
  } | {
2661
2661
  external: {
2662
2662
  url: string;
@@ -2673,10 +2673,10 @@ declare const app: Elysia<"", false, {
2673
2673
  };
2674
2674
  response: {
2675
2675
  200: {
2676
- id: string;
2677
- name: string;
2678
2676
  url: string;
2677
+ name: string;
2679
2678
  description: string;
2679
+ id: string;
2680
2680
  tags: string[];
2681
2681
  icon: string;
2682
2682
  };
@@ -2691,8 +2691,8 @@ declare const app: Elysia<"", false, {
2691
2691
  explorers: {
2692
2692
  post: {
2693
2693
  body: {
2694
- type: "ETHERSCAN" | "BLOCKSCOUT";
2695
2694
  url: string;
2695
+ type: "ETHERSCAN" | "BLOCKSCOUT";
2696
2696
  chainId: number;
2697
2697
  };
2698
2698
  params: {};
@@ -2702,9 +2702,9 @@ declare const app: Elysia<"", false, {
2702
2702
  };
2703
2703
  response: {
2704
2704
  200: {
2705
- id: string;
2706
- type: import("@db/api").$Enums.ExplorerType;
2707
2705
  url: string;
2706
+ type: import("@db/api").$Enums.ExplorerType;
2707
+ id: string;
2708
2708
  chainId: number;
2709
2709
  };
2710
2710
  };
@@ -2725,8 +2725,8 @@ declare const app: Elysia<"", false, {
2725
2725
  response: {
2726
2726
  200: {
2727
2727
  symbol: string;
2728
- id: string;
2729
2728
  name: string | null;
2729
+ id: string;
2730
2730
  icon: string;
2731
2731
  address: string;
2732
2732
  chainId: number;
@@ -2759,8 +2759,8 @@ declare const app: Elysia<"", false, {
2759
2759
  200: {
2760
2760
  allowance: bigint;
2761
2761
  symbol: string;
2762
- id: string;
2763
2762
  name: string | null;
2763
+ id: string;
2764
2764
  icon: string;
2765
2765
  address: string;
2766
2766
  chainId: number;
@@ -2792,8 +2792,8 @@ declare const app: Elysia<"", false, {
2792
2792
  [x: number]: {
2793
2793
  minimumAmountPerHour: any;
2794
2794
  symbol: string;
2795
- id: string;
2796
2795
  name: string | null;
2796
+ id: string;
2797
2797
  icon: string;
2798
2798
  address: string;
2799
2799
  chainId: number;
@@ -2824,8 +2824,8 @@ declare const app: Elysia<"", false, {
2824
2824
  200: {
2825
2825
  minimumAmountPerHour: any;
2826
2826
  symbol: string;
2827
- id: string;
2828
2827
  name: string | null;
2828
+ id: string;
2829
2829
  icon: string;
2830
2830
  address: string;
2831
2831
  chainId: number;
@@ -2858,8 +2858,8 @@ declare const app: Elysia<"", false, {
2858
2858
  response: {
2859
2859
  200: ({
2860
2860
  symbol: string;
2861
- id: string;
2862
2861
  name: string | null;
2862
+ id: string;
2863
2863
  icon: string;
2864
2864
  address: string;
2865
2865
  chainId: number;
@@ -2884,9 +2884,9 @@ declare const app: Elysia<"", false, {
2884
2884
  params: {};
2885
2885
  query: {
2886
2886
  symbol?: string | undefined;
2887
- id?: string[] | undefined;
2888
2887
  search?: string | undefined;
2889
2888
  name?: string | undefined;
2889
+ id?: string[] | undefined;
2890
2890
  items?: number | undefined;
2891
2891
  page?: number | undefined;
2892
2892
  address?: string | undefined;
@@ -2902,8 +2902,8 @@ declare const app: Elysia<"", false, {
2902
2902
  response: {
2903
2903
  200: ({
2904
2904
  symbol: string;
2905
- id: string;
2906
2905
  name: string | null;
2906
+ id: string;
2907
2907
  icon: string;
2908
2908
  address: string;
2909
2909
  chainId: number;
@@ -2926,9 +2926,9 @@ declare const app: Elysia<"", false, {
2926
2926
  params: {};
2927
2927
  query: {
2928
2928
  symbol?: string | undefined;
2929
- id?: string[] | undefined;
2930
2929
  search?: string | undefined;
2931
2930
  name?: string | undefined;
2931
+ id?: string[] | undefined;
2932
2932
  items?: number | undefined;
2933
2933
  page?: number | undefined;
2934
2934
  address?: string | undefined;
@@ -2964,8 +2964,8 @@ declare const app: Elysia<"", false, {
2964
2964
  response: {
2965
2965
  200: {
2966
2966
  symbol: string;
2967
- id: string;
2968
2967
  name: string | null;
2968
+ id: string;
2969
2969
  icon: string;
2970
2970
  address: string;
2971
2971
  chainId: number;
@@ -3003,8 +3003,8 @@ declare const app: Elysia<"", false, {
3003
3003
  response: {
3004
3004
  200: {
3005
3005
  symbol: string;
3006
- id: string;
3007
3006
  name: string | null;
3007
+ id: string;
3008
3008
  icon: string;
3009
3009
  address: string;
3010
3010
  chainId: number;
@@ -3067,8 +3067,8 @@ declare const app: Elysia<"", false, {
3067
3067
  response: {
3068
3068
  200: {
3069
3069
  symbol: string;
3070
- id: string;
3071
3070
  name: string | null;
3071
+ id: string;
3072
3072
  icon: string;
3073
3073
  address: string;
3074
3074
  chainId: number;
@@ -3320,8 +3320,8 @@ declare const app: Elysia<"", false, {
3320
3320
  rewardToken: string;
3321
3321
  breakdowns: {
3322
3322
  protocolId?: string | undefined;
3323
- pending: string;
3324
3323
  reason: string;
3324
+ pending: string;
3325
3325
  amount: string;
3326
3326
  recipient: string;
3327
3327
  claimed: string;
@@ -3507,13 +3507,13 @@ declare const app: Elysia<"", false, {
3507
3507
  headers: unknown;
3508
3508
  response: {
3509
3509
  200: {
3510
- id: number;
3511
3510
  name: string;
3511
+ id: number;
3512
3512
  icon: string;
3513
3513
  explorers: {
3514
- id: string;
3515
- type: import("@db/api").$Enums.ExplorerType;
3516
3514
  url: string;
3515
+ type: import("@db/api").$Enums.ExplorerType;
3516
+ id: string;
3517
3517
  chainId: number;
3518
3518
  }[];
3519
3519
  } | null;
@@ -3534,13 +3534,13 @@ declare const app: Elysia<"", false, {
3534
3534
  headers: unknown;
3535
3535
  response: {
3536
3536
  200: {
3537
- id: number;
3538
3537
  name: string;
3538
+ id: number;
3539
3539
  icon: string;
3540
3540
  explorers: {
3541
- id: string;
3542
- type: import("@db/api").$Enums.ExplorerType;
3543
3541
  url: string;
3542
+ type: import("@db/api").$Enums.ExplorerType;
3543
+ id: string;
3544
3544
  chainId: number;
3545
3545
  }[];
3546
3546
  }[];
@@ -3583,8 +3583,8 @@ declare const app: Elysia<"", false, {
3583
3583
  };
3584
3584
  response: {
3585
3585
  200: {
3586
- id: number;
3587
3586
  name: string;
3587
+ id: number;
3588
3588
  icon: string;
3589
3589
  };
3590
3590
  };
@@ -3596,8 +3596,8 @@ declare const app: Elysia<"", false, {
3596
3596
  index: {
3597
3597
  post: {
3598
3598
  body: {
3599
- id: number;
3600
3599
  name: string;
3600
+ id: number;
3601
3601
  icon: string;
3602
3602
  explorerType: "ETHERSCAN" | "BLOCKSCOUT";
3603
3603
  explorerUrl: string;
@@ -3610,13 +3610,13 @@ declare const app: Elysia<"", false, {
3610
3610
  response: {
3611
3611
  200: {
3612
3612
  Explorer: {
3613
- id: string;
3614
- type: import("@db/api").$Enums.ExplorerType;
3615
3613
  url: string;
3614
+ type: import("@db/api").$Enums.ExplorerType;
3615
+ id: string;
3616
3616
  chainId: number;
3617
3617
  }[];
3618
- id: number;
3619
3618
  name: string;
3619
+ id: number;
3620
3620
  icon: string;
3621
3621
  };
3622
3622
  };
@@ -3683,8 +3683,8 @@ declare const app: Elysia<"", false, {
3683
3683
  200: {
3684
3684
  symbol: string;
3685
3685
  method: import("@db/api").$Enums.PriceSourceMethod;
3686
- id: number;
3687
3686
  args: import("database/api/.generated/runtime/library").JsonValue | null;
3687
+ id: number;
3688
3688
  }[];
3689
3689
  };
3690
3690
  };
@@ -3705,8 +3705,8 @@ declare const app: Elysia<"", false, {
3705
3705
  200: {
3706
3706
  symbol: string;
3707
3707
  method: import("@db/api").$Enums.PriceSourceMethod;
3708
- id: number;
3709
3708
  args: import("database/api/.generated/runtime/library").JsonValue | null;
3709
+ id: number;
3710
3710
  };
3711
3711
  };
3712
3712
  };
@@ -3754,8 +3754,8 @@ declare const app: Elysia<"", false, {
3754
3754
  200: {
3755
3755
  symbol: string;
3756
3756
  method: import("@db/api").$Enums.PriceSourceMethod;
3757
- id: number;
3758
3757
  args: import("database/api/.generated/runtime/library").JsonValue | null;
3758
+ id: number;
3759
3759
  };
3760
3760
  };
3761
3761
  };
@@ -3779,8 +3779,8 @@ declare const app: Elysia<"", false, {
3779
3779
  200: {
3780
3780
  symbol: string;
3781
3781
  method: import("@db/api").$Enums.PriceSourceMethod;
3782
- id: number;
3783
3782
  args: import("database/api/.generated/runtime/library").JsonValue | null;
3783
+ id: number;
3784
3784
  };
3785
3785
  };
3786
3786
  };
@@ -3969,8 +3969,8 @@ declare const app: Elysia<"", false, {
3969
3969
  headers: unknown;
3970
3970
  response: {
3971
3971
  200: {
3972
- id: string;
3973
3972
  name: string;
3973
+ id: string;
3974
3974
  addresses: string[];
3975
3975
  icon?: string | undefined;
3976
3976
  } | null;
@@ -4004,8 +4004,8 @@ declare const app: Elysia<"", false, {
4004
4004
  rewards: (Omit<{
4005
4005
  token: {
4006
4006
  symbol: string;
4007
- id: string;
4008
4007
  name: string | null;
4008
+ id: string;
4009
4009
  icon: string;
4010
4010
  address: string;
4011
4011
  chainId: number;
@@ -4022,14 +4022,14 @@ declare const app: Elysia<"", false, {
4022
4022
  campaignId: string;
4023
4023
  opportunity: {
4024
4024
  Chain: {
4025
- id: number;
4026
4025
  name: string;
4026
+ id: number;
4027
4027
  icon: string;
4028
4028
  };
4029
4029
  Tokens: {
4030
4030
  symbol: string;
4031
- id: string;
4032
4031
  name: string | null;
4032
+ id: string;
4033
4033
  icon: string;
4034
4034
  address: string;
4035
4035
  chainId: number;
@@ -4043,27 +4043,27 @@ declare const app: Elysia<"", false, {
4043
4043
  price: number | null;
4044
4044
  }[];
4045
4045
  Protocols: {
4046
- id: string;
4047
- name: string;
4048
4046
  url: string;
4047
+ name: string;
4049
4048
  description: string;
4049
+ id: string;
4050
4050
  tags: string[];
4051
4051
  icon: string;
4052
4052
  }[];
4053
4053
  MainProtocol: {
4054
- id: string;
4055
- name: string;
4056
4054
  url: string;
4055
+ name: string;
4057
4056
  description: string;
4057
+ id: string;
4058
4058
  tags: string[];
4059
4059
  icon: string;
4060
4060
  } | null;
4061
4061
  } & {
4062
- id: string;
4063
- name: string;
4064
- type: string;
4065
4062
  status: import("@db/api").$Enums.Status;
4063
+ type: string;
4064
+ name: string;
4066
4065
  description: string;
4066
+ id: string;
4067
4067
  tags: string[];
4068
4068
  identifier: string;
4069
4069
  action: import("@db/api").$Enums.OpportunityAction;
@@ -4078,8 +4078,8 @@ declare const app: Elysia<"", false, {
4078
4078
  dailyRewards: number;
4079
4079
  lastCampaignCreatedAt: Date;
4080
4080
  };
4081
- pending: string;
4082
4081
  reason: string;
4082
+ pending: string;
4083
4083
  amount: string;
4084
4084
  claimed: string;
4085
4085
  }[];
@@ -4129,8 +4129,8 @@ declare const app: Elysia<"", false, {
4129
4129
  rewards: (Omit<{
4130
4130
  token: {
4131
4131
  symbol: string;
4132
- id: string;
4133
4132
  name: string | null;
4133
+ id: string;
4134
4134
  icon: string;
4135
4135
  address: string;
4136
4136
  chainId: number;
@@ -4147,14 +4147,14 @@ declare const app: Elysia<"", false, {
4147
4147
  campaignId: string;
4148
4148
  opportunity: {
4149
4149
  Chain: {
4150
- id: number;
4151
4150
  name: string;
4151
+ id: number;
4152
4152
  icon: string;
4153
4153
  };
4154
4154
  Tokens: {
4155
4155
  symbol: string;
4156
- id: string;
4157
4156
  name: string | null;
4157
+ id: string;
4158
4158
  icon: string;
4159
4159
  address: string;
4160
4160
  chainId: number;
@@ -4168,27 +4168,27 @@ declare const app: Elysia<"", false, {
4168
4168
  price: number | null;
4169
4169
  }[];
4170
4170
  Protocols: {
4171
- id: string;
4172
- name: string;
4173
4171
  url: string;
4172
+ name: string;
4174
4173
  description: string;
4174
+ id: string;
4175
4175
  tags: string[];
4176
4176
  icon: string;
4177
4177
  }[];
4178
4178
  MainProtocol: {
4179
- id: string;
4180
- name: string;
4181
4179
  url: string;
4180
+ name: string;
4182
4181
  description: string;
4182
+ id: string;
4183
4183
  tags: string[];
4184
4184
  icon: string;
4185
4185
  } | null;
4186
4186
  } & {
4187
- id: string;
4188
- name: string;
4189
- type: string;
4190
4187
  status: import("@db/api").$Enums.Status;
4188
+ type: string;
4189
+ name: string;
4191
4190
  description: string;
4191
+ id: string;
4192
4192
  tags: string[];
4193
4193
  identifier: string;
4194
4194
  action: import("@db/api").$Enums.OpportunityAction;
@@ -4203,8 +4203,8 @@ declare const app: Elysia<"", false, {
4203
4203
  dailyRewards: number;
4204
4204
  lastCampaignCreatedAt: Date;
4205
4205
  };
4206
- pending: string;
4207
4206
  reason: string;
4207
+ pending: string;
4208
4208
  amount: string;
4209
4209
  claimed: string;
4210
4210
  }[];
@@ -4217,8 +4217,8 @@ declare const app: Elysia<"", false, {
4217
4217
  }, "breakdowns"> & {
4218
4218
  breakdowns: {
4219
4219
  campaignId: string;
4220
- pending: string;
4221
4220
  reason: string;
4221
+ pending: string;
4222
4222
  amount: string;
4223
4223
  claimed: string;
4224
4224
  }[];
@@ -4419,10 +4419,10 @@ declare const app: Elysia<"", false, {
4419
4419
  headers: unknown;
4420
4420
  response: {
4421
4421
  200: ({
4422
- id: string;
4423
- name: string;
4424
4422
  url: string;
4423
+ name: string;
4425
4424
  description: string;
4425
+ id: string;
4426
4426
  tags: string[];
4427
4427
  icon: string;
4428
4428
  } & {
@@ -4770,8 +4770,8 @@ declare const app: Elysia<"", false, {
4770
4770
  headers: unknown;
4771
4771
  response: {
4772
4772
  200: {
4773
- error: string;
4774
4773
  status: import("@db/api").$Enums.RunStatus;
4774
+ error: string;
4775
4775
  details: import("database/api/.generated/runtime/library").JsonValue;
4776
4776
  campaignId: string;
4777
4777
  computedUntil: bigint;
@@ -4791,15 +4791,15 @@ declare const app: Elysia<"", false, {
4791
4791
  headers: unknown;
4792
4792
  response: {
4793
4793
  200: {
4794
- error: string;
4795
4794
  status: import("@db/api").$Enums.RunStatus;
4795
+ error: string;
4796
4796
  details: import("database/api/.generated/runtime/library").JsonValue;
4797
4797
  campaignId: string;
4798
4798
  computedUntil: bigint;
4799
4799
  processingStarted: bigint;
4800
4800
  }[] | {
4801
- error: string;
4802
4801
  status: import("@db/api").$Enums.RunStatus;
4802
+ error: string;
4803
4803
  details: import("database/api/.generated/runtime/library").JsonValue;
4804
4804
  campaignId: string;
4805
4805
  computedUntil: bigint;
@@ -4835,13 +4835,13 @@ declare const app: Elysia<"", false, {
4835
4835
  isTest: boolean;
4836
4836
  };
4837
4837
  Opportunity: {
4838
- name: string;
4839
4838
  type: string;
4839
+ name: string;
4840
4840
  identifier: string;
4841
4841
  };
4842
4842
  CampaignStatus: {
4843
- error: string;
4844
4843
  status: import("@db/api").$Enums.RunStatus;
4844
+ error: string;
4845
4845
  details: import("database/api/.generated/runtime/library").JsonValue;
4846
4846
  campaignId: string;
4847
4847
  computedUntil: bigint;
@@ -5243,8 +5243,8 @@ declare const app: Elysia<"", false, {
5243
5243
  }[];
5244
5244
  params: {};
5245
5245
  query: {
5246
- target: string;
5247
5246
  protocol: string;
5247
+ target: string;
5248
5248
  };
5249
5249
  headers: unknown;
5250
5250
  response: {
@@ -5299,8 +5299,8 @@ declare const app: Elysia<"", false, {
5299
5299
  headers: unknown;
5300
5300
  response: {
5301
5301
  200: {
5302
- id: string;
5303
5302
  reason: string;
5303
+ id: string;
5304
5304
  campaignId: string;
5305
5305
  boost: number | null;
5306
5306
  }[];
@@ -5372,8 +5372,8 @@ declare const app: Elysia<"", false, {
5372
5372
  headers: unknown;
5373
5373
  response: {
5374
5374
  200: ({
5375
- id: string;
5376
5375
  name: string;
5376
+ id: string;
5377
5377
  addresses: string[];
5378
5378
  } & {
5379
5379
  icon?: string | undefined;
@@ -5394,8 +5394,8 @@ declare const app: Elysia<"", false, {
5394
5394
  headers: unknown;
5395
5395
  response: {
5396
5396
  200: {
5397
- id: string;
5398
5397
  name: string;
5398
+ id: string;
5399
5399
  addresses: string[];
5400
5400
  icon?: string | undefined;
5401
5401
  };
@@ -5409,8 +5409,8 @@ declare const app: Elysia<"", false, {
5409
5409
  post: {
5410
5410
  body: {
5411
5411
  icon?: string | undefined;
5412
- id: string;
5413
5412
  name: string;
5413
+ id: string;
5414
5414
  addresses: string[];
5415
5415
  };
5416
5416
  params: {};
@@ -5420,8 +5420,8 @@ declare const app: Elysia<"", false, {
5420
5420
  };
5421
5421
  response: {
5422
5422
  200: {
5423
- id: string;
5424
5423
  name: string;
5424
+ id: string;
5425
5425
  icon: string | null;
5426
5426
  };
5427
5427
  };
@@ -5446,8 +5446,8 @@ declare const app: Elysia<"", false, {
5446
5446
  };
5447
5447
  response: {
5448
5448
  200: {
5449
- id: string;
5450
5449
  name: string;
5450
+ id: string;
5451
5451
  icon: string | null;
5452
5452
  };
5453
5453
  };