@merkl/api 0.10.177 → 0.10.181
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/edge.js +6 -6
- package/dist/database/api/.generated/index-browser.js +4 -4
- package/dist/database/api/.generated/index.d.ts +2 -2
- package/dist/database/api/.generated/index.js +6 -6
- package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/runtime/edge-esm.js +15 -15
- package/dist/database/api/.generated/runtime/edge.js +16 -16
- package/dist/database/api/.generated/runtime/library.d.ts +23 -34
- package/dist/database/api/.generated/runtime/library.js +56 -56
- package/dist/database/api/.generated/runtime/react-native.js +23 -23
- package/dist/database/api/.generated/runtime/wasm.js +15 -15
- package/dist/database/api/.generated/wasm.js +4 -4
- package/dist/database/engine/.generated/edge.js +6 -6
- package/dist/database/engine/.generated/index-browser.js +4 -4
- package/dist/database/engine/.generated/index.d.ts +2 -2
- package/dist/database/engine/.generated/index.js +6 -6
- package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/engine/.generated/package.json +1 -1
- package/dist/database/engine/.generated/runtime/edge-esm.js +15 -15
- package/dist/database/engine/.generated/runtime/edge.js +16 -16
- package/dist/database/engine/.generated/runtime/library.d.ts +23 -34
- package/dist/database/engine/.generated/runtime/library.js +56 -56
- package/dist/database/engine/.generated/runtime/react-native.js +23 -23
- package/dist/database/engine/.generated/runtime/wasm.js +15 -15
- package/dist/database/engine/.generated/wasm.js +4 -4
- package/dist/src/eden/index.d.ts +348 -63
- package/dist/src/index.d.ts +140 -21
- package/dist/src/index.js +1 -1
- package/dist/src/libs/campaigns/campaignTypes/CLAMMDynamicData.js +2 -2
- package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.js +3 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +2 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +4 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.d.ts +1 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.js +12 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.d.ts +1 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.js +1 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/StakingProcessor.d.ts +39 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/StakingProcessor.js +45 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +2 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.d.ts +2 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +25 -1
- package/dist/src/modules/v4/bucket/bucket.service.d.ts +5 -0
- package/dist/src/modules/v4/bucket/bucket.service.js +11 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +11 -13
- package/dist/src/modules/v4/campaign/campaign.controller.js +3 -3
- package/dist/src/modules/v4/campaign/campaign.repository.js +1 -1
- package/dist/src/modules/v4/chain/chain.controller.d.ts +24 -0
- package/dist/src/modules/v4/chain/chain.controller.js +8 -2
- package/dist/src/modules/v4/chain/chain.model.d.ts +4 -0
- package/dist/src/modules/v4/chain/chain.model.js +4 -0
- package/dist/src/modules/v4/chain/chain.repository.d.ts +6 -1
- package/dist/src/modules/v4/chain/chain.repository.js +3 -0
- package/dist/src/modules/v4/chain/chain.service.d.ts +6 -1
- package/dist/src/modules/v4/chain/chain.service.js +7 -0
- package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +1 -1
- package/dist/src/modules/v4/{position → liquidity}/implementations/AjnaPositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/{position → liquidity}/implementations/BadgerPositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/{position → liquidity}/implementations/ClammPositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/{position → liquidity}/implementations/DolomitePositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/{position → liquidity}/implementations/DolomitePositionFetcher.js +2 -2
- package/dist/src/modules/v4/{position → liquidity}/implementations/ERC20PositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/{position → liquidity}/implementations/EulerPositionFetcher.d.ts +1 -1
- package/dist/src/modules/v4/liquidity/index.d.ts +2 -0
- package/dist/src/modules/v4/liquidity/index.js +2 -0
- package/dist/src/modules/v4/{position/position.controller.d.ts → liquidity/liquidity.controller.d.ts} +3 -3
- package/dist/src/modules/v4/{position/position.controller.js → liquidity/liquidity.controller.js} +4 -4
- package/dist/src/modules/v4/{position/position.repository.d.ts → liquidity/liquidity.repository.d.ts} +1 -1
- package/dist/src/modules/v4/{position/position.repository.js → liquidity/liquidity.repository.js} +1 -1
- package/dist/src/modules/v4/liquidity/liquidity.service.d.ts +5 -0
- package/dist/src/modules/v4/{position/position.service.js → liquidity/liquidity.service.js} +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +34 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.js +11 -2
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +8 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.js +5 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +29 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.js +6 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +15 -1
- package/dist/src/modules/v4/opportunity/opportunity.service.js +7 -6
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +30 -1
- package/dist/src/modules/v4/protocol/protocol.controller.js +9 -2
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +10 -1
- package/dist/src/modules/v4/protocol/protocol.model.js +9 -0
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +9 -1
- package/dist/src/modules/v4/protocol/protocol.repository.js +4 -1
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +11 -3
- package/dist/src/modules/v4/protocol/protocol.service.js +38 -32
- package/dist/src/modules/v4/reward/subservices/converter.js +2 -2
- package/dist/src/modules/v4/router.d.ts +140 -21
- package/dist/src/modules/v4/router.js +2 -2
- package/dist/src/modules/v4/token/token.controller.d.ts +38 -4
- package/dist/src/modules/v4/token/token.controller.js +11 -3
- package/dist/src/modules/v4/token/token.model.d.ts +9 -0
- package/dist/src/modules/v4/token/token.model.js +7 -0
- package/dist/src/modules/v4/token/token.repository.d.ts +14 -1
- package/dist/src/modules/v4/token/token.repository.js +3 -0
- package/dist/src/modules/v4/token/token.service.d.ts +18 -5
- package/dist/src/modules/v4/token/token.service.js +9 -2
- package/dist/src/routes/v3/blacklist.d.ts +140 -21
- package/dist/src/routes/v3/campaigns.d.ts +140 -21
- package/dist/src/routes/v3/campaignsInfo.d.ts +140 -21
- package/dist/src/routes/v3/multiChainPositions.d.ts +140 -21
- package/dist/src/routes/v3/opportunity.d.ts +140 -21
- package/dist/src/routes/v3/positions.d.ts +140 -21
- package/dist/src/routes/v3/rewards.d.ts +140 -21
- package/dist/src/routes/v3/updates.d.ts +140 -21
- package/dist/src/routes/v3/userRewards.d.ts +140 -21
- package/dist/src/utils/decodeCalls.js +5 -1
- package/dist/src/utils/encodeCalls.js +13 -1
- package/dist/src/utils/generateCardName.js +3 -1
- package/dist/src/utils/logger.d.ts +12 -6
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +24 -24
- package/dist/src/modules/v4/position/index.d.ts +0 -2
- package/dist/src/modules/v4/position/index.js +0 -2
- package/dist/src/modules/v4/position/position.service.d.ts +0 -5
- /package/dist/src/modules/v4/{position → liquidity}/implementations/AjnaPositionFetcher.js +0 -0
- /package/dist/src/modules/v4/{position → liquidity}/implementations/BadgerPositionFetcher.js +0 -0
- /package/dist/src/modules/v4/{position → liquidity}/implementations/ClammPositionFetcher.js +0 -0
- /package/dist/src/modules/v4/{position → liquidity}/implementations/ERC20PositionFetcher.js +0 -0
- /package/dist/src/modules/v4/{position → liquidity}/implementations/EulerPositionFetcher.js +0 -0
- /package/dist/src/modules/v4/{position/position.model.d.ts → liquidity/liquidity.model.d.ts} +0 -0
- /package/dist/src/modules/v4/{position/position.model.js → liquidity/liquidity.model.js} +0 -0
@@ -501,6 +501,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
501
501
|
};
|
502
502
|
};
|
503
503
|
};
|
504
|
+
} & {
|
505
|
+
opportunities: {
|
506
|
+
":id": {
|
507
|
+
patch: {
|
508
|
+
body: {
|
509
|
+
name?: string | undefined;
|
510
|
+
tags?: string[] | undefined;
|
511
|
+
};
|
512
|
+
params: {
|
513
|
+
id: string;
|
514
|
+
};
|
515
|
+
query: unknown;
|
516
|
+
headers: {
|
517
|
+
authorization: string;
|
518
|
+
};
|
519
|
+
response: {
|
520
|
+
200: {
|
521
|
+
name: string;
|
522
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
523
|
+
id: string;
|
524
|
+
status: import("../../../database/api/.generated").$Enums.Status;
|
525
|
+
tags: string[];
|
526
|
+
identifier: string;
|
527
|
+
chainId: number;
|
528
|
+
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
529
|
+
mainProtocolId: string | null;
|
530
|
+
tvl: number;
|
531
|
+
apr: number;
|
532
|
+
dailyRewards: number;
|
533
|
+
};
|
534
|
+
};
|
535
|
+
};
|
536
|
+
};
|
537
|
+
};
|
504
538
|
};
|
505
539
|
} & {
|
506
540
|
v4: {
|
@@ -684,19 +718,17 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
684
718
|
} & {
|
685
719
|
"campaigns-to-process": {
|
686
720
|
engine: {
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
200: string;
|
699
|
-
};
|
721
|
+
post: {
|
722
|
+
body: unknown;
|
723
|
+
params: {};
|
724
|
+
query: {
|
725
|
+
chainId: number;
|
726
|
+
};
|
727
|
+
headers: {
|
728
|
+
authorization: string;
|
729
|
+
};
|
730
|
+
response: {
|
731
|
+
200: string;
|
700
732
|
};
|
701
733
|
};
|
702
734
|
};
|
@@ -749,7 +781,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
749
781
|
id: string;
|
750
782
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
751
783
|
icon: string;
|
752
|
-
} & {})[]
|
784
|
+
} & {})[];
|
753
785
|
};
|
754
786
|
};
|
755
787
|
};
|
@@ -768,6 +800,35 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
768
800
|
};
|
769
801
|
};
|
770
802
|
};
|
803
|
+
} & {
|
804
|
+
protocols: {
|
805
|
+
":id": {
|
806
|
+
patch: {
|
807
|
+
body: {
|
808
|
+
url?: string | undefined;
|
809
|
+
description?: string | undefined;
|
810
|
+
icon?: string | undefined;
|
811
|
+
};
|
812
|
+
params: {
|
813
|
+
id: string;
|
814
|
+
};
|
815
|
+
query: unknown;
|
816
|
+
headers: {
|
817
|
+
authorization: string;
|
818
|
+
};
|
819
|
+
response: {
|
820
|
+
200: {
|
821
|
+
name: string;
|
822
|
+
url: string;
|
823
|
+
description: string;
|
824
|
+
id: string;
|
825
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
826
|
+
icon: string;
|
827
|
+
};
|
828
|
+
};
|
829
|
+
};
|
830
|
+
};
|
831
|
+
};
|
771
832
|
};
|
772
833
|
} & {
|
773
834
|
v4: {
|
@@ -846,7 +907,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
846
907
|
};
|
847
908
|
headers: unknown;
|
848
909
|
response: {
|
849
|
-
200: {
|
910
|
+
200: ({
|
850
911
|
symbol: string;
|
851
912
|
name: string | null;
|
852
913
|
id: string;
|
@@ -854,11 +915,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
854
915
|
address: string;
|
855
916
|
icon: string;
|
856
917
|
decimals: number;
|
857
|
-
displaySymbol: string;
|
858
918
|
verified: boolean;
|
859
919
|
isTest: boolean;
|
860
|
-
|
861
|
-
|
920
|
+
} & {
|
921
|
+
price?: number | null | undefined;
|
922
|
+
})[];
|
862
923
|
};
|
863
924
|
};
|
864
925
|
};
|
@@ -884,6 +945,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
884
945
|
};
|
885
946
|
};
|
886
947
|
};
|
948
|
+
} & {
|
949
|
+
tokens: {
|
950
|
+
":id": {
|
951
|
+
patch: {
|
952
|
+
body: {
|
953
|
+
icon?: string | undefined;
|
954
|
+
displaySymbol?: string | undefined;
|
955
|
+
isTest?: boolean | undefined;
|
956
|
+
};
|
957
|
+
params: {
|
958
|
+
id: string;
|
959
|
+
};
|
960
|
+
query: unknown;
|
961
|
+
headers: {
|
962
|
+
authorization: string;
|
963
|
+
};
|
964
|
+
response: {
|
965
|
+
200: {
|
966
|
+
symbol: string;
|
967
|
+
name: string | null;
|
968
|
+
id: string;
|
969
|
+
chainId: number;
|
970
|
+
address: string;
|
971
|
+
icon: string;
|
972
|
+
decimals: number;
|
973
|
+
displaySymbol: string;
|
974
|
+
verified: boolean;
|
975
|
+
isTest: boolean;
|
976
|
+
price: number | null;
|
977
|
+
};
|
978
|
+
};
|
979
|
+
};
|
980
|
+
};
|
981
|
+
};
|
887
982
|
};
|
888
983
|
} & {
|
889
984
|
v4: {
|
@@ -1163,6 +1258,30 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1163
1258
|
};
|
1164
1259
|
};
|
1165
1260
|
};
|
1261
|
+
} & {
|
1262
|
+
chains: {
|
1263
|
+
":chainId": {
|
1264
|
+
patch: {
|
1265
|
+
body: {
|
1266
|
+
icon?: string | undefined;
|
1267
|
+
};
|
1268
|
+
params: {
|
1269
|
+
chainId: number;
|
1270
|
+
};
|
1271
|
+
query: unknown;
|
1272
|
+
headers: {
|
1273
|
+
authorization: string;
|
1274
|
+
};
|
1275
|
+
response: {
|
1276
|
+
200: {
|
1277
|
+
name: string;
|
1278
|
+
id: number;
|
1279
|
+
icon: string;
|
1280
|
+
};
|
1281
|
+
};
|
1282
|
+
};
|
1283
|
+
};
|
1284
|
+
};
|
1166
1285
|
};
|
1167
1286
|
} & {
|
1168
1287
|
v4: {
|
@@ -1863,7 +1982,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1863
1982
|
id: string;
|
1864
1983
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1865
1984
|
icon: string;
|
1866
|
-
} & {})[]
|
1985
|
+
} & {})[];
|
1867
1986
|
};
|
1868
1987
|
};
|
1869
1988
|
};
|
@@ -2254,7 +2373,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2254
2373
|
};
|
2255
2374
|
} & {
|
2256
2375
|
v4: {
|
2257
|
-
|
2376
|
+
liquidity: {
|
2258
2377
|
index: {
|
2259
2378
|
get: {
|
2260
2379
|
body: unknown;
|
@@ -2265,7 +2384,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2265
2384
|
};
|
2266
2385
|
headers: unknown;
|
2267
2386
|
response: {
|
2268
|
-
200:
|
2387
|
+
200: import("../../modules/v4/liquidity").PositionT[];
|
2269
2388
|
};
|
2270
2389
|
};
|
2271
2390
|
};
|
@@ -502,6 +502,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
502
502
|
};
|
503
503
|
};
|
504
504
|
};
|
505
|
+
} & {
|
506
|
+
opportunities: {
|
507
|
+
":id": {
|
508
|
+
patch: {
|
509
|
+
body: {
|
510
|
+
name?: string | undefined;
|
511
|
+
tags?: string[] | undefined;
|
512
|
+
};
|
513
|
+
params: {
|
514
|
+
id: string;
|
515
|
+
};
|
516
|
+
query: unknown;
|
517
|
+
headers: {
|
518
|
+
authorization: string;
|
519
|
+
};
|
520
|
+
response: {
|
521
|
+
200: {
|
522
|
+
name: string;
|
523
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
524
|
+
id: string;
|
525
|
+
status: import("../../../database/api/.generated").$Enums.Status;
|
526
|
+
tags: string[];
|
527
|
+
identifier: string;
|
528
|
+
chainId: number;
|
529
|
+
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
530
|
+
mainProtocolId: string | null;
|
531
|
+
tvl: number;
|
532
|
+
apr: number;
|
533
|
+
dailyRewards: number;
|
534
|
+
};
|
535
|
+
};
|
536
|
+
};
|
537
|
+
};
|
538
|
+
};
|
505
539
|
};
|
506
540
|
} & {
|
507
541
|
v4: {
|
@@ -685,19 +719,17 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
685
719
|
} & {
|
686
720
|
"campaigns-to-process": {
|
687
721
|
engine: {
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
200: string;
|
700
|
-
};
|
722
|
+
post: {
|
723
|
+
body: unknown;
|
724
|
+
params: {};
|
725
|
+
query: {
|
726
|
+
chainId: number;
|
727
|
+
};
|
728
|
+
headers: {
|
729
|
+
authorization: string;
|
730
|
+
};
|
731
|
+
response: {
|
732
|
+
200: string;
|
701
733
|
};
|
702
734
|
};
|
703
735
|
};
|
@@ -750,7 +782,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
750
782
|
id: string;
|
751
783
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
752
784
|
icon: string;
|
753
|
-
} & {})[]
|
785
|
+
} & {})[];
|
754
786
|
};
|
755
787
|
};
|
756
788
|
};
|
@@ -769,6 +801,35 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
769
801
|
};
|
770
802
|
};
|
771
803
|
};
|
804
|
+
} & {
|
805
|
+
protocols: {
|
806
|
+
":id": {
|
807
|
+
patch: {
|
808
|
+
body: {
|
809
|
+
url?: string | undefined;
|
810
|
+
description?: string | undefined;
|
811
|
+
icon?: string | undefined;
|
812
|
+
};
|
813
|
+
params: {
|
814
|
+
id: string;
|
815
|
+
};
|
816
|
+
query: unknown;
|
817
|
+
headers: {
|
818
|
+
authorization: string;
|
819
|
+
};
|
820
|
+
response: {
|
821
|
+
200: {
|
822
|
+
name: string;
|
823
|
+
url: string;
|
824
|
+
description: string;
|
825
|
+
id: string;
|
826
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
827
|
+
icon: string;
|
828
|
+
};
|
829
|
+
};
|
830
|
+
};
|
831
|
+
};
|
832
|
+
};
|
772
833
|
};
|
773
834
|
} & {
|
774
835
|
v4: {
|
@@ -847,7 +908,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
847
908
|
};
|
848
909
|
headers: unknown;
|
849
910
|
response: {
|
850
|
-
200: {
|
911
|
+
200: ({
|
851
912
|
symbol: string;
|
852
913
|
name: string | null;
|
853
914
|
id: string;
|
@@ -855,11 +916,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
855
916
|
address: string;
|
856
917
|
icon: string;
|
857
918
|
decimals: number;
|
858
|
-
displaySymbol: string;
|
859
919
|
verified: boolean;
|
860
920
|
isTest: boolean;
|
861
|
-
|
862
|
-
|
921
|
+
} & {
|
922
|
+
price?: number | null | undefined;
|
923
|
+
})[];
|
863
924
|
};
|
864
925
|
};
|
865
926
|
};
|
@@ -885,6 +946,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
885
946
|
};
|
886
947
|
};
|
887
948
|
};
|
949
|
+
} & {
|
950
|
+
tokens: {
|
951
|
+
":id": {
|
952
|
+
patch: {
|
953
|
+
body: {
|
954
|
+
icon?: string | undefined;
|
955
|
+
displaySymbol?: string | undefined;
|
956
|
+
isTest?: boolean | undefined;
|
957
|
+
};
|
958
|
+
params: {
|
959
|
+
id: string;
|
960
|
+
};
|
961
|
+
query: unknown;
|
962
|
+
headers: {
|
963
|
+
authorization: string;
|
964
|
+
};
|
965
|
+
response: {
|
966
|
+
200: {
|
967
|
+
symbol: string;
|
968
|
+
name: string | null;
|
969
|
+
id: string;
|
970
|
+
chainId: number;
|
971
|
+
address: string;
|
972
|
+
icon: string;
|
973
|
+
decimals: number;
|
974
|
+
displaySymbol: string;
|
975
|
+
verified: boolean;
|
976
|
+
isTest: boolean;
|
977
|
+
price: number | null;
|
978
|
+
};
|
979
|
+
};
|
980
|
+
};
|
981
|
+
};
|
982
|
+
};
|
888
983
|
};
|
889
984
|
} & {
|
890
985
|
v4: {
|
@@ -1164,6 +1259,30 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1164
1259
|
};
|
1165
1260
|
};
|
1166
1261
|
};
|
1262
|
+
} & {
|
1263
|
+
chains: {
|
1264
|
+
":chainId": {
|
1265
|
+
patch: {
|
1266
|
+
body: {
|
1267
|
+
icon?: string | undefined;
|
1268
|
+
};
|
1269
|
+
params: {
|
1270
|
+
chainId: number;
|
1271
|
+
};
|
1272
|
+
query: unknown;
|
1273
|
+
headers: {
|
1274
|
+
authorization: string;
|
1275
|
+
};
|
1276
|
+
response: {
|
1277
|
+
200: {
|
1278
|
+
name: string;
|
1279
|
+
id: number;
|
1280
|
+
icon: string;
|
1281
|
+
};
|
1282
|
+
};
|
1283
|
+
};
|
1284
|
+
};
|
1285
|
+
};
|
1167
1286
|
};
|
1168
1287
|
} & {
|
1169
1288
|
v4: {
|
@@ -1864,7 +1983,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1864
1983
|
id: string;
|
1865
1984
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1866
1985
|
icon: string;
|
1867
|
-
} & {})[]
|
1986
|
+
} & {})[];
|
1868
1987
|
};
|
1869
1988
|
};
|
1870
1989
|
};
|
@@ -2255,7 +2374,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2255
2374
|
};
|
2256
2375
|
} & {
|
2257
2376
|
v4: {
|
2258
|
-
|
2377
|
+
liquidity: {
|
2259
2378
|
index: {
|
2260
2379
|
get: {
|
2261
2380
|
body: unknown;
|
@@ -2266,7 +2385,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2266
2385
|
};
|
2267
2386
|
headers: unknown;
|
2268
2387
|
response: {
|
2269
|
-
200:
|
2388
|
+
200: import("../../modules/v4/liquidity").PositionT[];
|
2270
2389
|
};
|
2271
2390
|
};
|
2272
2391
|
};
|