@merkl/api 0.10.177 → 0.10.180
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 +336 -51
- package/dist/src/index.d.ts +136 -17
- package/dist/src/index.js +1 -1
- package/dist/src/libs/campaigns/campaignTypes/CLAMMDynamicData.js +2 -2
- 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 +136 -17
- package/dist/src/modules/v4/router.js +2 -2
- package/dist/src/modules/v4/token/token.controller.d.ts +34 -0
- 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 +14 -1
- package/dist/src/modules/v4/token/token.service.js +7 -0
- package/dist/src/routes/v3/blacklist.d.ts +136 -17
- package/dist/src/routes/v3/campaigns.d.ts +136 -17
- package/dist/src/routes/v3/campaignsInfo.d.ts +136 -17
- package/dist/src/routes/v3/multiChainPositions.d.ts +136 -17
- package/dist/src/routes/v3/opportunity.d.ts +136 -17
- package/dist/src/routes/v3/positions.d.ts +136 -17
- package/dist/src/routes/v3/rewards.d.ts +136 -17
- package/dist/src/routes/v3/updates.d.ts +136 -17
- package/dist/src/routes/v3/userRewards.d.ts +136 -17
- 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: {
|
@@ -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: {
|
@@ -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
|
};
|
@@ -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: {
|
@@ -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
|
};
|