@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
@@ -889,6 +889,14 @@ export declare const v4: Elysia<"/v4", {
889
889
  name: string;
890
890
  slug: string | null;
891
891
  }[];
892
+ depositUrls: {
893
+ id: string;
894
+ title: string;
895
+ url: string;
896
+ subtitle?: string | undefined;
897
+ icon?: string | undefined;
898
+ priority: number;
899
+ }[] | undefined;
892
900
  id: string;
893
901
  hidden: true | undefined;
894
902
  nativeApr: number | undefined;
@@ -1079,9 +1087,16 @@ export declare const v4: Elysia<"/v4", {
1079
1087
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
1080
1088
  description?: string | undefined;
1081
1089
  howToSteps?: string[] | undefined;
1082
- protocols?: string[] | undefined;
1083
1090
  mainProtocol?: string | undefined;
1084
1091
  depositUrl?: string | undefined;
1092
+ depositUrls?: {
1093
+ id: string;
1094
+ title: string;
1095
+ url: string;
1096
+ subtitle?: string | undefined;
1097
+ icon?: string | undefined;
1098
+ priority: number;
1099
+ }[] | undefined;
1085
1100
  explorerAddress?: string | undefined;
1086
1101
  tags?: string[] | undefined;
1087
1102
  chainId: number;
@@ -1379,9 +1394,16 @@ export declare const v4: Elysia<"/v4", {
1379
1394
  status: "LIVE" | "NONE" | "PAST" | "SOON";
1380
1395
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
1381
1396
  tags: string[];
1382
- protocols?: string[] | undefined;
1383
1397
  mainProtocol?: string | undefined;
1384
1398
  depositUrl?: string | undefined;
1399
+ depositUrls?: {
1400
+ id: string;
1401
+ title: string;
1402
+ url: string;
1403
+ subtitle?: string | undefined;
1404
+ icon?: string | undefined;
1405
+ priority: number;
1406
+ }[] | undefined;
1385
1407
  explorerAddress?: string | undefined;
1386
1408
  hidden?: boolean | undefined;
1387
1409
  tvl: number;
@@ -1652,9 +1674,16 @@ export declare const v4: Elysia<"/v4", {
1652
1674
  status: "LIVE" | "NONE" | "PAST" | "SOON";
1653
1675
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
1654
1676
  tags: string[];
1655
- protocols?: string[] | undefined;
1656
1677
  mainProtocol?: string | undefined;
1657
1678
  depositUrl?: string | undefined;
1679
+ depositUrls?: {
1680
+ id: string;
1681
+ title: string;
1682
+ url: string;
1683
+ subtitle?: string | undefined;
1684
+ icon?: string | undefined;
1685
+ priority: number;
1686
+ }[] | undefined;
1658
1687
  explorerAddress?: string | undefined;
1659
1688
  hidden?: boolean | undefined;
1660
1689
  tvl: number;
@@ -1925,9 +1954,16 @@ export declare const v4: Elysia<"/v4", {
1925
1954
  status: "LIVE" | "NONE" | "PAST" | "SOON";
1926
1955
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
1927
1956
  tags: string[];
1928
- protocols?: string[] | undefined;
1929
1957
  mainProtocol?: string | undefined;
1930
1958
  depositUrl?: string | undefined;
1959
+ depositUrls?: {
1960
+ id: string;
1961
+ title: string;
1962
+ url: string;
1963
+ subtitle?: string | undefined;
1964
+ icon?: string | undefined;
1965
+ priority: number;
1966
+ }[] | undefined;
1931
1967
  explorerAddress?: string | undefined;
1932
1968
  hidden?: boolean | undefined;
1933
1969
  tvl: number;
@@ -2522,9 +2558,16 @@ export declare const v4: Elysia<"/v4", {
2522
2558
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
2523
2559
  description?: string | undefined;
2524
2560
  howToSteps?: string[] | undefined;
2525
- protocols?: string[] | undefined;
2526
2561
  mainProtocol?: string | undefined;
2527
2562
  depositUrl?: string | undefined;
2563
+ depositUrls?: {
2564
+ id: string;
2565
+ title: string;
2566
+ url: string;
2567
+ subtitle?: string | undefined;
2568
+ icon?: string | undefined;
2569
+ priority: number;
2570
+ }[] | undefined;
2528
2571
  explorerAddress?: string | undefined;
2529
2572
  tags?: string[] | undefined;
2530
2573
  chainId: number;
@@ -3002,6 +3045,14 @@ export declare const v4: Elysia<"/v4", {
3002
3045
  name: string;
3003
3046
  slug: string | null;
3004
3047
  }[];
3048
+ depositUrls: {
3049
+ id: string;
3050
+ title: string;
3051
+ url: string;
3052
+ subtitle?: string | undefined;
3053
+ icon?: string | undefined;
3054
+ priority: number;
3055
+ }[] | undefined;
3005
3056
  id: string;
3006
3057
  hidden: true | undefined;
3007
3058
  nativeApr: number | undefined;
@@ -3183,6 +3234,14 @@ export declare const v4: Elysia<"/v4", {
3183
3234
  name: string;
3184
3235
  slug: string | null;
3185
3236
  }[];
3237
+ depositUrls: {
3238
+ id: string;
3239
+ title: string;
3240
+ url: string;
3241
+ subtitle?: string | undefined;
3242
+ icon?: string | undefined;
3243
+ priority: number;
3244
+ }[] | undefined;
3186
3245
  id: string;
3187
3246
  hidden: true | undefined;
3188
3247
  nativeApr: number | undefined;
@@ -3913,7 +3972,6 @@ export declare const v4: Elysia<"/v4", {
3913
3972
  address: string;
3914
3973
  chainId: number;
3915
3974
  }[];
3916
- protocols?: string[] | undefined;
3917
3975
  mainProtocol?: string | undefined;
3918
3976
  depositUrl?: string | undefined;
3919
3977
  explorerAddress?: string | undefined;
@@ -4024,6 +4082,15 @@ export declare const v4: Elysia<"/v4", {
4024
4082
  total: number;
4025
4083
  opportunityId: string;
4026
4084
  })[];
4085
+ DepositUrls: {
4086
+ id: string;
4087
+ title: string;
4088
+ url: string;
4089
+ subtitle: string | null;
4090
+ icon: string | null;
4091
+ priority: number;
4092
+ opportunityId: string;
4093
+ }[];
4027
4094
  MainProtocol: {
4028
4095
  id: string;
4029
4096
  tags: string[];
@@ -4064,17 +4131,6 @@ export declare const v4: Elysia<"/v4", {
4064
4131
  rewardTokenId: string | null;
4065
4132
  opportunityId: string;
4066
4133
  })[];
4067
- Protocols: {
4068
- id: string;
4069
- tags: string[];
4070
- name: string;
4071
- description: string;
4072
- url: string;
4073
- icon: string;
4074
- banner: string | null;
4075
- opportunityBannerLight: string | null;
4076
- opportunityBannerDark: string | null;
4077
- }[];
4078
4134
  Tokens: {
4079
4135
  id: string;
4080
4136
  name: string | null;
@@ -4778,7 +4834,6 @@ export declare const v4: Elysia<"/v4", {
4778
4834
  address: string;
4779
4835
  chainId: number;
4780
4836
  }[];
4781
- protocols?: string[] | undefined;
4782
4837
  mainProtocol?: string | undefined;
4783
4838
  depositUrl?: string | undefined;
4784
4839
  explorerAddress?: string | undefined;
@@ -4889,6 +4944,15 @@ export declare const v4: Elysia<"/v4", {
4889
4944
  total: number;
4890
4945
  opportunityId: string;
4891
4946
  })[];
4947
+ DepositUrls: {
4948
+ id: string;
4949
+ title: string;
4950
+ url: string;
4951
+ subtitle: string | null;
4952
+ icon: string | null;
4953
+ priority: number;
4954
+ opportunityId: string;
4955
+ }[];
4892
4956
  MainProtocol: {
4893
4957
  id: string;
4894
4958
  tags: string[];
@@ -4929,17 +4993,6 @@ export declare const v4: Elysia<"/v4", {
4929
4993
  rewardTokenId: string | null;
4930
4994
  opportunityId: string;
4931
4995
  })[];
4932
- Protocols: {
4933
- id: string;
4934
- tags: string[];
4935
- name: string;
4936
- description: string;
4937
- url: string;
4938
- icon: string;
4939
- banner: string | null;
4940
- opportunityBannerLight: string | null;
4941
- opportunityBannerDark: string | null;
4942
- }[];
4943
4996
  Tokens: {
4944
4997
  id: string;
4945
4998
  name: string | null;
@@ -5042,7 +5095,6 @@ export declare const v4: Elysia<"/v4", {
5042
5095
  address: string;
5043
5096
  chainId: number;
5044
5097
  }[];
5045
- protocols?: string[] | undefined;
5046
5098
  mainProtocol?: string | undefined;
5047
5099
  depositUrl?: string | undefined;
5048
5100
  explorerAddress?: string | undefined;
@@ -5153,6 +5205,15 @@ export declare const v4: Elysia<"/v4", {
5153
5205
  total: number;
5154
5206
  opportunityId: string;
5155
5207
  })[];
5208
+ DepositUrls: {
5209
+ id: string;
5210
+ title: string;
5211
+ url: string;
5212
+ subtitle: string | null;
5213
+ icon: string | null;
5214
+ priority: number;
5215
+ opportunityId: string;
5216
+ }[];
5156
5217
  MainProtocol: {
5157
5218
  id: string;
5158
5219
  tags: string[];
@@ -5193,17 +5254,6 @@ export declare const v4: Elysia<"/v4", {
5193
5254
  rewardTokenId: string | null;
5194
5255
  opportunityId: string;
5195
5256
  })[];
5196
- Protocols: {
5197
- id: string;
5198
- tags: string[];
5199
- name: string;
5200
- description: string;
5201
- url: string;
5202
- icon: string;
5203
- banner: string | null;
5204
- opportunityBannerLight: string | null;
5205
- opportunityBannerDark: string | null;
5206
- }[];
5207
5257
  Tokens: {
5208
5258
  id: string;
5209
5259
  name: string | null;
@@ -5305,7 +5355,6 @@ export declare const v4: Elysia<"/v4", {
5305
5355
  address: string;
5306
5356
  chainId: number;
5307
5357
  }[];
5308
- protocols?: string[] | undefined;
5309
5358
  mainProtocol?: string | undefined;
5310
5359
  depositUrl?: string | undefined;
5311
5360
  explorerAddress?: string | undefined;
@@ -5416,6 +5465,15 @@ export declare const v4: Elysia<"/v4", {
5416
5465
  total: number;
5417
5466
  opportunityId: string;
5418
5467
  })[];
5468
+ DepositUrls: {
5469
+ id: string;
5470
+ title: string;
5471
+ url: string;
5472
+ subtitle: string | null;
5473
+ icon: string | null;
5474
+ priority: number;
5475
+ opportunityId: string;
5476
+ }[];
5419
5477
  MainProtocol: {
5420
5478
  id: string;
5421
5479
  tags: string[];
@@ -5456,17 +5514,6 @@ export declare const v4: Elysia<"/v4", {
5456
5514
  rewardTokenId: string | null;
5457
5515
  opportunityId: string;
5458
5516
  })[];
5459
- Protocols: {
5460
- id: string;
5461
- tags: string[];
5462
- name: string;
5463
- description: string;
5464
- url: string;
5465
- icon: string;
5466
- banner: string | null;
5467
- opportunityBannerLight: string | null;
5468
- opportunityBannerDark: string | null;
5469
- }[];
5470
5517
  Tokens: {
5471
5518
  id: string;
5472
5519
  name: string | null;
@@ -5887,9 +5934,16 @@ export declare const v4: Elysia<"/v4", {
5887
5934
  status: "LIVE" | "NONE" | "PAST" | "SOON";
5888
5935
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
5889
5936
  tags: string[];
5890
- protocols?: string[] | undefined;
5891
5937
  mainProtocol?: string | undefined;
5892
5938
  depositUrl?: string | undefined;
5939
+ depositUrls?: {
5940
+ id: string;
5941
+ title: string;
5942
+ url: string;
5943
+ subtitle?: string | undefined;
5944
+ icon?: string | undefined;
5945
+ priority: number;
5946
+ }[] | undefined;
5893
5947
  explorerAddress?: string | undefined;
5894
5948
  hidden?: boolean | undefined;
5895
5949
  tvl: number;
@@ -6056,9 +6110,16 @@ export declare const v4: Elysia<"/v4", {
6056
6110
  status: "LIVE" | "NONE" | "PAST" | "SOON";
6057
6111
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
6058
6112
  tags: string[];
6059
- protocols?: string[] | undefined;
6060
6113
  mainProtocol?: string | undefined;
6061
6114
  depositUrl?: string | undefined;
6115
+ depositUrls?: {
6116
+ id: string;
6117
+ title: string;
6118
+ url: string;
6119
+ subtitle?: string | undefined;
6120
+ icon?: string | undefined;
6121
+ priority: number;
6122
+ }[] | undefined;
6062
6123
  explorerAddress?: string | undefined;
6063
6124
  hidden?: boolean | undefined;
6064
6125
  tvl: number;
@@ -6282,9 +6343,16 @@ export declare const v4: Elysia<"/v4", {
6282
6343
  status: "LIVE" | "NONE" | "PAST" | "SOON";
6283
6344
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
6284
6345
  tags: string[];
6285
- protocols?: string[] | undefined;
6286
6346
  mainProtocol?: string | undefined;
6287
6347
  depositUrl?: string | undefined;
6348
+ depositUrls?: {
6349
+ id: string;
6350
+ title: string;
6351
+ url: string;
6352
+ subtitle?: string | undefined;
6353
+ icon?: string | undefined;
6354
+ priority: number;
6355
+ }[] | undefined;
6288
6356
  explorerAddress?: string | undefined;
6289
6357
  hidden?: boolean | undefined;
6290
6358
  tvl: number;
@@ -6451,9 +6519,16 @@ export declare const v4: Elysia<"/v4", {
6451
6519
  status: "LIVE" | "NONE" | "PAST" | "SOON";
6452
6520
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
6453
6521
  tags: string[];
6454
- protocols?: string[] | undefined;
6455
6522
  mainProtocol?: string | undefined;
6456
6523
  depositUrl?: string | undefined;
6524
+ depositUrls?: {
6525
+ id: string;
6526
+ title: string;
6527
+ url: string;
6528
+ subtitle?: string | undefined;
6529
+ icon?: string | undefined;
6530
+ priority: number;
6531
+ }[] | undefined;
6457
6532
  explorerAddress?: string | undefined;
6458
6533
  hidden?: boolean | undefined;
6459
6534
  tvl: number;
@@ -6691,18 +6766,16 @@ export declare const v4: Elysia<"/v4", {
6691
6766
  endOfDisputePeriod: number;
6692
6767
  lastClaimsOnchainFetchTimestamp: string | null;
6693
6768
  };
6694
- MainProtocol: {
6769
+ DepositUrls: {
6695
6770
  id: string;
6696
- tags: string[];
6697
- name: string;
6698
- description: string;
6771
+ title: string;
6699
6772
  url: string;
6700
- icon: string;
6701
- banner: string | null;
6702
- opportunityBannerLight: string | null;
6703
- opportunityBannerDark: string | null;
6704
- } | null;
6705
- Protocols: {
6773
+ subtitle: string | null;
6774
+ icon: string | null;
6775
+ priority: number;
6776
+ opportunityId: string;
6777
+ }[];
6778
+ MainProtocol: {
6706
6779
  id: string;
6707
6780
  tags: string[];
6708
6781
  name: string;
@@ -6712,7 +6785,7 @@ export declare const v4: Elysia<"/v4", {
6712
6785
  banner: string | null;
6713
6786
  opportunityBannerLight: string | null;
6714
6787
  opportunityBannerDark: string | null;
6715
- }[];
6788
+ } | null;
6716
6789
  Tokens: {
6717
6790
  id: string;
6718
6791
  name: string | null;
@@ -6776,18 +6849,16 @@ export declare const v4: Elysia<"/v4", {
6776
6849
  endOfDisputePeriod: number;
6777
6850
  lastClaimsOnchainFetchTimestamp: string | null;
6778
6851
  };
6779
- MainProtocol: {
6852
+ DepositUrls: {
6780
6853
  id: string;
6781
- tags: string[];
6782
- name: string;
6783
- description: string;
6854
+ title: string;
6784
6855
  url: string;
6785
- icon: string;
6786
- banner: string | null;
6787
- opportunityBannerLight: string | null;
6788
- opportunityBannerDark: string | null;
6789
- } | null;
6790
- Protocols: {
6856
+ subtitle: string | null;
6857
+ icon: string | null;
6858
+ priority: number;
6859
+ opportunityId: string;
6860
+ }[];
6861
+ MainProtocol: {
6791
6862
  id: string;
6792
6863
  tags: string[];
6793
6864
  name: string;
@@ -6797,7 +6868,7 @@ export declare const v4: Elysia<"/v4", {
6797
6868
  banner: string | null;
6798
6869
  opportunityBannerLight: string | null;
6799
6870
  opportunityBannerDark: string | null;
6800
- }[];
6871
+ } | null;
6801
6872
  Tokens: {
6802
6873
  id: string;
6803
6874
  name: string | null;
@@ -6948,9 +7019,16 @@ export declare const v4: Elysia<"/v4", {
6948
7019
  status: "LIVE" | "NONE" | "PAST" | "SOON";
6949
7020
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
6950
7021
  tags: string[];
6951
- protocols?: string[] | undefined;
6952
7022
  mainProtocol?: string | undefined;
6953
7023
  depositUrl?: string | undefined;
7024
+ depositUrls?: {
7025
+ id: string;
7026
+ title: string;
7027
+ url: string;
7028
+ subtitle?: string | undefined;
7029
+ icon?: string | undefined;
7030
+ priority: number;
7031
+ }[] | undefined;
6954
7032
  explorerAddress?: string | undefined;
6955
7033
  hidden?: boolean | undefined;
6956
7034
  tvl: number;
@@ -7117,9 +7195,16 @@ export declare const v4: Elysia<"/v4", {
7117
7195
  status: "LIVE" | "NONE" | "PAST" | "SOON";
7118
7196
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
7119
7197
  tags: string[];
7120
- protocols?: string[] | undefined;
7121
7198
  mainProtocol?: string | undefined;
7122
7199
  depositUrl?: string | undefined;
7200
+ depositUrls?: {
7201
+ id: string;
7202
+ title: string;
7203
+ url: string;
7204
+ subtitle?: string | undefined;
7205
+ icon?: string | undefined;
7206
+ priority: number;
7207
+ }[] | undefined;
7123
7208
  explorerAddress?: string | undefined;
7124
7209
  hidden?: boolean | undefined;
7125
7210
  tvl: number;
@@ -7380,18 +7465,16 @@ export declare const v4: Elysia<"/v4", {
7380
7465
  endOfDisputePeriod: number;
7381
7466
  lastClaimsOnchainFetchTimestamp: string | null;
7382
7467
  };
7383
- MainProtocol: {
7468
+ DepositUrls: {
7384
7469
  id: string;
7385
- tags: string[];
7386
- name: string;
7387
- description: string;
7470
+ title: string;
7388
7471
  url: string;
7389
- icon: string;
7390
- banner: string | null;
7391
- opportunityBannerLight: string | null;
7392
- opportunityBannerDark: string | null;
7393
- } | null;
7394
- Protocols: {
7472
+ subtitle: string | null;
7473
+ icon: string | null;
7474
+ priority: number;
7475
+ opportunityId: string;
7476
+ }[];
7477
+ MainProtocol: {
7395
7478
  id: string;
7396
7479
  tags: string[];
7397
7480
  name: string;
@@ -7401,7 +7484,7 @@ export declare const v4: Elysia<"/v4", {
7401
7484
  banner: string | null;
7402
7485
  opportunityBannerLight: string | null;
7403
7486
  opportunityBannerDark: string | null;
7404
- }[];
7487
+ } | null;
7405
7488
  Tokens: {
7406
7489
  id: string;
7407
7490
  name: string | null;
@@ -7465,18 +7548,16 @@ export declare const v4: Elysia<"/v4", {
7465
7548
  endOfDisputePeriod: number;
7466
7549
  lastClaimsOnchainFetchTimestamp: string | null;
7467
7550
  };
7468
- MainProtocol: {
7551
+ DepositUrls: {
7469
7552
  id: string;
7470
- tags: string[];
7471
- name: string;
7472
- description: string;
7553
+ title: string;
7473
7554
  url: string;
7474
- icon: string;
7475
- banner: string | null;
7476
- opportunityBannerLight: string | null;
7477
- opportunityBannerDark: string | null;
7478
- } | null;
7479
- Protocols: {
7555
+ subtitle: string | null;
7556
+ icon: string | null;
7557
+ priority: number;
7558
+ opportunityId: string;
7559
+ }[];
7560
+ MainProtocol: {
7480
7561
  id: string;
7481
7562
  tags: string[];
7482
7563
  name: string;
@@ -7486,7 +7567,7 @@ export declare const v4: Elysia<"/v4", {
7486
7567
  banner: string | null;
7487
7568
  opportunityBannerLight: string | null;
7488
7569
  opportunityBannerDark: string | null;
7489
- }[];
7570
+ } | null;
7490
7571
  Tokens: {
7491
7572
  id: string;
7492
7573
  name: string | null;
@@ -8690,7 +8771,6 @@ export declare const v4: Elysia<"/v4", {
8690
8771
  address: string;
8691
8772
  chainId: number;
8692
8773
  }[];
8693
- protocols?: string[] | undefined;
8694
8774
  mainProtocol?: string | undefined;
8695
8775
  depositUrl?: string | undefined;
8696
8776
  explorerAddress?: string | undefined;
@@ -8801,6 +8881,15 @@ export declare const v4: Elysia<"/v4", {
8801
8881
  total: number;
8802
8882
  opportunityId: string;
8803
8883
  })[];
8884
+ DepositUrls: {
8885
+ id: string;
8886
+ title: string;
8887
+ url: string;
8888
+ subtitle: string | null;
8889
+ icon: string | null;
8890
+ priority: number;
8891
+ opportunityId: string;
8892
+ }[];
8804
8893
  MainProtocol: {
8805
8894
  id: string;
8806
8895
  tags: string[];
@@ -8841,17 +8930,6 @@ export declare const v4: Elysia<"/v4", {
8841
8930
  rewardTokenId: string | null;
8842
8931
  opportunityId: string;
8843
8932
  })[];
8844
- Protocols: {
8845
- id: string;
8846
- tags: string[];
8847
- name: string;
8848
- description: string;
8849
- url: string;
8850
- icon: string;
8851
- banner: string | null;
8852
- opportunityBannerLight: string | null;
8853
- opportunityBannerDark: string | null;
8854
- }[];
8855
8933
  Tokens: {
8856
8934
  id: string;
8857
8935
  name: string | null;
@@ -9816,9 +9894,16 @@ export declare const v4: Elysia<"/v4", {
9816
9894
  status: "LIVE" | "NONE" | "PAST" | "SOON";
9817
9895
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
9818
9896
  tags: string[];
9819
- protocols?: string[] | undefined;
9820
9897
  mainProtocol?: string | undefined;
9821
9898
  depositUrl?: string | undefined;
9899
+ depositUrls?: {
9900
+ id: string;
9901
+ title: string;
9902
+ url: string;
9903
+ subtitle?: string | undefined;
9904
+ icon?: string | undefined;
9905
+ priority: number;
9906
+ }[] | undefined;
9822
9907
  explorerAddress?: string | undefined;
9823
9908
  hidden?: boolean | undefined;
9824
9909
  tvl: number;
@@ -11074,7 +11159,6 @@ export declare const v4: Elysia<"/v4", {
11074
11159
  chainId: number;
11075
11160
  epoch: number;
11076
11161
  timestamp: bigint;
11077
- claimedValue: number;
11078
11162
  }[];
11079
11163
  422: {
11080
11164
  type: "validation";
@@ -11122,7 +11206,6 @@ export declare const v4: Elysia<"/v4", {
11122
11206
  chainId: number;
11123
11207
  epoch: number;
11124
11208
  timestamp: bigint;
11125
- claimedValue: number;
11126
11209
  report: string;
11127
11210
  }[];
11128
11211
  422: {
@@ -11148,7 +11231,6 @@ export declare const v4: Elysia<"/v4", {
11148
11231
  root: string;
11149
11232
  timestamp: number;
11150
11233
  epoch: number;
11151
- claimedValue?: number | undefined;
11152
11234
  };
11153
11235
  params: {};
11154
11236
  query: unknown;
@@ -11161,7 +11243,6 @@ export declare const v4: Elysia<"/v4", {
11161
11243
  chainId: number;
11162
11244
  epoch: number;
11163
11245
  timestamp: bigint;
11164
- claimedValue: number;
11165
11246
  };
11166
11247
  422: {
11167
11248
  type: "validation";
@@ -11525,9 +11606,16 @@ export declare const v4: Elysia<"/v4", {
11525
11606
  status: "LIVE" | "NONE" | "PAST" | "SOON";
11526
11607
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
11527
11608
  tags: string[];
11528
- protocols?: string[] | undefined;
11529
11609
  mainProtocol?: string | undefined;
11530
11610
  depositUrl?: string | undefined;
11611
+ depositUrls?: {
11612
+ id: string;
11613
+ title: string;
11614
+ url: string;
11615
+ subtitle?: string | undefined;
11616
+ icon?: string | undefined;
11617
+ priority: number;
11618
+ }[] | undefined;
11531
11619
  explorerAddress?: string | undefined;
11532
11620
  hidden?: boolean | undefined;
11533
11621
  tvl: number;
@@ -11837,9 +11925,16 @@ export declare const v4: Elysia<"/v4", {
11837
11925
  status: "LIVE" | "NONE" | "PAST" | "SOON";
11838
11926
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
11839
11927
  tags: string[];
11840
- protocols?: string[] | undefined;
11841
11928
  mainProtocol?: string | undefined;
11842
11929
  depositUrl?: string | undefined;
11930
+ depositUrls?: {
11931
+ id: string;
11932
+ title: string;
11933
+ url: string;
11934
+ subtitle?: string | undefined;
11935
+ icon?: string | undefined;
11936
+ priority: number;
11937
+ }[] | undefined;
11843
11938
  explorerAddress?: string | undefined;
11844
11939
  hidden?: boolean | undefined;
11845
11940
  tvl: number;
@@ -12109,9 +12204,16 @@ export declare const v4: Elysia<"/v4", {
12109
12204
  status: "LIVE" | "NONE" | "PAST" | "SOON";
12110
12205
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
12111
12206
  tags: string[];
12112
- protocols?: string[] | undefined;
12113
12207
  mainProtocol?: string | undefined;
12114
12208
  depositUrl?: string | undefined;
12209
+ depositUrls?: {
12210
+ id: string;
12211
+ title: string;
12212
+ url: string;
12213
+ subtitle?: string | undefined;
12214
+ icon?: string | undefined;
12215
+ priority: number;
12216
+ }[] | undefined;
12115
12217
  explorerAddress?: string | undefined;
12116
12218
  hidden?: boolean | undefined;
12117
12219
  tvl: number;
@@ -12422,9 +12524,16 @@ export declare const v4: Elysia<"/v4", {
12422
12524
  status: "LIVE" | "NONE" | "PAST" | "SOON";
12423
12525
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
12424
12526
  tags: string[];
12425
- protocols?: string[] | undefined;
12426
12527
  mainProtocol?: string | undefined;
12427
12528
  depositUrl?: string | undefined;
12529
+ depositUrls?: {
12530
+ id: string;
12531
+ title: string;
12532
+ url: string;
12533
+ subtitle?: string | undefined;
12534
+ icon?: string | undefined;
12535
+ priority: number;
12536
+ }[] | undefined;
12428
12537
  explorerAddress?: string | undefined;
12429
12538
  hidden?: boolean | undefined;
12430
12539
  tvl: number;
@@ -12831,9 +12940,16 @@ export declare const v4: Elysia<"/v4", {
12831
12940
  status: "LIVE" | "NONE" | "PAST" | "SOON";
12832
12941
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
12833
12942
  tags: string[];
12834
- protocols?: string[] | undefined;
12835
12943
  mainProtocol?: string | undefined;
12836
12944
  depositUrl?: string | undefined;
12945
+ depositUrls?: {
12946
+ id: string;
12947
+ title: string;
12948
+ url: string;
12949
+ subtitle?: string | undefined;
12950
+ icon?: string | undefined;
12951
+ priority: number;
12952
+ }[] | undefined;
12837
12953
  explorerAddress?: string | undefined;
12838
12954
  hidden?: boolean | undefined;
12839
12955
  tvl: number;
@@ -13103,9 +13219,16 @@ export declare const v4: Elysia<"/v4", {
13103
13219
  status: "LIVE" | "NONE" | "PAST" | "SOON";
13104
13220
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
13105
13221
  tags: string[];
13106
- protocols?: string[] | undefined;
13107
13222
  mainProtocol?: string | undefined;
13108
13223
  depositUrl?: string | undefined;
13224
+ depositUrls?: {
13225
+ id: string;
13226
+ title: string;
13227
+ url: string;
13228
+ subtitle?: string | undefined;
13229
+ icon?: string | undefined;
13230
+ priority: number;
13231
+ }[] | undefined;
13109
13232
  explorerAddress?: string | undefined;
13110
13233
  hidden?: boolean | undefined;
13111
13234
  tvl: number;
@@ -13870,7 +13993,6 @@ export declare const v4: Elysia<"/v4", {
13870
13993
  address: string;
13871
13994
  chainId: number;
13872
13995
  }[];
13873
- protocols?: string[] | undefined;
13874
13996
  mainProtocol?: string | undefined;
13875
13997
  depositUrl?: string | undefined;
13876
13998
  explorerAddress?: string | undefined;
@@ -13981,6 +14103,15 @@ export declare const v4: Elysia<"/v4", {
13981
14103
  total: number;
13982
14104
  opportunityId: string;
13983
14105
  })[];
14106
+ DepositUrls: {
14107
+ id: string;
14108
+ title: string;
14109
+ url: string;
14110
+ subtitle: string | null;
14111
+ icon: string | null;
14112
+ priority: number;
14113
+ opportunityId: string;
14114
+ }[];
13984
14115
  MainProtocol: {
13985
14116
  id: string;
13986
14117
  tags: string[];
@@ -14021,17 +14152,6 @@ export declare const v4: Elysia<"/v4", {
14021
14152
  rewardTokenId: string | null;
14022
14153
  opportunityId: string;
14023
14154
  })[];
14024
- Protocols: {
14025
- id: string;
14026
- tags: string[];
14027
- name: string;
14028
- description: string;
14029
- url: string;
14030
- icon: string;
14031
- banner: string | null;
14032
- opportunityBannerLight: string | null;
14033
- opportunityBannerDark: string | null;
14034
- }[];
14035
14155
  Tokens: {
14036
14156
  id: string;
14037
14157
  name: string | null;
@@ -14278,6 +14398,27 @@ export declare const v4: Elysia<"/v4", {
14278
14398
  id: string;
14279
14399
  }[] | undefined;
14280
14400
  } | undefined;
14401
+ DepositUrls?: {
14402
+ create?: {
14403
+ title: string;
14404
+ url: string;
14405
+ subtitle?: string | undefined;
14406
+ icon?: string | undefined;
14407
+ priority?: number | undefined;
14408
+ }[] | undefined;
14409
+ update?: ({
14410
+ id: string;
14411
+ } & {
14412
+ title: string;
14413
+ url: string;
14414
+ subtitle?: string | undefined;
14415
+ icon?: string | undefined;
14416
+ priority?: number | undefined;
14417
+ })[] | undefined;
14418
+ delete?: {
14419
+ id: string;
14420
+ }[] | undefined;
14421
+ } | undefined;
14281
14422
  };
14282
14423
  params: {
14283
14424
  id: string;
@@ -14332,7 +14473,7 @@ export declare const v4: Elysia<"/v4", {
14332
14473
  ":id": {
14333
14474
  override: {
14334
14475
  delete: {
14335
- body: ("Tokens" | "action" | "depositUrl" | "description" | "explorerAddress" | "howToSteps" | "mainProtocolId" | "name")[];
14476
+ body: ("DepositUrls" | "Tokens" | "action" | "depositUrl" | "description" | "explorerAddress" | "howToSteps" | "mainProtocolId" | "name")[];
14336
14477
  params: {
14337
14478
  id: string;
14338
14479
  };
@@ -14352,7 +14493,6 @@ export declare const v4: Elysia<"/v4", {
14352
14493
  address: string;
14353
14494
  chainId: number;
14354
14495
  }[];
14355
- protocols?: string[] | undefined;
14356
14496
  mainProtocol?: string | undefined;
14357
14497
  depositUrl?: string | undefined;
14358
14498
  explorerAddress?: string | undefined;
@@ -14463,6 +14603,15 @@ export declare const v4: Elysia<"/v4", {
14463
14603
  total: number;
14464
14604
  opportunityId: string;
14465
14605
  })[];
14606
+ DepositUrls: {
14607
+ id: string;
14608
+ title: string;
14609
+ url: string;
14610
+ subtitle: string | null;
14611
+ icon: string | null;
14612
+ priority: number;
14613
+ opportunityId: string;
14614
+ }[];
14466
14615
  MainProtocol: {
14467
14616
  id: string;
14468
14617
  tags: string[];
@@ -14503,17 +14652,6 @@ export declare const v4: Elysia<"/v4", {
14503
14652
  rewardTokenId: string | null;
14504
14653
  opportunityId: string;
14505
14654
  })[];
14506
- Protocols: {
14507
- id: string;
14508
- tags: string[];
14509
- name: string;
14510
- description: string;
14511
- url: string;
14512
- icon: string;
14513
- banner: string | null;
14514
- opportunityBannerLight: string | null;
14515
- opportunityBannerDark: string | null;
14516
- }[];
14517
14655
  Tokens: {
14518
14656
  id: string;
14519
14657
  name: string | null;
@@ -14940,7 +15078,6 @@ export declare const v4: Elysia<"/v4", {
14940
15078
  address: string;
14941
15079
  chainId: number;
14942
15080
  }[];
14943
- protocols?: string[] | undefined;
14944
15081
  mainProtocol?: string | undefined;
14945
15082
  depositUrl?: string | undefined;
14946
15083
  explorerAddress?: string | undefined;
@@ -15051,6 +15188,15 @@ export declare const v4: Elysia<"/v4", {
15051
15188
  total: number;
15052
15189
  opportunityId: string;
15053
15190
  })[];
15191
+ DepositUrls: {
15192
+ id: string;
15193
+ title: string;
15194
+ url: string;
15195
+ subtitle: string | null;
15196
+ icon: string | null;
15197
+ priority: number;
15198
+ opportunityId: string;
15199
+ }[];
15054
15200
  MainProtocol: {
15055
15201
  id: string;
15056
15202
  tags: string[];
@@ -15091,17 +15237,6 @@ export declare const v4: Elysia<"/v4", {
15091
15237
  rewardTokenId: string | null;
15092
15238
  opportunityId: string;
15093
15239
  })[];
15094
- Protocols: {
15095
- id: string;
15096
- tags: string[];
15097
- name: string;
15098
- description: string;
15099
- url: string;
15100
- icon: string;
15101
- banner: string | null;
15102
- opportunityBannerLight: string | null;
15103
- opportunityBannerDark: string | null;
15104
- }[];
15105
15240
  Tokens: {
15106
15241
  id: string;
15107
15242
  name: string | null;
@@ -15222,7 +15357,6 @@ export declare const v4: Elysia<"/v4", {
15222
15357
  address: string;
15223
15358
  chainId: number;
15224
15359
  }[];
15225
- protocols?: string[] | undefined;
15226
15360
  mainProtocol?: string | undefined;
15227
15361
  depositUrl?: string | undefined;
15228
15362
  explorerAddress?: string | undefined;
@@ -15333,6 +15467,15 @@ export declare const v4: Elysia<"/v4", {
15333
15467
  total: number;
15334
15468
  opportunityId: string;
15335
15469
  })[];
15470
+ DepositUrls: {
15471
+ id: string;
15472
+ title: string;
15473
+ url: string;
15474
+ subtitle: string | null;
15475
+ icon: string | null;
15476
+ priority: number;
15477
+ opportunityId: string;
15478
+ }[];
15336
15479
  MainProtocol: {
15337
15480
  id: string;
15338
15481
  tags: string[];
@@ -15373,17 +15516,6 @@ export declare const v4: Elysia<"/v4", {
15373
15516
  rewardTokenId: string | null;
15374
15517
  opportunityId: string;
15375
15518
  })[];
15376
- Protocols: {
15377
- id: string;
15378
- tags: string[];
15379
- name: string;
15380
- description: string;
15381
- url: string;
15382
- icon: string;
15383
- banner: string | null;
15384
- opportunityBannerLight: string | null;
15385
- opportunityBannerDark: string | null;
15386
- }[];
15387
15519
  Tokens: {
15388
15520
  id: string;
15389
15521
  name: string | null;
@@ -15505,7 +15637,6 @@ export declare const v4: Elysia<"/v4", {
15505
15637
  address: string;
15506
15638
  chainId: number;
15507
15639
  }[];
15508
- protocols?: string[] | undefined;
15509
15640
  mainProtocol?: string | undefined;
15510
15641
  depositUrl?: string | undefined;
15511
15642
  explorerAddress?: string | undefined;
@@ -15616,6 +15747,15 @@ export declare const v4: Elysia<"/v4", {
15616
15747
  total: number;
15617
15748
  opportunityId: string;
15618
15749
  })[];
15750
+ DepositUrls: {
15751
+ id: string;
15752
+ title: string;
15753
+ url: string;
15754
+ subtitle: string | null;
15755
+ icon: string | null;
15756
+ priority: number;
15757
+ opportunityId: string;
15758
+ }[];
15619
15759
  MainProtocol: {
15620
15760
  id: string;
15621
15761
  tags: string[];
@@ -15656,17 +15796,6 @@ export declare const v4: Elysia<"/v4", {
15656
15796
  rewardTokenId: string | null;
15657
15797
  opportunityId: string;
15658
15798
  })[];
15659
- Protocols: {
15660
- id: string;
15661
- tags: string[];
15662
- name: string;
15663
- description: string;
15664
- url: string;
15665
- icon: string;
15666
- banner: string | null;
15667
- opportunityBannerLight: string | null;
15668
- opportunityBannerDark: string | null;
15669
- }[];
15670
15799
  Tokens: {
15671
15800
  id: string;
15672
15801
  name: string | null;
@@ -16220,9 +16349,16 @@ export declare const v4: Elysia<"/v4", {
16220
16349
  status: "LIVE" | "NONE" | "PAST" | "SOON";
16221
16350
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
16222
16351
  tags: string[];
16223
- protocols?: string[] | undefined;
16224
16352
  mainProtocol?: string | undefined;
16225
16353
  depositUrl?: string | undefined;
16354
+ depositUrls?: {
16355
+ id: string;
16356
+ title: string;
16357
+ url: string;
16358
+ subtitle?: string | undefined;
16359
+ icon?: string | undefined;
16360
+ priority: number;
16361
+ }[] | undefined;
16226
16362
  explorerAddress?: string | undefined;
16227
16363
  hidden?: boolean | undefined;
16228
16364
  tvl: number;
@@ -16413,9 +16549,16 @@ export declare const v4: Elysia<"/v4", {
16413
16549
  status: "LIVE" | "NONE" | "PAST" | "SOON";
16414
16550
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
16415
16551
  tags: string[];
16416
- protocols?: string[] | undefined;
16417
16552
  mainProtocol?: string | undefined;
16418
16553
  depositUrl?: string | undefined;
16554
+ depositUrls?: {
16555
+ id: string;
16556
+ title: string;
16557
+ url: string;
16558
+ subtitle?: string | undefined;
16559
+ icon?: string | undefined;
16560
+ priority: number;
16561
+ }[] | undefined;
16419
16562
  explorerAddress?: string | undefined;
16420
16563
  hidden?: boolean | undefined;
16421
16564
  tvl: number;
@@ -16626,9 +16769,16 @@ export declare const v4: Elysia<"/v4", {
16626
16769
  status: "LIVE" | "NONE" | "PAST" | "SOON";
16627
16770
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
16628
16771
  tags: string[];
16629
- protocols?: string[] | undefined;
16630
16772
  mainProtocol?: string | undefined;
16631
16773
  depositUrl?: string | undefined;
16774
+ depositUrls?: {
16775
+ id: string;
16776
+ title: string;
16777
+ url: string;
16778
+ subtitle?: string | undefined;
16779
+ icon?: string | undefined;
16780
+ priority: number;
16781
+ }[] | undefined;
16632
16782
  explorerAddress?: string | undefined;
16633
16783
  hidden?: boolean | undefined;
16634
16784
  tvl: number;
@@ -16828,9 +16978,16 @@ export declare const v4: Elysia<"/v4", {
16828
16978
  status: "LIVE" | "NONE" | "PAST" | "SOON";
16829
16979
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
16830
16980
  tags: string[];
16831
- protocols?: string[] | undefined;
16832
16981
  mainProtocol?: string | undefined;
16833
16982
  depositUrl?: string | undefined;
16983
+ depositUrls?: {
16984
+ id: string;
16985
+ title: string;
16986
+ url: string;
16987
+ subtitle?: string | undefined;
16988
+ icon?: string | undefined;
16989
+ priority: number;
16990
+ }[] | undefined;
16834
16991
  explorerAddress?: string | undefined;
16835
16992
  hidden?: boolean | undefined;
16836
16993
  tvl: number;
@@ -18014,130 +18171,6 @@ export declare const v4: Elysia<"/v4", {
18014
18171
  };
18015
18172
  };
18016
18173
  };
18017
- } & {
18018
- rewards: {
18019
- total: {
18020
- distributed: {
18021
- "by-chains": {
18022
- get: {
18023
- body: unknown;
18024
- params: {};
18025
- query: {
18026
- since: Date;
18027
- };
18028
- headers: unknown;
18029
- response: {
18030
- 200: {
18031
- [x: string]: number;
18032
- };
18033
- 422: {
18034
- type: "validation";
18035
- on: string;
18036
- summary?: string | undefined;
18037
- message?: string | undefined;
18038
- found?: unknown;
18039
- property?: string | undefined;
18040
- expected?: string | undefined;
18041
- };
18042
- };
18043
- };
18044
- };
18045
- };
18046
- };
18047
- };
18048
- } & {
18049
- rewards: {
18050
- total: {
18051
- distributed: {
18052
- "by-types": {
18053
- get: {
18054
- body: unknown;
18055
- params: {};
18056
- query: {
18057
- since: Date;
18058
- };
18059
- headers: unknown;
18060
- response: {
18061
- 200: {
18062
- [x: string]: number;
18063
- };
18064
- 422: {
18065
- type: "validation";
18066
- on: string;
18067
- summary?: string | undefined;
18068
- message?: string | undefined;
18069
- found?: unknown;
18070
- property?: string | undefined;
18071
- expected?: string | undefined;
18072
- };
18073
- };
18074
- };
18075
- };
18076
- };
18077
- };
18078
- };
18079
- } & {
18080
- rewards: {
18081
- total: {
18082
- distributed: {
18083
- "by-protocols": {
18084
- get: {
18085
- body: unknown;
18086
- params: {};
18087
- query: {
18088
- since: Date;
18089
- };
18090
- headers: unknown;
18091
- response: {
18092
- 200: {
18093
- [x: string]: number;
18094
- };
18095
- 422: {
18096
- type: "validation";
18097
- on: string;
18098
- summary?: string | undefined;
18099
- message?: string | undefined;
18100
- found?: unknown;
18101
- property?: string | undefined;
18102
- expected?: string | undefined;
18103
- };
18104
- };
18105
- };
18106
- };
18107
- };
18108
- };
18109
- };
18110
- } & {
18111
- rewards: {
18112
- total: {
18113
- claimed: {
18114
- "by-chains": {
18115
- get: {
18116
- body: unknown;
18117
- params: {};
18118
- query: {
18119
- since: Date;
18120
- };
18121
- headers: unknown;
18122
- response: {
18123
- 200: {
18124
- [x: string]: number;
18125
- };
18126
- 422: {
18127
- type: "validation";
18128
- on: string;
18129
- summary?: string | undefined;
18130
- message?: string | undefined;
18131
- found?: unknown;
18132
- property?: string | undefined;
18133
- expected?: string | undefined;
18134
- };
18135
- };
18136
- };
18137
- };
18138
- };
18139
- };
18140
- };
18141
18174
  };
18142
18175
  } & {
18143
18176
  v4: {
@@ -19207,9 +19240,16 @@ export declare const v4: Elysia<"/v4", {
19207
19240
  status: "LIVE" | "NONE" | "PAST" | "SOON";
19208
19241
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
19209
19242
  tags: string[];
19210
- protocols?: string[] | undefined;
19211
19243
  mainProtocol?: string | undefined;
19212
19244
  depositUrl?: string | undefined;
19245
+ depositUrls?: {
19246
+ id: string;
19247
+ title: string;
19248
+ url: string;
19249
+ subtitle?: string | undefined;
19250
+ icon?: string | undefined;
19251
+ priority: number;
19252
+ }[] | undefined;
19213
19253
  explorerAddress?: string | undefined;
19214
19254
  hidden?: boolean | undefined;
19215
19255
  tvl: number;
@@ -19424,9 +19464,16 @@ export declare const v4: Elysia<"/v4", {
19424
19464
  status: "LIVE" | "NONE" | "PAST" | "SOON";
19425
19465
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
19426
19466
  tags: string[];
19427
- protocols?: string[] | undefined;
19428
19467
  mainProtocol?: string | undefined;
19429
19468
  depositUrl?: string | undefined;
19469
+ depositUrls?: {
19470
+ id: string;
19471
+ title: string;
19472
+ url: string;
19473
+ subtitle?: string | undefined;
19474
+ icon?: string | undefined;
19475
+ priority: number;
19476
+ }[] | undefined;
19430
19477
  explorerAddress?: string | undefined;
19431
19478
  hidden?: boolean | undefined;
19432
19479
  tvl: number;
@@ -21009,18 +21056,16 @@ export declare const v4: Elysia<"/v4", {
21009
21056
  endOfDisputePeriod: number;
21010
21057
  lastClaimsOnchainFetchTimestamp: string | null;
21011
21058
  };
21012
- MainProtocol: {
21059
+ DepositUrls: {
21013
21060
  id: string;
21014
- tags: string[];
21015
- name: string;
21016
- description: string;
21061
+ title: string;
21017
21062
  url: string;
21018
- icon: string;
21019
- banner: string | null;
21020
- opportunityBannerLight: string | null;
21021
- opportunityBannerDark: string | null;
21022
- } | null;
21023
- Protocols: {
21063
+ subtitle: string | null;
21064
+ icon: string | null;
21065
+ priority: number;
21066
+ opportunityId: string;
21067
+ }[];
21068
+ MainProtocol: {
21024
21069
  id: string;
21025
21070
  tags: string[];
21026
21071
  name: string;
@@ -21030,7 +21075,7 @@ export declare const v4: Elysia<"/v4", {
21030
21075
  banner: string | null;
21031
21076
  opportunityBannerLight: string | null;
21032
21077
  opportunityBannerDark: string | null;
21033
- }[];
21078
+ } | null;
21034
21079
  Tokens: {
21035
21080
  id: string;
21036
21081
  name: string | null;
@@ -21143,18 +21188,16 @@ export declare const v4: Elysia<"/v4", {
21143
21188
  endOfDisputePeriod: number;
21144
21189
  lastClaimsOnchainFetchTimestamp: string | null;
21145
21190
  };
21146
- MainProtocol: {
21191
+ DepositUrls: {
21147
21192
  id: string;
21148
- tags: string[];
21149
- name: string;
21150
- description: string;
21193
+ title: string;
21151
21194
  url: string;
21152
- icon: string;
21153
- banner: string | null;
21154
- opportunityBannerLight: string | null;
21155
- opportunityBannerDark: string | null;
21156
- } | null;
21157
- Protocols: {
21195
+ subtitle: string | null;
21196
+ icon: string | null;
21197
+ priority: number;
21198
+ opportunityId: string;
21199
+ }[];
21200
+ MainProtocol: {
21158
21201
  id: string;
21159
21202
  tags: string[];
21160
21203
  name: string;
@@ -21164,7 +21207,7 @@ export declare const v4: Elysia<"/v4", {
21164
21207
  banner: string | null;
21165
21208
  opportunityBannerLight: string | null;
21166
21209
  opportunityBannerDark: string | null;
21167
- }[];
21210
+ } | null;
21168
21211
  Tokens: {
21169
21212
  id: string;
21170
21213
  name: string | null;
@@ -21228,9 +21271,16 @@ export declare const v4: Elysia<"/v4", {
21228
21271
  status: "LIVE" | "NONE" | "PAST" | "SOON";
21229
21272
  action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
21230
21273
  tags: string[];
21231
- protocols?: string[] | undefined;
21232
21274
  mainProtocol?: string | undefined;
21233
21275
  depositUrl?: string | undefined;
21276
+ depositUrls?: {
21277
+ id: string;
21278
+ title: string;
21279
+ url: string;
21280
+ subtitle?: string | undefined;
21281
+ icon?: string | undefined;
21282
+ priority: number;
21283
+ }[] | undefined;
21234
21284
  explorerAddress?: string | undefined;
21235
21285
  hidden?: boolean | undefined;
21236
21286
  tvl: number;