@merkl/api 0.10.131 → 0.10.133
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.
- package/dist/src/constants.d.ts +1 -0
- package/dist/src/constants.js +1 -0
- package/dist/src/eden/index.d.ts +16 -25
- package/dist/src/index.d.ts +4 -7
- package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.js +4 -8
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +3 -2
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +11 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MaverickBPProcessor.d.ts +50 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MaverickBPProcessor.js +75 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +2 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +2 -0
- package/dist/src/modules/v4/blacklist/blacklist.controller.js +2 -6
- package/dist/src/modules/v4/campaign/campaign.controller.js +6 -18
- package/dist/src/modules/v4/chain/chain.controller.js +3 -6
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.js +1 -4
- package/dist/src/modules/v4/enso/enso.service.d.ts +1 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.js +2 -6
- package/dist/src/modules/v4/opportunity/opportunity.controller.js +3 -9
- package/dist/src/modules/v4/participate/participate.controller.d.ts +1 -0
- package/dist/src/modules/v4/participate/participate.controller.js +5 -3
- package/dist/src/modules/v4/price/price.controller.js +11 -21
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +3 -7
- package/dist/src/modules/v4/protocol/protocol.controller.js +4 -9
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +2 -2
- package/dist/src/modules/v4/protocol/protocol.model.js +4 -1
- package/dist/src/modules/v4/protocol/protocol.service.js +4 -3
- package/dist/src/modules/v4/router.d.ts +4 -7
- package/dist/src/modules/v4/status/status.controller.js +6 -18
- package/dist/src/modules/v4/token/token.controller.js +3 -6
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +4 -7
- package/dist/src/routes/v3/blacklist.d.ts +4 -7
- package/dist/src/routes/v3/campaigns.d.ts +4 -7
- package/dist/src/routes/v3/campaignsInfo.d.ts +4 -7
- package/dist/src/routes/v3/multiChainPositions.d.ts +4 -7
- package/dist/src/routes/v3/opportunity.d.ts +4 -7
- package/dist/src/routes/v3/positions.d.ts +4 -7
- package/dist/src/routes/v3/rewards.d.ts +4 -7
- package/dist/src/routes/v3/updates.d.ts +4 -7
- package/dist/src/routes/v3/userRewards.d.ts +4 -7
- package/dist/src/utils/decodeCalls.js +3 -1
- package/dist/src/utils/encodeCalls.js +7 -1
- package/dist/src/utils/generateCardName.js +2 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +4 -3
- package/dist/src/modules/v4/apr/apr.controller.d.ts +0 -0
- package/dist/src/modules/v4/apr/apr.controller.js +0 -1
- package/dist/src/modules/v4/tvl/tvl.controller.d.ts +0 -0
- package/dist/src/modules/v4/tvl/tvl.controller.js +0 -1
@@ -6,27 +6,21 @@ import { PriceService } from "./price.service";
|
|
6
6
|
// ─── Prices Controller ───────────────────────────────────────────────────────
|
7
7
|
export const PriceController = new Elysia({ prefix: "/prices", detail: { tags: ["Prices"] } })
|
8
8
|
// ─── Get All Prices ──────────────────────────────────────────────────
|
9
|
-
.get("/", async () =>
|
10
|
-
|
11
|
-
})
|
12
|
-
.get("/array", async () => {
|
13
|
-
return await PriceService.findManyArray();
|
14
|
-
})
|
9
|
+
.get("/", async () => await PriceService.findMany())
|
10
|
+
.get("/array", async () => await PriceService.findManyArray())
|
15
11
|
// ─── Get Price By Token Symbol ───────────────────────────────────────
|
16
|
-
.get("/symbol/:symbol", async ({ params }) => {
|
17
|
-
|
18
|
-
}
|
12
|
+
.get("/symbol/:symbol", async ({ params }) => await PriceService.fetchPriceSourceBySymbol(params.symbol), {
|
13
|
+
params: PriceSourceIdentifier,
|
14
|
+
})
|
19
15
|
// ─── Price Sources Group ─────────────────────────────────────────────
|
20
16
|
.group("/sources", app => {
|
21
17
|
return (app
|
22
18
|
// ─── Get All Price Sources ───────────────────
|
23
|
-
.get("/", async () =>
|
24
|
-
return await PriceService.getManyPriceSources();
|
25
|
-
})
|
19
|
+
.get("/", async () => await PriceService.getManyPriceSources())
|
26
20
|
// ─── Get Price Source By Token Symbol ────────
|
27
|
-
.get("/symbol/:symbol", async ({ params }) => {
|
28
|
-
|
29
|
-
}
|
21
|
+
.get("/symbol/:symbol", async ({ params }) => await PriceService.getPriceSourceBySymbol(params.symbol), {
|
22
|
+
params: PriceSourceIdentifier,
|
23
|
+
})
|
30
24
|
// ─── Create A Price Source ───────────────────
|
31
25
|
.post("/", async ({ body }) => {
|
32
26
|
try {
|
@@ -43,18 +37,14 @@ export const PriceController = new Elysia({ prefix: "/prices", detail: { tags: [
|
|
43
37
|
beforeHandle: BackOfficeGuard,
|
44
38
|
})
|
45
39
|
// ─── Update A Price Source ───────────────────
|
46
|
-
.patch("/symbol/:symbol", async ({ params, body }) => {
|
47
|
-
return await PriceService.updatePriceSource(params.symbol, body);
|
48
|
-
}, {
|
40
|
+
.patch("/symbol/:symbol", async ({ params, body }) => await PriceService.updatePriceSource(params.symbol, body), {
|
49
41
|
headers: AuthorizationHeadersDto,
|
50
42
|
params: PriceSourceIdentifier,
|
51
43
|
body: UpdatePriceSourceDto,
|
52
44
|
beforeHandle: BackOfficeGuard,
|
53
45
|
})
|
54
46
|
// ─── Delete A Price Source ───────────────────
|
55
|
-
.delete("/symbol/:symbol", async ({ params }) => {
|
56
|
-
return await PriceService.deletePriceSource(params.symbol);
|
57
|
-
}, {
|
47
|
+
.delete("/symbol/:symbol", async ({ params }) => await PriceService.deletePriceSource(params.symbol), {
|
58
48
|
headers: AuthorizationHeadersDto,
|
59
49
|
params: PriceSourceIdentifier,
|
60
50
|
beforeHandle: BackOfficeGuard,
|
@@ -26,6 +26,7 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
26
26
|
name: string;
|
27
27
|
url: string;
|
28
28
|
description: string;
|
29
|
+
id: string;
|
29
30
|
tags: import("../../../../database/api/.generated").$Enums.ProtocolTag[];
|
30
31
|
icon: string;
|
31
32
|
} | null;
|
@@ -52,6 +53,7 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
52
53
|
name: string;
|
53
54
|
url: string;
|
54
55
|
description: string;
|
56
|
+
id: string;
|
55
57
|
tags: import("../../../../database/api/.generated").$Enums.ProtocolTag[];
|
56
58
|
icon: string;
|
57
59
|
} & {})[] | null;
|
@@ -65,13 +67,7 @@ export declare const ProtocolController: Elysia<"/protocols", false, {
|
|
65
67
|
get: {
|
66
68
|
body: unknown;
|
67
69
|
params: {};
|
68
|
-
query:
|
69
|
-
name?: string | undefined;
|
70
|
-
id?: string[] | undefined;
|
71
|
-
items?: number | undefined;
|
72
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
73
|
-
page?: number | undefined;
|
74
|
-
};
|
70
|
+
query: unknown;
|
75
71
|
headers: unknown;
|
76
72
|
response: {
|
77
73
|
200: number;
|
@@ -3,7 +3,7 @@ import { GetProtocolsQueryDto } from "./protocol.model";
|
|
3
3
|
import { ProtocolService } from "./protocol.service";
|
4
4
|
// ─── Protocols Controller ────────────────────────────────────────────────────
|
5
5
|
export const ProtocolController = new Elysia({ prefix: "/protocols", detail: { tags: ["Protocols"] } })
|
6
|
-
// ─── Get A Protocol By Its Id ────────────────────────────────────────
|
6
|
+
// ─── Get A Protocol By Its Id/Name ────────────────────────────────────────
|
7
7
|
.get("/:id", async ({ params }) => {
|
8
8
|
const fromId = await ProtocolService.getFromId(params.id);
|
9
9
|
if (fromId)
|
@@ -11,13 +11,8 @@ export const ProtocolController = new Elysia({ prefix: "/protocols", detail: { t
|
|
11
11
|
return await ProtocolService.getFromName(params.id);
|
12
12
|
})
|
13
13
|
// ─── Get Many Protocols ──────────────────────────────────────────────
|
14
|
-
.get("/", async ({ query }) => {
|
15
|
-
return await ProtocolService.findMany(query);
|
16
|
-
}, {
|
14
|
+
.get("/", async ({ query }) => await ProtocolService.findMany(query), {
|
17
15
|
query: GetProtocolsQueryDto,
|
18
16
|
})
|
19
|
-
|
20
|
-
|
21
|
-
}, {
|
22
|
-
query: GetProtocolsQueryDto,
|
23
|
-
});
|
17
|
+
// ─── Count Protocols ──────────────────────────────────────────────
|
18
|
+
.get("/count", async ({ query }) => await ProtocolService.countMany(query));
|
@@ -4,11 +4,11 @@ import type { Resource } from "../prisma";
|
|
4
4
|
* @description Target description of rewards campaigns
|
5
5
|
* @see {@link Resource}
|
6
6
|
*/
|
7
|
-
export type Protocol = Resource<"Protocol"
|
7
|
+
export type Protocol = Resource<"Protocol">;
|
8
8
|
declare const protocolTypes: readonly ["arthswap", "baseswap", "camelot", "crust", "fenix", "horiza", "izumi", "kim", "pancakeswap-v3", "quickswap-algebra", "quickswap-uni", "ramses", "retro", "stryke", "stryke-pcs", "stryke-sushi", "sushiswap-v3", "swapr", "thruster", "uniswap-v3", "voltage", "zero", "koi", "supswap-v3", "uniswap-v2", "velodrome", "aerodrome", "balancer", "curve", "aura", "akron", "beefy", "dragonswap", "poolside", "koi", "radiant", "aave", "euler", "gearbox", "compound", "sturdy", "frax", "ionic", "moonwell", "fluid", "silo", "morpho", "coumpound", "dolomite", "badger", "ajna", "layerbank"];
|
9
9
|
export type ProtocolId = (typeof protocolTypes)[number];
|
10
10
|
export declare const GetProtocolsQueryDto: import("@sinclair/typebox").TObject<{
|
11
|
-
id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
11
|
+
id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TTransform<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>]>, string[]>>;
|
12
12
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
13
13
|
tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TEnum<{
|
14
14
|
AMM: "AMM";
|
@@ -59,7 +59,10 @@ const protocolTypes = [
|
|
59
59
|
];
|
60
60
|
// ─── DTOs ────────────────────────────────────────────────────────────────────
|
61
61
|
export const GetProtocolsQueryDto = t.Object({
|
62
|
-
id: t.Optional(t
|
62
|
+
id: t.Optional(t
|
63
|
+
.Transform(t.Union([t.String(), t.Array(t.String())]))
|
64
|
+
.Decode(value => (typeof value === "string" ? value.split(",") : value))
|
65
|
+
.Encode(value => [...value])),
|
63
66
|
name: t.Optional(t.String()),
|
64
67
|
tags: t.Optional(t.Array(t.Enum(ProtocolTag))),
|
65
68
|
page: t.Optional(t.Numeric()),
|
@@ -63,14 +63,15 @@ export class ProtocolService {
|
|
63
63
|
}[_type];
|
64
64
|
}
|
65
65
|
static async findMany(query) {
|
66
|
-
return
|
66
|
+
return ProtocolRepository.findMany(query);
|
67
67
|
}
|
68
68
|
static async countMany(query) {
|
69
|
-
return
|
69
|
+
return ProtocolRepository.countMany(query);
|
70
70
|
}
|
71
71
|
static async getFromId(id) {
|
72
|
-
return
|
72
|
+
return ProtocolRepository.read(id);
|
73
73
|
}
|
74
|
+
// Todo : Should be a findfirst by name here
|
74
75
|
static async getFromName(name) {
|
75
76
|
return (await ProtocolRepository.findManyByName(name))[0];
|
76
77
|
}
|
@@ -621,6 +621,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
621
621
|
name: string;
|
622
622
|
url: string;
|
623
623
|
description: string;
|
624
|
+
id: string;
|
624
625
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
625
626
|
icon: string;
|
626
627
|
} | null;
|
@@ -647,6 +648,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
647
648
|
name: string;
|
648
649
|
url: string;
|
649
650
|
description: string;
|
651
|
+
id: string;
|
650
652
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
651
653
|
icon: string;
|
652
654
|
} & {})[] | null;
|
@@ -660,13 +662,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
660
662
|
get: {
|
661
663
|
body: unknown;
|
662
664
|
params: {};
|
663
|
-
query:
|
664
|
-
name?: string | undefined;
|
665
|
-
id?: string[] | undefined;
|
666
|
-
items?: number | undefined;
|
667
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
668
|
-
page?: number | undefined;
|
669
|
-
};
|
665
|
+
query: unknown;
|
670
666
|
headers: unknown;
|
671
667
|
response: {
|
672
668
|
200: number;
|
@@ -1746,6 +1742,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1746
1742
|
name: string;
|
1747
1743
|
url: string;
|
1748
1744
|
description: string;
|
1745
|
+
id: string;
|
1749
1746
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1750
1747
|
icon: string;
|
1751
1748
|
} & {})[] | null;
|
@@ -6,42 +6,30 @@ import { ChainDto, RunStatusListDto, UpdateStatusDto } from "./status.model";
|
|
6
6
|
import { StatusService } from "./status.service";
|
7
7
|
export const StatusController = new Elysia({ prefix: "/campaignStatus", detail: { tags: ["Status"] } })
|
8
8
|
// ─── Update a Campaign Status ──────────────────────────────────────
|
9
|
-
.post("/engine", async ({ body }) => {
|
10
|
-
return await StatusService.update(body);
|
11
|
-
}, {
|
9
|
+
.post("/engine", async ({ body }) => await StatusService.update(body), {
|
12
10
|
beforeHandle: EngineGuard,
|
13
11
|
headers: AuthorizationHeadersDto,
|
14
12
|
body: UpdateStatusDto,
|
15
13
|
})
|
16
14
|
// ─── Get All Status ────────────────────────────────────────────────
|
17
|
-
.get("/", async () =>
|
18
|
-
|
19
|
-
})
|
20
|
-
.get("/status", async ({ query }) => {
|
21
|
-
return await StatusService.findManyByRunStatus(query);
|
22
|
-
}, { query: RunStatusListDto })
|
15
|
+
.get("/", async () => await StatusService.findMany())
|
16
|
+
.get("/status", async ({ query }) => await StatusService.findManyByRunStatus(query), { query: RunStatusListDto })
|
23
17
|
// ─── Get A Status By Id ────────────────────────────────────────────
|
24
|
-
.get("/unique", async ({ query }) => {
|
25
|
-
return await StatusService.findUniqueOrThrow(query);
|
26
|
-
}, {
|
18
|
+
.get("/unique", async ({ query }) => await StatusService.findUniqueOrThrow(query), {
|
27
19
|
query: CampaignUniqueDto,
|
28
20
|
beforeHandle: ({ query }) => {
|
29
21
|
throwOnUnsupportedChainId(query.distributionChain);
|
30
22
|
},
|
31
23
|
})
|
32
24
|
// ─── Get All Status on a chain ─────────────────────────────────────
|
33
|
-
.get("/computeChain/:chainId", async ({ params }) => {
|
34
|
-
return await StatusService.findManyPerChain(params.chainId);
|
35
|
-
}, {
|
25
|
+
.get("/computeChain/:chainId", async ({ params }) => await StatusService.findManyPerChain(params.chainId), {
|
36
26
|
params: ChainDto,
|
37
27
|
beforeHandle: ({ params }) => {
|
38
28
|
throwOnUnsupportedChainId(params.chainId);
|
39
29
|
},
|
40
30
|
})
|
41
31
|
// ─── Is Safe For Overlaps ──────────────────────────────────────────
|
42
|
-
.get("/engine/overlaps", async ({ query }) => {
|
43
|
-
return await StatusService.isSafeForOverlaps(query);
|
44
|
-
}, {
|
32
|
+
.get("/engine/overlaps", async ({ query }) => await StatusService.isSafeForOverlaps(query), {
|
45
33
|
beforeHandle: EngineGuard,
|
46
34
|
headers: AuthorizationHeadersDto,
|
47
35
|
query: CampaignUniqueDto,
|
@@ -24,9 +24,6 @@ export const TokenController = new Elysia({ prefix: "/tokens", detail: { tags: [
|
|
24
24
|
query: GetTokenBalanceDto,
|
25
25
|
})
|
26
26
|
// ─── Get Many Tokens ─────────────────────────────────────────────────
|
27
|
-
.get("/", async ({ query }) => {
|
28
|
-
|
29
|
-
}, { query: GetTokenQueryDto })
|
30
|
-
.get("/count", async ({ query }) => {
|
31
|
-
return await TokenService.countMany(query);
|
32
|
-
}, { query: GetTokenQueryDto });
|
27
|
+
.get("/", async ({ query }) => await TokenService.findMany(query), { query: GetTokenQueryDto })
|
28
|
+
// ─── Count Tokens ─────────────────────────────────────────────────
|
29
|
+
.get("/count", async ({ query }) => await TokenService.countMany(query), { query: GetTokenQueryDto });
|
@@ -647,6 +647,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
647
647
|
name: string;
|
648
648
|
url: string;
|
649
649
|
description: string;
|
650
|
+
id: string;
|
650
651
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
651
652
|
icon: string;
|
652
653
|
} | null;
|
@@ -673,6 +674,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
673
674
|
name: string;
|
674
675
|
url: string;
|
675
676
|
description: string;
|
677
|
+
id: string;
|
676
678
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
677
679
|
icon: string;
|
678
680
|
} & {})[] | null;
|
@@ -686,13 +688,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
686
688
|
get: {
|
687
689
|
body: unknown;
|
688
690
|
params: {};
|
689
|
-
query:
|
690
|
-
name?: string | undefined;
|
691
|
-
id?: string[] | undefined;
|
692
|
-
items?: number | undefined;
|
693
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
694
|
-
page?: number | undefined;
|
695
|
-
};
|
691
|
+
query: unknown;
|
696
692
|
headers: unknown;
|
697
693
|
response: {
|
698
694
|
200: number;
|
@@ -1772,6 +1768,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1772
1768
|
name: string;
|
1773
1769
|
url: string;
|
1774
1770
|
description: string;
|
1771
|
+
id: string;
|
1775
1772
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1776
1773
|
icon: string;
|
1777
1774
|
} & {})[] | null;
|
@@ -645,6 +645,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
645
645
|
name: string;
|
646
646
|
url: string;
|
647
647
|
description: string;
|
648
|
+
id: string;
|
648
649
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
649
650
|
icon: string;
|
650
651
|
} | null;
|
@@ -671,6 +672,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
671
672
|
name: string;
|
672
673
|
url: string;
|
673
674
|
description: string;
|
675
|
+
id: string;
|
674
676
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
675
677
|
icon: string;
|
676
678
|
} & {})[] | null;
|
@@ -684,13 +686,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
684
686
|
get: {
|
685
687
|
body: unknown;
|
686
688
|
params: {};
|
687
|
-
query:
|
688
|
-
name?: string | undefined;
|
689
|
-
id?: string[] | undefined;
|
690
|
-
items?: number | undefined;
|
691
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
692
|
-
page?: number | undefined;
|
693
|
-
};
|
689
|
+
query: unknown;
|
694
690
|
headers: unknown;
|
695
691
|
response: {
|
696
692
|
200: number;
|
@@ -1770,6 +1766,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1770
1766
|
name: string;
|
1771
1767
|
url: string;
|
1772
1768
|
description: string;
|
1769
|
+
id: string;
|
1773
1770
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1774
1771
|
icon: string;
|
1775
1772
|
} & {})[] | null;
|
@@ -648,6 +648,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
648
648
|
name: string;
|
649
649
|
url: string;
|
650
650
|
description: string;
|
651
|
+
id: string;
|
651
652
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
652
653
|
icon: string;
|
653
654
|
} | null;
|
@@ -674,6 +675,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
674
675
|
name: string;
|
675
676
|
url: string;
|
676
677
|
description: string;
|
678
|
+
id: string;
|
677
679
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
678
680
|
icon: string;
|
679
681
|
} & {})[] | null;
|
@@ -687,13 +689,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
687
689
|
get: {
|
688
690
|
body: unknown;
|
689
691
|
params: {};
|
690
|
-
query:
|
691
|
-
name?: string | undefined;
|
692
|
-
id?: string[] | undefined;
|
693
|
-
items?: number | undefined;
|
694
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
695
|
-
page?: number | undefined;
|
696
|
-
};
|
692
|
+
query: unknown;
|
697
693
|
headers: unknown;
|
698
694
|
response: {
|
699
695
|
200: number;
|
@@ -1773,6 +1769,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1773
1769
|
name: string;
|
1774
1770
|
url: string;
|
1775
1771
|
description: string;
|
1772
|
+
id: string;
|
1776
1773
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1777
1774
|
icon: string;
|
1778
1775
|
} & {})[] | null;
|
@@ -639,6 +639,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
639
639
|
name: string;
|
640
640
|
url: string;
|
641
641
|
description: string;
|
642
|
+
id: string;
|
642
643
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
643
644
|
icon: string;
|
644
645
|
} | null;
|
@@ -665,6 +666,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
665
666
|
name: string;
|
666
667
|
url: string;
|
667
668
|
description: string;
|
669
|
+
id: string;
|
668
670
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
669
671
|
icon: string;
|
670
672
|
} & {})[] | null;
|
@@ -678,13 +680,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
678
680
|
get: {
|
679
681
|
body: unknown;
|
680
682
|
params: {};
|
681
|
-
query:
|
682
|
-
name?: string | undefined;
|
683
|
-
id?: string[] | undefined;
|
684
|
-
items?: number | undefined;
|
685
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
686
|
-
page?: number | undefined;
|
687
|
-
};
|
683
|
+
query: unknown;
|
688
684
|
headers: unknown;
|
689
685
|
response: {
|
690
686
|
200: number;
|
@@ -1764,6 +1760,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1764
1760
|
name: string;
|
1765
1761
|
url: string;
|
1766
1762
|
description: string;
|
1763
|
+
id: string;
|
1767
1764
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1768
1765
|
icon: string;
|
1769
1766
|
} & {})[] | null;
|
@@ -644,6 +644,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
644
644
|
name: string;
|
645
645
|
url: string;
|
646
646
|
description: string;
|
647
|
+
id: string;
|
647
648
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
648
649
|
icon: string;
|
649
650
|
} | null;
|
@@ -670,6 +671,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
670
671
|
name: string;
|
671
672
|
url: string;
|
672
673
|
description: string;
|
674
|
+
id: string;
|
673
675
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
674
676
|
icon: string;
|
675
677
|
} & {})[] | null;
|
@@ -683,13 +685,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
683
685
|
get: {
|
684
686
|
body: unknown;
|
685
687
|
params: {};
|
686
|
-
query:
|
687
|
-
name?: string | undefined;
|
688
|
-
id?: string[] | undefined;
|
689
|
-
items?: number | undefined;
|
690
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
691
|
-
page?: number | undefined;
|
692
|
-
};
|
688
|
+
query: unknown;
|
693
689
|
headers: unknown;
|
694
690
|
response: {
|
695
691
|
200: number;
|
@@ -1769,6 +1765,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1769
1765
|
name: string;
|
1770
1766
|
url: string;
|
1771
1767
|
description: string;
|
1768
|
+
id: string;
|
1772
1769
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1773
1770
|
icon: string;
|
1774
1771
|
} & {})[] | null;
|
@@ -662,6 +662,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
662
662
|
name: string;
|
663
663
|
url: string;
|
664
664
|
description: string;
|
665
|
+
id: string;
|
665
666
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
666
667
|
icon: string;
|
667
668
|
} | null;
|
@@ -688,6 +689,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
688
689
|
name: string;
|
689
690
|
url: string;
|
690
691
|
description: string;
|
692
|
+
id: string;
|
691
693
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
692
694
|
icon: string;
|
693
695
|
} & {})[] | null;
|
@@ -701,13 +703,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
701
703
|
get: {
|
702
704
|
body: unknown;
|
703
705
|
params: {};
|
704
|
-
query:
|
705
|
-
name?: string | undefined;
|
706
|
-
id?: string[] | undefined;
|
707
|
-
items?: number | undefined;
|
708
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
709
|
-
page?: number | undefined;
|
710
|
-
};
|
706
|
+
query: unknown;
|
711
707
|
headers: unknown;
|
712
708
|
response: {
|
713
709
|
200: number;
|
@@ -1787,6 +1783,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1787
1783
|
name: string;
|
1788
1784
|
url: string;
|
1789
1785
|
description: string;
|
1786
|
+
id: string;
|
1790
1787
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1791
1788
|
icon: string;
|
1792
1789
|
} & {})[] | null;
|
@@ -663,6 +663,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
663
663
|
name: string;
|
664
664
|
url: string;
|
665
665
|
description: string;
|
666
|
+
id: string;
|
666
667
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
667
668
|
icon: string;
|
668
669
|
} | null;
|
@@ -689,6 +690,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
689
690
|
name: string;
|
690
691
|
url: string;
|
691
692
|
description: string;
|
693
|
+
id: string;
|
692
694
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
693
695
|
icon: string;
|
694
696
|
} & {})[] | null;
|
@@ -702,13 +704,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
702
704
|
get: {
|
703
705
|
body: unknown;
|
704
706
|
params: {};
|
705
|
-
query:
|
706
|
-
name?: string | undefined;
|
707
|
-
id?: string[] | undefined;
|
708
|
-
items?: number | undefined;
|
709
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
710
|
-
page?: number | undefined;
|
711
|
-
};
|
707
|
+
query: unknown;
|
712
708
|
headers: unknown;
|
713
709
|
response: {
|
714
710
|
200: number;
|
@@ -1788,6 +1784,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1788
1784
|
name: string;
|
1789
1785
|
url: string;
|
1790
1786
|
description: string;
|
1787
|
+
id: string;
|
1791
1788
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1792
1789
|
icon: string;
|
1793
1790
|
} & {})[] | null;
|
@@ -645,6 +645,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
645
645
|
name: string;
|
646
646
|
url: string;
|
647
647
|
description: string;
|
648
|
+
id: string;
|
648
649
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
649
650
|
icon: string;
|
650
651
|
} | null;
|
@@ -671,6 +672,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
671
672
|
name: string;
|
672
673
|
url: string;
|
673
674
|
description: string;
|
675
|
+
id: string;
|
674
676
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
675
677
|
icon: string;
|
676
678
|
} & {})[] | null;
|
@@ -684,13 +686,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
684
686
|
get: {
|
685
687
|
body: unknown;
|
686
688
|
params: {};
|
687
|
-
query:
|
688
|
-
name?: string | undefined;
|
689
|
-
id?: string[] | undefined;
|
690
|
-
items?: number | undefined;
|
691
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
692
|
-
page?: number | undefined;
|
693
|
-
};
|
689
|
+
query: unknown;
|
694
690
|
headers: unknown;
|
695
691
|
response: {
|
696
692
|
200: number;
|
@@ -1770,6 +1766,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1770
1766
|
name: string;
|
1771
1767
|
url: string;
|
1772
1768
|
description: string;
|
1769
|
+
id: string;
|
1773
1770
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1774
1771
|
icon: string;
|
1775
1772
|
} & {})[] | null;
|
@@ -646,6 +646,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
646
646
|
name: string;
|
647
647
|
url: string;
|
648
648
|
description: string;
|
649
|
+
id: string;
|
649
650
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
650
651
|
icon: string;
|
651
652
|
} | null;
|
@@ -672,6 +673,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
672
673
|
name: string;
|
673
674
|
url: string;
|
674
675
|
description: string;
|
676
|
+
id: string;
|
675
677
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
676
678
|
icon: string;
|
677
679
|
} & {})[] | null;
|
@@ -685,13 +687,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
685
687
|
get: {
|
686
688
|
body: unknown;
|
687
689
|
params: {};
|
688
|
-
query:
|
689
|
-
name?: string | undefined;
|
690
|
-
id?: string[] | undefined;
|
691
|
-
items?: number | undefined;
|
692
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
693
|
-
page?: number | undefined;
|
694
|
-
};
|
690
|
+
query: unknown;
|
695
691
|
headers: unknown;
|
696
692
|
response: {
|
697
693
|
200: number;
|
@@ -1771,6 +1767,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1771
1767
|
name: string;
|
1772
1768
|
url: string;
|
1773
1769
|
description: string;
|
1770
|
+
id: string;
|
1774
1771
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1775
1772
|
icon: string;
|
1776
1773
|
} & {})[] | null;
|