@merkl/api 0.10.140 → 0.10.142

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.
Files changed (27) hide show
  1. package/dist/src/eden/index.d.ts +74 -6
  2. package/dist/src/index.d.ts +28 -2
  3. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +21 -2
  4. package/dist/src/modules/v4/blacklist/blacklist.controller.js +1 -0
  5. package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +7 -2
  6. package/dist/src/modules/v4/blacklist/blacklist.repository.js +1 -7
  7. package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +8 -2
  8. package/dist/src/modules/v4/blacklist/blacklist.service.js +10 -0
  9. package/dist/src/modules/v4/router.d.ts +28 -2
  10. package/dist/src/modules/v4/status/status.controller.d.ts +7 -0
  11. package/dist/src/modules/v4/status/status.controller.js +3 -0
  12. package/dist/src/modules/v4/status/status.repository.d.ts +8 -0
  13. package/dist/src/modules/v4/status/status.repository.js +9 -0
  14. package/dist/src/modules/v4/status/status.service.d.ts +8 -0
  15. package/dist/src/modules/v4/status/status.service.js +3 -0
  16. package/dist/src/routes/v3/ERC20Campaigns.d.ts +28 -2
  17. package/dist/src/routes/v3/blacklist.d.ts +28 -2
  18. package/dist/src/routes/v3/campaigns.d.ts +28 -2
  19. package/dist/src/routes/v3/campaignsInfo.d.ts +28 -2
  20. package/dist/src/routes/v3/multiChainPositions.d.ts +28 -2
  21. package/dist/src/routes/v3/opportunity.d.ts +28 -2
  22. package/dist/src/routes/v3/positions.d.ts +28 -2
  23. package/dist/src/routes/v3/rewards.d.ts +28 -2
  24. package/dist/src/routes/v3/updates.d.ts +28 -2
  25. package/dist/src/routes/v3/userRewards.d.ts +28 -2
  26. package/dist/tsconfig.package.tsbuildinfo +1 -1
  27. package/package.json +1 -1
@@ -1040,8 +1040,13 @@ declare const eden: {
1040
1040
  fetch?: RequestInit | undefined;
1041
1041
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1042
1042
  200: {
1043
- [x: string]: boolean;
1044
- };
1043
+ id: string;
1044
+ chainId: number;
1045
+ poolAddress: string;
1046
+ userAddress: string;
1047
+ arrestTimestamp: bigint;
1048
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1049
+ }[];
1045
1050
  }>>;
1046
1051
  post: (body: {
1047
1052
  reason?: string | undefined;
@@ -1065,6 +1070,15 @@ declare const eden: {
1065
1070
  };
1066
1071
  }>>;
1067
1072
  };
1073
+ mapping: {
1074
+ get: (options?: {
1075
+ headers?: Record<string, unknown> | undefined;
1076
+ query?: Record<string, unknown> | undefined;
1077
+ fetch?: RequestInit | undefined;
1078
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1079
+ 200: unknown;
1080
+ }>>;
1081
+ };
1068
1082
  check: ((params: {
1069
1083
  address: string | number;
1070
1084
  }) => {
@@ -1659,6 +1673,13 @@ declare const eden: {
1659
1673
  campaignId: string;
1660
1674
  computedUntil: bigint;
1661
1675
  processingStarted: bigint;
1676
+ }[] | {
1677
+ error: string;
1678
+ details: import("database/api/.generated/runtime/library").JsonValue;
1679
+ status: import("../../database/api/.generated").$Enums.RunStatus;
1680
+ campaignId: string;
1681
+ computedUntil: bigint;
1682
+ processingStarted: bigint;
1662
1683
  };
1663
1684
  }>>;
1664
1685
  }) & {
@@ -3014,8 +3035,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3014
3035
  headers: unknown;
3015
3036
  response: {
3016
3037
  200: {
3017
- [x: string]: boolean;
3018
- };
3038
+ id: string;
3039
+ chainId: number;
3040
+ poolAddress: string;
3041
+ userAddress: string;
3042
+ arrestTimestamp: bigint;
3043
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
3044
+ }[];
3045
+ };
3046
+ };
3047
+ };
3048
+ };
3049
+ } & {
3050
+ blacklists: {
3051
+ mapping: {
3052
+ get: {
3053
+ body: unknown;
3054
+ params: {};
3055
+ query: unknown;
3056
+ headers: unknown;
3057
+ response: {
3058
+ 200: unknown;
3019
3059
  };
3020
3060
  };
3021
3061
  };
@@ -3886,6 +3926,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3886
3926
  campaignId: string;
3887
3927
  computedUntil: bigint;
3888
3928
  processingStarted: bigint;
3929
+ }[] | {
3930
+ error: string;
3931
+ details: import("database/api/.generated/runtime/library").JsonValue;
3932
+ status: import("../../database/api/.generated").$Enums.RunStatus;
3933
+ campaignId: string;
3934
+ computedUntil: bigint;
3935
+ processingStarted: bigint;
3889
3936
  };
3890
3937
  };
3891
3938
  };
@@ -4940,8 +4987,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4940
4987
  fetch?: RequestInit | undefined;
4941
4988
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4942
4989
  200: {
4943
- [x: string]: boolean;
4944
- };
4990
+ id: string;
4991
+ chainId: number;
4992
+ poolAddress: string;
4993
+ userAddress: string;
4994
+ arrestTimestamp: bigint;
4995
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
4996
+ }[];
4945
4997
  }>>;
4946
4998
  post: (body: {
4947
4999
  reason?: string | undefined;
@@ -4965,6 +5017,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4965
5017
  };
4966
5018
  }>>;
4967
5019
  };
5020
+ mapping: {
5021
+ get: (options?: {
5022
+ headers?: Record<string, unknown> | undefined;
5023
+ query?: Record<string, unknown> | undefined;
5024
+ fetch?: RequestInit | undefined;
5025
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5026
+ 200: unknown;
5027
+ }>>;
5028
+ };
4968
5029
  check: ((params: {
4969
5030
  address: string | number;
4970
5031
  }) => {
@@ -5559,6 +5620,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5559
5620
  campaignId: string;
5560
5621
  computedUntil: bigint;
5561
5622
  processingStarted: bigint;
5623
+ }[] | {
5624
+ error: string;
5625
+ details: import("database/api/.generated/runtime/library").JsonValue;
5626
+ status: import("../../database/api/.generated").$Enums.RunStatus;
5627
+ campaignId: string;
5628
+ computedUntil: bigint;
5629
+ processingStarted: bigint;
5562
5630
  };
5563
5631
  }>>;
5564
5632
  }) & {
@@ -1280,8 +1280,27 @@ declare const app: Elysia<"", false, {
1280
1280
  headers: unknown;
1281
1281
  response: {
1282
1282
  200: {
1283
- [x: string]: boolean;
1284
- };
1283
+ id: string;
1284
+ chainId: number;
1285
+ poolAddress: string;
1286
+ userAddress: string;
1287
+ arrestTimestamp: bigint;
1288
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1289
+ }[];
1290
+ };
1291
+ };
1292
+ };
1293
+ };
1294
+ } & {
1295
+ blacklists: {
1296
+ mapping: {
1297
+ get: {
1298
+ body: unknown;
1299
+ params: {};
1300
+ query: unknown;
1301
+ headers: unknown;
1302
+ response: {
1303
+ 200: unknown;
1285
1304
  };
1286
1305
  };
1287
1306
  };
@@ -2152,6 +2171,13 @@ declare const app: Elysia<"", false, {
2152
2171
  campaignId: string;
2153
2172
  computedUntil: bigint;
2154
2173
  processingStarted: bigint;
2174
+ }[] | {
2175
+ error: string;
2176
+ details: import("database/api/.generated/runtime/library").JsonValue;
2177
+ status: import("../database/api/.generated").$Enums.RunStatus;
2178
+ campaignId: string;
2179
+ computedUntil: bigint;
2180
+ processingStarted: bigint;
2155
2181
  };
2156
2182
  };
2157
2183
  };
@@ -21,8 +21,27 @@ export declare const BlacklistController: Elysia<"/blacklists", false, {
21
21
  headers: unknown;
22
22
  response: {
23
23
  200: {
24
- [x: string]: boolean;
25
- };
24
+ id: string;
25
+ chainId: number;
26
+ poolAddress: string;
27
+ userAddress: string;
28
+ arrestTimestamp: bigint;
29
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
30
+ }[];
31
+ };
32
+ };
33
+ };
34
+ };
35
+ } & {
36
+ blacklists: {
37
+ mapping: {
38
+ get: {
39
+ body: unknown;
40
+ params: {};
41
+ query: unknown;
42
+ headers: unknown;
43
+ response: {
44
+ 200: unknown;
26
45
  };
27
46
  };
28
47
  };
@@ -7,6 +7,7 @@ import { BlacklistService } from "./blacklist.service";
7
7
  export const BlacklistController = new Elysia({ prefix: "/blacklists", detail: { tags: ["Blacklists"] } })
8
8
  // ─── Get Entire Blacklist ────────────────────────────────────────────
9
9
  .get("/", async () => await BlacklistService.findMany())
10
+ .get("/mapping", async () => await BlacklistService.findMapping())
10
11
  // ─── Check If An Address Is Blacklisted ──────────────────────────────
11
12
  .get("/check/:address", async ({ params }) => await BlacklistService.isBlacklisted(params.address), {
12
13
  params: CheckBlacklistDto,
@@ -1,8 +1,13 @@
1
1
  import type { AddBlacklistModel } from "./blacklist.model";
2
2
  export declare class BlacklistRepository {
3
3
  static findMany(): Promise<{
4
- [address: string]: boolean;
5
- }>;
4
+ id: string;
5
+ chainId: number;
6
+ poolAddress: string;
7
+ userAddress: string;
8
+ arrestTimestamp: bigint;
9
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
10
+ }[]>;
6
11
  static check(address: string): Promise<boolean>;
7
12
  static remove(address: string): Promise<boolean>;
8
13
  static add(x: AddBlacklistModel): Promise<{
@@ -1,14 +1,8 @@
1
1
  import { apiDbClient } from "../../../utils/prisma";
2
2
  import { NULL_ADDRESS } from "@sdk";
3
- import { utils } from "ethers";
4
3
  export class BlacklistRepository {
5
4
  static async findMany() {
6
- return (await apiDbClient.blacklist.findMany()).reduce((prev, { userAddress, arrestTimestamp }) => {
7
- if (!!arrestTimestamp) {
8
- prev[utils.getAddress(userAddress)] = true;
9
- }
10
- return prev;
11
- }, {});
5
+ return await apiDbClient.blacklist.findMany();
12
6
  }
13
7
  static async check(address) {
14
8
  return ((await apiDbClient.blacklist.findMany({
@@ -3,8 +3,14 @@ import type { AddBlacklistModel } from ".";
3
3
  export declare class BlacklistService {
4
4
  static hashId(chainId: ChainId, userAddress: string, poolAddress: string): string;
5
5
  static findMany(): Promise<{
6
- [address: string]: boolean;
7
- }>;
6
+ id: string;
7
+ chainId: number;
8
+ poolAddress: string;
9
+ userAddress: string;
10
+ arrestTimestamp: bigint;
11
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
12
+ }[]>;
13
+ static findMapping(): Promise<unknown>;
8
14
  static isBlacklisted(address: string): Promise<boolean>;
9
15
  static remove(address: string): Promise<boolean>;
10
16
  static add(x: AddBlacklistModel): Promise<{
@@ -9,6 +9,16 @@ export class BlacklistService {
9
9
  static async findMany() {
10
10
  return await CacheService.wrap(TTLPresets.MIN_5, BlacklistRepository.findMany);
11
11
  }
12
+ static async findMapping() {
13
+ return await CacheService.wrap(TTLPresets.MIN_5, () => BlacklistRepository.findMany().then(r => {
14
+ return r.reduce((prev, { userAddress, arrestTimestamp }) => {
15
+ if (!!arrestTimestamp) {
16
+ prev[utils.getAddress(userAddress)] = true;
17
+ }
18
+ return prev;
19
+ }, {});
20
+ }));
21
+ }
12
22
  static async isBlacklisted(address) {
13
23
  return BlacklistRepository.check(utils.getAddress(address));
14
24
  }
@@ -1262,8 +1262,27 @@ export declare const v4: Elysia<"/v4", false, {
1262
1262
  headers: unknown;
1263
1263
  response: {
1264
1264
  200: {
1265
- [x: string]: boolean;
1266
- };
1265
+ id: string;
1266
+ chainId: number;
1267
+ poolAddress: string;
1268
+ userAddress: string;
1269
+ arrestTimestamp: bigint;
1270
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1271
+ }[];
1272
+ };
1273
+ };
1274
+ };
1275
+ };
1276
+ } & {
1277
+ blacklists: {
1278
+ mapping: {
1279
+ get: {
1280
+ body: unknown;
1281
+ params: {};
1282
+ query: unknown;
1283
+ headers: unknown;
1284
+ response: {
1285
+ 200: unknown;
1267
1286
  };
1268
1287
  };
1269
1288
  };
@@ -2134,6 +2153,13 @@ export declare const v4: Elysia<"/v4", false, {
2134
2153
  campaignId: string;
2135
2154
  computedUntil: bigint;
2136
2155
  processingStarted: bigint;
2156
+ }[] | {
2157
+ error: string;
2158
+ details: import("database/api/.generated/runtime/library").JsonValue;
2159
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2160
+ campaignId: string;
2161
+ computedUntil: bigint;
2162
+ processingStarted: bigint;
2137
2163
  };
2138
2164
  };
2139
2165
  };
@@ -107,6 +107,13 @@ export declare const StatusController: Elysia<"/campaign-status", false, {
107
107
  campaignId: string;
108
108
  computedUntil: bigint;
109
109
  processingStarted: bigint;
110
+ }[] | {
111
+ error: string;
112
+ details: import("database/api/.generated/runtime/library").JsonValue;
113
+ status: import("../../../../database/api/.generated").$Enums.RunStatus;
114
+ campaignId: string;
115
+ computedUntil: bigint;
116
+ processingStarted: bigint;
110
117
  };
111
118
  };
112
119
  };
@@ -22,7 +22,10 @@ export const StatusController = new Elysia({ prefix: "/campaign-status", detail:
22
22
  // ─── Find Many Status ────────────────────────────────────────────────
23
23
  .get("/", async ({ query }) => await StatusService.findMany(query), { query: QueryCampaignStatusDto })
24
24
  // ─── Get A Status By Id ────────────────────────────────────────────
25
+ // campaignId will be either a rough campaignId in the engine sense, a campaignId in the api db way, or a distributionChain_campaignId
25
26
  .get("/:campaignId", async ({ params }) => {
27
+ if (!params.campaignId.includes("-") && params.campaignId.startsWith("0x"))
28
+ return await StatusService.findManyByCampaignId(params.campaignId);
26
29
  if (!params.campaignId.includes("-"))
27
30
  return await StatusService.findUniqueOrThrow(params.campaignId);
28
31
  const [distributionChain, campaignId] = params.campaignId.split("-");
@@ -11,6 +11,14 @@ export declare class StatusRepository {
11
11
  computedUntil: bigint;
12
12
  processingStarted: bigint;
13
13
  }[]>;
14
+ static findManyByCampaignId(campaignId: string): Promise<{
15
+ error: string;
16
+ details: Prisma.JsonValue;
17
+ status: import("../../../../database/api/.generated").$Enums.RunStatus;
18
+ campaignId: string;
19
+ computedUntil: bigint;
20
+ processingStarted: bigint;
21
+ }[]>;
14
22
  static findUniqueOrThrow(campaignId: string): Promise<{
15
23
  error: string;
16
24
  details: Prisma.JsonValue;
@@ -14,6 +14,15 @@ export class StatusRepository {
14
14
  static async findMany(query) {
15
15
  return await apiDbClient.campaignStatus.findMany(StatusRepository.#formatQuery(query));
16
16
  }
17
+ static async findManyByCampaignId(campaignId) {
18
+ return await apiDbClient.campaignStatus.findMany({
19
+ where: {
20
+ Campaign: {
21
+ campaignId: campaignId,
22
+ },
23
+ },
24
+ });
25
+ }
17
26
  static async findUniqueOrThrow(campaignId) {
18
27
  return await apiDbClient.campaignStatus.findUniqueOrThrow({
19
28
  where: {
@@ -9,6 +9,14 @@ export declare class StatusService {
9
9
  computedUntil: bigint;
10
10
  processingStarted: bigint;
11
11
  }[]>;
12
+ static findManyByCampaignId(campaignId: string): Promise<{
13
+ error: string;
14
+ details: import("database/api/.generated/runtime/library").JsonValue;
15
+ status: import("../../../../database/api/.generated").$Enums.RunStatus;
16
+ campaignId: string;
17
+ computedUntil: bigint;
18
+ processingStarted: bigint;
19
+ }[]>;
12
20
  static findUniqueOrThrow(campaignUnique: CampaignUnique | string): Promise<{
13
21
  error: string;
14
22
  details: import("database/api/.generated/runtime/library").JsonValue;
@@ -7,6 +7,9 @@ export class StatusService {
7
7
  static async findMany(query) {
8
8
  return await StatusRepository.findMany(query);
9
9
  }
10
+ static async findManyByCampaignId(campaignId) {
11
+ return await StatusRepository.findManyByCampaignId(campaignId);
12
+ }
10
13
  static async findUniqueOrThrow(campaignUnique) {
11
14
  const campaignId = typeof campaignUnique === "string" ? campaignUnique : CampaignService.hashId(campaignUnique);
12
15
  return await StatusRepository.findUniqueOrThrow(campaignId);
@@ -1288,8 +1288,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1288
1288
  headers: unknown;
1289
1289
  response: {
1290
1290
  200: {
1291
- [x: string]: boolean;
1292
- };
1291
+ id: string;
1292
+ chainId: number;
1293
+ poolAddress: string;
1294
+ userAddress: string;
1295
+ arrestTimestamp: bigint;
1296
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1297
+ }[];
1298
+ };
1299
+ };
1300
+ };
1301
+ };
1302
+ } & {
1303
+ blacklists: {
1304
+ mapping: {
1305
+ get: {
1306
+ body: unknown;
1307
+ params: {};
1308
+ query: unknown;
1309
+ headers: unknown;
1310
+ response: {
1311
+ 200: unknown;
1293
1312
  };
1294
1313
  };
1295
1314
  };
@@ -2160,6 +2179,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2160
2179
  campaignId: string;
2161
2180
  computedUntil: bigint;
2162
2181
  processingStarted: bigint;
2182
+ }[] | {
2183
+ error: string;
2184
+ details: import("database/api/.generated/runtime/library").JsonValue;
2185
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2186
+ campaignId: string;
2187
+ computedUntil: bigint;
2188
+ processingStarted: bigint;
2163
2189
  };
2164
2190
  };
2165
2191
  };
@@ -1286,8 +1286,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1286
1286
  headers: unknown;
1287
1287
  response: {
1288
1288
  200: {
1289
- [x: string]: boolean;
1290
- };
1289
+ id: string;
1290
+ chainId: number;
1291
+ poolAddress: string;
1292
+ userAddress: string;
1293
+ arrestTimestamp: bigint;
1294
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1295
+ }[];
1296
+ };
1297
+ };
1298
+ };
1299
+ };
1300
+ } & {
1301
+ blacklists: {
1302
+ mapping: {
1303
+ get: {
1304
+ body: unknown;
1305
+ params: {};
1306
+ query: unknown;
1307
+ headers: unknown;
1308
+ response: {
1309
+ 200: unknown;
1291
1310
  };
1292
1311
  };
1293
1312
  };
@@ -2158,6 +2177,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2158
2177
  campaignId: string;
2159
2178
  computedUntil: bigint;
2160
2179
  processingStarted: bigint;
2180
+ }[] | {
2181
+ error: string;
2182
+ details: import("database/api/.generated/runtime/library").JsonValue;
2183
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2184
+ campaignId: string;
2185
+ computedUntil: bigint;
2186
+ processingStarted: bigint;
2161
2187
  };
2162
2188
  };
2163
2189
  };
@@ -1289,8 +1289,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1289
1289
  headers: unknown;
1290
1290
  response: {
1291
1291
  200: {
1292
- [x: string]: boolean;
1293
- };
1292
+ id: string;
1293
+ chainId: number;
1294
+ poolAddress: string;
1295
+ userAddress: string;
1296
+ arrestTimestamp: bigint;
1297
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1298
+ }[];
1299
+ };
1300
+ };
1301
+ };
1302
+ };
1303
+ } & {
1304
+ blacklists: {
1305
+ mapping: {
1306
+ get: {
1307
+ body: unknown;
1308
+ params: {};
1309
+ query: unknown;
1310
+ headers: unknown;
1311
+ response: {
1312
+ 200: unknown;
1294
1313
  };
1295
1314
  };
1296
1315
  };
@@ -2161,6 +2180,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2161
2180
  campaignId: string;
2162
2181
  computedUntil: bigint;
2163
2182
  processingStarted: bigint;
2183
+ }[] | {
2184
+ error: string;
2185
+ details: import("database/api/.generated/runtime/library").JsonValue;
2186
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2187
+ campaignId: string;
2188
+ computedUntil: bigint;
2189
+ processingStarted: bigint;
2164
2190
  };
2165
2191
  };
2166
2192
  };
@@ -1280,8 +1280,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1280
1280
  headers: unknown;
1281
1281
  response: {
1282
1282
  200: {
1283
- [x: string]: boolean;
1284
- };
1283
+ id: string;
1284
+ chainId: number;
1285
+ poolAddress: string;
1286
+ userAddress: string;
1287
+ arrestTimestamp: bigint;
1288
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1289
+ }[];
1290
+ };
1291
+ };
1292
+ };
1293
+ };
1294
+ } & {
1295
+ blacklists: {
1296
+ mapping: {
1297
+ get: {
1298
+ body: unknown;
1299
+ params: {};
1300
+ query: unknown;
1301
+ headers: unknown;
1302
+ response: {
1303
+ 200: unknown;
1285
1304
  };
1286
1305
  };
1287
1306
  };
@@ -2152,6 +2171,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2152
2171
  campaignId: string;
2153
2172
  computedUntil: bigint;
2154
2173
  processingStarted: bigint;
2174
+ }[] | {
2175
+ error: string;
2176
+ details: import("database/api/.generated/runtime/library").JsonValue;
2177
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2178
+ campaignId: string;
2179
+ computedUntil: bigint;
2180
+ processingStarted: bigint;
2155
2181
  };
2156
2182
  };
2157
2183
  };
@@ -1285,8 +1285,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1285
1285
  headers: unknown;
1286
1286
  response: {
1287
1287
  200: {
1288
- [x: string]: boolean;
1289
- };
1288
+ id: string;
1289
+ chainId: number;
1290
+ poolAddress: string;
1291
+ userAddress: string;
1292
+ arrestTimestamp: bigint;
1293
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1294
+ }[];
1295
+ };
1296
+ };
1297
+ };
1298
+ };
1299
+ } & {
1300
+ blacklists: {
1301
+ mapping: {
1302
+ get: {
1303
+ body: unknown;
1304
+ params: {};
1305
+ query: unknown;
1306
+ headers: unknown;
1307
+ response: {
1308
+ 200: unknown;
1290
1309
  };
1291
1310
  };
1292
1311
  };
@@ -2157,6 +2176,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2157
2176
  campaignId: string;
2158
2177
  computedUntil: bigint;
2159
2178
  processingStarted: bigint;
2179
+ }[] | {
2180
+ error: string;
2181
+ details: import("database/api/.generated/runtime/library").JsonValue;
2182
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2183
+ campaignId: string;
2184
+ computedUntil: bigint;
2185
+ processingStarted: bigint;
2160
2186
  };
2161
2187
  };
2162
2188
  };