@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
@@ -518,6 +518,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
518
518
|
};
|
519
519
|
};
|
520
520
|
};
|
521
|
+
} & {
|
522
|
+
opportunities: {
|
523
|
+
":id": {
|
524
|
+
patch: {
|
525
|
+
body: {
|
526
|
+
name?: string | undefined;
|
527
|
+
tags?: string[] | undefined;
|
528
|
+
};
|
529
|
+
params: {
|
530
|
+
id: string;
|
531
|
+
};
|
532
|
+
query: unknown;
|
533
|
+
headers: {
|
534
|
+
authorization: string;
|
535
|
+
};
|
536
|
+
response: {
|
537
|
+
200: {
|
538
|
+
name: string;
|
539
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
540
|
+
id: string;
|
541
|
+
status: import("../../../database/api/.generated").$Enums.Status;
|
542
|
+
tags: string[];
|
543
|
+
identifier: string;
|
544
|
+
chainId: number;
|
545
|
+
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
546
|
+
mainProtocolId: string | null;
|
547
|
+
tvl: number;
|
548
|
+
apr: number;
|
549
|
+
dailyRewards: number;
|
550
|
+
};
|
551
|
+
};
|
552
|
+
};
|
553
|
+
};
|
554
|
+
};
|
521
555
|
};
|
522
556
|
} & {
|
523
557
|
v4: {
|
@@ -701,19 +735,17 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
701
735
|
} & {
|
702
736
|
"campaigns-to-process": {
|
703
737
|
engine: {
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
200: string;
|
716
|
-
};
|
738
|
+
post: {
|
739
|
+
body: unknown;
|
740
|
+
params: {};
|
741
|
+
query: {
|
742
|
+
chainId: number;
|
743
|
+
};
|
744
|
+
headers: {
|
745
|
+
authorization: string;
|
746
|
+
};
|
747
|
+
response: {
|
748
|
+
200: string;
|
717
749
|
};
|
718
750
|
};
|
719
751
|
};
|
@@ -766,7 +798,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
766
798
|
id: string;
|
767
799
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
768
800
|
icon: string;
|
769
|
-
} & {})[]
|
801
|
+
} & {})[];
|
770
802
|
};
|
771
803
|
};
|
772
804
|
};
|
@@ -785,6 +817,35 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
785
817
|
};
|
786
818
|
};
|
787
819
|
};
|
820
|
+
} & {
|
821
|
+
protocols: {
|
822
|
+
":id": {
|
823
|
+
patch: {
|
824
|
+
body: {
|
825
|
+
url?: string | undefined;
|
826
|
+
description?: string | undefined;
|
827
|
+
icon?: string | undefined;
|
828
|
+
};
|
829
|
+
params: {
|
830
|
+
id: string;
|
831
|
+
};
|
832
|
+
query: unknown;
|
833
|
+
headers: {
|
834
|
+
authorization: string;
|
835
|
+
};
|
836
|
+
response: {
|
837
|
+
200: {
|
838
|
+
name: string;
|
839
|
+
url: string;
|
840
|
+
description: string;
|
841
|
+
id: string;
|
842
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
843
|
+
icon: string;
|
844
|
+
};
|
845
|
+
};
|
846
|
+
};
|
847
|
+
};
|
848
|
+
};
|
788
849
|
};
|
789
850
|
} & {
|
790
851
|
v4: {
|
@@ -863,7 +924,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
863
924
|
};
|
864
925
|
headers: unknown;
|
865
926
|
response: {
|
866
|
-
200: {
|
927
|
+
200: ({
|
867
928
|
symbol: string;
|
868
929
|
name: string | null;
|
869
930
|
id: string;
|
@@ -871,11 +932,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
871
932
|
address: string;
|
872
933
|
icon: string;
|
873
934
|
decimals: number;
|
874
|
-
displaySymbol: string;
|
875
935
|
verified: boolean;
|
876
936
|
isTest: boolean;
|
877
|
-
|
878
|
-
|
937
|
+
} & {
|
938
|
+
price?: number | null | undefined;
|
939
|
+
})[];
|
879
940
|
};
|
880
941
|
};
|
881
942
|
};
|
@@ -901,6 +962,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
901
962
|
};
|
902
963
|
};
|
903
964
|
};
|
965
|
+
} & {
|
966
|
+
tokens: {
|
967
|
+
":id": {
|
968
|
+
patch: {
|
969
|
+
body: {
|
970
|
+
icon?: string | undefined;
|
971
|
+
displaySymbol?: string | undefined;
|
972
|
+
isTest?: boolean | undefined;
|
973
|
+
};
|
974
|
+
params: {
|
975
|
+
id: string;
|
976
|
+
};
|
977
|
+
query: unknown;
|
978
|
+
headers: {
|
979
|
+
authorization: string;
|
980
|
+
};
|
981
|
+
response: {
|
982
|
+
200: {
|
983
|
+
symbol: string;
|
984
|
+
name: string | null;
|
985
|
+
id: string;
|
986
|
+
chainId: number;
|
987
|
+
address: string;
|
988
|
+
icon: string;
|
989
|
+
decimals: number;
|
990
|
+
displaySymbol: string;
|
991
|
+
verified: boolean;
|
992
|
+
isTest: boolean;
|
993
|
+
price: number | null;
|
994
|
+
};
|
995
|
+
};
|
996
|
+
};
|
997
|
+
};
|
998
|
+
};
|
904
999
|
};
|
905
1000
|
} & {
|
906
1001
|
v4: {
|
@@ -1180,6 +1275,30 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1180
1275
|
};
|
1181
1276
|
};
|
1182
1277
|
};
|
1278
|
+
} & {
|
1279
|
+
chains: {
|
1280
|
+
":chainId": {
|
1281
|
+
patch: {
|
1282
|
+
body: {
|
1283
|
+
icon?: string | undefined;
|
1284
|
+
};
|
1285
|
+
params: {
|
1286
|
+
chainId: number;
|
1287
|
+
};
|
1288
|
+
query: unknown;
|
1289
|
+
headers: {
|
1290
|
+
authorization: string;
|
1291
|
+
};
|
1292
|
+
response: {
|
1293
|
+
200: {
|
1294
|
+
name: string;
|
1295
|
+
id: number;
|
1296
|
+
icon: string;
|
1297
|
+
};
|
1298
|
+
};
|
1299
|
+
};
|
1300
|
+
};
|
1301
|
+
};
|
1183
1302
|
};
|
1184
1303
|
} & {
|
1185
1304
|
v4: {
|
@@ -1880,7 +1999,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1880
1999
|
id: string;
|
1881
2000
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1882
2001
|
icon: string;
|
1883
|
-
} & {})[]
|
2002
|
+
} & {})[];
|
1884
2003
|
};
|
1885
2004
|
};
|
1886
2005
|
};
|
@@ -2271,7 +2390,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2271
2390
|
};
|
2272
2391
|
} & {
|
2273
2392
|
v4: {
|
2274
|
-
|
2393
|
+
liquidity: {
|
2275
2394
|
index: {
|
2276
2395
|
get: {
|
2277
2396
|
body: unknown;
|
@@ -2282,7 +2401,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2282
2401
|
};
|
2283
2402
|
headers: unknown;
|
2284
2403
|
response: {
|
2285
|
-
200:
|
2404
|
+
200: import("../../modules/v4/liquidity").PositionT[];
|
2286
2405
|
};
|
2287
2406
|
};
|
2288
2407
|
};
|
@@ -519,6 +519,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
519
519
|
};
|
520
520
|
};
|
521
521
|
};
|
522
|
+
} & {
|
523
|
+
opportunities: {
|
524
|
+
":id": {
|
525
|
+
patch: {
|
526
|
+
body: {
|
527
|
+
name?: string | undefined;
|
528
|
+
tags?: string[] | undefined;
|
529
|
+
};
|
530
|
+
params: {
|
531
|
+
id: string;
|
532
|
+
};
|
533
|
+
query: unknown;
|
534
|
+
headers: {
|
535
|
+
authorization: string;
|
536
|
+
};
|
537
|
+
response: {
|
538
|
+
200: {
|
539
|
+
name: string;
|
540
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
541
|
+
id: string;
|
542
|
+
status: import("../../../database/api/.generated").$Enums.Status;
|
543
|
+
tags: string[];
|
544
|
+
identifier: string;
|
545
|
+
chainId: number;
|
546
|
+
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
547
|
+
mainProtocolId: string | null;
|
548
|
+
tvl: number;
|
549
|
+
apr: number;
|
550
|
+
dailyRewards: number;
|
551
|
+
};
|
552
|
+
};
|
553
|
+
};
|
554
|
+
};
|
555
|
+
};
|
522
556
|
};
|
523
557
|
} & {
|
524
558
|
v4: {
|
@@ -702,19 +736,17 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
702
736
|
} & {
|
703
737
|
"campaigns-to-process": {
|
704
738
|
engine: {
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
200: string;
|
717
|
-
};
|
739
|
+
post: {
|
740
|
+
body: unknown;
|
741
|
+
params: {};
|
742
|
+
query: {
|
743
|
+
chainId: number;
|
744
|
+
};
|
745
|
+
headers: {
|
746
|
+
authorization: string;
|
747
|
+
};
|
748
|
+
response: {
|
749
|
+
200: string;
|
718
750
|
};
|
719
751
|
};
|
720
752
|
};
|
@@ -767,7 +799,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
767
799
|
id: string;
|
768
800
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
769
801
|
icon: string;
|
770
|
-
} & {})[]
|
802
|
+
} & {})[];
|
771
803
|
};
|
772
804
|
};
|
773
805
|
};
|
@@ -786,6 +818,35 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
786
818
|
};
|
787
819
|
};
|
788
820
|
};
|
821
|
+
} & {
|
822
|
+
protocols: {
|
823
|
+
":id": {
|
824
|
+
patch: {
|
825
|
+
body: {
|
826
|
+
url?: string | undefined;
|
827
|
+
description?: string | undefined;
|
828
|
+
icon?: string | undefined;
|
829
|
+
};
|
830
|
+
params: {
|
831
|
+
id: string;
|
832
|
+
};
|
833
|
+
query: unknown;
|
834
|
+
headers: {
|
835
|
+
authorization: string;
|
836
|
+
};
|
837
|
+
response: {
|
838
|
+
200: {
|
839
|
+
name: string;
|
840
|
+
url: string;
|
841
|
+
description: string;
|
842
|
+
id: string;
|
843
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
844
|
+
icon: string;
|
845
|
+
};
|
846
|
+
};
|
847
|
+
};
|
848
|
+
};
|
849
|
+
};
|
789
850
|
};
|
790
851
|
} & {
|
791
852
|
v4: {
|
@@ -864,7 +925,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
864
925
|
};
|
865
926
|
headers: unknown;
|
866
927
|
response: {
|
867
|
-
200: {
|
928
|
+
200: ({
|
868
929
|
symbol: string;
|
869
930
|
name: string | null;
|
870
931
|
id: string;
|
@@ -872,11 +933,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
872
933
|
address: string;
|
873
934
|
icon: string;
|
874
935
|
decimals: number;
|
875
|
-
displaySymbol: string;
|
876
936
|
verified: boolean;
|
877
937
|
isTest: boolean;
|
878
|
-
|
879
|
-
|
938
|
+
} & {
|
939
|
+
price?: number | null | undefined;
|
940
|
+
})[];
|
880
941
|
};
|
881
942
|
};
|
882
943
|
};
|
@@ -902,6 +963,40 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
902
963
|
};
|
903
964
|
};
|
904
965
|
};
|
966
|
+
} & {
|
967
|
+
tokens: {
|
968
|
+
":id": {
|
969
|
+
patch: {
|
970
|
+
body: {
|
971
|
+
icon?: string | undefined;
|
972
|
+
displaySymbol?: string | undefined;
|
973
|
+
isTest?: boolean | undefined;
|
974
|
+
};
|
975
|
+
params: {
|
976
|
+
id: string;
|
977
|
+
};
|
978
|
+
query: unknown;
|
979
|
+
headers: {
|
980
|
+
authorization: string;
|
981
|
+
};
|
982
|
+
response: {
|
983
|
+
200: {
|
984
|
+
symbol: string;
|
985
|
+
name: string | null;
|
986
|
+
id: string;
|
987
|
+
chainId: number;
|
988
|
+
address: string;
|
989
|
+
icon: string;
|
990
|
+
decimals: number;
|
991
|
+
displaySymbol: string;
|
992
|
+
verified: boolean;
|
993
|
+
isTest: boolean;
|
994
|
+
price: number | null;
|
995
|
+
};
|
996
|
+
};
|
997
|
+
};
|
998
|
+
};
|
999
|
+
};
|
905
1000
|
};
|
906
1001
|
} & {
|
907
1002
|
v4: {
|
@@ -1181,6 +1276,30 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1181
1276
|
};
|
1182
1277
|
};
|
1183
1278
|
};
|
1279
|
+
} & {
|
1280
|
+
chains: {
|
1281
|
+
":chainId": {
|
1282
|
+
patch: {
|
1283
|
+
body: {
|
1284
|
+
icon?: string | undefined;
|
1285
|
+
};
|
1286
|
+
params: {
|
1287
|
+
chainId: number;
|
1288
|
+
};
|
1289
|
+
query: unknown;
|
1290
|
+
headers: {
|
1291
|
+
authorization: string;
|
1292
|
+
};
|
1293
|
+
response: {
|
1294
|
+
200: {
|
1295
|
+
name: string;
|
1296
|
+
id: number;
|
1297
|
+
icon: string;
|
1298
|
+
};
|
1299
|
+
};
|
1300
|
+
};
|
1301
|
+
};
|
1302
|
+
};
|
1184
1303
|
};
|
1185
1304
|
} & {
|
1186
1305
|
v4: {
|
@@ -1881,7 +2000,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1881
2000
|
id: string;
|
1882
2001
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1883
2002
|
icon: string;
|
1884
|
-
} & {})[]
|
2003
|
+
} & {})[];
|
1885
2004
|
};
|
1886
2005
|
};
|
1887
2006
|
};
|
@@ -2272,7 +2391,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2272
2391
|
};
|
2273
2392
|
} & {
|
2274
2393
|
v4: {
|
2275
|
-
|
2394
|
+
liquidity: {
|
2276
2395
|
index: {
|
2277
2396
|
get: {
|
2278
2397
|
body: unknown;
|
@@ -2283,7 +2402,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2283
2402
|
};
|
2284
2403
|
headers: unknown;
|
2285
2404
|
response: {
|
2286
|
-
200:
|
2405
|
+
200: import("../../modules/v4/liquidity").PositionT[];
|
2287
2406
|
};
|
2288
2407
|
};
|
2289
2408
|
};
|