@merkl/api 0.15.25 → 0.15.27

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.
@@ -3566,6 +3566,52 @@ export declare const v4: Elysia<"/v4", false, {
3566
3566
  };
3567
3567
  };
3568
3568
  };
3569
+ } & {
3570
+ boosts: {
3571
+ openblock: {
3572
+ zksync: {
3573
+ post: {
3574
+ body: {
3575
+ addresses: string[];
3576
+ } | {
3577
+ address: string;
3578
+ score: string;
3579
+ }[];
3580
+ params: {};
3581
+ query: {
3582
+ protocol: string;
3583
+ target: string;
3584
+ };
3585
+ headers: unknown;
3586
+ response: {
3587
+ 200: {
3588
+ address: string;
3589
+ boost: string;
3590
+ }[];
3591
+ };
3592
+ };
3593
+ };
3594
+ };
3595
+ };
3596
+ } & {
3597
+ boosts: {
3598
+ openblock: {
3599
+ zksync: {
3600
+ get: {
3601
+ body: unknown;
3602
+ params: {};
3603
+ query: unknown;
3604
+ headers: unknown;
3605
+ response: {
3606
+ 200: {
3607
+ address: string;
3608
+ boost: string;
3609
+ }[];
3610
+ };
3611
+ };
3612
+ };
3613
+ };
3614
+ };
3569
3615
  };
3570
3616
  } & {
3571
3617
  v4: {
@@ -10,9 +10,11 @@ export const UserController = new Elysia({ prefix: "/users", detail: { tags: ["U
10
10
  // ─── Get Many Users ──────────────────────────────────────────────────
11
11
  .get("/", async ({ query }) => await UserService.findMany(query), { query: GetManyUserQuery, detail: { hide: true } })
12
12
  // ─── Get All Tagged Users ─────────────────────────────────────────────
13
- .get("/tags", async () => {
14
- return await UserService.findManyWithTags();
15
- }, { headers: AuthorizationHeadersDto, beforeHandle: BackOfficeGuard, detail: { hide: true } })
13
+ .get("/tags", async () => await UserService.findManyWithTags(), {
14
+ headers: AuthorizationHeadersDto,
15
+ beforeHandle: BackOfficeGuard,
16
+ detail: { hide: true },
17
+ })
16
18
  // ─── Get A User By Address ───────────────────────────────────────────
17
19
  .get("/:address", async ({ params }) => await UserService.findUnique(params.address), {
18
20
  detail: { hide: true },
@@ -141,9 +141,9 @@ export function generateCardName(type, typeInfo, campaign, symbols = [""], displ
141
141
  case tokenType.anglesLiquid:
142
142
  return `Deposit into ${typeInfo.name} (${campaign.campaignParameters.symbolTargetToken}) Vault`;
143
143
  case tokenType.spectra_lpt:
144
- return `Provide liquidity to ${typeInfo.name}`;
144
+ return `Provide liquidity on Spectra to ${typeInfo.name}`;
145
145
  case tokenType.spectra_yt:
146
- return `Hold ${typeInfo.name}`;
146
+ return `Hold Spectra ${typeInfo.name}`;
147
147
  default:
148
148
  // OVERRIDE
149
149
  switch (typeInfo.tokenAddress) {