@merkl/api 1.12.1 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/src/eden/index.d.ts +390 -306
  2. package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +25 -25
  3. package/dist/src/engine/implementations/Blend/metadata.d.ts +32 -0
  4. package/dist/src/engine/implementations/Blend/metadata.js.map +1 -0
  5. package/dist/src/engine/implementations/SacHolder/metadata.d.ts +16 -0
  6. package/dist/src/engine/implementations/SacHolder/metadata.js.map +1 -0
  7. package/dist/src/engine/metadata/factory.js.map +1 -1
  8. package/dist/src/engine/nativeAPR/factory.js.map +1 -1
  9. package/dist/src/engine/tvl/factory.js.map +1 -1
  10. package/dist/src/index.d.ts +390 -340
  11. package/dist/src/jobs/pendings-etl/load.js.map +1 -1
  12. package/dist/src/jobs/rewards-etl/index.js.map +1 -1
  13. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +64 -5
  14. package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +10 -2
  15. package/dist/src/modules/v4/campaign/campaign.query-transformer.js.map +1 -1
  16. package/dist/src/modules/v4/campaign/campaign.service.d.ts +49 -12
  17. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +36 -48
  18. package/dist/src/modules/v4/carousel/carousel.controller.d.ts +84 -50
  19. package/dist/src/modules/v4/carousel/carousel.repository.d.ts +64 -68
  20. package/dist/src/modules/v4/carousel/carousel.repository.js.map +1 -1
  21. package/dist/src/modules/v4/carousel/carousel.service.d.ts +86 -70
  22. package/dist/src/modules/v4/config/config.controller.d.ts +9 -12
  23. package/dist/src/modules/v4/config/config.service.d.ts +9 -12
  24. package/dist/src/modules/v4/creator/creator.controller.d.ts +8 -1
  25. package/dist/src/modules/v4/dispute/dispute.repository.d.ts +0 -1
  26. package/dist/src/modules/v4/hubspot/hubspot.service.js.map +1 -1
  27. package/dist/src/modules/v4/leaf/leaf.repository.d.ts +18 -22
  28. package/dist/src/modules/v4/leaf/leaf.repository.js.map +1 -1
  29. package/dist/src/modules/v4/leaf/leaf.service.d.ts +18 -22
  30. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +0 -4
  31. package/dist/src/modules/v4/merklRoot/merklRoot.model.d.ts +0 -1
  32. package/dist/src/modules/v4/merklRoot/merklRoot.model.js.map +1 -1
  33. package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +0 -16
  34. package/dist/src/modules/v4/merklRoot/merklRoot.repository.js.map +1 -1
  35. package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +0 -17
  36. package/dist/src/modules/v4/merklRoot/merklRoot.service.js.map +1 -1
  37. package/dist/src/modules/v4/opportunity/depositUrl.formatter.d.ts +20 -0
  38. package/dist/src/modules/v4/opportunity/depositUrl.formatter.js.map +1 -0
  39. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +88 -31
  40. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +25 -1
  41. package/dist/src/modules/v4/opportunity/opportunity.formatter.js.map +1 -1
  42. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +69 -5
  43. package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
  44. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +1 -1
  45. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +54 -67
  46. package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
  47. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +93 -60
  48. package/dist/src/modules/v4/opportunity/opportunity.service.js.map +1 -1
  49. package/dist/src/modules/v4/payload/payload.controller.d.ts +27 -36
  50. package/dist/src/modules/v4/payload/payload.service.d.ts +36 -48
  51. package/dist/src/modules/v4/program/program.controller.d.ts +32 -4
  52. package/dist/src/modules/v4/program/program.repository.d.ts +41 -45
  53. package/dist/src/modules/v4/program/program.repository.js.map +1 -1
  54. package/dist/src/modules/v4/program/program.service.d.ts +32 -4
  55. package/dist/src/modules/v4/protocol/protocol.repository.js.map +1 -1
  56. package/dist/src/modules/v4/reward/reward.controller.d.ts +1 -130
  57. package/dist/src/modules/v4/reward/reward.controller.js.map +1 -1
  58. package/dist/src/modules/v4/reward/reward.repository.d.ts +18 -26
  59. package/dist/src/modules/v4/reward/reward.repository.js.map +1 -1
  60. package/dist/src/modules/v4/reward/reward.service.d.ts +107 -129
  61. package/dist/src/modules/v4/reward/reward.service.js.map +1 -1
  62. package/dist/src/modules/v4/router.d.ts +390 -340
  63. package/dist/src/modules/v4/transaction/transaction.service.d.ts +621 -551
  64. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +16 -2
  65. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +8 -1
  66. package/dist/src/modules/v4/user/user.controller.d.ts +26 -23
  67. package/dist/src/scripts/backfill-leaves.js.map +1 -1
  68. package/dist/src/scripts/exportOpportunities.js.map +1 -1
  69. package/dist/src/scripts/importOpportunities.js.map +1 -1
  70. package/dist/src/utils/getAPR.d.ts +38 -3
  71. package/dist/src/utils/parseDistributionType.d.ts +168 -133
  72. package/dist/tsconfig.tsbuildinfo +1 -1
  73. package/package.json +1 -1
  74. package/dist/src/jobs/workers/count-claims.worker.d.ts +0 -1
  75. package/dist/src/jobs/workers/count-claims.worker.js.map +0 -1
@@ -2019,9 +2019,16 @@ declare const eden: {
2019
2019
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
2020
2020
  description?: string | undefined;
2021
2021
  howToSteps?: string[] | undefined;
2022
- protocols?: string[] | undefined;
2023
2022
  mainProtocol?: string | undefined;
2024
2023
  depositUrl?: string | undefined;
2024
+ depositUrls?: {
2025
+ id: string;
2026
+ title: string;
2027
+ url: string;
2028
+ subtitle?: string | undefined;
2029
+ icon?: string | undefined;
2030
+ priority: number;
2031
+ }[] | undefined;
2025
2032
  explorerAddress?: string | undefined;
2026
2033
  tags?: string[] | undefined;
2027
2034
  chainId: number;
@@ -2251,6 +2258,14 @@ declare const eden: {
2251
2258
  name: string;
2252
2259
  slug: string | null;
2253
2260
  }[];
2261
+ depositUrls: {
2262
+ id: string;
2263
+ title: string;
2264
+ url: string;
2265
+ subtitle?: string | undefined;
2266
+ icon?: string | undefined;
2267
+ priority: number;
2268
+ }[] | undefined;
2254
2269
  id: string;
2255
2270
  hidden: true | undefined;
2256
2271
  nativeApr: number | undefined;
@@ -2376,9 +2391,16 @@ declare const eden: {
2376
2391
  status: "LIVE" | "NONE" | "PAST" | "SOON";
2377
2392
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
2378
2393
  tags: string[];
2379
- protocols?: string[] | undefined;
2380
2394
  mainProtocol?: string | undefined;
2381
2395
  depositUrl?: string | undefined;
2396
+ depositUrls?: {
2397
+ id: string;
2398
+ title: string;
2399
+ url: string;
2400
+ subtitle?: string | undefined;
2401
+ icon?: string | undefined;
2402
+ priority: number;
2403
+ }[] | undefined;
2382
2404
  explorerAddress?: string | undefined;
2383
2405
  hidden?: boolean | undefined;
2384
2406
  tvl: number;
@@ -2649,9 +2671,16 @@ declare const eden: {
2649
2671
  status: "LIVE" | "NONE" | "PAST" | "SOON";
2650
2672
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
2651
2673
  tags: string[];
2652
- protocols?: string[] | undefined;
2653
2674
  mainProtocol?: string | undefined;
2654
2675
  depositUrl?: string | undefined;
2676
+ depositUrls?: {
2677
+ id: string;
2678
+ title: string;
2679
+ url: string;
2680
+ subtitle?: string | undefined;
2681
+ icon?: string | undefined;
2682
+ priority: number;
2683
+ }[] | undefined;
2655
2684
  explorerAddress?: string | undefined;
2656
2685
  hidden?: boolean | undefined;
2657
2686
  tvl: number;
@@ -2922,9 +2951,16 @@ declare const eden: {
2922
2951
  status: "LIVE" | "NONE" | "PAST" | "SOON";
2923
2952
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
2924
2953
  tags: string[];
2925
- protocols?: string[] | undefined;
2926
2954
  mainProtocol?: string | undefined;
2927
2955
  depositUrl?: string | undefined;
2956
+ depositUrls?: {
2957
+ id: string;
2958
+ title: string;
2959
+ url: string;
2960
+ subtitle?: string | undefined;
2961
+ icon?: string | undefined;
2962
+ priority: number;
2963
+ }[] | undefined;
2928
2964
  explorerAddress?: string | undefined;
2929
2965
  hidden?: boolean | undefined;
2930
2966
  tvl: number;
@@ -3409,9 +3445,16 @@ declare const eden: {
3409
3445
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
3410
3446
  description?: string | undefined;
3411
3447
  howToSteps?: string[] | undefined;
3412
- protocols?: string[] | undefined;
3413
3448
  mainProtocol?: string | undefined;
3414
3449
  depositUrl?: string | undefined;
3450
+ depositUrls?: {
3451
+ id: string;
3452
+ title: string;
3453
+ url: string;
3454
+ subtitle?: string | undefined;
3455
+ icon?: string | undefined;
3456
+ priority: number;
3457
+ }[] | undefined;
3415
3458
  explorerAddress?: string | undefined;
3416
3459
  tags?: string[] | undefined;
3417
3460
  chainId: number;
@@ -3921,7 +3964,6 @@ declare const eden: {
3921
3964
  address: string;
3922
3965
  chainId: number;
3923
3966
  }[];
3924
- protocols?: string[] | undefined;
3925
3967
  mainProtocol?: string | undefined;
3926
3968
  depositUrl?: string | undefined;
3927
3969
  explorerAddress?: string | undefined;
@@ -4032,6 +4074,15 @@ declare const eden: {
4032
4074
  total: number;
4033
4075
  opportunityId: string;
4034
4076
  })[];
4077
+ DepositUrls: {
4078
+ id: string;
4079
+ title: string;
4080
+ url: string;
4081
+ subtitle: string | null;
4082
+ icon: string | null;
4083
+ priority: number;
4084
+ opportunityId: string;
4085
+ }[];
4035
4086
  MainProtocol: {
4036
4087
  id: string;
4037
4088
  tags: string[];
@@ -4072,17 +4123,6 @@ declare const eden: {
4072
4123
  rewardTokenId: string | null;
4073
4124
  opportunityId: string;
4074
4125
  })[];
4075
- Protocols: {
4076
- id: string;
4077
- tags: string[];
4078
- name: string;
4079
- description: string;
4080
- url: string;
4081
- icon: string;
4082
- banner: string | null;
4083
- opportunityBannerLight: string | null;
4084
- opportunityBannerDark: string | null;
4085
- }[];
4086
4126
  Tokens: {
4087
4127
  id: string;
4088
4128
  name: string | null;
@@ -4176,7 +4216,6 @@ declare const eden: {
4176
4216
  address: string;
4177
4217
  chainId: number;
4178
4218
  }[];
4179
- protocols?: string[] | undefined;
4180
4219
  mainProtocol?: string | undefined;
4181
4220
  depositUrl?: string | undefined;
4182
4221
  explorerAddress?: string | undefined;
@@ -4287,6 +4326,15 @@ declare const eden: {
4287
4326
  total: number;
4288
4327
  opportunityId: string;
4289
4328
  })[];
4329
+ DepositUrls: {
4330
+ id: string;
4331
+ title: string;
4332
+ url: string;
4333
+ subtitle: string | null;
4334
+ icon: string | null;
4335
+ priority: number;
4336
+ opportunityId: string;
4337
+ }[];
4290
4338
  MainProtocol: {
4291
4339
  id: string;
4292
4340
  tags: string[];
@@ -4327,17 +4375,6 @@ declare const eden: {
4327
4375
  rewardTokenId: string | null;
4328
4376
  opportunityId: string;
4329
4377
  })[];
4330
- Protocols: {
4331
- id: string;
4332
- tags: string[];
4333
- name: string;
4334
- description: string;
4335
- url: string;
4336
- icon: string;
4337
- banner: string | null;
4338
- opportunityBannerLight: string | null;
4339
- opportunityBannerDark: string | null;
4340
- }[];
4341
4378
  Tokens: {
4342
4379
  id: string;
4343
4380
  name: string | null;
@@ -4430,7 +4467,6 @@ declare const eden: {
4430
4467
  address: string;
4431
4468
  chainId: number;
4432
4469
  }[];
4433
- protocols?: string[] | undefined;
4434
4470
  mainProtocol?: string | undefined;
4435
4471
  depositUrl?: string | undefined;
4436
4472
  explorerAddress?: string | undefined;
@@ -4541,6 +4577,15 @@ declare const eden: {
4541
4577
  total: number;
4542
4578
  opportunityId: string;
4543
4579
  })[];
4580
+ DepositUrls: {
4581
+ id: string;
4582
+ title: string;
4583
+ url: string;
4584
+ subtitle: string | null;
4585
+ icon: string | null;
4586
+ priority: number;
4587
+ opportunityId: string;
4588
+ }[];
4544
4589
  MainProtocol: {
4545
4590
  id: string;
4546
4591
  tags: string[];
@@ -4581,17 +4626,6 @@ declare const eden: {
4581
4626
  rewardTokenId: string | null;
4582
4627
  opportunityId: string;
4583
4628
  })[];
4584
- Protocols: {
4585
- id: string;
4586
- tags: string[];
4587
- name: string;
4588
- description: string;
4589
- url: string;
4590
- icon: string;
4591
- banner: string | null;
4592
- opportunityBannerLight: string | null;
4593
- opportunityBannerDark: string | null;
4594
- }[];
4595
4629
  Tokens: {
4596
4630
  id: string;
4597
4631
  name: string | null;
@@ -4684,7 +4718,6 @@ declare const eden: {
4684
4718
  address: string;
4685
4719
  chainId: number;
4686
4720
  }[];
4687
- protocols?: string[] | undefined;
4688
4721
  mainProtocol?: string | undefined;
4689
4722
  depositUrl?: string | undefined;
4690
4723
  explorerAddress?: string | undefined;
@@ -4795,6 +4828,15 @@ declare const eden: {
4795
4828
  total: number;
4796
4829
  opportunityId: string;
4797
4830
  })[];
4831
+ DepositUrls: {
4832
+ id: string;
4833
+ title: string;
4834
+ url: string;
4835
+ subtitle: string | null;
4836
+ icon: string | null;
4837
+ priority: number;
4838
+ opportunityId: string;
4839
+ }[];
4798
4840
  MainProtocol: {
4799
4841
  id: string;
4800
4842
  tags: string[];
@@ -4835,17 +4877,6 @@ declare const eden: {
4835
4877
  rewardTokenId: string | null;
4836
4878
  opportunityId: string;
4837
4879
  })[];
4838
- Protocols: {
4839
- id: string;
4840
- tags: string[];
4841
- name: string;
4842
- description: string;
4843
- url: string;
4844
- icon: string;
4845
- banner: string | null;
4846
- opportunityBannerLight: string | null;
4847
- opportunityBannerDark: string | null;
4848
- }[];
4849
4880
  Tokens: {
4850
4881
  id: string;
4851
4882
  name: string | null;
@@ -5552,6 +5583,14 @@ declare const eden: {
5552
5583
  name: string;
5553
5584
  slug: string | null;
5554
5585
  }[];
5586
+ depositUrls: {
5587
+ id: string;
5588
+ title: string;
5589
+ url: string;
5590
+ subtitle?: string | undefined;
5591
+ icon?: string | undefined;
5592
+ priority: number;
5593
+ }[] | undefined;
5555
5594
  id: string;
5556
5595
  hidden: true | undefined;
5557
5596
  nativeApr: number | undefined;
@@ -5713,6 +5752,14 @@ declare const eden: {
5713
5752
  name: string;
5714
5753
  slug: string | null;
5715
5754
  }[];
5755
+ depositUrls: {
5756
+ id: string;
5757
+ title: string;
5758
+ url: string;
5759
+ subtitle?: string | undefined;
5760
+ icon?: string | undefined;
5761
+ priority: number;
5762
+ }[] | undefined;
5716
5763
  id: string;
5717
5764
  hidden: true | undefined;
5718
5765
  nativeApr: number | undefined;
@@ -6195,9 +6242,16 @@ declare const eden: {
6195
6242
  status: "LIVE" | "NONE" | "PAST" | "SOON";
6196
6243
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
6197
6244
  tags: string[];
6198
- protocols?: string[] | undefined;
6199
6245
  mainProtocol?: string | undefined;
6200
6246
  depositUrl?: string | undefined;
6247
+ depositUrls?: {
6248
+ id: string;
6249
+ title: string;
6250
+ url: string;
6251
+ subtitle?: string | undefined;
6252
+ icon?: string | undefined;
6253
+ priority: number;
6254
+ }[] | undefined;
6201
6255
  explorerAddress?: string | undefined;
6202
6256
  hidden?: boolean | undefined;
6203
6257
  tvl: number;
@@ -6364,9 +6418,16 @@ declare const eden: {
6364
6418
  status: "LIVE" | "NONE" | "PAST" | "SOON";
6365
6419
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
6366
6420
  tags: string[];
6367
- protocols?: string[] | undefined;
6368
6421
  mainProtocol?: string | undefined;
6369
6422
  depositUrl?: string | undefined;
6423
+ depositUrls?: {
6424
+ id: string;
6425
+ title: string;
6426
+ url: string;
6427
+ subtitle?: string | undefined;
6428
+ icon?: string | undefined;
6429
+ priority: number;
6430
+ }[] | undefined;
6370
6431
  explorerAddress?: string | undefined;
6371
6432
  hidden?: boolean | undefined;
6372
6433
  tvl: number;
@@ -6677,18 +6738,16 @@ declare const eden: {
6677
6738
  endOfDisputePeriod: number;
6678
6739
  lastClaimsOnchainFetchTimestamp: string | null;
6679
6740
  };
6680
- MainProtocol: {
6741
+ DepositUrls: {
6681
6742
  id: string;
6682
- tags: string[];
6683
- name: string;
6684
- description: string;
6743
+ title: string;
6685
6744
  url: string;
6686
- icon: string;
6687
- banner: string | null;
6688
- opportunityBannerLight: string | null;
6689
- opportunityBannerDark: string | null;
6690
- } | null;
6691
- Protocols: {
6745
+ subtitle: string | null;
6746
+ icon: string | null;
6747
+ priority: number;
6748
+ opportunityId: string;
6749
+ }[];
6750
+ MainProtocol: {
6692
6751
  id: string;
6693
6752
  tags: string[];
6694
6753
  name: string;
@@ -6698,7 +6757,7 @@ declare const eden: {
6698
6757
  banner: string | null;
6699
6758
  opportunityBannerLight: string | null;
6700
6759
  opportunityBannerDark: string | null;
6701
- }[];
6760
+ } | null;
6702
6761
  Tokens: {
6703
6762
  id: string;
6704
6763
  name: string | null;
@@ -6762,18 +6821,16 @@ declare const eden: {
6762
6821
  endOfDisputePeriod: number;
6763
6822
  lastClaimsOnchainFetchTimestamp: string | null;
6764
6823
  };
6765
- MainProtocol: {
6824
+ DepositUrls: {
6766
6825
  id: string;
6767
- tags: string[];
6768
- name: string;
6769
- description: string;
6826
+ title: string;
6770
6827
  url: string;
6771
- icon: string;
6772
- banner: string | null;
6773
- opportunityBannerLight: string | null;
6774
- opportunityBannerDark: string | null;
6775
- } | null;
6776
- Protocols: {
6828
+ subtitle: string | null;
6829
+ icon: string | null;
6830
+ priority: number;
6831
+ opportunityId: string;
6832
+ }[];
6833
+ MainProtocol: {
6777
6834
  id: string;
6778
6835
  tags: string[];
6779
6836
  name: string;
@@ -6783,7 +6840,7 @@ declare const eden: {
6783
6840
  banner: string | null;
6784
6841
  opportunityBannerLight: string | null;
6785
6842
  opportunityBannerDark: string | null;
6786
- }[];
6843
+ } | null;
6787
6844
  Tokens: {
6788
6845
  id: string;
6789
6846
  name: string | null;
@@ -6906,9 +6963,16 @@ declare const eden: {
6906
6963
  status: "LIVE" | "NONE" | "PAST" | "SOON";
6907
6964
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
6908
6965
  tags: string[];
6909
- protocols?: string[] | undefined;
6910
6966
  mainProtocol?: string | undefined;
6911
6967
  depositUrl?: string | undefined;
6968
+ depositUrls?: {
6969
+ id: string;
6970
+ title: string;
6971
+ url: string;
6972
+ subtitle?: string | undefined;
6973
+ icon?: string | undefined;
6974
+ priority: number;
6975
+ }[] | undefined;
6912
6976
  explorerAddress?: string | undefined;
6913
6977
  hidden?: boolean | undefined;
6914
6978
  tvl: number;
@@ -7075,9 +7139,16 @@ declare const eden: {
7075
7139
  status: "LIVE" | "NONE" | "PAST" | "SOON";
7076
7140
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
7077
7141
  tags: string[];
7078
- protocols?: string[] | undefined;
7079
7142
  mainProtocol?: string | undefined;
7080
7143
  depositUrl?: string | undefined;
7144
+ depositUrls?: {
7145
+ id: string;
7146
+ title: string;
7147
+ url: string;
7148
+ subtitle?: string | undefined;
7149
+ icon?: string | undefined;
7150
+ priority: number;
7151
+ }[] | undefined;
7081
7152
  explorerAddress?: string | undefined;
7082
7153
  hidden?: boolean | undefined;
7083
7154
  tvl: number;
@@ -7332,18 +7403,16 @@ declare const eden: {
7332
7403
  endOfDisputePeriod: number;
7333
7404
  lastClaimsOnchainFetchTimestamp: string | null;
7334
7405
  };
7335
- MainProtocol: {
7406
+ DepositUrls: {
7336
7407
  id: string;
7337
- tags: string[];
7338
- name: string;
7339
- description: string;
7408
+ title: string;
7340
7409
  url: string;
7341
- icon: string;
7342
- banner: string | null;
7343
- opportunityBannerLight: string | null;
7344
- opportunityBannerDark: string | null;
7345
- } | null;
7346
- Protocols: {
7410
+ subtitle: string | null;
7411
+ icon: string | null;
7412
+ priority: number;
7413
+ opportunityId: string;
7414
+ }[];
7415
+ MainProtocol: {
7347
7416
  id: string;
7348
7417
  tags: string[];
7349
7418
  name: string;
@@ -7353,7 +7422,7 @@ declare const eden: {
7353
7422
  banner: string | null;
7354
7423
  opportunityBannerLight: string | null;
7355
7424
  opportunityBannerDark: string | null;
7356
- }[];
7425
+ } | null;
7357
7426
  Tokens: {
7358
7427
  id: string;
7359
7428
  name: string | null;
@@ -7417,18 +7486,16 @@ declare const eden: {
7417
7486
  endOfDisputePeriod: number;
7418
7487
  lastClaimsOnchainFetchTimestamp: string | null;
7419
7488
  };
7420
- MainProtocol: {
7489
+ DepositUrls: {
7421
7490
  id: string;
7422
- tags: string[];
7423
- name: string;
7424
- description: string;
7491
+ title: string;
7425
7492
  url: string;
7426
- icon: string;
7427
- banner: string | null;
7428
- opportunityBannerLight: string | null;
7429
- opportunityBannerDark: string | null;
7430
- } | null;
7431
- Protocols: {
7493
+ subtitle: string | null;
7494
+ icon: string | null;
7495
+ priority: number;
7496
+ opportunityId: string;
7497
+ }[];
7498
+ MainProtocol: {
7432
7499
  id: string;
7433
7500
  tags: string[];
7434
7501
  name: string;
@@ -7438,7 +7505,7 @@ declare const eden: {
7438
7505
  banner: string | null;
7439
7506
  opportunityBannerLight: string | null;
7440
7507
  opportunityBannerDark: string | null;
7441
- }[];
7508
+ } | null;
7442
7509
  Tokens: {
7443
7510
  id: string;
7444
7511
  name: string | null;
@@ -7582,9 +7649,16 @@ declare const eden: {
7582
7649
  status: "LIVE" | "NONE" | "PAST" | "SOON";
7583
7650
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
7584
7651
  tags: string[];
7585
- protocols?: string[] | undefined;
7586
7652
  mainProtocol?: string | undefined;
7587
7653
  depositUrl?: string | undefined;
7654
+ depositUrls?: {
7655
+ id: string;
7656
+ title: string;
7657
+ url: string;
7658
+ subtitle?: string | undefined;
7659
+ icon?: string | undefined;
7660
+ priority: number;
7661
+ }[] | undefined;
7588
7662
  explorerAddress?: string | undefined;
7589
7663
  hidden?: boolean | undefined;
7590
7664
  tvl: number;
@@ -7751,9 +7825,16 @@ declare const eden: {
7751
7825
  status: "LIVE" | "NONE" | "PAST" | "SOON";
7752
7826
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
7753
7827
  tags: string[];
7754
- protocols?: string[] | undefined;
7755
7828
  mainProtocol?: string | undefined;
7756
7829
  depositUrl?: string | undefined;
7830
+ depositUrls?: {
7831
+ id: string;
7832
+ title: string;
7833
+ url: string;
7834
+ subtitle?: string | undefined;
7835
+ icon?: string | undefined;
7836
+ priority: number;
7837
+ }[] | undefined;
7757
7838
  explorerAddress?: string | undefined;
7758
7839
  hidden?: boolean | undefined;
7759
7840
  tvl: number;
@@ -8883,7 +8964,6 @@ declare const eden: {
8883
8964
  address: string;
8884
8965
  chainId: number;
8885
8966
  }[];
8886
- protocols?: string[] | undefined;
8887
8967
  mainProtocol?: string | undefined;
8888
8968
  depositUrl?: string | undefined;
8889
8969
  explorerAddress?: string | undefined;
@@ -8994,6 +9074,15 @@ declare const eden: {
8994
9074
  total: number;
8995
9075
  opportunityId: string;
8996
9076
  })[];
9077
+ DepositUrls: {
9078
+ id: string;
9079
+ title: string;
9080
+ url: string;
9081
+ subtitle: string | null;
9082
+ icon: string | null;
9083
+ priority: number;
9084
+ opportunityId: string;
9085
+ }[];
8997
9086
  MainProtocol: {
8998
9087
  id: string;
8999
9088
  tags: string[];
@@ -9034,17 +9123,6 @@ declare const eden: {
9034
9123
  rewardTokenId: string | null;
9035
9124
  opportunityId: string;
9036
9125
  })[];
9037
- Protocols: {
9038
- id: string;
9039
- tags: string[];
9040
- name: string;
9041
- description: string;
9042
- url: string;
9043
- icon: string;
9044
- banner: string | null;
9045
- opportunityBannerLight: string | null;
9046
- opportunityBannerDark: string | null;
9047
- }[];
9048
9126
  Tokens: {
9049
9127
  id: string;
9050
9128
  name: string | null;
@@ -9547,9 +9625,16 @@ declare const eden: {
9547
9625
  status: "LIVE" | "NONE" | "PAST" | "SOON";
9548
9626
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
9549
9627
  tags: string[];
9550
- protocols?: string[] | undefined;
9551
9628
  mainProtocol?: string | undefined;
9552
9629
  depositUrl?: string | undefined;
9630
+ depositUrls?: {
9631
+ id: string;
9632
+ title: string;
9633
+ url: string;
9634
+ subtitle?: string | undefined;
9635
+ icon?: string | undefined;
9636
+ priority: number;
9637
+ }[] | undefined;
9553
9638
  explorerAddress?: string | undefined;
9554
9639
  hidden?: boolean | undefined;
9555
9640
  tvl: number;
@@ -10951,9 +11036,16 @@ declare const eden: {
10951
11036
  status: "LIVE" | "NONE" | "PAST" | "SOON";
10952
11037
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
10953
11038
  tags: string[];
10954
- protocols?: string[] | undefined;
10955
11039
  mainProtocol?: string | undefined;
10956
11040
  depositUrl?: string | undefined;
11041
+ depositUrls?: {
11042
+ id: string;
11043
+ title: string;
11044
+ url: string;
11045
+ subtitle?: string | undefined;
11046
+ icon?: string | undefined;
11047
+ priority: number;
11048
+ }[] | undefined;
10957
11049
  explorerAddress?: string | undefined;
10958
11050
  hidden?: boolean | undefined;
10959
11051
  tvl: number;
@@ -11223,9 +11315,16 @@ declare const eden: {
11223
11315
  status: "LIVE" | "NONE" | "PAST" | "SOON";
11224
11316
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
11225
11317
  tags: string[];
11226
- protocols?: string[] | undefined;
11227
11318
  mainProtocol?: string | undefined;
11228
11319
  depositUrl?: string | undefined;
11320
+ depositUrls?: {
11321
+ id: string;
11322
+ title: string;
11323
+ url: string;
11324
+ subtitle?: string | undefined;
11325
+ icon?: string | undefined;
11326
+ priority: number;
11327
+ }[] | undefined;
11229
11328
  explorerAddress?: string | undefined;
11230
11329
  hidden?: boolean | undefined;
11231
11330
  tvl: number;
@@ -11524,7 +11623,6 @@ declare const eden: {
11524
11623
  address: string;
11525
11624
  chainId: number;
11526
11625
  }[];
11527
- protocols?: string[] | undefined;
11528
11626
  mainProtocol?: string | undefined;
11529
11627
  depositUrl?: string | undefined;
11530
11628
  explorerAddress?: string | undefined;
@@ -11635,6 +11733,15 @@ declare const eden: {
11635
11733
  total: number;
11636
11734
  opportunityId: string;
11637
11735
  })[];
11736
+ DepositUrls: {
11737
+ id: string;
11738
+ title: string;
11739
+ url: string;
11740
+ subtitle: string | null;
11741
+ icon: string | null;
11742
+ priority: number;
11743
+ opportunityId: string;
11744
+ }[];
11638
11745
  MainProtocol: {
11639
11746
  id: string;
11640
11747
  tags: string[];
@@ -11675,17 +11782,6 @@ declare const eden: {
11675
11782
  rewardTokenId: string | null;
11676
11783
  opportunityId: string;
11677
11784
  })[];
11678
- Protocols: {
11679
- id: string;
11680
- tags: string[];
11681
- name: string;
11682
- description: string;
11683
- url: string;
11684
- icon: string;
11685
- banner: string | null;
11686
- opportunityBannerLight: string | null;
11687
- opportunityBannerDark: string | null;
11688
- }[];
11689
11785
  Tokens: {
11690
11786
  id: string;
11691
11787
  name: string | null;
@@ -11848,9 +11944,16 @@ declare const eden: {
11848
11944
  status: "LIVE" | "NONE" | "PAST" | "SOON";
11849
11945
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
11850
11946
  tags: string[];
11851
- protocols?: string[] | undefined;
11852
11947
  mainProtocol?: string | undefined;
11853
11948
  depositUrl?: string | undefined;
11949
+ depositUrls?: {
11950
+ id: string;
11951
+ title: string;
11952
+ url: string;
11953
+ subtitle?: string | undefined;
11954
+ icon?: string | undefined;
11955
+ priority: number;
11956
+ }[] | undefined;
11854
11957
  explorerAddress?: string | undefined;
11855
11958
  hidden?: boolean | undefined;
11856
11959
  tvl: number;
@@ -12217,6 +12320,27 @@ declare const eden: {
12217
12320
  id: string;
12218
12321
  }[] | undefined;
12219
12322
  } | undefined;
12323
+ DepositUrls?: {
12324
+ create?: {
12325
+ title: string;
12326
+ url: string;
12327
+ subtitle?: string | undefined;
12328
+ icon?: string | undefined;
12329
+ priority?: number | undefined;
12330
+ }[] | undefined;
12331
+ update?: ({
12332
+ id: string;
12333
+ } & {
12334
+ title: string;
12335
+ url: string;
12336
+ subtitle?: string | undefined;
12337
+ icon?: string | undefined;
12338
+ priority?: number | undefined;
12339
+ })[] | undefined;
12340
+ delete?: {
12341
+ id: string;
12342
+ }[] | undefined;
12343
+ } | undefined;
12220
12344
  }, options?: {
12221
12345
  fetch?: RequestInit | undefined;
12222
12346
  headers?: Record<string, unknown> | undefined;
@@ -12260,7 +12384,7 @@ declare const eden: {
12260
12384
  expected?: string | undefined;
12261
12385
  };
12262
12386
  }>>;
12263
- delete: (body: ("Tokens" | "action" | "depositUrl" | "description" | "explorerAddress" | "howToSteps" | "mainProtocolId" | "name")[], options?: {
12387
+ delete: (body: ("DepositUrls" | "Tokens" | "action" | "depositUrl" | "description" | "explorerAddress" | "howToSteps" | "mainProtocolId" | "name")[], options?: {
12264
12388
  fetch?: RequestInit | undefined;
12265
12389
  headers?: Record<string, unknown> | undefined;
12266
12390
  query?: Record<string, unknown> | undefined;
@@ -12278,7 +12402,6 @@ declare const eden: {
12278
12402
  address: string;
12279
12403
  chainId: number;
12280
12404
  }[];
12281
- protocols?: string[] | undefined;
12282
12405
  mainProtocol?: string | undefined;
12283
12406
  depositUrl?: string | undefined;
12284
12407
  explorerAddress?: string | undefined;
@@ -12389,6 +12512,15 @@ declare const eden: {
12389
12512
  total: number;
12390
12513
  opportunityId: string;
12391
12514
  })[];
12515
+ DepositUrls: {
12516
+ id: string;
12517
+ title: string;
12518
+ url: string;
12519
+ subtitle: string | null;
12520
+ icon: string | null;
12521
+ priority: number;
12522
+ opportunityId: string;
12523
+ }[];
12392
12524
  MainProtocol: {
12393
12525
  id: string;
12394
12526
  tags: string[];
@@ -12429,17 +12561,6 @@ declare const eden: {
12429
12561
  rewardTokenId: string | null;
12430
12562
  opportunityId: string;
12431
12563
  })[];
12432
- Protocols: {
12433
- id: string;
12434
- tags: string[];
12435
- name: string;
12436
- description: string;
12437
- url: string;
12438
- icon: string;
12439
- banner: string | null;
12440
- opportunityBannerLight: string | null;
12441
- opportunityBannerDark: string | null;
12442
- }[];
12443
12564
  Tokens: {
12444
12565
  id: string;
12445
12566
  name: string | null;
@@ -12656,9 +12777,16 @@ declare const eden: {
12656
12777
  status: "LIVE" | "NONE" | "PAST" | "SOON";
12657
12778
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
12658
12779
  tags: string[];
12659
- protocols?: string[] | undefined;
12660
12780
  mainProtocol?: string | undefined;
12661
12781
  depositUrl?: string | undefined;
12782
+ depositUrls?: {
12783
+ id: string;
12784
+ title: string;
12785
+ url: string;
12786
+ subtitle?: string | undefined;
12787
+ icon?: string | undefined;
12788
+ priority: number;
12789
+ }[] | undefined;
12662
12790
  explorerAddress?: string | undefined;
12663
12791
  hidden?: boolean | undefined;
12664
12792
  tvl: number;
@@ -12928,9 +13056,16 @@ declare const eden: {
12928
13056
  status: "LIVE" | "NONE" | "PAST" | "SOON";
12929
13057
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
12930
13058
  tags: string[];
12931
- protocols?: string[] | undefined;
12932
13059
  mainProtocol?: string | undefined;
12933
13060
  depositUrl?: string | undefined;
13061
+ depositUrls?: {
13062
+ id: string;
13063
+ title: string;
13064
+ url: string;
13065
+ subtitle?: string | undefined;
13066
+ icon?: string | undefined;
13067
+ priority: number;
13068
+ }[] | undefined;
12934
13069
  explorerAddress?: string | undefined;
12935
13070
  hidden?: boolean | undefined;
12936
13071
  tvl: number;
@@ -13652,9 +13787,16 @@ declare const eden: {
13652
13787
  status: "LIVE" | "NONE" | "PAST" | "SOON";
13653
13788
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
13654
13789
  tags: string[];
13655
- protocols?: string[] | undefined;
13656
13790
  mainProtocol?: string | undefined;
13657
13791
  depositUrl?: string | undefined;
13792
+ depositUrls?: {
13793
+ id: string;
13794
+ title: string;
13795
+ url: string;
13796
+ subtitle?: string | undefined;
13797
+ icon?: string | undefined;
13798
+ priority: number;
13799
+ }[] | undefined;
13658
13800
  explorerAddress?: string | undefined;
13659
13801
  hidden?: boolean | undefined;
13660
13802
  tvl: number;
@@ -14175,7 +14317,6 @@ declare const eden: {
14175
14317
  address: string;
14176
14318
  chainId: number;
14177
14319
  }[];
14178
- protocols?: string[] | undefined;
14179
14320
  mainProtocol?: string | undefined;
14180
14321
  depositUrl?: string | undefined;
14181
14322
  explorerAddress?: string | undefined;
@@ -14286,6 +14427,15 @@ declare const eden: {
14286
14427
  total: number;
14287
14428
  opportunityId: string;
14288
14429
  })[];
14430
+ DepositUrls: {
14431
+ id: string;
14432
+ title: string;
14433
+ url: string;
14434
+ subtitle: string | null;
14435
+ icon: string | null;
14436
+ priority: number;
14437
+ opportunityId: string;
14438
+ }[];
14289
14439
  MainProtocol: {
14290
14440
  id: string;
14291
14441
  tags: string[];
@@ -14326,17 +14476,6 @@ declare const eden: {
14326
14476
  rewardTokenId: string | null;
14327
14477
  opportunityId: string;
14328
14478
  })[];
14329
- Protocols: {
14330
- id: string;
14331
- tags: string[];
14332
- name: string;
14333
- description: string;
14334
- url: string;
14335
- icon: string;
14336
- banner: string | null;
14337
- opportunityBannerLight: string | null;
14338
- opportunityBannerDark: string | null;
14339
- }[];
14340
14479
  Tokens: {
14341
14480
  id: string;
14342
14481
  name: string | null;
@@ -14470,7 +14609,6 @@ declare const eden: {
14470
14609
  address: string;
14471
14610
  chainId: number;
14472
14611
  }[];
14473
- protocols?: string[] | undefined;
14474
14612
  mainProtocol?: string | undefined;
14475
14613
  depositUrl?: string | undefined;
14476
14614
  explorerAddress?: string | undefined;
@@ -14581,6 +14719,15 @@ declare const eden: {
14581
14719
  total: number;
14582
14720
  opportunityId: string;
14583
14721
  })[];
14722
+ DepositUrls: {
14723
+ id: string;
14724
+ title: string;
14725
+ url: string;
14726
+ subtitle: string | null;
14727
+ icon: string | null;
14728
+ priority: number;
14729
+ opportunityId: string;
14730
+ }[];
14584
14731
  MainProtocol: {
14585
14732
  id: string;
14586
14733
  tags: string[];
@@ -14621,17 +14768,6 @@ declare const eden: {
14621
14768
  rewardTokenId: string | null;
14622
14769
  opportunityId: string;
14623
14770
  })[];
14624
- Protocols: {
14625
- id: string;
14626
- tags: string[];
14627
- name: string;
14628
- description: string;
14629
- url: string;
14630
- icon: string;
14631
- banner: string | null;
14632
- opportunityBannerLight: string | null;
14633
- opportunityBannerDark: string | null;
14634
- }[];
14635
14771
  Tokens: {
14636
14772
  id: string;
14637
14773
  name: string | null;
@@ -14811,7 +14947,6 @@ declare const eden: {
14811
14947
  address: string;
14812
14948
  chainId: number;
14813
14949
  }[];
14814
- protocols?: string[] | undefined;
14815
14950
  mainProtocol?: string | undefined;
14816
14951
  depositUrl?: string | undefined;
14817
14952
  explorerAddress?: string | undefined;
@@ -14922,6 +15057,15 @@ declare const eden: {
14922
15057
  total: number;
14923
15058
  opportunityId: string;
14924
15059
  })[];
15060
+ DepositUrls: {
15061
+ id: string;
15062
+ title: string;
15063
+ url: string;
15064
+ subtitle: string | null;
15065
+ icon: string | null;
15066
+ priority: number;
15067
+ opportunityId: string;
15068
+ }[];
14925
15069
  MainProtocol: {
14926
15070
  id: string;
14927
15071
  tags: string[];
@@ -14962,17 +15106,6 @@ declare const eden: {
14962
15106
  rewardTokenId: string | null;
14963
15107
  opportunityId: string;
14964
15108
  })[];
14965
- Protocols: {
14966
- id: string;
14967
- tags: string[];
14968
- name: string;
14969
- description: string;
14970
- url: string;
14971
- icon: string;
14972
- banner: string | null;
14973
- opportunityBannerLight: string | null;
14974
- opportunityBannerDark: string | null;
14975
- }[];
14976
15109
  Tokens: {
14977
15110
  id: string;
14978
15111
  name: string | null;
@@ -15484,9 +15617,16 @@ declare const eden: {
15484
15617
  status: "LIVE" | "NONE" | "PAST" | "SOON";
15485
15618
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
15486
15619
  tags: string[];
15487
- protocols?: string[] | undefined;
15488
15620
  mainProtocol?: string | undefined;
15489
15621
  depositUrl?: string | undefined;
15622
+ depositUrls?: {
15623
+ id: string;
15624
+ title: string;
15625
+ url: string;
15626
+ subtitle?: string | undefined;
15627
+ icon?: string | undefined;
15628
+ priority: number;
15629
+ }[] | undefined;
15490
15630
  explorerAddress?: string | undefined;
15491
15631
  hidden?: boolean | undefined;
15492
15632
  tvl: number;
@@ -15678,9 +15818,16 @@ declare const eden: {
15678
15818
  status: "LIVE" | "NONE" | "PAST" | "SOON";
15679
15819
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
15680
15820
  tags: string[];
15681
- protocols?: string[] | undefined;
15682
15821
  mainProtocol?: string | undefined;
15683
15822
  depositUrl?: string | undefined;
15823
+ depositUrls?: {
15824
+ id: string;
15825
+ title: string;
15826
+ url: string;
15827
+ subtitle?: string | undefined;
15828
+ icon?: string | undefined;
15829
+ priority: number;
15830
+ }[] | undefined;
15684
15831
  explorerAddress?: string | undefined;
15685
15832
  hidden?: boolean | undefined;
15686
15833
  tvl: number;
@@ -15868,9 +16015,16 @@ declare const eden: {
15868
16015
  status: "LIVE" | "NONE" | "PAST" | "SOON";
15869
16016
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
15870
16017
  tags: string[];
15871
- protocols?: string[] | undefined;
15872
16018
  mainProtocol?: string | undefined;
15873
16019
  depositUrl?: string | undefined;
16020
+ depositUrls?: {
16021
+ id: string;
16022
+ title: string;
16023
+ url: string;
16024
+ subtitle?: string | undefined;
16025
+ icon?: string | undefined;
16026
+ priority: number;
16027
+ }[] | undefined;
15874
16028
  explorerAddress?: string | undefined;
15875
16029
  hidden?: boolean | undefined;
15876
16030
  tvl: number;
@@ -16061,9 +16215,16 @@ declare const eden: {
16061
16215
  status: "LIVE" | "NONE" | "PAST" | "SOON";
16062
16216
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
16063
16217
  tags: string[];
16064
- protocols?: string[] | undefined;
16065
16218
  mainProtocol?: string | undefined;
16066
16219
  depositUrl?: string | undefined;
16220
+ depositUrls?: {
16221
+ id: string;
16222
+ title: string;
16223
+ url: string;
16224
+ subtitle?: string | undefined;
16225
+ icon?: string | undefined;
16226
+ priority: number;
16227
+ }[] | undefined;
16067
16228
  explorerAddress?: string | undefined;
16068
16229
  hidden?: boolean | undefined;
16069
16230
  tvl: number;
@@ -16855,30 +17016,6 @@ declare const eden: {
16855
17016
  expected?: string | undefined;
16856
17017
  };
16857
17018
  }>>;
16858
- claimed: {
16859
- "by-chains": {
16860
- get: (options: {
16861
- fetch?: RequestInit | undefined;
16862
- headers?: Record<string, unknown> | undefined;
16863
- query: {
16864
- since: Date;
16865
- };
16866
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16867
- 200: {
16868
- [x: string]: number;
16869
- };
16870
- 422: {
16871
- type: "validation";
16872
- on: string;
16873
- summary?: string | undefined;
16874
- message?: string | undefined;
16875
- found?: unknown;
16876
- property?: string | undefined;
16877
- expected?: string | undefined;
16878
- };
16879
- }>>;
16880
- };
16881
- };
16882
17019
  distributed: {
16883
17020
  get: (options: {
16884
17021
  fetch?: RequestInit | undefined;
@@ -16898,72 +17035,6 @@ declare const eden: {
16898
17035
  expected?: string | undefined;
16899
17036
  };
16900
17037
  }>>;
16901
- "by-chains": {
16902
- get: (options: {
16903
- fetch?: RequestInit | undefined;
16904
- headers?: Record<string, unknown> | undefined;
16905
- query: {
16906
- since: Date;
16907
- };
16908
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16909
- 200: {
16910
- [x: string]: number;
16911
- };
16912
- 422: {
16913
- type: "validation";
16914
- on: string;
16915
- summary?: string | undefined;
16916
- message?: string | undefined;
16917
- found?: unknown;
16918
- property?: string | undefined;
16919
- expected?: string | undefined;
16920
- };
16921
- }>>;
16922
- };
16923
- "by-protocols": {
16924
- get: (options: {
16925
- fetch?: RequestInit | undefined;
16926
- headers?: Record<string, unknown> | undefined;
16927
- query: {
16928
- since: Date;
16929
- };
16930
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16931
- 200: {
16932
- [x: string]: number;
16933
- };
16934
- 422: {
16935
- type: "validation";
16936
- on: string;
16937
- summary?: string | undefined;
16938
- message?: string | undefined;
16939
- found?: unknown;
16940
- property?: string | undefined;
16941
- expected?: string | undefined;
16942
- };
16943
- }>>;
16944
- };
16945
- "by-types": {
16946
- get: (options: {
16947
- fetch?: RequestInit | undefined;
16948
- headers?: Record<string, unknown> | undefined;
16949
- query: {
16950
- since: Date;
16951
- };
16952
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16953
- 200: {
16954
- [x: string]: number;
16955
- };
16956
- 422: {
16957
- type: "validation";
16958
- on: string;
16959
- summary?: string | undefined;
16960
- message?: string | undefined;
16961
- found?: unknown;
16962
- property?: string | undefined;
16963
- expected?: string | undefined;
16964
- };
16965
- }>>;
16966
- };
16967
17038
  };
16968
17039
  };
16969
17040
  unclaim: {
@@ -17005,7 +17076,6 @@ declare const eden: {
17005
17076
  chainId: number;
17006
17077
  epoch: number;
17007
17078
  timestamp: bigint;
17008
- claimedValue: number;
17009
17079
  }[];
17010
17080
  422: {
17011
17081
  type: "validation";
@@ -17023,7 +17093,6 @@ declare const eden: {
17023
17093
  root: string;
17024
17094
  timestamp: number;
17025
17095
  epoch: number;
17026
- claimedValue?: number | undefined;
17027
17096
  }, options: {
17028
17097
  fetch?: RequestInit | undefined;
17029
17098
  headers: {
@@ -17036,7 +17105,6 @@ declare const eden: {
17036
17105
  chainId: number;
17037
17106
  epoch: number;
17038
17107
  timestamp: bigint;
17039
- claimedValue: number;
17040
17108
  };
17041
17109
  422: {
17042
17110
  type: "validation";
@@ -17074,7 +17142,6 @@ declare const eden: {
17074
17142
  chainId: number;
17075
17143
  epoch: number;
17076
17144
  timestamp: bigint;
17077
- claimedValue: number;
17078
17145
  report: string;
17079
17146
  }[];
17080
17147
  422: {
@@ -18998,9 +19065,16 @@ declare const eden: {
18998
19065
  status: "LIVE" | "NONE" | "PAST" | "SOON";
18999
19066
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
19000
19067
  tags: string[];
19001
- protocols?: string[] | undefined;
19002
19068
  mainProtocol?: string | undefined;
19003
19069
  depositUrl?: string | undefined;
19070
+ depositUrls?: {
19071
+ id: string;
19072
+ title: string;
19073
+ url: string;
19074
+ subtitle?: string | undefined;
19075
+ icon?: string | undefined;
19076
+ priority: number;
19077
+ }[] | undefined;
19004
19078
  explorerAddress?: string | undefined;
19005
19079
  hidden?: boolean | undefined;
19006
19080
  tvl: number;
@@ -19208,9 +19282,16 @@ declare const eden: {
19208
19282
  status: "LIVE" | "NONE" | "PAST" | "SOON";
19209
19283
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
19210
19284
  tags: string[];
19211
- protocols?: string[] | undefined;
19212
19285
  mainProtocol?: string | undefined;
19213
19286
  depositUrl?: string | undefined;
19287
+ depositUrls?: {
19288
+ id: string;
19289
+ title: string;
19290
+ url: string;
19291
+ subtitle?: string | undefined;
19292
+ icon?: string | undefined;
19293
+ priority: number;
19294
+ }[] | undefined;
19214
19295
  explorerAddress?: string | undefined;
19215
19296
  hidden?: boolean | undefined;
19216
19297
  tvl: number;
@@ -19627,18 +19708,16 @@ declare const eden: {
19627
19708
  endOfDisputePeriod: number;
19628
19709
  lastClaimsOnchainFetchTimestamp: string | null;
19629
19710
  };
19630
- MainProtocol: {
19711
+ DepositUrls: {
19631
19712
  id: string;
19632
- tags: string[];
19633
- name: string;
19634
- description: string;
19713
+ title: string;
19635
19714
  url: string;
19636
- icon: string;
19637
- banner: string | null;
19638
- opportunityBannerLight: string | null;
19639
- opportunityBannerDark: string | null;
19640
- } | null;
19641
- Protocols: {
19715
+ subtitle: string | null;
19716
+ icon: string | null;
19717
+ priority: number;
19718
+ opportunityId: string;
19719
+ }[];
19720
+ MainProtocol: {
19642
19721
  id: string;
19643
19722
  tags: string[];
19644
19723
  name: string;
@@ -19648,7 +19727,7 @@ declare const eden: {
19648
19727
  banner: string | null;
19649
19728
  opportunityBannerLight: string | null;
19650
19729
  opportunityBannerDark: string | null;
19651
- }[];
19730
+ } | null;
19652
19731
  Tokens: {
19653
19732
  id: string;
19654
19733
  name: string | null;
@@ -19761,18 +19840,16 @@ declare const eden: {
19761
19840
  endOfDisputePeriod: number;
19762
19841
  lastClaimsOnchainFetchTimestamp: string | null;
19763
19842
  };
19764
- MainProtocol: {
19843
+ DepositUrls: {
19765
19844
  id: string;
19766
- tags: string[];
19767
- name: string;
19768
- description: string;
19845
+ title: string;
19769
19846
  url: string;
19770
- icon: string;
19771
- banner: string | null;
19772
- opportunityBannerLight: string | null;
19773
- opportunityBannerDark: string | null;
19774
- } | null;
19775
- Protocols: {
19847
+ subtitle: string | null;
19848
+ icon: string | null;
19849
+ priority: number;
19850
+ opportunityId: string;
19851
+ }[];
19852
+ MainProtocol: {
19776
19853
  id: string;
19777
19854
  tags: string[];
19778
19855
  name: string;
@@ -19782,7 +19859,7 @@ declare const eden: {
19782
19859
  banner: string | null;
19783
19860
  opportunityBannerLight: string | null;
19784
19861
  opportunityBannerDark: string | null;
19785
- }[];
19862
+ } | null;
19786
19863
  Tokens: {
19787
19864
  id: string;
19788
19865
  name: string | null;
@@ -19846,9 +19923,16 @@ declare const eden: {
19846
19923
  status: "LIVE" | "NONE" | "PAST" | "SOON";
19847
19924
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
19848
19925
  tags: string[];
19849
- protocols?: string[] | undefined;
19850
19926
  mainProtocol?: string | undefined;
19851
19927
  depositUrl?: string | undefined;
19928
+ depositUrls?: {
19929
+ id: string;
19930
+ title: string;
19931
+ url: string;
19932
+ subtitle?: string | undefined;
19933
+ icon?: string | undefined;
19934
+ priority: number;
19935
+ }[] | undefined;
19852
19936
  explorerAddress?: string | undefined;
19853
19937
  hidden?: boolean | undefined;
19854
19938
  tvl: number;