@merkl/api 0.10.205 → 0.10.207
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/eden/index.d.ts +8669 -2
- package/dist/src/index.d.ts +3357 -1
- package/dist/src/index.js +4 -4
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +29 -0
- package/dist/src/modules/v4/protocol/protocol.controller.js +8 -1
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +8 -0
- package/dist/src/modules/v4/protocol/protocol.model.js +7 -0
- package/dist/src/modules/v4/protocol/protocol.repository.js +1 -1
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +9 -1
- package/dist/src/modules/v4/protocol/protocol.service.js +9 -0
- package/dist/src/modules/v4/router.d.ts +29 -0
- package/dist/src/routes/v2/merkl.d.ts +4 -4
- package/dist/src/routes/v2/router.d.ts +4 -4
- package/dist/src/routes/v3/blacklist.d.ts +38 -2
- package/dist/src/routes/v3/campaigns.d.ts +41 -2
- package/dist/src/routes/v3/campaignsInfo.d.ts +40 -2
- package/dist/src/routes/v3/claims.d.ts +1 -1
- package/dist/src/routes/v3/multiChainPositions.d.ts +39 -2
- package/dist/src/routes/v3/opportunity.d.ts +42 -2
- package/dist/src/routes/v3/positions.d.ts +38 -2
- package/dist/src/routes/v3/rewards.d.ts +66 -2
- package/dist/src/routes/v3/router.d.ts +773 -1
- package/dist/src/routes/v3/updates.d.ts +42 -2
- package/dist/src/routes/v3/userRewards.d.ts +56 -2
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/utils/rateLimit.d.ts +0 -63
- package/dist/src/utils/rateLimit.js +0 -13
@@ -1,4 +1,4 @@
|
|
1
|
-
import type
|
1
|
+
import type Elysia from "elysia";
|
2
2
|
export type UpdatesT = {
|
3
3
|
[chainId: number]: {
|
4
4
|
[campaignId: string]: number;
|
@@ -6,5 +6,45 @@ export type UpdatesT = {
|
|
6
6
|
};
|
7
7
|
export declare const query: import("@sinclair/typebox").TObject<{}>;
|
8
8
|
export declare const response: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber>>;
|
9
|
-
declare const _default: (app:
|
9
|
+
declare const _default: (app: Elysia) => Elysia<"", false, {
|
10
|
+
decorator: {};
|
11
|
+
store: {};
|
12
|
+
derive: {};
|
13
|
+
resolve: {};
|
14
|
+
}, {
|
15
|
+
type: {};
|
16
|
+
error: {};
|
17
|
+
}, {
|
18
|
+
schema: {};
|
19
|
+
macro: {};
|
20
|
+
macroFn: {};
|
21
|
+
}, {
|
22
|
+
updates: {
|
23
|
+
get: {
|
24
|
+
body: unknown;
|
25
|
+
params: {};
|
26
|
+
query: {};
|
27
|
+
headers: unknown;
|
28
|
+
response: {
|
29
|
+
200: {
|
30
|
+
[x: number]: {
|
31
|
+
[campaignId: string]: number;
|
32
|
+
};
|
33
|
+
};
|
34
|
+
readonly 400: {
|
35
|
+
message?: string | undefined;
|
36
|
+
error: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
40
|
+
};
|
41
|
+
}, {
|
42
|
+
derive: {};
|
43
|
+
resolve: {};
|
44
|
+
schema: {};
|
45
|
+
}, {
|
46
|
+
derive: {};
|
47
|
+
resolve: {};
|
48
|
+
schema: {};
|
49
|
+
}>;
|
10
50
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type
|
1
|
+
import type Elysia from "elysia";
|
2
2
|
export declare const query: import("@sinclair/typebox").TObject<{
|
3
3
|
chainId: import("@sinclair/typebox").TUnion<import("elysia").TSchema[]>;
|
4
4
|
mainParameter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
@@ -6,5 +6,59 @@ export declare const query: import("@sinclair/typebox").TObject<{
|
|
6
6
|
rewardToken: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
7
7
|
user: import("@sinclair/typebox").TString;
|
8
8
|
}>;
|
9
|
-
declare const _default: (app:
|
9
|
+
declare const _default: (app: Elysia) => Elysia<"", false, {
|
10
|
+
decorator: {};
|
11
|
+
store: {};
|
12
|
+
derive: {};
|
13
|
+
resolve: {};
|
14
|
+
}, {
|
15
|
+
type: {};
|
16
|
+
error: {};
|
17
|
+
}, {
|
18
|
+
schema: {};
|
19
|
+
macro: {};
|
20
|
+
macroFn: {};
|
21
|
+
}, {
|
22
|
+
userRewards: {
|
23
|
+
get: {
|
24
|
+
body: unknown;
|
25
|
+
params: {};
|
26
|
+
query: {
|
27
|
+
mainParameter?: string | undefined;
|
28
|
+
rewardToken?: string | undefined;
|
29
|
+
proof?: string | undefined;
|
30
|
+
chainId: never;
|
31
|
+
user: string;
|
32
|
+
};
|
33
|
+
headers: unknown;
|
34
|
+
response: {
|
35
|
+
200: {
|
36
|
+
[x: string]: {
|
37
|
+
pending?: string | undefined;
|
38
|
+
proof?: string[] | undefined;
|
39
|
+
symbol: string;
|
40
|
+
decimals: number;
|
41
|
+
unclaimed: string;
|
42
|
+
accumulated: string;
|
43
|
+
reasons: {
|
44
|
+
[x: string]: {
|
45
|
+
pending?: string | undefined;
|
46
|
+
unclaimed: string;
|
47
|
+
accumulated: string;
|
48
|
+
};
|
49
|
+
};
|
50
|
+
};
|
51
|
+
};
|
52
|
+
};
|
53
|
+
};
|
54
|
+
};
|
55
|
+
}, {
|
56
|
+
derive: {};
|
57
|
+
resolve: {};
|
58
|
+
schema: {};
|
59
|
+
}, {
|
60
|
+
derive: {};
|
61
|
+
resolve: {};
|
62
|
+
schema: {};
|
63
|
+
}>;
|
10
64
|
export default _default;
|