@merkl/api 0.10.176 → 0.10.180

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. package/dist/database/api/.generated/edge.js +6 -6
  2. package/dist/database/api/.generated/index-browser.js +4 -4
  3. package/dist/database/api/.generated/index.d.ts +2 -2
  4. package/dist/database/api/.generated/index.js +6 -6
  5. package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  6. package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  7. package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  8. package/dist/database/api/.generated/package.json +1 -1
  9. package/dist/database/api/.generated/runtime/edge-esm.js +15 -15
  10. package/dist/database/api/.generated/runtime/edge.js +16 -16
  11. package/dist/database/api/.generated/runtime/library.d.ts +23 -34
  12. package/dist/database/api/.generated/runtime/library.js +56 -56
  13. package/dist/database/api/.generated/runtime/react-native.js +23 -23
  14. package/dist/database/api/.generated/runtime/wasm.js +15 -15
  15. package/dist/database/api/.generated/wasm.js +4 -4
  16. package/dist/database/engine/.generated/edge.js +6 -6
  17. package/dist/database/engine/.generated/index-browser.js +4 -4
  18. package/dist/database/engine/.generated/index.d.ts +2 -2
  19. package/dist/database/engine/.generated/index.js +6 -6
  20. package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  21. package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  22. package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  23. package/dist/database/engine/.generated/package.json +1 -1
  24. package/dist/database/engine/.generated/runtime/edge-esm.js +15 -15
  25. package/dist/database/engine/.generated/runtime/edge.js +16 -16
  26. package/dist/database/engine/.generated/runtime/library.d.ts +23 -34
  27. package/dist/database/engine/.generated/runtime/library.js +56 -56
  28. package/dist/database/engine/.generated/runtime/react-native.js +23 -23
  29. package/dist/database/engine/.generated/runtime/wasm.js +15 -15
  30. package/dist/database/engine/.generated/wasm.js +4 -4
  31. package/dist/src/eden/index.d.ts +336 -51
  32. package/dist/src/index.d.ts +136 -17
  33. package/dist/src/index.js +1 -1
  34. package/dist/src/libs/campaigns/campaignTypes/CLAMMDynamicData.js +2 -2
  35. package/dist/src/modules/v4/bucket/bucket.service.d.ts +5 -0
  36. package/dist/src/modules/v4/bucket/bucket.service.js +11 -0
  37. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +11 -13
  38. package/dist/src/modules/v4/campaign/campaign.controller.js +3 -3
  39. package/dist/src/modules/v4/campaign/campaign.repository.js +1 -1
  40. package/dist/src/modules/v4/chain/chain.controller.d.ts +24 -0
  41. package/dist/src/modules/v4/chain/chain.controller.js +8 -2
  42. package/dist/src/modules/v4/chain/chain.model.d.ts +4 -0
  43. package/dist/src/modules/v4/chain/chain.model.js +4 -0
  44. package/dist/src/modules/v4/chain/chain.repository.d.ts +6 -1
  45. package/dist/src/modules/v4/chain/chain.repository.js +3 -0
  46. package/dist/src/modules/v4/chain/chain.service.d.ts +6 -1
  47. package/dist/src/modules/v4/chain/chain.service.js +7 -0
  48. package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
  49. package/dist/src/modules/v4/interaction/interaction.controller.d.ts +1 -1
  50. package/dist/src/modules/v4/{position → liquidity}/implementations/AjnaPositionFetcher.d.ts +1 -1
  51. package/dist/src/modules/v4/{position → liquidity}/implementations/BadgerPositionFetcher.d.ts +1 -1
  52. package/dist/src/modules/v4/{position → liquidity}/implementations/ClammPositionFetcher.d.ts +1 -1
  53. package/dist/src/modules/v4/{position → liquidity}/implementations/DolomitePositionFetcher.d.ts +1 -1
  54. package/dist/src/modules/v4/{position → liquidity}/implementations/DolomitePositionFetcher.js +2 -2
  55. package/dist/src/modules/v4/{position → liquidity}/implementations/ERC20PositionFetcher.d.ts +1 -1
  56. package/dist/src/modules/v4/{position → liquidity}/implementations/EulerPositionFetcher.d.ts +1 -1
  57. package/dist/src/modules/v4/liquidity/index.d.ts +2 -0
  58. package/dist/src/modules/v4/liquidity/index.js +2 -0
  59. package/dist/src/modules/v4/{position/position.controller.d.ts → liquidity/liquidity.controller.d.ts} +3 -3
  60. package/dist/src/modules/v4/{position/position.controller.js → liquidity/liquidity.controller.js} +4 -4
  61. package/dist/src/modules/v4/{position/position.repository.d.ts → liquidity/liquidity.repository.d.ts} +1 -1
  62. package/dist/src/modules/v4/{position/position.repository.js → liquidity/liquidity.repository.js} +1 -1
  63. package/dist/src/modules/v4/liquidity/liquidity.service.d.ts +5 -0
  64. package/dist/src/modules/v4/{position/position.service.js → liquidity/liquidity.service.js} +2 -2
  65. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +34 -0
  66. package/dist/src/modules/v4/opportunity/opportunity.controller.js +11 -2
  67. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +8 -0
  68. package/dist/src/modules/v4/opportunity/opportunity.model.js +5 -0
  69. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +29 -1
  70. package/dist/src/modules/v4/opportunity/opportunity.repository.js +6 -0
  71. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +15 -1
  72. package/dist/src/modules/v4/opportunity/opportunity.service.js +7 -6
  73. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +30 -1
  74. package/dist/src/modules/v4/protocol/protocol.controller.js +9 -2
  75. package/dist/src/modules/v4/protocol/protocol.model.d.ts +10 -1
  76. package/dist/src/modules/v4/protocol/protocol.model.js +9 -0
  77. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +9 -1
  78. package/dist/src/modules/v4/protocol/protocol.repository.js +4 -1
  79. package/dist/src/modules/v4/protocol/protocol.service.d.ts +11 -3
  80. package/dist/src/modules/v4/protocol/protocol.service.js +38 -32
  81. package/dist/src/modules/v4/reward/subservices/converter.js +2 -2
  82. package/dist/src/modules/v4/router.d.ts +136 -17
  83. package/dist/src/modules/v4/router.js +2 -2
  84. package/dist/src/modules/v4/token/token.controller.d.ts +34 -0
  85. package/dist/src/modules/v4/token/token.controller.js +11 -3
  86. package/dist/src/modules/v4/token/token.model.d.ts +9 -0
  87. package/dist/src/modules/v4/token/token.model.js +7 -0
  88. package/dist/src/modules/v4/token/token.repository.d.ts +14 -1
  89. package/dist/src/modules/v4/token/token.repository.js +3 -0
  90. package/dist/src/modules/v4/token/token.service.d.ts +14 -1
  91. package/dist/src/modules/v4/token/token.service.js +7 -0
  92. package/dist/src/routes/v3/blacklist.d.ts +136 -17
  93. package/dist/src/routes/v3/campaigns.d.ts +136 -17
  94. package/dist/src/routes/v3/campaignsInfo.d.ts +136 -17
  95. package/dist/src/routes/v3/multiChainPositions.d.ts +136 -17
  96. package/dist/src/routes/v3/opportunity.d.ts +137 -18
  97. package/dist/src/routes/v3/opportunity.js +1 -1
  98. package/dist/src/routes/v3/positions.d.ts +136 -17
  99. package/dist/src/routes/v3/rewards.d.ts +136 -17
  100. package/dist/src/routes/v3/updates.d.ts +136 -17
  101. package/dist/src/routes/v3/userRewards.d.ts +136 -17
  102. package/dist/src/utils/logger.d.ts +12 -6
  103. package/dist/tsconfig.package.tsbuildinfo +1 -1
  104. package/package.json +24 -24
  105. package/dist/src/modules/v4/position/index.d.ts +0 -2
  106. package/dist/src/modules/v4/position/index.js +0 -2
  107. package/dist/src/modules/v4/position/position.service.d.ts +0 -5
  108. /package/dist/src/modules/v4/{position → liquidity}/implementations/AjnaPositionFetcher.js +0 -0
  109. /package/dist/src/modules/v4/{position → liquidity}/implementations/BadgerPositionFetcher.js +0 -0
  110. /package/dist/src/modules/v4/{position → liquidity}/implementations/ClammPositionFetcher.js +0 -0
  111. /package/dist/src/modules/v4/{position → liquidity}/implementations/ERC20PositionFetcher.js +0 -0
  112. /package/dist/src/modules/v4/{position → liquidity}/implementations/EulerPositionFetcher.js +0 -0
  113. /package/dist/src/modules/v4/{position/position.model.d.ts → liquidity/liquidity.model.d.ts} +0 -0
  114. /package/dist/src/modules/v4/{position/position.model.js → liquidity/liquidity.model.js} +0 -0
@@ -504,6 +504,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
504
504
  };
505
505
  };
506
506
  };
507
+ } & {
508
+ opportunities: {
509
+ ":id": {
510
+ patch: {
511
+ body: {
512
+ name?: string | undefined;
513
+ tags?: string[] | undefined;
514
+ };
515
+ params: {
516
+ id: string;
517
+ };
518
+ query: unknown;
519
+ headers: {
520
+ authorization: string;
521
+ };
522
+ response: {
523
+ 200: {
524
+ name: string;
525
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
526
+ id: string;
527
+ status: import("../../../database/api/.generated").$Enums.Status;
528
+ tags: string[];
529
+ identifier: string;
530
+ chainId: number;
531
+ action: import("../../../database/api/.generated").$Enums.OpportunityAction;
532
+ mainProtocolId: string | null;
533
+ tvl: number;
534
+ apr: number;
535
+ dailyRewards: number;
536
+ };
537
+ };
538
+ };
539
+ };
540
+ };
507
541
  };
508
542
  } & {
509
543
  v4: {
@@ -687,19 +721,17 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
687
721
  } & {
688
722
  "campaigns-to-process": {
689
723
  engine: {
690
- "": {
691
- post: {
692
- body: unknown;
693
- params: {};
694
- query: {
695
- chainId: number;
696
- };
697
- headers: {
698
- authorization: string;
699
- };
700
- response: {
701
- 200: string;
702
- };
724
+ post: {
725
+ body: unknown;
726
+ params: {};
727
+ query: {
728
+ chainId: number;
729
+ };
730
+ headers: {
731
+ authorization: string;
732
+ };
733
+ response: {
734
+ 200: string;
703
735
  };
704
736
  };
705
737
  };
@@ -752,7 +784,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
752
784
  id: string;
753
785
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
754
786
  icon: string;
755
- } & {})[] | null;
787
+ } & {})[];
756
788
  };
757
789
  };
758
790
  };
@@ -771,6 +803,35 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
771
803
  };
772
804
  };
773
805
  };
806
+ } & {
807
+ protocols: {
808
+ ":id": {
809
+ patch: {
810
+ body: {
811
+ url?: string | undefined;
812
+ description?: string | undefined;
813
+ icon?: string | undefined;
814
+ };
815
+ params: {
816
+ id: string;
817
+ };
818
+ query: unknown;
819
+ headers: {
820
+ authorization: string;
821
+ };
822
+ response: {
823
+ 200: {
824
+ name: string;
825
+ url: string;
826
+ description: string;
827
+ id: string;
828
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
829
+ icon: string;
830
+ };
831
+ };
832
+ };
833
+ };
834
+ };
774
835
  };
775
836
  } & {
776
837
  v4: {
@@ -887,6 +948,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
887
948
  };
888
949
  };
889
950
  };
951
+ } & {
952
+ tokens: {
953
+ ":id": {
954
+ patch: {
955
+ body: {
956
+ icon?: string | undefined;
957
+ displaySymbol?: string | undefined;
958
+ isTest?: boolean | undefined;
959
+ };
960
+ params: {
961
+ id: string;
962
+ };
963
+ query: unknown;
964
+ headers: {
965
+ authorization: string;
966
+ };
967
+ response: {
968
+ 200: {
969
+ symbol: string;
970
+ name: string | null;
971
+ id: string;
972
+ chainId: number;
973
+ address: string;
974
+ icon: string;
975
+ decimals: number;
976
+ displaySymbol: string;
977
+ verified: boolean;
978
+ isTest: boolean;
979
+ price: number | null;
980
+ };
981
+ };
982
+ };
983
+ };
984
+ };
890
985
  };
891
986
  } & {
892
987
  v4: {
@@ -1166,6 +1261,30 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1166
1261
  };
1167
1262
  };
1168
1263
  };
1264
+ } & {
1265
+ chains: {
1266
+ ":chainId": {
1267
+ patch: {
1268
+ body: {
1269
+ icon?: string | undefined;
1270
+ };
1271
+ params: {
1272
+ chainId: number;
1273
+ };
1274
+ query: unknown;
1275
+ headers: {
1276
+ authorization: string;
1277
+ };
1278
+ response: {
1279
+ 200: {
1280
+ name: string;
1281
+ id: number;
1282
+ icon: string;
1283
+ };
1284
+ };
1285
+ };
1286
+ };
1287
+ };
1169
1288
  };
1170
1289
  } & {
1171
1290
  v4: {
@@ -1866,7 +1985,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1866
1985
  id: string;
1867
1986
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1868
1987
  icon: string;
1869
- } & {})[] | null;
1988
+ } & {})[];
1870
1989
  };
1871
1990
  };
1872
1991
  };
@@ -2257,7 +2376,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2257
2376
  };
2258
2377
  } & {
2259
2378
  v4: {
2260
- positions: {
2379
+ liquidity: {
2261
2380
  index: {
2262
2381
  get: {
2263
2382
  body: unknown;
@@ -2268,7 +2387,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2268
2387
  };
2269
2388
  headers: unknown;
2270
2389
  response: {
2271
- 200: any[];
2390
+ 200: import("../../modules/v4/liquidity").PositionT[];
2272
2391
  };
2273
2392
  };
2274
2393
  };
@@ -495,6 +495,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
495
495
  };
496
496
  };
497
497
  };
498
+ } & {
499
+ opportunities: {
500
+ ":id": {
501
+ patch: {
502
+ body: {
503
+ name?: string | undefined;
504
+ tags?: string[] | undefined;
505
+ };
506
+ params: {
507
+ id: string;
508
+ };
509
+ query: unknown;
510
+ headers: {
511
+ authorization: string;
512
+ };
513
+ response: {
514
+ 200: {
515
+ name: string;
516
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
517
+ id: string;
518
+ status: import("../../../database/api/.generated").$Enums.Status;
519
+ tags: string[];
520
+ identifier: string;
521
+ chainId: number;
522
+ action: import("../../../database/api/.generated").$Enums.OpportunityAction;
523
+ mainProtocolId: string | null;
524
+ tvl: number;
525
+ apr: number;
526
+ dailyRewards: number;
527
+ };
528
+ };
529
+ };
530
+ };
531
+ };
498
532
  };
499
533
  } & {
500
534
  v4: {
@@ -678,19 +712,17 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
678
712
  } & {
679
713
  "campaigns-to-process": {
680
714
  engine: {
681
- "": {
682
- post: {
683
- body: unknown;
684
- params: {};
685
- query: {
686
- chainId: number;
687
- };
688
- headers: {
689
- authorization: string;
690
- };
691
- response: {
692
- 200: string;
693
- };
715
+ post: {
716
+ body: unknown;
717
+ params: {};
718
+ query: {
719
+ chainId: number;
720
+ };
721
+ headers: {
722
+ authorization: string;
723
+ };
724
+ response: {
725
+ 200: string;
694
726
  };
695
727
  };
696
728
  };
@@ -743,7 +775,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
743
775
  id: string;
744
776
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
745
777
  icon: string;
746
- } & {})[] | null;
778
+ } & {})[];
747
779
  };
748
780
  };
749
781
  };
@@ -762,6 +794,35 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
762
794
  };
763
795
  };
764
796
  };
797
+ } & {
798
+ protocols: {
799
+ ":id": {
800
+ patch: {
801
+ body: {
802
+ url?: string | undefined;
803
+ description?: string | undefined;
804
+ icon?: string | undefined;
805
+ };
806
+ params: {
807
+ id: string;
808
+ };
809
+ query: unknown;
810
+ headers: {
811
+ authorization: string;
812
+ };
813
+ response: {
814
+ 200: {
815
+ name: string;
816
+ url: string;
817
+ description: string;
818
+ id: string;
819
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
820
+ icon: string;
821
+ };
822
+ };
823
+ };
824
+ };
825
+ };
765
826
  };
766
827
  } & {
767
828
  v4: {
@@ -878,6 +939,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
878
939
  };
879
940
  };
880
941
  };
942
+ } & {
943
+ tokens: {
944
+ ":id": {
945
+ patch: {
946
+ body: {
947
+ icon?: string | undefined;
948
+ displaySymbol?: string | undefined;
949
+ isTest?: boolean | undefined;
950
+ };
951
+ params: {
952
+ id: string;
953
+ };
954
+ query: unknown;
955
+ headers: {
956
+ authorization: string;
957
+ };
958
+ response: {
959
+ 200: {
960
+ symbol: string;
961
+ name: string | null;
962
+ id: string;
963
+ chainId: number;
964
+ address: string;
965
+ icon: string;
966
+ decimals: number;
967
+ displaySymbol: string;
968
+ verified: boolean;
969
+ isTest: boolean;
970
+ price: number | null;
971
+ };
972
+ };
973
+ };
974
+ };
975
+ };
881
976
  };
882
977
  } & {
883
978
  v4: {
@@ -1157,6 +1252,30 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1157
1252
  };
1158
1253
  };
1159
1254
  };
1255
+ } & {
1256
+ chains: {
1257
+ ":chainId": {
1258
+ patch: {
1259
+ body: {
1260
+ icon?: string | undefined;
1261
+ };
1262
+ params: {
1263
+ chainId: number;
1264
+ };
1265
+ query: unknown;
1266
+ headers: {
1267
+ authorization: string;
1268
+ };
1269
+ response: {
1270
+ 200: {
1271
+ name: string;
1272
+ id: number;
1273
+ icon: string;
1274
+ };
1275
+ };
1276
+ };
1277
+ };
1278
+ };
1160
1279
  };
1161
1280
  } & {
1162
1281
  v4: {
@@ -1857,7 +1976,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1857
1976
  id: string;
1858
1977
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1859
1978
  icon: string;
1860
- } & {})[] | null;
1979
+ } & {})[];
1861
1980
  };
1862
1981
  };
1863
1982
  };
@@ -2248,7 +2367,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2248
2367
  };
2249
2368
  } & {
2250
2369
  v4: {
2251
- positions: {
2370
+ liquidity: {
2252
2371
  index: {
2253
2372
  get: {
2254
2373
  body: unknown;
@@ -2259,7 +2378,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2259
2378
  };
2260
2379
  headers: unknown;
2261
2380
  response: {
2262
- 200: any[];
2381
+ 200: import("../../modules/v4/liquidity").PositionT[];
2263
2382
  };
2264
2383
  };
2265
2384
  };
@@ -500,6 +500,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
500
500
  };
501
501
  };
502
502
  };
503
+ } & {
504
+ opportunities: {
505
+ ":id": {
506
+ patch: {
507
+ body: {
508
+ name?: string | undefined;
509
+ tags?: string[] | undefined;
510
+ };
511
+ params: {
512
+ id: string;
513
+ };
514
+ query: unknown;
515
+ headers: {
516
+ authorization: string;
517
+ };
518
+ response: {
519
+ 200: {
520
+ name: string;
521
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
522
+ id: string;
523
+ status: import("../../../database/api/.generated").$Enums.Status;
524
+ tags: string[];
525
+ identifier: string;
526
+ chainId: number;
527
+ action: import("../../../database/api/.generated").$Enums.OpportunityAction;
528
+ mainProtocolId: string | null;
529
+ tvl: number;
530
+ apr: number;
531
+ dailyRewards: number;
532
+ };
533
+ };
534
+ };
535
+ };
536
+ };
503
537
  };
504
538
  } & {
505
539
  v4: {
@@ -683,19 +717,17 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
683
717
  } & {
684
718
  "campaigns-to-process": {
685
719
  engine: {
686
- "": {
687
- post: {
688
- body: unknown;
689
- params: {};
690
- query: {
691
- chainId: number;
692
- };
693
- headers: {
694
- authorization: string;
695
- };
696
- response: {
697
- 200: string;
698
- };
720
+ post: {
721
+ body: unknown;
722
+ params: {};
723
+ query: {
724
+ chainId: number;
725
+ };
726
+ headers: {
727
+ authorization: string;
728
+ };
729
+ response: {
730
+ 200: string;
699
731
  };
700
732
  };
701
733
  };
@@ -748,7 +780,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
748
780
  id: string;
749
781
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
750
782
  icon: string;
751
- } & {})[] | null;
783
+ } & {})[];
752
784
  };
753
785
  };
754
786
  };
@@ -767,6 +799,35 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
767
799
  };
768
800
  };
769
801
  };
802
+ } & {
803
+ protocols: {
804
+ ":id": {
805
+ patch: {
806
+ body: {
807
+ url?: string | undefined;
808
+ description?: string | undefined;
809
+ icon?: string | undefined;
810
+ };
811
+ params: {
812
+ id: string;
813
+ };
814
+ query: unknown;
815
+ headers: {
816
+ authorization: string;
817
+ };
818
+ response: {
819
+ 200: {
820
+ name: string;
821
+ url: string;
822
+ description: string;
823
+ id: string;
824
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
825
+ icon: string;
826
+ };
827
+ };
828
+ };
829
+ };
830
+ };
770
831
  };
771
832
  } & {
772
833
  v4: {
@@ -883,6 +944,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
883
944
  };
884
945
  };
885
946
  };
947
+ } & {
948
+ tokens: {
949
+ ":id": {
950
+ patch: {
951
+ body: {
952
+ icon?: string | undefined;
953
+ displaySymbol?: string | undefined;
954
+ isTest?: boolean | undefined;
955
+ };
956
+ params: {
957
+ id: string;
958
+ };
959
+ query: unknown;
960
+ headers: {
961
+ authorization: string;
962
+ };
963
+ response: {
964
+ 200: {
965
+ symbol: string;
966
+ name: string | null;
967
+ id: string;
968
+ chainId: number;
969
+ address: string;
970
+ icon: string;
971
+ decimals: number;
972
+ displaySymbol: string;
973
+ verified: boolean;
974
+ isTest: boolean;
975
+ price: number | null;
976
+ };
977
+ };
978
+ };
979
+ };
980
+ };
886
981
  };
887
982
  } & {
888
983
  v4: {
@@ -1162,6 +1257,30 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1162
1257
  };
1163
1258
  };
1164
1259
  };
1260
+ } & {
1261
+ chains: {
1262
+ ":chainId": {
1263
+ patch: {
1264
+ body: {
1265
+ icon?: string | undefined;
1266
+ };
1267
+ params: {
1268
+ chainId: number;
1269
+ };
1270
+ query: unknown;
1271
+ headers: {
1272
+ authorization: string;
1273
+ };
1274
+ response: {
1275
+ 200: {
1276
+ name: string;
1277
+ id: number;
1278
+ icon: string;
1279
+ };
1280
+ };
1281
+ };
1282
+ };
1283
+ };
1165
1284
  };
1166
1285
  } & {
1167
1286
  v4: {
@@ -1862,7 +1981,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1862
1981
  id: string;
1863
1982
  tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1864
1983
  icon: string;
1865
- } & {})[] | null;
1984
+ } & {})[];
1866
1985
  };
1867
1986
  };
1868
1987
  };
@@ -2253,7 +2372,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2253
2372
  };
2254
2373
  } & {
2255
2374
  v4: {
2256
- positions: {
2375
+ liquidity: {
2257
2376
  index: {
2258
2377
  get: {
2259
2378
  body: unknown;
@@ -2264,7 +2383,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2264
2383
  };
2265
2384
  headers: unknown;
2266
2385
  response: {
2267
- 200: any[];
2386
+ 200: import("../../modules/v4/liquidity").PositionT[];
2268
2387
  };
2269
2388
  };
2270
2389
  };