@merkl/api 0.10.141 → 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.
- package/dist/src/eden/index.d.ts +53 -6
- package/dist/src/index.d.ts +21 -2
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +21 -2
- package/dist/src/modules/v4/blacklist/blacklist.controller.js +1 -0
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +7 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.js +1 -7
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +8 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.js +10 -0
- package/dist/src/modules/v4/router.d.ts +21 -2
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +21 -2
- package/dist/src/routes/v3/blacklist.d.ts +21 -2
- package/dist/src/routes/v3/campaigns.d.ts +21 -2
- package/dist/src/routes/v3/campaignsInfo.d.ts +21 -2
- package/dist/src/routes/v3/multiChainPositions.d.ts +21 -2
- package/dist/src/routes/v3/opportunity.d.ts +21 -2
- package/dist/src/routes/v3/positions.d.ts +21 -2
- package/dist/src/routes/v3/rewards.d.ts +21 -2
- package/dist/src/routes/v3/updates.d.ts +21 -2
- package/dist/src/routes/v3/userRewards.d.ts +21 -2
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
}) => {
|
|
@@ -3021,8 +3035,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
|
3021
3035
|
headers: unknown;
|
|
3022
3036
|
response: {
|
|
3023
3037
|
200: {
|
|
3024
|
-
|
|
3025
|
-
|
|
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;
|
|
3026
3059
|
};
|
|
3027
3060
|
};
|
|
3028
3061
|
};
|
|
@@ -4954,8 +4987,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
|
4954
4987
|
fetch?: RequestInit | undefined;
|
|
4955
4988
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
4956
4989
|
200: {
|
|
4957
|
-
|
|
4958
|
-
|
|
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
|
+
}[];
|
|
4959
4997
|
}>>;
|
|
4960
4998
|
post: (body: {
|
|
4961
4999
|
reason?: string | undefined;
|
|
@@ -4979,6 +5017,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
|
4979
5017
|
};
|
|
4980
5018
|
}>>;
|
|
4981
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
|
+
};
|
|
4982
5029
|
check: ((params: {
|
|
4983
5030
|
address: string | number;
|
|
4984
5031
|
}) => {
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1280,8 +1280,27 @@ declare const app: Elysia<"", false, {
|
|
|
1280
1280
|
headers: unknown;
|
|
1281
1281
|
response: {
|
|
1282
1282
|
200: {
|
|
1283
|
-
|
|
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
|
};
|
|
@@ -21,8 +21,27 @@ export declare const BlacklistController: Elysia<"/blacklists", false, {
|
|
|
21
21
|
headers: unknown;
|
|
22
22
|
response: {
|
|
23
23
|
200: {
|
|
24
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
};
|
|
@@ -1288,8 +1288,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
|
1288
1288
|
headers: unknown;
|
|
1289
1289
|
response: {
|
|
1290
1290
|
200: {
|
|
1291
|
-
|
|
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
|
};
|
|
@@ -1286,8 +1286,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
|
1286
1286
|
headers: unknown;
|
|
1287
1287
|
response: {
|
|
1288
1288
|
200: {
|
|
1289
|
-
|
|
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
|
};
|
|
@@ -1289,8 +1289,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
|
1289
1289
|
headers: unknown;
|
|
1290
1290
|
response: {
|
|
1291
1291
|
200: {
|
|
1292
|
-
|
|
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
|
};
|
|
@@ -1280,8 +1280,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
|
1280
1280
|
headers: unknown;
|
|
1281
1281
|
response: {
|
|
1282
1282
|
200: {
|
|
1283
|
-
|
|
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
|
};
|
|
@@ -1285,8 +1285,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
|
1285
1285
|
headers: unknown;
|
|
1286
1286
|
response: {
|
|
1287
1287
|
200: {
|
|
1288
|
-
|
|
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
|
};
|
|
@@ -1303,8 +1303,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
|
1303
1303
|
headers: unknown;
|
|
1304
1304
|
response: {
|
|
1305
1305
|
200: {
|
|
1306
|
-
|
|
1307
|
-
|
|
1306
|
+
id: string;
|
|
1307
|
+
chainId: number;
|
|
1308
|
+
poolAddress: string;
|
|
1309
|
+
userAddress: string;
|
|
1310
|
+
arrestTimestamp: bigint;
|
|
1311
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
|
1312
|
+
}[];
|
|
1313
|
+
};
|
|
1314
|
+
};
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1317
|
+
} & {
|
|
1318
|
+
blacklists: {
|
|
1319
|
+
mapping: {
|
|
1320
|
+
get: {
|
|
1321
|
+
body: unknown;
|
|
1322
|
+
params: {};
|
|
1323
|
+
query: unknown;
|
|
1324
|
+
headers: unknown;
|
|
1325
|
+
response: {
|
|
1326
|
+
200: unknown;
|
|
1308
1327
|
};
|
|
1309
1328
|
};
|
|
1310
1329
|
};
|
|
@@ -1304,8 +1304,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
|
1304
1304
|
headers: unknown;
|
|
1305
1305
|
response: {
|
|
1306
1306
|
200: {
|
|
1307
|
-
|
|
1308
|
-
|
|
1307
|
+
id: string;
|
|
1308
|
+
chainId: number;
|
|
1309
|
+
poolAddress: string;
|
|
1310
|
+
userAddress: string;
|
|
1311
|
+
arrestTimestamp: bigint;
|
|
1312
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
|
1313
|
+
}[];
|
|
1314
|
+
};
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
} & {
|
|
1319
|
+
blacklists: {
|
|
1320
|
+
mapping: {
|
|
1321
|
+
get: {
|
|
1322
|
+
body: unknown;
|
|
1323
|
+
params: {};
|
|
1324
|
+
query: unknown;
|
|
1325
|
+
headers: unknown;
|
|
1326
|
+
response: {
|
|
1327
|
+
200: unknown;
|
|
1309
1328
|
};
|
|
1310
1329
|
};
|
|
1311
1330
|
};
|
|
@@ -1286,8 +1286,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
|
1286
1286
|
headers: unknown;
|
|
1287
1287
|
response: {
|
|
1288
1288
|
200: {
|
|
1289
|
-
|
|
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
|
};
|
|
@@ -1287,8 +1287,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
|
1287
1287
|
headers: unknown;
|
|
1288
1288
|
response: {
|
|
1289
1289
|
200: {
|
|
1290
|
-
|
|
1291
|
-
|
|
1290
|
+
id: string;
|
|
1291
|
+
chainId: number;
|
|
1292
|
+
poolAddress: string;
|
|
1293
|
+
userAddress: string;
|
|
1294
|
+
arrestTimestamp: bigint;
|
|
1295
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
|
1296
|
+
}[];
|
|
1297
|
+
};
|
|
1298
|
+
};
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1301
|
+
} & {
|
|
1302
|
+
blacklists: {
|
|
1303
|
+
mapping: {
|
|
1304
|
+
get: {
|
|
1305
|
+
body: unknown;
|
|
1306
|
+
params: {};
|
|
1307
|
+
query: unknown;
|
|
1308
|
+
headers: unknown;
|
|
1309
|
+
response: {
|
|
1310
|
+
200: unknown;
|
|
1292
1311
|
};
|
|
1293
1312
|
};
|
|
1294
1313
|
};
|
|
@@ -1289,8 +1289,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
|
1289
1289
|
headers: unknown;
|
|
1290
1290
|
response: {
|
|
1291
1291
|
200: {
|
|
1292
|
-
|
|
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
|
};
|